| Summary: | dev-util/cmake-3.24.3::gentoo failed (configure phase) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jean-Claude Aciman <jcl.aciman> |
| Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kde |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
info
environment build.log |
||
|
Description
Jean-Claude Aciman
2022-12-29 15:08:47 UTC
Created attachment 845663 [details]
environment
Please attach the build log instead of pasting it in a comment where it may be mangled by bugzilla. Created attachment 845926 [details]
build.log
(In reply to Mike Gilbert from comment #2) > Please attach the build log instead of pasting it in a comment where it may > be mangled by bugzilla. Gone. Thank you for your help. >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed"
My guess is you at some point built some of your system with libcxx? It's not ABI compatible with libstdc++.
You would then need to rebuild cmake against the same standard C++ library you used to build dev-libs/jsoncpp. But you shouldn't mix the two on your system anyway.
(In reply to Sam James from comment #5) > >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" > > My guess is you at some point built some of your system with libcxx? It's > not ABI compatible with libstdc++. > > You would then need to rebuild cmake against the same standard C++ library > you used to build dev-libs/jsoncpp. But you shouldn't mix the two on your > system anyway. I did build a new system using the profile plasma/systemd/merge_usr and did not any change to the libraries used except doing an emerge -qavuDN @world after updating my make.conf and trying to emerge all is needed for plasma. This problem occurred during an emerge-qv @preserved-rebuild. How can I know which library is used by a build? (In reply to Jean-Claude Aciman from comment #6) > (In reply to Sam James from comment #5) > > >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" > > > > My guess is you at some point built some of your system with libcxx? It's > > not ABI compatible with libstdc++. > > > > You would then need to rebuild cmake against the same standard C++ library > > you used to build dev-libs/jsoncpp. But you shouldn't mix the two on your > > system anyway. > > I did build a new system using the profile plasma/systemd/merge_usr and did > not any change to the libraries used except doing an emerge -qavuDN @world > after updating my make.conf and trying to emerge all is needed for plasma. > This problem occurred during an emerge-qv @preserved-rebuild. > > How can I know which library is used by a build? You would know if you'd set -stdlib=... at some point. Did you? If you do change it, you have to do -e for a full rebuild. This kind of issue may also happen if you build part of your system with a newer GCC and then downgrade. To fix your particular issue, please try emerge -v1 dev-libs/jsoncpp. You may need to then rebuild more after (-e preferred, or you can do: revdep-rebuild --library 'libstdc++.so.6' --library 'libcxx.so' -- --exclude gcc or so. (In reply to Sam James from comment #7) > (In reply to Jean-Claude Aciman from comment #6) > > (In reply to Sam James from comment #5) > > > >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" > > > > > > My guess is you at some point built some of your system with libcxx? It's > > > not ABI compatible with libstdc++. > > > > > > You would then need to rebuild cmake against the same standard C++ library > > > you used to build dev-libs/jsoncpp. But you shouldn't mix the two on your > > > system anyway. > > > > I did build a new system using the profile plasma/systemd/merge_usr and did > > not any change to the libraries used except doing an emerge -qavuDN @world > > after updating my make.conf and trying to emerge all is needed for plasma. > > This problem occurred during an emerge-qv @preserved-rebuild. > > > > How can I know which library is used by a build? > > You would know if you'd set -stdlib=... at some point. Did you? If you do > change it, you have to do -e for a full rebuild. It could also happen if you started with a LLVM stage3 and moved away from LLVM profiles. (In reply to Sam James from comment #8) > (In reply to Sam James from comment #7) > > (In reply to Jean-Claude Aciman from comment #6) > > > (In reply to Sam James from comment #5) > > > > >LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed" > > > > > > > > My guess is you at some point built some of your system with libcxx? It's > > > > not ABI compatible with libstdc++. > > > > > > > > You would then need to rebuild cmake against the same standard C++ library > > > > you used to build dev-libs/jsoncpp. But you shouldn't mix the two on your > > > > system anyway. > > > > > > I did build a new system using the profile plasma/systemd/merge_usr and did > > > not any change to the libraries used except doing an emerge -qavuDN @world > > > after updating my make.conf and trying to emerge all is needed for plasma. > > > This problem occurred during an emerge-qv @preserved-rebuild. > > > > > > How can I know which library is used by a build? > > > > You would know if you'd set -stdlib=... at some point. Did you? If you do > > change it, you have to do -e for a full rebuild. > > It could also happen if you started with a LLVM stage3 and moved away from > LLVM profiles. I think that this one is the point. Thank you for your help. I will let you informed of the success (or not) of the revdep-rebuild as it checked 442 packages. Give my system some time to process this all (will finish in 2023). Have a nice evening, and Happy New Year. Hi, The revdep-rebuild failed (generated the same error on some of the rebuild). I did reinstall the full system not choosing a LLVM stage3 tarball and all is now ok. Thank you. |