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
perl-Module-Build-XSUtil: fix darwin build #46501
Conversation
While building the tests LD gets called with -mmacosx-version-min=10.10 which is a CC flag, causing the build to fail with LD=ld. This is pretty common with perl packages. /cc ZHF NixOS#45961
Picking from here: https://gist.github.com/samueldr/6ffc78608006aa22a8d7de292d062cb1#problematic-dependencies @GrahamcOfBorg build freecell-solver perl528Packages.HTMLFormHandler perl522Packages.TestMagpie perl526Packages.CatalystRuntime perl524Packages.NetCoverArtArchive Mix and matched between perls, except for freecell-solver. |
Failure on x86_64-darwin (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
@GrahamcOfBorg build freecell-solver perl528Packages.HTMLFormHandler perl522Packages.TestMagpie perl526Packages.CatalystRuntime perl524Packages.NetCoverArtArchive |
Building perl packages is pretty quick so even tho this rebuilds a lot it's probably ok for master. |
Failure on x86_64-darwin (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: freecell-solver, perl528Packages.HTMLFormHandler, perl522Packages.TestMagpie, perl526Packages.CatalystRuntime, perl524Packages.NetCoverArtArchive Partial log (click to expand)
|
@samueldr how did you generate the report? |
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.
I agree that this can go directly to master.
Thing I literally wrote last week for ZHF, and keep making it better. I pledge (again) to get the code out by this week-end. |
Motivation for this change
Fixes the darwin build.
While building the tests LD gets called with -mmacosx-version-min=10.10
which is a CC flag, causing the build to fail with LD=ld. This is
pretty common with perl packages.
/cc ZHF #45961
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)