Build failure: python312Packages.psycopg #366014
Labels
0.kind: build failure
A package fails to build
6.topic: cross-compilation
Building packages on a different platform than they will be used on
6.topic: python
Steps To Reproduce
Steps to reproduce the behavior:
Copy this Nix flake
Run
nix build .#nixosConfigurations.test.config.system.build.toplevel
After about 2 hours (I am cross-compiling to aarch64-linux), I see the following error:
Build log
Build Log, too big for GitHub issue
Additional context
Not sure if this matters, but I am on an
x86_64-linux
host, cross-compiling foraarch64-linux
.The odd thing is that
nix build .#psycopg2 --system aarch64-linux
(andpaperless-ngx
) build correctly. I can't isolate the failure except by building a whole NixOS Configuration.I am unable to disable tests on psycopg, probably because I don't understand how to override it correctly.
Why doesn't
pytestCheckPhase
have-x
(stop after first failure)? Should it?Too my untrained eye, all of the broken should probably be skipped because they would conflict with the Nix sandbox.
test_setup_no_timeout
,test_reconnect_after_grow_failed
,test_setup_no_timeout
: create warnings like the following:Metadata
Notify maintainers
@SuperSandro2000 (last non-treewide committer)
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: