Gentoo Archives: gentoo-user

From: Jochen Kirchner <jk@×××××××.design>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: btop fails to compile
Date: Wed, 30 Nov 2022 12:50:12
Message-Id: 6e4bdde2ba014b589087e2cf4d7027c6@jk-foto.design
In Reply to: Re: [gentoo-user] Re: btop fails to compile by Dale
1 Am 2022-11-30 12:45, schrieb Dale:
2 > Nuno Silva wrote:
3 >> On 2022-11-30, Jochen Kirchner wrote:
4 >>
5 >> [...]
6 >>> make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++
7 >> Can you try emerging with -j1 in MAKEOPTS?
8 >>
9 >> Sadly, the makefile[1] does not print out the mkdir commands (recipe
10 >> on
11 >> lines 202 thru 204), so it's not possible to spot in the output when
12 >> are
13 >> these being executed, but, from a quick glance (I might have
14 >> overlooked
15 >> something!), it sounds like the target that runs mkdir is not a
16 >> dependency of the targets that generate and link the object files
17 >> (line
18 >> 262, line 273), so it'd be possible for this to happen just because
19 >> the second mkdir did not complete before the first g++ was checking
20 >> for
21 >> the directory.
22 >>
23 >> [1] https://github.com/aristocratos/btop/blob/main/Makefile
24 >>
25 >
26 >
27 > That's a good idea.  Just to test if that error happens to everybody, I
28 > installed btop-1.2.12 here.  Actually, it's kinda neat looking. 
29 > Anyway,
30 > it installed fine here on my 8 core machine with normal -j settings,
31 > -j9
32 > I think.  It could help using -j1 tho.  Still, it installed here
33 > without
34 > any problems. 
35 >
36 > If -j1 doesn't work, maybe sync the tree again to see if maybe some
37 > typo
38 > got fixed or something else was wrong during last sync.  That is rare
39 > nowadays but when grasping at straws, grab what you can. 
40 >
41 > Oh, my google search earlier didn't yield anything either.  This seems
42 > to be a odd failure.
43 >
44 > Dale
45 >
46 > :-)  :-) 
47
48 Thank you both :)
49
50 -j1 did it :)
51
52 this is my make.conf: (its a web - and mail server)
53
54 COMMON_FLAGS="-O2 -march=znver2 -pipe"
55 CFLAGS="${COMMON_FLAGS}"
56 CXXFLAGS="${COMMON_FLAGS}"
57 FCFLAGS="${COMMON_FLAGS}"
58 FFLAGS="${COMMON_FLAGS}"
59
60 # NOTE: This stage was built with the bindist Use flag enabled
61
62 # This sets the language of build output to English.
63 # Please keep this setting intact when reporting bugs.
64 LC_MESSAGES=C
65
66 MAKEOPTS="-j17 -l17"
67 PORTAGE_NICENESS="1"
68 EMERGE_DEFAULT_OPTS="--jobs=17 --load-average=17 --with-bdeps y
69 --complete-graph y"
70 FEATURES="candy fixlafiles unmerge-orphans parallel-install split-elog"
71 ACCEPT_KEYWORDS="amd64"
72 ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
73 GENTOO_MIRRORS="https://ftp.tu-ilmenau.de/mirror/gentoo/
74 https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/
75 https://mirror.leaseweb.com/gentoo/
76 https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
77 https://ftp.fau.de/gentoo https://ftp.halifax.rwth-aachen.de/gentoo/"
78
79 USE="-bindist -systemd acpi avif berkdb branding brotli cgi clamav crypt
80 cryptsetup dbus \
81 device-mapper elogind exif fastcgi ftp gd geoip geoip2 gif git
82 gmp gpg hddtemp heif hwloc \
83 icu idn imagemagick imap inotify jpeg jpeg2k llvm llvm-libunwind
84 lm-sensors maildir memcached \
85 mmap mysql mysqli offensive php png samba sasl smp soap sockets
86 subversion tidy \
87 truetype udev udisks verify-sig vhosts vim-syntax webp xml
88 xmlrpc zip zstd"
89
90 NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser
91 charset dav dav_ext echo \
92 empty_gif fancyindex fastcgi geo geoip geoip2 grpc gunzip gzip
93 headers_more limit_conn \
94 limit_req map memcached metrics mirror mp4 proxy realip referer
95 rewrite scgi security \
96 split_clients ssi stub_status upstream_hash upstream_ip_hash
97 upstream_keepalive \
98 upstream_least_conn upstream_zone userid uwsgi
99 vhost_traffic_status xslt"
100 NGINX_MODULES_MAIL="imap smtp"
101 NGINX_MODULES_STREAM="geo geoip geoip2 realip upstream_hash
102 upstream_least_conn upstream_zone"
103 PHP_TARGETS="php8-0"
104
105 GRUB_PLATFORMS="pc"
106
107 --
108 Mit freundlichen Grüßen,
109 Jochen Kirchner
110
111 eMail: jk@×××××××.design
112 Web: https://jk-foto.design
113
114 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
Re: [gentoo-user] Re: btop fails to compile Walter Dnes <waltdnes@××××××××.org>