Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 954077 - sys-devel/gcc-15.0.1_pre20250418-r1: fails to install (multilib-strict check failed!)
Summary: sys-devel/gcc-15.0.1_pre20250418-r1: fails to install (multilib-strict check ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 954079 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-04-19 14:00 UTC by Toralf Förster
Modified: 2025-04-19 19:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.60 KB, text/plain)
2025-04-19 14:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,2.69 KB, text/plain)
2025-04-19 14:00 UTC, Toralf Förster
Details
environment (environment,184.21 KB, text/plain)
2025-04-19 14:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.02 KB, application/x-xz)
2025-04-19 14:00 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,35.42 KB, text/plain)
2025-04-19 14:00 UTC, Toralf Förster
Details
sys-devel:gcc-15.0.1_pre20250418-r1:20250419-120256.log.xz (sys-devel:gcc-15.0.1_pre20250418-r1:20250419-120256.log.xz,286.35 KB, application/x-xz)
2025-04-19 14:00 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-04-19 14:00:00 UTC
if :; then \
  rm -rf stage2-*; \
  echo timestamp >  stage2-lean; \
fi
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-15.0.1_pre20250418-r1/work/build'
make[1]: Entering directory '/var/tmp/portage/sys-devel/gcc-15.0.1_pre20250418-r1/work/build'
mv: cannot stat 'stage2-gcc': No such file or directory
mv: cannot stat 'stage2-libbacktrace': No such file or directory
mv: cannot stat 'stage2-libcpp': No such file or directory

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20250419-033002

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
llvm-config: Python 3.12.10
  HEAD of ::gentoo
commit a3dfae8cae18632b549adcfbc58371354df73730
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Apr 19 11:35:31 2025 +0000

    2025-04-19 11:35:31 UTC

The tinderbox task was: %emerge -1u --selective=n --deep=0 =$(portageq best_visible / sys-devel/gcc) sys-devel/binutils sys-libs/glibc

emerge -qpvO =sys-devel/gcc-15.0.1_pre20250418-r1
[ebuild  NS   ] sys-devel/gcc-15.0.1_pre20250418-r1 [14.2.1_p20241221] USE="cet (cxx) (default-stack-clash-protection) (default-znow) fortran go* hardened libgdiagnostics%* nls openmp (pie) sanitize (ssp) zstd -ada -cobol% (-custom-cflags) -d -debug -doc (-fixed-point) -graphite (-ieee-long-double) -jit (-libssp) -lto -modula2 (-multilib*) -objc -objc++ -objc-gc (-pch) -pgo -rust -systemtap -test (-time64) -valgrind -vanilla -vtv"
Comment 1 Toralf Förster gentoo-dev 2025-04-19 14:00:01 UTC
Created attachment 925320 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-19 14:00:02 UTC
Created attachment 925321 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-04-19 14:00:03 UTC
Created attachment 925322 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-19 14:00:04 UTC
Created attachment 925323 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-19 14:00:05 UTC
The file size of ./files/logs.tar.xz is too big (1.7M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_no_multilib_hardened_systemd-20250419-033002/var/tmp/tb/issues/20250419-131719-sys-devel_gcc-15.0.1_pre20250418-r1/files/logs.tar.xz is valid.
Comment 6 Toralf Förster gentoo-dev 2025-04-19 14:00:06 UTC
Created attachment 925324 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2025-04-19 14:00:08 UTC
Created attachment 925325 [details]
sys-devel:gcc-15.0.1_pre20250418-r1:20250419-120256.log.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-19 19:10:01 UTC
*** Bug 954079 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-19 19:11:03 UTC
 * Final size of build directory: 3257800 KiB (  3.1 GiB)
 * Final size of installed tree:   818280 KiB (799.1 MiB)

 * QA Notice: Installing libtool files (.la) without corresponding static libraries!
 *   /usr/libexec/gcc/x86_64-pc-linux-gnu/15/liblto_plugin.la
Files matching a file type that is not allowed:
   usr/lib/libgccjit.so.0.0.1
 * ERROR: sys-devel/gcc-15.0.1_pre20250418-r1::gentoo failed:
 *   multilib-strict check failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 684:  Called install_qa_check
 *   misc-functions.sh, line 134:  Called source 'install_symlink_html_docs'
 *   80multilib-strict, line  46:  Called multilib_strict_check
 *   80multilib-strict, line  42:  Called die
 * The specific snippet of code:
 *   		[[ ${abort} == yes ]] && die "multilib-strict check failed!"
 * 

So, this surely regressed with the fix for bug 953823. Not looked into why at all yet.
Comment 10 Larry the Git Cow gentoo-dev 2025-04-19 19:16:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73fda26842575668580ad90e98ef93cdb73cd329

commit 73fda26842575668580ad90e98ef93cdb73cd329
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-04-19 19:12:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-19 19:14:36 +0000

    toolchain.eclass: only enable JIT with USE=jit
    
    My fix in 6335bd10dfd41fa1f1a508c9e4d3458b6ae39a91 exposed another
    issue with USE="-jit libgdiagnostics" that was being obscured by the
    issue I fixed in that commit: with USE=-jit, as long as we were still
    doing the separate host-shared build (with USE=libgdiagnostics), we were
    still passing --enable-languages=jit.
    
    Bug: https://bugs.gentoo.org/953823
    Closes: https://bugs.gentoo.org/954077
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/toolchain.eclass | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)