eza-community / eza-community/eza

ci: Build failure when running as a flake

Open
#930 1 comment 0 reactions 0 assignees View on GitHub
area: nix type: chore
Dominant language
Rust
Stars
23.3k
Forks
523
PR merge metrics
No merged PRs in 30d

Description

When trying to run eza from current master as described in the README, it fails:

```
$ nix run github:eza-community/eza
error: builder for '/nix/store/90x4y7k1qsvl67m8gfd8lkrrywzgxkmw-eza-deps-latest.drv' failed with exit code 1;
last 10 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/srbvqgm4anwz6sbmx69yhy0wqn8hp99i-dummy-src
> source root is dummy-src
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> Auto configuration failed
> 8471247552:error:02FFF001:system library:func(4095):Operation not permitted:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:122:fopen('/private/etc/ssl/openssl.cnf', 'rb')
> 8471247552:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:127:
> 8471247552:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/conf/conf_def.c:202:
For full logs, run 'nix log /nix/store/90x4y7k1qsvl67m8gfd8lkrrywzgxkmw-eza-deps-latest.drv'.
error: 1 dependencies of derivation '/nix/store/k1v9fs8ldfr1r2m18nqaabnd6py30rgj-eza-latest.drv' failed to build
```

Exact commit right now is 75f1f8cf5204670a076570ef8c4f1d6d50bb32d7.

I'm on aarch64-darwin, my nix info is:

```
nix-shell -p nix-info --run "nix-info -m"
- system: `"aarch64-darwin"`
- host os: `Darwin 23.4.0, macOS 14.4.1`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.22.0pre20240320_7d2ead5`
```

I would like to provide the output of `rustc --version` and `rustc --print cfg`, but `nix develop` fails as well:

```
$ nix develop github:eza-community/eza/75f1f8cf5204670a076570ef8c4f1d6d50bb32d7
error: builder for '/nix/store/cjw5rhisn0rbnrqnrc9gr0wzvyv9743c-powertest-0.0.2.drv' failed with exit code 1;
last 10 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/scdqnrb65p296flf1r1g8rhd0bgamvy3-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> Auto configuration failed
> 8471247552:error:02FFF001:system library:func(4095):Operation not permitted:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:122:fopen('/private/etc/ssl/openssl.cnf', 'rb')
> 8471247552:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:127:
> 8471247552:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/conf/conf_def.c:202:
For full logs, run 'nix log /nix/store/cjw5rhisn0rbnrqnrc9gr0wzvyv9743c-powertest-0.0.2.drv'.
error: 1 dependencies of derivation '/nix/store/pqd0rhjyx2fn3ww089s808hqr1my74v9-nix-shell-env.drv' failed to build
```

Full build log for `nix run`:

```
$ nix log /nix/store/90x4y7k1qsvl67m8gfd8lkrrywzgxkmw-eza-deps-latest.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/srbvqgm4anwz6sbmx69yhy0wqn8hp99i-dummy-src
source root is dummy-src
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
Auto configuration failed
8471247552:error:02FFF001:system library:func(4095):Operation not permitted:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:122:fopen('/private/etc/ssl/openssl.cnf', 'rb')
8471247552:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:127:
8471247552:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/conf/conf_def.c:202:
```

Full build log for `nix develop`:

```
$ nix log /nix/store/cjw5rhisn0rbnrqnrc9gr0wzvyv9743c-powertest-0.0.2.drv
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/cjw5rhisn0rbnrqnrc9gr0wzvyv9743c-powertest-0.0.2.drv^*'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/scdqnrb65p296flf1r1g8rhd0bgamvy3-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
Auto configuration failed
8471247552:error:02FFF001:system library:func(4095):Operation not permitted:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:122:fopen('/private/etc/ssl/openssl.cnf', 'rb')
8471247552:error:20FFF002:BIO routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/bio/bss_file.c:127:
8471247552:error:0EFFF002:configuration file routines:CRYPTO_internal:system lib:/AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/libressl/libressl-3.3/crypto/conf/conf_def.c:202:
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.