Conversation
e8666ba to
194fd27
Compare
|
Retargeted to staging because of the large number of rebuilds. |
194fd27 to
d0e231a
Compare
|
Running the native code still works, and running aarch64 via binfmt works as well. The program spits out a bunch of warnings - we could consider pulling in itstool/itstool#51 to fix that. |
bjornfor
left a comment
There was a problem hiding this comment.
I'd like to see
Fixes configure: error: Python module libxml2 is needed to run this package, for e.g. nix build .#pkgsCross.aarch64-multiplatform.itstool.
in the commit message as well, because that's what goes into git. But it's not a blocker.
Fixes configure step `error: Python module libxml2 is needed to run this package`, for e.g. nix build .#pkgsCross.aarch64-multiplatform.itstool.
d0e231a to
9b83c79
Compare
|
Amended the commit message, thanks for the review. |
|
Output depends on the build python In addition to the build script checking the python wrong there's also a bug in wrapPython related to the python splicing which #228139 will fix one day Simplest fix would be to replace the build python references because the other paths are correct. |
|
Sorry, I don't understand - how can I tell that that is the build python (and not the host python) when not cross-compilling? If I build it for As far as I can tell the final package is a Python script so we need an interpreter, no? |
pkgs/by-name/it/itstool/package.nix
Outdated
| buildPackages, | ||
| python3, |
There was a problem hiding this comment.
| buildPackages, | |
| python3, | |
| python3Packages, |
python3Packages is spliced so use it instead
You can't since they'll be identical when build == host == target
I applied the changes in the first commit to master and what's in my previous comment is what I see, do you have binfmt enabled? because that can hide cross issues so it shouldn't be used when working on nixpkgs. |
|
I thought I had disabled binfmt in my config for just this reason, but it may have required a reboot to apply? |
pkgs/by-name/it/itstool/package.nix
Outdated
There was a problem hiding this comment.
| buildPackages.python3 | |
| buildPackages.python3Packages.libxml2 | |
| python3Packages.python | |
| python3Packages.libxml2 |
025cedb to
6ac6165
Compare
Description of changes
Fixes
configure: error: Python module libxml2 is needed to run this package, for e.g.nix build .#pkgsCross.aarch64-multiplatform.itstool.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.