-
Notifications
You must be signed in to change notification settings - Fork 191
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
error compiling nimble #1248
Comments
This is also happening on FreeBSD/amd64. No sign of sat.nim anywhere. |
You need to compile it with See how |
Error: cannot open file: /dist/sat/src/sat/sat I am packaging nimble for FreeBSD ports and so I build it in isolation, not as part of the nim install. This has always worked in the past. Nevertheless, the sat.nim file does not exist in the nim 2.0.8 release. |
same error
|
and if I try to compile sat
|
Please read my previous reply @dapiam |
I read your previous reply and tried the nimNimbleBootstrap flag, but there is still no sat.nim file anywhere. Nim 2.0.8 is already installed, but it looks like I'm going to have to drag the nim source in as well to get it, which is a pain. |
@nealie if you look at the code there you will see how |
Now you got me worried that I missed yet another one of the git downloads by koch. I've had to strip them all out as they're fundamentally incompatible with the FreeBSD ports system. I'm going to have to go back to the nim port and check that it's not independently downloading stuff. I will then try and add sat into the nimble port, but using the proper ports mechanisms. Ah well, there goes an easy port update. |
Cant you just do |
Nope. It pulls in random bits of git without checksumming the code, so it could be anything. Within the FreeBSD ports system, only the infrastructure is allowed to download anything, as it does all the checking needed to ensure a safe and correct build. |
with nim 2.0.8
|
That's not how "git checkout faf1617f44d7632ee9601ebc13887644925dcc01" works... |
I see that unless nimNimbleBootstrap is defined, nimble.nim tries to import sat/sat. Does this mean that it should have been installed by nim's koch already? It doesn't seem to be documented anywhere in the system library documentation. I realise that in the general koch build process, it will fetch sat and nimble and build them together after it's build nim, but just humour me that this is not the way it's done with my ports on FreeBSD, so I have to be able to build nimble standalone with just nim pre-installed, along with all of the standard libraries. |
I don't know. Nimble is shipped with Nim and the releases are tied together. You're not supposed to build Nimble yourself. Use In other words, if your package manager offers "nimble" as a separate entry from "nim", it's broken already, IMO. |
Hello,
I am trying to compile nimble on arm64 and I am getting the following error.
I am following this post to be able to use mosdepth on arm64
brentp/mosdepth#144 (comment)
thank you
The text was updated successfully, but these errors were encountered: