Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: pkgsLLVM.xorg.libpciaccess #310726

Closed
RossComputerGuy opened this issue May 11, 2024 · 2 comments
Closed

Build failure: pkgsLLVM.xorg.libpciaccess #310726

RossComputerGuy opened this issue May 11, 2024 · 2 comments
Labels
0.kind: build failure A package fails to build 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related

Comments

@RossComputerGuy
Copy link
Member

Steps To Reproduce

Steps to reproduce the behavior:

  1. build pkgsLLVM.xorg.libpciaccess

Build log

https://gist.github.com/RossComputerGuy/80ac10b0a8adeeaba0ffe75bc0fbcdda

Additional context

Found while compiling mesa with pkgsLLVM.

Notify maintainers

@sdht0

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"aarch64-linux"`
 - host os: `Linux 5.15.156, NixOS, 24.05 (Uakari), 24.05.20240418.bc279bb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/run/current-system/nixpkgs`

Add a 👍 reaction to issues you find important.

@RossComputerGuy RossComputerGuy added the 0.kind: build failure A package fails to build label May 11, 2024
@rrbutani
Copy link
Contributor

FAILED: src/libpciaccess.so.0.11.1
aarch64-unknown-linux-gnu-clang  -o src/libpciaccess.so.0.11.1 src/libpciaccess.so.0.11.1.p/common_bridge.c.o src/libpciaccess.so.0.11.1.p/common_iterator.c.o src/libpciaccess.so.0.11.1.p/common_init.c.o src/libpciaccess.so.0.11.1.p/common_interface.c.o src/libpciaccess.so.0.11.1.p/common_io.c.o src/libpciaccess.so.0.11.1.p/common_capability.c.o src/libpciaccess.so.0.11.1.p/common_device_name.c.o src/libpciaccess.so.0.11.1.p/common_map.c.o src/libpciaccess.so.0.11.1.p/linux_sysfs.c.o src/libpciaccess.so.0.11.1.p/linux_devmem.c.o src/libpciaccess.so.0.11.1.p/common_vgaarb.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libpciaccess.so.0 -L/nix/store/k7znyh6bii9bklasnlrn8xlli0rwgvy6-zlib-aarch64-unknown-linux-gnu-1.3.1/lib -lz
aarch64-unknown-linux-gnu-ld: error: unable to find library -lz

I believe this is addressed by #307540 (without --undefined-version zlib's configure script detects "no shared library support" and doesn't produce libz.so, leading to this error in rdeps).

@RossComputerGuy
Copy link
Member Author

Yeah, this was fixed by that PR.

@rrbutani rrbutani added the 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 6.topic: llvm/clang Issues related to llvmPackages, clangStdenv and related
Projects
None yet
Development

No branches or pull requests

2 participants