psycopg2: cross compilation fails again #210265
Labels
0.kind: build failure
A package fails to build
0.kind: regression
Something that worked before working no longer
6.topic: cross-compilation
Building packages on a different platform than they will be used on
I am trying to build a docker image supporting both x64 and arm and during cross compilation it seems to fail due to psycopg2 not compiling.
Steps To Reproduce
nix-build '<nixpkgs>' -A pkgsCross.armv7l-hf-multiplatform.python310Packages.psycopg2
Build log
nix log /nix/store/dlkams09x7ndp12vqn1kj45z12r3ab2g-python3.10-psycopg2-2.9.5-armv7l-unknown-linux-gnueabihf.drv
nix log /nix/store/jml5083f02v9q299pzk6svpx5m48ikdy-python3.9-psycopg2-2.9.5-aarch64-unknown-linux-gnu.drv
Additional context
To me this looks like #164958 again?
The docker image in question is build with this
https://github.com/zeratax/matrix-registration/blob/db7aab3dbfb5dbc3254b918a88d0e38c10582d46/docker.nix
called with
nix-build docker.nix --arg pkgs 'import <nixpkgs> { crossSystem.config = "armv7l-linux"; }' --argstr tag "latest-arm32"
earlier attempts with the same issue from last year
https://discourse.nixos.org/t/docker-images-for-multiple-architectures/13666
Notify maintainers
Metadata
The text was updated successfully, but these errors were encountered: