NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.51k stars 12.99k forks source link

Build failure: for python3.11-gssapi-1.8.3 failed with exit code 1; #314542

Open mudrion opened 1 month ago

mudrion commented 1 month ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build /nix/store/jq61lcii5v6ajrl65hf8agqi0b08218x-python3.11-gssapi-1.8.3.drv

Failure during a system update darwin-rebuild switch --flake .

Build log

error: builder for '/nix/store/jq61lcii5v6ajrl65hf8agqi0b08218x-python3.11-gssapi-1.8.3.drv' failed with exit code 1;
       last 10 log lines:
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_basic_verify_mic_iov - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_basic_wrap_unwrap - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_get_mic - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_get_mic_iov - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_get_mic_iov_length - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_import_export_sec_context - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_verify_mic_iov_bad_mic_raises_error - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > FAILED tests/test_raw.py::TestWrapUnwrap::test_wrap_size_limit - gssapi.raw.exceptions.MissingCredentialsError: Major (458752):  No credenti...
       > ================== 51 failed, 117 passed, 31 skipped in 3.85s ==================
       > /nix/store/q2sr9a4likgf0c0ib3zxxy63vr0dr0w9-stdenv-darwin/setup: line 1588: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/jq61lcii5v6ajrl65hf8agqi0b08218x-python3.11-gssapi-1.8.3.drv'.

Full log at

Additional context

build running on MacOs M1 Darwin

Notify maintainers

Metadata

nix-shell -p nix-info --run "nix-info -m"

 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

mudrion commented 1 month ago

seems issue disappeared can't reproduce anymore

dghubble commented 1 month ago

I see this on nixpkgs 24.05 on Darwin as well, seems like this package is trying to run some tests and shouldn't be?

EDIT: Fixed on master, but hasn't been backported yet https://github.com/NixOS/nixpkgs/pull/313666