Repository navigation
Conversation
7bd7dab to
818a528
Compare
|
@iedame This PR actually could fix the build also for Specifically, the error reported in Hydra logs looks like one of the issues I solved while fixing the builds for Linux. The error is about a not declared
|
|
Thanks for the ping! I'm running nixpkgs-review-gha for all platforms, and the results should be posted soon. |
✅
|
iedame
left a comment
There was a problem hiding this comment.
diff LGTM, builds correctly
|
@iedame A link to this PR is missing in the x86_64-linux tracking issue 😅 |
Thank you for letting me know, updated some links! |
|
Why do we need netbsd make on linux even? |
|
I made this PR because I saw this package
BSD Make has its own quirks and sometimes a bit different syntax from GNU Make. Also, there are multiple NetBSD, FreeBSD, and OpenBSD packages. I think it doesn't make much sense to mark just Make incompatible with Linux, but rather the whole package set, if we were to limit the platforms. I think such step would deserve a bigger discussion than just in a single PR. Even if it might not make much sense to use on Linux, it might have some value on macOS/Darwin. Note that this PR fixes broken build also for |
|
@Ericson2314 can you help here? |
I dunno; some codebases do use BSD Make, though, especially BSD codebases, and someone might desire to use such tools. Anyway, as I said, I think the discussion should be whether to keep Perhaps I could create an issue for the discussion on
I didn't notice that, but it was solving a completely different issue. I am solving an issue with a
I am not much familiar with the *BSD ecosystems either; I also think every package should either build or have restricted platforms. @alyssais is written as the only maintainer, but she said she wasn't really maintaining it. I would consider the whole
I don't think this package is mentioned in either of these issues? 😅
I think the whole |
|
@SuperSandro2000 there is also "make minimal" but in general we want the build tools available on Linux for cross. @ArtifyCZ Can you see about upstreaming this fix? It is best to not accumulate patches in Nixpkgs. I suspect upstream will want the conditions to be more precise than "not Linux", which isn't self-documenting, and that's good too. Also, btw, I have code bumping to the latest NetBSD version. I'll go get that ready. |
NetBSD 9.5 is the latest and also the final release from netbsd-9 stable branch. We should probably do a follow up and upgrade to a newer branch (netbsd-10 or netbsd-11). - https://netbsd.org/releases/formal-9/NetBSD-9.5.html
Both latest aarch64 and x86_64 Linux builds failed: aarch64 - https://hydra.nixos.org/build/345307975 x86_64 - https://hydra.nixos.org/build/345307974 Signed-off-by: Richard Tichý <[email protected]>
818a528 to
3f47323
Compare
|
|
@Ericson2314 I might try to upstream it, but I think we should keep the patch for now. I also updated to the latest and the final NetBSD release 9.5 in the netbsd-9 stable branch, though we probably should do a follow up and upgrade to a newer stable branch (netbsd-10 or netbsd-11). |
|
It seems the correct fix could probably be to undeclare The reason I wasn't really considering that was because it is declared unconditionally by the Make's Makefile (in CFLAGS). It seems the update (probably) broke the build for macOS, though. Thankfully, I have a MacBook and it is building there right now (just build of dependencies takes a while, e.g., CVS export). |
Both latest aarch64 and x86_64 Linux builds failed:
aarch64 - https://hydra.nixos.org/build/345307975
x86_64 - https://hydra.nixos.org/build/345307974
It also probably wouldn't hurt to finally update the netbsd package set to the latest major version in the near future (#456489)
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.