Summary: | sys-process/btop-1.2.13-r2 fails to emerge in install phase with ccache enabled | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guido Winkelmann <guido-genbugs> |
Component: | Current packages | Assignee: | Adrian Schollmeyer <nex+b-g-o> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/34753 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Guido Winkelmann
2023-12-15 05:44:15 UTC
Created attachment 879457 [details]
Build log
Alright, so btop doesn't respect CXX unless it is explicitly fed to in the make invocation. As its fed to the compile phase but not in the install phase leading to this failure later. Not sure why the non-existent g++-12 in particular was chosen other than the makefile conditional omitting g++-13 completely. The clear solution is to feed CXX in install phase similar to the compile phase. I've noticed that btop also has a CMake build system now. I plan on switching to the CMake build system for future versions as it simplifies the ebuild. This should also fix this issue. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c329e94b0515e8fc29b7234fe74bd6506fdf0383 commit c329e94b0515e8fc29b7234fe74bd6506fdf0383 Author: Adrian Schollmeyer <nex+b-g-o@nexadn.de> AuthorDate: 2024-01-10 09:02:00 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2024-01-12 00:11:56 +0000 sys-process/btop: add 1.3.0 Closes: https://bugs.gentoo.org/919934 Closes: https://bugs.gentoo.org/898148 Closes: https://github.com/gentoo/gentoo/pull/34753 Signed-off-by: Adrian Schollmeyer <nex+b-g-o@nexadn.de> Signed-off-by: Yixun Lan <dlan@gentoo.org> sys-process/btop/Manifest | 1 + sys-process/btop/btop-1.3.0.ebuild | 50 ++++++++++++++++++++++ .../btop-1.3.0-configurable-fortification.patch | 49 +++++++++++++++++++++ 3 files changed, 100 insertions(+) |