You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
Activity
danielbarter commentedon Mar 4, 2024
Confirmed. Seems like this is a python distutils issue. Somehow, it is trying to run
gccinstead 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 timedanielbarter commentedon Mar 4, 2024
@skyrgobbler: PR which fixes issue #293303.
Actually, issue is already just fixed on nixpkgs master. PR is just a version bump and removing stale patches now.