Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914429 - sci-libs/lapack-3.11 fails to build with samurai
Summary: sci-libs/lapack-3.11 fails to build with samurai
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 918511 (view as bug list)
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2023-09-19 12:48 UTC by hugegameartgd
Modified: 2023-11-26 16:59 UTC (History)
2 users (show)

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


Attachments
build.log (build.log.gz,105.60 KB, application/gzip)
2023-09-19 12:48 UTC, hugegameartgd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hugegameartgd 2023-09-19 12:48:10 UTC
Created attachment 870933 [details]
build.log

sci-libs/lapack-3.11 fails to build with samurai (adding NINJA=samu to make.conf)

Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/23.0/musl/llvm, gcc-14, musl-1.2.4, 6.4.7-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.4.7-gentoo-dist-x86_64-Intel-R-_Core-TM-_i5-7200U_CPU_@_2.50GHz-with-libc
KiB Mem:     8009540 total,   2570676 free
KiB Swap:   41943036 total,  41584124 free
Timestamp of repository gentoo: Tue, 19 Sep 2023 10:46:36 +0000
Head commit of repository gentoo: e8f68bcaf5eb48cfddf561de561d0f28939a5c8b

Head commit of repository 12101111-overlay: a2d27321b66e9ddfbd3baf6b77bec3ccef95aa20

Timestamp of repository Miezhiko: Tue, 19 Sep 2023 07:16:32 +0000
Head commit of repository Miezhiko: 9186f355fe55adffc6da5296756d764902bf0cab

Timestamp of repository booboo: Sat, 16 Sep 2023 07:46:33 +0000
Head commit of repository booboo: 6ea58a7cfbec3370da6152c59c292859b967eaec

Head commit of repository clang-musl: 4d7819eb9b8d4ea2230f80e8e31e7954ae984cb2

Timestamp of repository crossdev: Sun, 20 Jun 2021 21:41:33 +0000
Head commit of repository crossdev: 7c86f8ca262ff27fe4fb1965d8f8fef19f77a3bb

Timestamp of repository guru: Tue, 19 Sep 2023 06:31:33 +0000
Head commit of repository guru: 7b34d26e9de045797f27bad67e5caf7e6627d673

Timestamp of repository haskell: Thu, 14 Sep 2023 05:49:09 +0000
Head commit of repository haskell: dcdef449103e3ceae78ec6e6bafcffc6a113c69c

Timestamp of repository kde: Mon, 18 Sep 2023 21:16:34 +0000
Head commit of repository kde: 1e63b2a0b6d71046a0d98fd59bd2ebd59debf03c

Timestamp of repository liftm: Thu, 14 Sep 2023 05:49:30 +0000
Head commit of repository liftm: 81cbeafad254f5b129896ab06d98167359a0cfcf

Timestamp of repository musl: Sat, 16 Sep 2023 09:46:33 +0000
Head commit of repository musl: 89d006b462934497151bd7d92383158959ec48b4

Timestamp of repository mv: Thu, 14 Sep 2023 05:49:11 +0000
Head commit of repository mv: f53913753d118ad4cf05f8a530410a276fb34c65

Timestamp of repository mva: Sat, 16 Sep 2023 07:46:33 +0000
Head commit of repository mva: 76bad6d3e73eb8ab838c54268ce76cf55331ece0

Timestamp of repository piniverlay: Thu, 14 Sep 2023 05:49:20 +0000
Head commit of repository piniverlay: 238421a9cc98119036072611dbd5ef46f6b5fa11

Timestamp of repository qt: Thu, 14 Sep 2023 05:49:11 +0000
Head commit of repository qt: b1caa0c696fef868e3f9cd791df3b647bdb09e60

Timestamp of repository reagentoo: Sat, 25 Feb 2023 06:47:18 +0000
Head commit of repository reagentoo: 54e947ecc261d96225ff710da98a5a74a0cebdaa

Timestamp of repository src_prepare-overlay: Thu, 14 Sep 2023 05:49:25 +0000
Head commit of repository src_prepare-overlay: 738e752221d54d837b9596c4b4ab9f9c6b00f55b

Timestamp of repository stefantalpalaru: Tue, 19 Sep 2023 00:46:33 +0000
Head commit of repository stefantalpalaru: e07a38cbd379f306d463cf0e5a88103fd48ce36b

Timestamp of repository tatsh-overlay: Mon, 18 Sep 2023 11:46:32 +0000
Head commit of repository tatsh-overlay: 5910015f8d962c0d328baacf847aa0112f977576

Head commit of repository toolchain-clang: eb2a48b8ac462b0d93a1fb66e1373d1c35b9761d

Timestamp of repository torbrowser: Thu, 14 Sep 2023 21:01:34 +0000
Head commit of repository torbrowser: 2a2718d843756b687001401f622fd067bff559da

Head commit of repository vimproved: 27af979292adfa5dbd06217a694346bf7038ebfe

Head commit of repository vimproved-exp: f2a162167e333ebf34f3ca938411602fd12caa74

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
ccache version 4.8.3 [enabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           2.7.18_p112::stefantalpalaru, 3.10.13::gentoo, 3.11.5::gentoo, 3.12.0_rc2_p1-r1::gentoo
dev-lang/rust:             1.72.0-r1::vimproved
dev-util/ccache:           4.8.3::gentoo
dev-util/cmake:            9999::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          253.7::12101111-overlay
sys-devel/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r1::12101111-overlay
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 16.0.6::gentoo, 18.0.0.9999::gentoo
sys-devel/gcc:             14.0.0_pre20230917::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.6::gentoo, 18.0.0.9999::gentoo
sys-devel/llvm:            15.0.7-r3::12101111-overlay, 16.0.6::clang-musl, 18.0.0.9999::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.5::gentoo (virtual/os-headers)
sys-libs/musl:             1.2.4::12101111-overlay
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

12101111-overlay
    location: /var/db/repos/12101111-overlay
    sync-type: git
    sync-uri: https://github.com/12101111/overlay.git
    masters: gentoo
    volatile: False

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

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

clang-musl
    location: /var/db/repos/clang-musl
    sync-type: git
    sync-uri: https://github.com/clang-musl-overlay/clang-musl-overlay.git
    masters: gentoo
    volatile: False

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

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

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

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

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

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

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

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

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

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

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

src_prepare-overlay
    location: /var/db/repos/src_prepare-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/src_prepare-overlay.git
    masters: gentoo
    volatile: False

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

tatsh-overlay
    location: /var/db/repos/tatsh-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git
    masters: gentoo
    volatile: False

toolchain-clang
    location: /var/db/repos/toolchain-clang
    sync-type: git
    sync-uri: https://github.com/LinuxUserGD/toolchain-clang.git
    masters: gentoo
    volatile: False

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

vimproved
    location: /var/db/repos/vimproved
    sync-type: git
    sync-uri: https://codeberg.org/vimproved/overlay
    masters: gentoo
    volatile: False

vimproved-exp
    location: /var/db/repos/vimproved-exp
    sync-type: git
    sync-uri: https://codeberg.org/vimproved/overlay-exp.git
    masters: gentoo guru haskell vimproved
    volatile: False

Installed sets: @kde-plasma
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
ADDR2LINE="llvm-addr2line"
AR="llvm-ar"
AS="clang -c"
CBUILD="x86_64-gentoo-linux-musl"
CC="clang"
CFLAGS="-O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc /usr/lib/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CPP="clang-cpp"
CXX="clang++"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto -stdlib=libc++"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --buildpkg --usepkg"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto"
GENTOO_MIRRORS="http://ftp.gwdg.de/pub/linux/gentoo/     http://ftp.uni-stuttgart.de/gentoo-distfiles/     http://ftp.uni-hannover.de/gentoo/"
INSTALL_MASK="charset.alias /usr/share/locale/locale.alias"
LANG="C.UTF8"
LD="ld.mold"
LDFLAGS="-O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto  -Wl,-O3 -Wl,--as-needed -Wl,--strip-debug -Wl,--undefined-version -Wl,--icf=safe -Wl,--thread-count=4 -Wl,--compress-debug-sections=zstd -fuse-ld=mold -rtlib=compiler-rt -unwindlib=libunwind"
LEX="flex"
LINGUAS="de"
MAKEOPTS="-j1"
NM="llvm-nm"
OBJCOPY="llvm-objcopy"
OBJDUMP="llvm-objdump"
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"
RANLIB="llvm-ranlib"
READELF="llvm-readelf"
SHELL="/bin/bash"
STRINGS="llvm-strings"
STRIP="llvm-strip"
USE="X acl alsa amd64 apparmor binutils-plugin bzip2 cairo cet clang compiler-rt compress crossdev-mingw crypt dbus default-clang default-compiler-rt default-libcxx default-libunwind default-lld default-llvm eds egl eselect-ldso ghcbootstrap gles2 graphite gstreamer gtk gtk3 hardened iconv icu ipv6 jemalloc libcxx liblc3 libtirpc libunwind lld llvm llvm-libunwind lto lzip lzma mingw modula2 mold ncurses networkmanager nls nptl opencl opengl openh264 openmp opus pam panel-plugin pcre pic pipewire pipewire-alsa policykit portmidi portsmf pulseaudio qt6 readline rust sanitize sdl seccomp sound-server ssl static-user svg system-bootstrap system-llvm systemd test-rust threads tpm udev unicode upower vaapi verify-sig vulkan wasi wasm wayland wifi xattr xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="musl" 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_12 python3_11" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 ppc" QEMU_USER_TARGETS="x86_64 aarch64 ppc" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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:  ARFLAGS, ASFLAGS, CCLD, CONFIG_SHELL, CPPFLAGS, CTARGET, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS, SIZE, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sci-libs/lapack-3.11::gentoo was built with the following:
USE="eselect-ldso lapacke -deprecated -doc -test"
CFLAGS="-march=skylake -O3 -pipe -flto"
CXXFLAGS="-march=skylake -O3 -pipe -flto"
FEATURES="config-protect-if-modified unmerge-logs unknown-features-warn ccache merge-sync protect-owned qa-unresolved-soname-deps assume-digests binpkg-dostrip unmerge-orphans xattr fixlafiles news userpriv binpkg-docompress binpkg-multi-instance userfetch buildpkg-live binpkg-logs usersandbox usersync buildpkg sfperms distlocks parallel-fetch preserve-libs sandbox ebuild-locks strict ipc-sandbox"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -fuse-ld=bfd"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-09-19 12:51:29 UTC
[5002/6856] /usr/bin/x86_64-gentoo-linux-musl-gfortran -I/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11/SRC -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto -frecursive -JSRC -fPIC -fpreprocessed -o SRC/CMakeFiles/lapack.dir/zlassq.f90.o -c SRC/CMakeFiles/lapack.dir/zlassq.f90-pp.f90
samu: job failed: /usr/bin/x86_64-gentoo-linux-musl-gfortran -I/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11/SRC -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto -O3 -pipe -march=native -mtune=native -D_FORTIFY_SOURCE=3 -flto -frecursive -JSRC -fPIC -fpreprocessed -o SRC/CMakeFiles/lapack.dir/zlassq.f90.o -c SRC/CMakeFiles/lapack.dir/zlassq.f90-pp.f90
/var/tmp/portage/sci-libs/lapack-3.11/work/lapack-3.11/SRC/zlassq.f90:137:8:

  137 |    use LA_CONSTANTS, &
      |        1
Fatal Error: Cannot open module file 'la_constants.mod' for reading at (1): No such file or directory
compilation terminated.
samu: subcommand failed
Comment 2 Larry the Git Cow gentoo-dev 2023-09-21 07:38:56 UTC
The bug has been referenced in the following commit(s):

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

commit b004ced7f6a7c6b62027730af1adf58a2a9e805f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-09-21 07:35:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-21 07:38:37 +0000

    dev-util/cmake: add 3.27.6
    
    This might fix bug #914429.
    
    Bug: https://bugs.gentoo.org/914429
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-util/cmake/Manifest            |   3 +
 dev-util/cmake/cmake-3.27.6.ebuild | 291 +++++++++++++++++++++++++++++++++++++
 2 files changed, 294 insertions(+)
Comment 3 hugegameartgd 2023-09-21 16:08:25 UTC
Still reproducible with samurai and >=dev-util/cmake-3.27.6
Comment 4 Benda Xu gentoo-dev 2023-11-26 13:18:49 UTC
Thanks for reporting.  But unfortunately I am not a samurai user.  

Help is welcome :)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 16:59:03 UTC
*** Bug 918511 has been marked as a duplicate of this bug. ***