Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-libs/libcxxabi-13.0.0::gentoo failed (compile phase)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
h10082
n00b
n00b


Joined: 24 Jun 2021
Posts: 11
Location: UK

PostPosted: Mon Nov 08, 2021 8:04 am    Post subject: sys-libs/libcxxabi-13.0.0::gentoo failed (compile phase) Reply with quote

I'm trying to upgrading the flowing packages from 12.0.1 to 13.0.0.
Code:

[ebuild     U  ] sys-libs/libcxxabi-13.0.0 [12.0.1]
[ebuild     U  ] sys-libs/libcxx-13.0.0 [12.0.1]
[ebuild  NS    ] sys-devel/clang-13.0.0 [12.0.1] LLVM_TARGETS="(-M68k)"
[ebuild  NS    ] sys-libs/compiler-rt-13.0.0 [12.0.1] USE="-debug%"
[ebuild  NS    ] sys-libs/compiler-rt-sanitizers-13.0.0 [12.0.1] USE="orc%* -debug%"
[ebuild  NS    ] sys-devel/clang-runtime-13.0.0 [12.0.1]


Is anyone suffering the same issue?

Code:

ERROR: sys-libs/libcxxabi-13.0.0::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 3714:  Called cmake-multilib_src_compile
 *   environment, line 1120:  Called multilib-minimal_src_compile
 *   environment, line 2588:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2858:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2523:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 2521:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  537:  Called multilib-minimal_abi_src_compile
 *   environment, line 2582:  Called multilib_src_compile
 *   environment, line 3070:  Called cmake_src_compile
 *   environment, line 1231:  Called cmake_build
 *   environment, line 1200:  Called eninja
 *   environment, line 1707:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"


Code:

emerge --info '=sys-libs/libcxxabi-13.0.0::gentoo'
Portage 3.0.28 (python 3.9.7-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.10.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.76-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4810MQ_CPU_@_2.80GHz-with-glibc2.33
KiB Mem:    32536332 total,  27276348 free
KiB Swap:   50331644 total,  50331644 free
Timestamp of repository gentoo: Sun, 07 Nov 2021 21:30:01 +0000
Head commit of repository gentoo: f54ce61324d6dd65445a8b11bfee5110df739e37
Timestamp of repository guru: Sun, 07 Nov 2021 09:06:34 +0000
Head commit of repository guru: 11c922fd89027eba97f2f156917021db8c4052ad

Timestamp of repository sorrow: Thu, 04 Nov 2021 09:37:22 +0000
Head commit of repository sorrow: 319aa66409274b29d29bdc73fdf5a94edd315e3d

Timestamp of repository wayland-desktop: Sun, 31 Oct 2021 19:53:36 +0000
Head commit of repository wayland-desktop: b882e2dccde6afb5f40f1a490f2d99286c6841c7

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.9.7_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo

sorrow
    location: /var/db/repos/sorrow
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/sorrow.git
    masters: gentoo

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/ https://mirrors.gethosted.online/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl alsa amd64 bzip2 cli crypt dri egl eglfs fortran gdbm iconv ipv6 libglvnd libtirpc multilib ncurses networkmanager nls nptl openmp pam pcre pulseaudio readline seccomp split-usr ssl systemd udev unicode vaapi vdpau wayland xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2019" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nouveau intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


My setup has enabled the Clang environment for these packages:
Code:

/etc/portage/package.env

www-client/firefox compiler-clang-lto
sys-devel/llvm compiler-clang
sys-libs/libcxx compiler-clang
sys-libs/libcxxabi compiler-clang
sys-libs/compiler-rt compiler-clang
sys-libs/compiler-rt-sanitizers compiler-clang
sys-libs/llvm-libunwind compiler-clang
sys-devel/lld compiler-clang
sys-devel/clang compiler-clang


I appericate any direction, thanks.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31678
Location: here

PostPosted: Mon Nov 08, 2021 8:30 am    Post subject: Reply with quote

You should post also build.log with wgetpaste.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
h10082
n00b
n00b


Joined: 24 Jun 2021
Posts: 11
Location: UK

PostPosted: Mon Nov 08, 2021 11:41 am    Post subject: Reply with quote

fedeliallalinea wrote:
You should post also build.log with wgetpaste.


wgetpaste fails to work:
Code:

+ URL=
+ verifyurl
+ local t
+ [[ -z '' ]]
+ [[ -n 0 ]]
+ die 'Apparently nothing was received. Perhaps the connection failed.
--2021-11-08 11:34:45--  http://dpaste.com/api/v2/
Resolving dpaste.com... 35.173.69.207
Connecting to dpaste.com|35.173.69.207|:80... connected.
HTTP request sent, awaiting response... 413 Request Entity Too Large
2021-11-08 11:34:46 ERROR 413: Request Entity Too Large.'
+ echo 'Apparently nothing was received. Perhaps the connection failed.
--2021-11-08 11:34:45--  http://dpaste.com/api/v2/
Resolving dpaste.com... 35.173.69.207
Connecting to dpaste.com|35.173.69.207|:80... connected.
HTTP request sent, awaiting response... 413 Request Entity Too Large
2021-11-08 11:34:46 ERROR 413: Request Entity Too Large.'
Apparently nothing was received. Perhaps the connection failed.
--2021-11-08 11:34:45--  http://dpaste.com/api/v2/
Resolving dpaste.com... 35.173.69.207
Connecting to dpaste.com|35.173.69.207|:80... connected.
HTTP request sent, awaiting response... 413 Request Entity Too Large
2021-11-08 11:34:46 ERROR 413: Request Entity Too Large.
+ exit 1


I have some dependencies issues:
Code:

sudo emerge -v =sys-libs/libcxxabi-13.0.0::gentoo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/libcxxabi-13.0.0::gentoo [12.0.1::gentoo] USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/libcxxabi:0

  (sys-libs/libcxxabi-13.0.0:0/0::gentoo, ebuild scheduled for merge) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    =sys-libs/libcxxabi-13.0.0::gentoo (Argument)

  (sys-libs/libcxxabi-12.0.1:0/0::gentoo, installed) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    ~sys-libs/libcxxabi-12.0.1[libunwind=,static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-libs/libcxx-12.0.1:0/0::gentoo, installed) USE="(libcxxabi) libunwind -static-libs -test" ABI_X86="32 (64) (-x32)"
    ^                   ^^^^^^
[/bug]

I've run emerge -UD @world which did some cool things :o but trying to emerge libcxxabi failed with the same error.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31678
Location: here

PostPosted: Mon Nov 08, 2021 12:08 pm    Post subject: Reply with quote

h10082 wrote:
wgetpaste fails to work:

Try with https://transfer.sh/

h10082 wrote:
I have some dependencies issues:
Code:

sudo emerge -v =sys-libs/libcxxabi-13.0.0::gentoo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/libcxxabi-13.0.0::gentoo [12.0.1::gentoo] USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/libcxxabi:0

  (sys-libs/libcxxabi-13.0.0:0/0::gentoo, ebuild scheduled for merge) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    =sys-libs/libcxxabi-13.0.0::gentoo (Argument)

  (sys-libs/libcxxabi-12.0.1:0/0::gentoo, installed) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    ~sys-libs/libcxxabi-12.0.1[libunwind=,static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-libs/libcxx-12.0.1:0/0::gentoo, installed) USE="(libcxxabi) libunwind -static-libs -test" ABI_X86="32 (64) (-x32)"
    ^                   ^^^^^^

You are in a stable system so I think you unmasked sys-libs/libcxxabi-13.0.0 but not sys-libs/libcxx.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
h10082
n00b
n00b


Joined: 24 Jun 2021
Posts: 11
Location: UK

PostPosted: Mon Nov 08, 2021 12:25 pm    Post subject: Reply with quote

My build log https://transfer.sh/KB72mV/build.log
Back to top
View user's profile Send private message
h10082
n00b
n00b


Joined: 24 Jun 2021
Posts: 11
Location: UK

PostPosted: Mon Nov 08, 2021 12:29 pm    Post subject: Reply with quote

I (to my knowledge) haven''t explicitly mask or unmasked the concerning packages sys-libs/libcxxabi-13.0.0 or sys-libs/libcxx.
fedeliallalinea wrote:
h10082 wrote:
wgetpaste fails to work:

Try with https://transfer.sh/

h10082 wrote:
I have some dependencies issues:
Code:

sudo emerge -v =sys-libs/libcxxabi-13.0.0::gentoo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] sys-libs/libcxxabi-13.0.0::gentoo [12.0.1::gentoo] USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/libcxxabi:0

  (sys-libs/libcxxabi-13.0.0:0/0::gentoo, ebuild scheduled for merge) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    =sys-libs/libcxxabi-13.0.0::gentoo (Argument)

  (sys-libs/libcxxabi-12.0.1:0/0::gentoo, installed) USE="libunwind -static-libs -test" ABI_X86="32 (64) (-x32)" pulled in by
    ~sys-libs/libcxxabi-12.0.1[libunwind=,static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (sys-libs/libcxx-12.0.1:0/0::gentoo, installed) USE="(libcxxabi) libunwind -static-libs -test" ABI_X86="32 (64) (-x32)"
    ^                   ^^^^^^

You are in a stable system so I think you unmasked sys-libs/libcxxabi-13.0.0 but not sys-libs/libcxx.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31678
Location: here

PostPosted: Mon Nov 08, 2021 12:43 pm    Post subject: Reply with quote

Code:
ld.lld: error: /usr/lib/llvm/13/bin/../../../../lib/clang/13.0.0/lib/linux/libclang_rt.builtins-x86_64.a(udivdi3.c.o) is incompatible with elf32-i386

It seems a know bug, the proposed patch seems to work but not seems a good solution

h10082 wrote:
I (to my knowledge) haven''t explicitly mask or unmasked the concerning packages sys-libs/libcxxabi-13.0.0 or sys-libs/libcxx.

Ehmm sorry... You right I need to sync before check if a package is masked or not.
So I think that message goes away once you install everything correctly.
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
h10082
n00b
n00b


Joined: 24 Jun 2021
Posts: 11
Location: UK

PostPosted: Mon Nov 08, 2021 1:06 pm    Post subject: Reply with quote

Ah I see. Thanks a lot! Now I know what the probelm is.

I'm not intending on using clang+LLVM as the system-wide compiler. I built Clang with gcc and then with itself to get a self-providing compiler.
Mabye I'll just to build sys-libs/libcxxabi and sys-libs/libcxx with gcc, as the workaround dosen't seem advised.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum