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
Updating plan9port #47067
Updating plan9port #47067
Conversation
I can confirm that this also seems to be an issue building what is in master, so, it has nothing to do with my change. Just do |
Could be this works on NixOS, so far I've only tried on Ubuntu. |
bfc0a47
to
acf745e
Compare
@samueldr confirmed this was working on NixOS; the issue seems to be that it wouldn't build on Ubuntu for me, nor would the original version before this PR. However, the binaries seem to run without issue. Original note on my build issues on Ubuntu: Certain key programs are not being built ( I do see some suspicious looking messages during the build:
|
Could you post the command that built those .o files with the wrong type (or perhaps the whole build log)? I wonder if it is something along the lines of those being build by plan9port's make command, which autodetects the compiler to be the Ubuntu one, which is perhaps compiling 32/64-bit binaries for your system, which uses a 64/32-bit Nix (wild guess here) |
@KoviRobi , here is my build log: https://gist.github.com/bbarker/a875119308731ca8d13cf59a132fc09e - still not sure what is causing the ELF issue as the only gcc in my container comes from Nix. But it looks like the issue with missing graphical binaries may be related to X11 includes. |
It builds for me too, without any problems (on NixOS), but I suspect the problem you might have is from
in your log (there is a shell file called |
I got quite a bit further with the commit I pushed, but ultimately it still fails:
What helped was adding more of the libs to As for gcc, I think that may just be a funny way it is reporting both gcc and OS together, since I have:
Also, may have found another issue that may warrant opening a separate issue to track if you can confirm; I can't seem to get
|
(triage) If I read correctly, this PR updates @GrahamcOfBorg build plan9port @bbarker If I read correctly, the change to the BUGGERED line in https://github.com/NixOS/nixpkgs/pull/47067/files#diff-9ed5354c1be372c549bf762e4b21f484 is now a no-op, and this patch could thus be simplified? :) |
Success on aarch64-linux (full log) Attempted: plan9port Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: plan9port Partial log (click to expand)
|
d803956
to
e93feed
Compare
@Ekleog This sounds like a good plan. I removed the fontsrv patch. I'll create a new issue summarizing what is here after merge; hopefully I'll get some time to continue working on it in the coming weeks. Feel free to squash and merge this one. |
@GrahamcOfBorg build plan9port I want to see the CI output for darwin. |
Success on aarch64-linux (full log) Attempted: plan9port Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: plan9port Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: plan9port Partial log (click to expand)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bbarker confirm that the squashed commit looks fine (especially with the commit message):
This is what I would merge. Everything I did locally worked fine. Both acme and sam started. 9term too, with rc. I don't know more about plan9 and plan9port to judge, but I think this is plenty.
Thanks @samueldr , looks good and sounds good to me as well, though I'm certainly not a plan9 expert either. Once a build hits a channel I'll test the binaries (since I can't build them all yet). |
e93feed
to
7a86c67
Compare
Motivation for this change
To update plan9port (2+ years since last update on nixpkgs)
cc @ftrvxmtrx @KoviRobi
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)