public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jochen Kirchner <jk@jk-foto.design>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: btop fails to compile
Date: Wed, 30 Nov 2022 13:50:02 +0100	[thread overview]
Message-ID: <6e4bdde2ba014b589087e2cf4d7027c6@jk-foto.design> (raw)
In-Reply-To: <db09f639-ddc2-705e-0e7a-0c219f41e7e3@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 3788 bytes --]

Am 2022-11-30 12:45, schrieb Dale:
> Nuno Silva wrote:
>> On 2022-11-30, Jochen Kirchner wrote:
>> 
>> [...]
>>> make -j17 -l17 VERBOSE=true OPTFLAGS= CXX=x86_64-pc-linux-gnu-g++
>> Can you try emerging with -j1 in MAKEOPTS?
>> 
>> Sadly, the makefile[1] does not print out the mkdir commands (recipe 
>> on
>> lines 202 thru 204), so it's not possible to spot in the output when 
>> are
>> these being executed, but, from a quick glance (I might have 
>> overlooked
>> something!), it sounds like the target that runs mkdir is not a
>> dependency of the targets that generate and link the object files 
>> (line
>> 262, line 273), so it'd be possible for this to happen just because
>> the second mkdir did not complete before the first g++ was checking 
>> for
>> the directory.
>> 
>> [1] https://github.com/aristocratos/btop/blob/main/Makefile
>> 
> 
> 
> That's a good idea.  Just to test if that error happens to everybody, I
> installed btop-1.2.12 here.  Actually, it's kinda neat looking.  
> Anyway,
> it installed fine here on my 8 core machine with normal -j settings, 
> -j9
> I think.  It could help using -j1 tho.  Still, it installed here 
> without
> any problems. 
> 
> If -j1 doesn't work, maybe sync the tree again to see if maybe some 
> typo
> got fixed or something else was wrong during last sync.  That is rare
> nowadays but when grasping at straws, grab what you can. 
> 
> Oh, my google search earlier didn't yield anything either.  This seems
> to be a odd failure.
> 
> Dale
> 
> :-)  :-) 

Thank you both :)

-j1 did it :)

this is my make.conf: (its a web - and mail server)

COMMON_FLAGS="-O2 -march=znver2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

MAKEOPTS="-j17 -l17"
PORTAGE_NICENESS="1"
EMERGE_DEFAULT_OPTS="--jobs=17 --load-average=17 --with-bdeps y 
--complete-graph y"
FEATURES="candy fixlafiles unmerge-orphans parallel-install split-elog"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="-* @FREE @BINARY-REDISTRIBUTABLE"
GENTOO_MIRRORS="https://ftp.tu-ilmenau.de/mirror/gentoo/ 
https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ 
https://mirror.leaseweb.com/gentoo/ 
https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
https://ftp.fau.de/gentoo https://ftp.halifax.rwth-aachen.de/gentoo/"

USE="-bindist -systemd acpi avif berkdb branding brotli cgi clamav crypt 
cryptsetup dbus \
         device-mapper elogind exif fastcgi ftp gd geoip geoip2 gif git 
gmp gpg hddtemp heif hwloc \
         icu idn imagemagick imap inotify jpeg jpeg2k llvm llvm-libunwind 
lm-sensors maildir memcached \
         mmap mysql mysqli offensive php png samba sasl smp soap sockets 
subversion tidy \
         truetype udev udisks verify-sig vhosts vim-syntax webp xml 
xmlrpc zip zstd"

NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser 
charset dav dav_ext echo \
         empty_gif fancyindex fastcgi geo geoip geoip2 grpc gunzip gzip 
headers_more limit_conn \
         limit_req map memcached metrics mirror mp4 proxy realip referer 
rewrite scgi security \
         split_clients ssi stub_status upstream_hash upstream_ip_hash 
upstream_keepalive \
         upstream_least_conn upstream_zone userid uwsgi 
vhost_traffic_status xslt"
NGINX_MODULES_MAIL="imap smtp"
NGINX_MODULES_STREAM="geo geoip geoip2 realip upstream_hash 
upstream_least_conn upstream_zone"
PHP_TARGETS="php8-0"

GRUB_PLATFORMS="pc"

-- 
Mit freundlichen Grüßen,
Jochen Kirchner

eMail: jk@jk-foto.design
Web: https://jk-foto.design

Public Key: B67B 24AA CB0F E646 8E35 CF12 7FC8 C135 CEEB C714

[-- Attachment #1.2: 0xCEEBC714.asc --]
[-- Type: application/pgp-keys, Size: 1652 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2022-11-30 12:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  9:32 [gentoo-user] btop fails to compile Jochen Kirchner
2022-11-30 11:31 ` [gentoo-user] " Nuno Silva
2022-11-30 11:45   ` Dale
2022-11-30 12:50     ` Jochen Kirchner [this message]
2022-12-05  6:30       ` Walter Dnes
2022-12-05  8:21         ` Peter Humphrey
2022-12-14  7:14         ` Jochen Kirchner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6e4bdde2ba014b589087e2cf4d7027c6@jk-foto.design \
    --to=jk@jk-foto.design \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox