Gentoo Archives: gentoo-user

From: Jochen Kirchner <jk@×××××××.design>
To: gentoo-user@l.g.o
Subject: [gentoo-user] btop fails to compile
Date: Wed, 30 Nov 2022 09:33:00
Message-Id: 6279d49bb77473592344620cb980607e@jk-foto.design
1 Hi,
2
3 on my Hetzner server btop fails to compile. If I go to the build
4 directory and compile it manuallly (just type make) it compiles fine.
5
6 * Package: sys-process/btop-1.2.12:0
7 * Repository: gentoo
8 * Maintainer: nex+b-g-o@××××××.de proxy-maint@g.o
9 * Upstream: https://github.com/aristocratos/btop/issues
10 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
11 * FEATURES: network-sandbox preserve-libs sandbox userpriv
12 usersandbox
13 >>> Unpacking source...
14 >>> Unpacking btop-1.2.12.tar.gz to
15 >>> /var/tmp/portage/sys-process/btop-1.2.12/work
16 >>> Source unpacked in /var/tmp/portage/sys-process/btop-1.2.12/work
17 >>> Preparing source in
18 >>> /var/tmp/portage/sys-process/btop-1.2.12/work/btop-1.2.12 ...
19 * Applying 876319-verbose-makefile.patch ...
20 [ ok ]
21 >>> Source prepared.
22 >>> Configuring source in
23 >>> /var/tmp/portage/sys-process/btop-1.2.12/work/btop-1.2.12 ...
24 >>> Source configured.
25 >>> Compiling source in
26 >>> /var/tmp/portage/sys-process/btop-1.2.12/work/btop-1.2.12 ...
27 make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++
28
29 ██████╗ ████████╗ ██████╗ ██████╗
30 ██╔══██╗╚══██╔══╝██╔═══██╗██╔══██╗ ██╗ ██╗
31 ██████╔╝ ██║ ██║ ██║██████╔╝ ██████╗██████╗
32 ██╔══██╗ ██║ ██║ ██║██╔═══╝ ╚═██╔═╝╚═██╔═╝
33 ██████╔╝ ██║ ╚██████╔╝██║ ╚═╝ ╚═╝
34 ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ Makefile v1.5
35 PLATFORM ?| Linux
36 ARCH ?| amd64
37 CXX ?| x86_64-pc-linux-gnu-g++ (11.3.0)
38 THREADS :| 16
39 REQFLAGS !| -std=c++20
40 WARNFLAGS :| -Wall -Wextra -pedantic
41 OPTFLAGS :|
42 LDCXXFLAGS :| -pthread -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS
43 -fexceptions -fstack-clash-protection -fcf-protection -fstack-protector
44 CXXFLAGS +| $(REQFLAGS) $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -O2
45 -march=znver2 -pipe
46 LDFLAGS +| $(LDCXXFLAGS) $(OPTFLAGS) $(WARNFLAGS) -Wl,-O1
47 -Wl,--as-needed
48
49 Building btop++ (v1.2.12) Linux amd64
50 Compiling src/linux/btop_collect.cpp
51 x86_64-pc-linux-gnu-g++ -O2 -march=znver2 -pipe -std=c++20 -pthread
52 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -fexceptions
53 -fstack-clash-protection -fcf-protection -fstack-protector -Wall
54 -Wextra -pedantic -Iinclude -Isrc -MMD -c -o obj/linux/btop_collect.o
55 src/linux/btop_collect.cpp
56 Assembler messages:
57 Fatal error: can't create obj/linux/btop_collect.o: No such file or
58 directory
59 make: *** [Makefile:269: obj/linux/btop_collect.o] Error 1
60 * ERROR: sys-process/btop-1.2.12::gentoo failed (compile phase):
61 * emake failed
62 *
63 * If you need support, post the output of `emerge --info
64 '=sys-process/btop-1.2.12::gentoo'`,
65 * the complete build log and the output of `emerge -pqv
66 '=sys-process/btop-1.2.12::gentoo'`.
67 * The complete build log is located at
68 '/var/tmp/portage/sys-process/btop-1.2.12/temp/build.log'.
69 * The ebuild environment file is located at
70 '/var/tmp/portage/sys-process/btop-1.2.12/temp/environment'.
71 * Working directory:
72 '/var/tmp/portage/sys-process/btop-1.2.12/work/btop-1.2.12'
73 * S: '/var/tmp/portage/sys-process/btop-1.2.12/work/btop-1.2.12'
74
75
76 --
77 Mit freundlichen Grüßen,
78 Jochen Kirchner
79
80 eMail: jk@×××××××.design
81 Web: https://www.jk-foto.design
82
83 Public Key: B67B 24AA CB0F E646 8E35 CF12 7FC8 C135 CEEB C714

Attachments

File name MIME type
0xCEEBC714.asc application/pgp-keys
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: btop fails to compile Nuno Silva <nunojsilva@×××××××.pt>