Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739528 - gui-apps/nm-tray-0.4.3 fails to compile
Summary: gui-apps/nm-tray-0.4.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-29 18:36 UTC by Agostino Sarubbo
Modified: 2020-09-03 11:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.81 KB, text/plain)
2020-08-29 18:36 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,32.36 KB, text/plain)
2020-08-29 18:36 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-29 18:36:37 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-29 18:36:39 UTC
Created attachment 657408 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-29 18:36:40 UTC
Created attachment 657410 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 3 Ben Kohler gentoo-dev 2020-09-02 16:02:11 UTC
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?
Comment 4 Agostino Sarubbo gentoo-dev 2020-09-03 06:00:04 UTC
you can try the lld linker
Comment 5 Ben Kohler gentoo-dev 2020-09-03 09:46:58 UTC
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?
Comment 6 Agostino Sarubbo gentoo-dev 2020-09-03 09:49:16 UTC
(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"
Comment 7 Ben Kohler gentoo-dev 2020-09-03 09:59:29 UTC
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
Comment 8 Agostino Sarubbo gentoo-dev 2020-09-03 10:16:49 UTC
(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
Comment 9 Ben Kohler gentoo-dev 2020-09-03 11:00:56 UTC
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.
Comment 10 Larry the Git Cow gentoo-dev 2020-09-03 11:04:03 UTC
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(-)