Closed skyrgobbler closed 4 months ago
Confirmed. Seems like this is a python distutils issue. Somehow, it is trying to run gcc
instead of whatever compiler is in $CC
. Since distutils has been depreciated since python 3.12, this may be fixed by updating ostree, since the version we have in nixpkgs is a year out of date. I'll test when I have some more free time
@skyrgobbler: PR which fixes issue https://github.com/NixOS/nixpkgs/pull/293303.
Actually, issue is already just fixed on nixpkgs master. PR is just a version bump and removing stale patches now.
Steps To Reproduce
Steps to reproduce the behavior:
nix build nixpkgs#legacyPackages.x86_64-linux.pkgsCross.aarch64-multiplatform.ostree
Build log
Full log at log.log
Additional context
Whilst trying to compile a patched linux kernel for the ClockworkPi DevTerm A06 I was getting issues when cross compiling from x86_64-linux when getting to the ostree build. Interestingly if I do an emulated compilation (
nix build nixpkgs#legacyPackages.aarch64-linux.ostree
) the compilation succeeds, but I can't use this output in the full cross compilation of the linux kernel.Notify maintainers
@copumpkin @figsoda
Metadata