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

Merge Failure: sys-apps/nix-2.6.0 #15

Closed
ghost opened this issue Feb 2, 2022 · 4 comments
Closed

Merge Failure: sys-apps/nix-2.6.0 #15

ghost opened this issue Feb 2, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 2, 2022

Build log: https://hardbin.com/ipfs/QmXQc8hb4f5TJ2znhGtyDrt9agHyKvgQimqwnvKEtoBtaK/#9HNocqrEdXfHzHy62KHofznfJN2azmkStL9zGpetPe27

trofi added a commit that referenced this issue Feb 2, 2022
While at it:
- enable verbose builds
- respect user's CC/CXX
- avoid upstream -O3 in case user passes empty CXXFLAGS
- restore working lowdown in overlay to avoid https://bugs.gentoo.org/832590

Issue: #15
Bug: https://bugs.gentoo.org/832590
@trofi
Copy link
Owner

trofi commented Feb 2, 2022

...
(.data.rel.ro._ZTVN3nix14UDSRemoteStoreE[_ZTVN3nix14UDSRemoteStoreE]+0x138): undefined reference to `nix::Config::toKeyValue[abi:cxx11]()'
collect2: error: ld returned 1 exit status
make: *** [mk/lib.mk:117: /var/tmp/portage/sys-apps/nix-2.6.0/image/usr/lib64/libnixstore.so] Error 1

Ah, that's a link failure when previous version of nix is present in system:

Worked around by restoring the patch we applied in 2.3: f93e7c1. Will attempt to upstream again.

@trofi
Copy link
Owner

trofi commented Feb 2, 2022

Should work now.

@trofi trofi closed this as completed Feb 2, 2022
@ghost
Copy link
Author

ghost commented Feb 2, 2022

Oh, nice. That was pretty quick.

@trofi
Copy link
Owner

trofi commented Feb 8, 2022

Proposed fix upstream as NixOS/nix#6060

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant