Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buckaroo resolve -> Could not read project manifest #1

Open
zfedoran opened this issue Jun 15, 2019 · 6 comments
Open

buckaroo resolve -> Could not read project manifest #1

zfedoran opened this issue Jun 15, 2019 · 6 comments
Assignees

Comments

@zfedoran
Copy link

Perhaps I'm not sure what I'm doing, but the instructions don't seem to work for me. I'm getting similar results for the sfml test project as well...

😭 06:53 pm:buckaroo-test-glfw-glfw $ buckaroo install
System.Exception: No lock file was found. Perhaps you need to run 'buckaroo resolve'?
   at [email protected](Unit unitVar) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 97
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2)
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 59
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 42
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Bash.fs:line 71
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
info Installing packages...

Followed by

😭 06:53 pm:buckaroo-test-glfw-glfw $ buckaroo resolve
System.Exception: Could not read project manifest. Are you sure you are in the right directory?  ---> System.IO.FileNotFoundException: Could not find file '/tmp/buckaroo-test-glfw-glfw/buckaroo.toml'.
   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
   at [email protected](Unit unitVar) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Files.fs:line 45
   at Microsoft.FSharp.Control.AsyncPrimitives.CallThenInvoke[T,TResult](AsyncActivation`1 ctxt, TResult result1, FSharpFunc`2 part2)
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 106
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 59
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 42
   at [email protected](AsyncActivation`1 ctxt) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Bash.fs:line 71
   at [email protected](AsyncActivation`1 ctxt)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)
   --- End of inner exception stack trace ---
   at Buckaroo.Tasks.catchHandler@1-4(Exception _arg2) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 77
   at [email protected](Exception edi) in /Users/travis/build/LoopPerfect/buckaroo/buckaroo/Tasks.fs:line 68
   at Microsoft.FSharp.Control.AsyncPrimitives.CallFilterThenInvoke[T](AsyncActivation`1 ctxt, FSharpFunc`2 catchFilter, ExceptionDispatchInfo edi)
   at Microsoft.FSharp.Control.Trampoline.Execute(FSharpFunc`2 firstAction)

Please let me know what I might be doing wrong.

@njlr
Copy link
Owner

njlr commented Jun 16, 2019

Could not find file '/tmp/buckaroo-test-glfw-glfw/buckaroo.toml'.

Is there a buckaroo.toml file in the directory where you run buckaroo resolve?

Please can you link to the repo also?

@njlr
Copy link
Owner

njlr commented Jun 16, 2019

My mistake, though this issue was on the main repo. 2 secs...

@njlr njlr self-assigned this Jun 16, 2019
@njlr
Copy link
Owner

njlr commented Jun 16, 2019

I have updated this sample to the latest Buckaroo (2.2.0). Hopefully it works now!

@zfedoran
Copy link
Author

zfedoran commented Jun 16, 2019

Thanks @njlr!

That does help, I am able to get a bit further now. I guess the same issue exists on the sfml test repo.

For glfw, I think I may be missing some more dependencies, perhaps related to glad.

😭 11:42 am:buckaroo-test-glfw-glfw $ buck run :boing
Not using buckd because watchman isn't installed.
Using additional configuration options from .buckconfig.d/.buckconfig.buckaroo
In file included from deps/glad.c:26:
deps/glad/glad.h:87:10: fatal error: 'KHR/khrplatform.h' file not found
#include <KHR/khrplatform.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
Parsing buck files: finished in 2.1 sec
Building: finished in 1.5 sec (100%) 18/39 jobs, 18 updated
  Total time: 4.2 sec
Command failed with exit code 1.
stderr: In file included from deps/glad.c:26:
deps/glad/glad.h:87:10: fatal error: 'KHR/khrplatform.h' file not found
#include <KHR/khrplatform.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.
    When running <c preprocess_and_compile>.
    When building rule buckaroo.github.buckaroo-pm.glfw//deps:glad#compile-glad.c.o506cccc8,macosx-x86_64.

@njlr
Copy link
Owner

njlr commented Jun 16, 2019

What platform are you on? I only tested on Ubuntu x64

@zfedoran
Copy link
Author

@njlr Mac OSX version 10.14.5 (18F132) Mojave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants