https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: gui-apps/nm-tray-0.4.3 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004. This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Created attachment 657408 [details] build.log build log and emerge --info
Created attachment 657410 [details] 1-CMakeOutput.log 1-CMakeOutput.log
I'm not able to reproduce this even after setting CC & CXX to use clang. Is there anything else I can do to trigger the failure?
you can try the lld linker
I have tried this and it succeeds: CC="x86_64-pc-linux-gnu-clang" CXX="x86_64-pc-linux-gnu-clang++" LD="lld" emerge -1av nm-tray Is there something else I need to do, to activate lld?
(In reply to Ben Kohler from comment #5) > I have tried this and it succeeds: > > CC="x86_64-pc-linux-gnu-clang" CXX="x86_64-pc-linux-gnu-clang++" LD="lld" > emerge -1av nm-tray > > Is there something else I need to do, to activate lld? LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld"
I'm still seeing success with: CC="x86_64-pc-linux-gnu-clang" CXX="x86_64-pc-linux-gnu-clang++" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" LD=lld emerge -1av nm-tray
(In reply to Ben Kohler from comment #7) > I'm still seeing success with: > > CC="x86_64-pc-linux-gnu-clang" CXX="x86_64-pc-linux-gnu-clang++" > LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 > -fuse-ld=lld" LD=lld emerge -1av nm-tray Sorry but I just answered without take a look about what the failure says. Unless there is something more it looks like a missing depend on dev-qt/linguist-tools
Thanks, I will fix this dep. I had briefly looked at deps but didn't notice that I was only depending on linguist and NOT linguist-tools. It looks like nm-tray will successfully build with only linguist-tools, and without linguist.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1146d97907801d8be37920de8c5b04c27f20ec6 commit f1146d97907801d8be37920de8c5b04c27f20ec6 Author: Ben Kohler <bkohler@gentoo.org> AuthorDate: 2020-09-03 11:03:30 +0000 Commit: Ben Kohler <bkohler@gentoo.org> CommitDate: 2020-09-03 11:03:54 +0000 gui-apps/nm-tray: change linguist dep to linguist-tools Closes: https://bugs.gentoo.org/739528 Package-Manager: Portage-3.0.5, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler@gentoo.org> .../nm-tray/{nm-tray-0.4.3.ebuild => nm-tray-0.4.3-r1.ebuild} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)