-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Nixpkgs version
- Unstable (25.11)
Describe the bug
#428430 seems to break:
nix build .#legacyPackages.x86_64-linux.pkgsStatic.postgresql
Checking with nix-diff shows it added -DCMAKE_SKIP_INSTALL_RPATH=On and --disable-shared to compiler-rt-libc-static-x86_64-unknown-linux-musl.
- /nix/store/4x77xapps7a3dkxbq0r7qayiwykp46p7-postgresql-static-x86_64-unknown-linux-musl-17.5.drv:{out}
+ /nix/store/yv8bpxnx4zw83vv5akdhimy4rf1dnwqh-postgresql-static-x86_64-unknown-linux-musl-17.5.drv:{out}
• The input derivation named `stdenv-linux` differs
- /nix/store/m5ikarw010dq3v07da1wvcd2kpvsmd8w-stdenv-linux.drv:{out}
+ /nix/store/qvb60k3dhqz68qc5vddnkwj8v92nvbiw-stdenv-linux.drv:{out}
• The input derivation named `x86_64-unknown-linux-musl-clang-wrapper-19.1.7` differs
- /nix/store/7j0gm0qljhxkavqfjx4mki2wxl8d1jhl-x86_64-unknown-linux-musl-clang-wrapper-19.1.7.drv:{out}
+ /nix/store/nwidy0p3jl37g6jy3s7w63h0mkp8x8gl-x86_64-unknown-linux-musl-clang-wrapper-19.1.7.drv:{out}
• The input derivation named `compiler-rt-libc-static-x86_64-unknown-linux-musl-19.1.7` differs
- /nix/store/haki6iif5qkz501yx4wygzczd7cdqavf-compiler-rt-libc-static-x86_64-unknown-linux-musl-19.1.7.drv:{dev,out}
+ /nix/store/k6ycyhyv5wasd2hmassxynp6cpmpyrnq-compiler-rt-libc-static-x86_64-unknown-linux-musl-19.1.7.drv:{dev,out}
• The environments do not match:
cmakeFlags=''
-DCOMPILER_RT_DEFAULT_TARGET_ONLY:BOOL=TRUE -DCMAKE_C_COMPILER_TARGET:STRING=x86_64-unknown-linux-musl -DCMAKE_ASM_COMPILER_TARGET:STRING=x86_64-unknown-linux-musl -DCOMPILER_RT_BUILD_SANITIZERS:BOOL=FALSE -DCOMPILER_RT_BUILD_XRAY:BOOL=FALSE -DCOMPILER_RT_BUILD_LIBFUZZER:BOOL=FALSE -DCOMPILER_RT_BUILD_MEMPROF:BOOL=FALSE -DCOMPILER_RT_BUILD_ORC:BOOL=FALSE -DCOMPILER_RT_BUILD_CTX_PROFILE:BOOL=FALSE -DBUILD_SHARED_LIBS:BOOL=OFF -DCMAKE_SKIP_INSTALL_RPATH=On -DCMAKE_SYSTEM_NAME=Linux -DCMAKE_SYSTEM_PROCESSOR=x86_64 -DCMAKE_HOST_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_PROCESSOR=x86_64 -DCMAKE_CROSSCOMPILING_EMULATOR=env -DCMAKE_LINK_SEARCH_START_STATIC=ON
''
configureFlags=''
--enable-static --disable-shared --disable-shared --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-musl
''
• Skipping environment comparison
• Skipping environment comparison
• Skipping environment comparison
Steps to reproduce
nix build .#legacyPackages.x86_64-linux.pkgsStatic.postgresql
Expected behaviour
It should build
Screenshots
No response
Relevant log output
$ nix log /nix/store/yv8bpxnx4zw83vv5akdhimy4rf1dnwqh-postgresql-static-x86_64-unknown-linux-musl-17.5.drv
...
configure flags: --prefix=/nix/store/ashfr2m8l2v10l5anyf4p2mfn20hd7mb-postgresql-static-x86_64-unknown-linux-musl-17.5 --bindir=/nix/store/ashfr2m8l2v10l5anyf4p2mfn20hd7mb-postgresql-static-x86_64-unknown-linux-musl-17.5/bin --sbindir=/nix/stor>
configure: WARNING: you should use --build, --host, --target
configure: WARNING: unrecognized options: --enable-static, --disable-shared, --disable-shared
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-musl
checking which template to use... linux
checking whether NLS is wanted... no
checking for default port number... 5432
checking for block size... 8kB
checking for segment size... 1GB
checking for WAL block size... 8kB
checking for x86_64-unknown-linux-musl-gcc... x86_64-unknown-linux-musl-clang
checking whether the C compiler works... no
configure: error: in `/build/source':
configure: error: C compiler cannot create executables
See `config.log' for more details
Running the `configurePhase` in a `nix-shell` and inspecting the `config.log`:
configure:4052: checking whether the C compiler works
configure:4074: x86_64-unknown-linux-musl-clang -fdata-sections -ffunction-sections -flto conftest.c >&5
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: error: unable to find library -lgcc_eh
clang: error: linker command failed with exit code 1 (use -v to see invocation)
configure:4078: $? = 1
configure:4116: result: no
Where the working derivation (before this change), has:
configure:4052: checking whether the C compiler works
configure:4074: x86_64-unknown-linux-musl-clang -fdata-sections -ffunction-sections -flto conftest.c >&5
configure:4078: $? = 0
configure:4126: result: yesAdditional context
No response
System metadata
structuredAttrs is enabled
/nix/store/lzrs17sc8bhi87nb1y1q1bas73j6q10y-stdenv-linux/setup: line 41: export: `0=out': not a valid identifier
/tmp/nix-shell-1784698-0/nix-shell-1924628-0/rc: line 1: rm: No such file or directory
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md