Created attachment 785813 [details] cabal-3.2.1.0-r1 build log When trying to emerge cabal-3.2.1.0-r1, the ebuild fails with the following: * ERROR: dev-haskell/cabal-3.2.1.0-r1::gentoo failed (configure phase): * compiling /var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0/Setup.hs failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2316: Called haskell-cabal_src_configure '--flag=-bundled-binary-generic' * environment, line 1966: Called cabal-bootstrap * environment, line 908: Called die * The specific snippet of code: * } || make_setup "$@" || die "compiling ${setupmodule} failed"; * * If you need support, post the output of `emerge --info '=dev-haskell/cabal-3.2.1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/cabal-3.2.1.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0' * S: '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0' >>> Failed to emerge dev-haskell/cabal-3.2.1.0-r1, Log file: >>> '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/build.log' * Messages for package dev-haskell/cabal-3.2.1.0-r1: * ERROR: dev-haskell/cabal-3.2.1.0-r1::gentoo failed (configure phase): * compiling /var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0/Setup.hs failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 2316: Called haskell-cabal_src_configure '--flag=-bundled-binary-generic' * environment, line 1966: Called cabal-bootstrap * environment, line 908: Called die * The specific snippet of code: * } || make_setup "$@" || die "compiling ${setupmodule} failed"; * * If you need support, post the output of `emerge --info '=dev-haskell/cabal-3.2.1.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/cabal-3.2.1.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0' * S: '/var/tmp/portage/dev-haskell/cabal-3.2.1.0-r1/work/Cabal-3.2.1.0' Output of emerge --info: Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-11.3.0, glibc-2.34-r13, 5.10.88-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.10.88-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.34 KiB Mem: 16249652 total, 1891276 free KiB Swap: 15860732 total, 15679740 free Timestamp of repository gentoo: Sat, 11 Jun 2022 19:30:01 +0000 Head commit of repository gentoo: eee74b9fca1b5237299ee08fd041997e7271304a Head commit of repository flatpak-overlay: 4bf9a7815ca9361f86459c8a8e9bc403e3721704 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.8.13::gentoo, 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust: 1.60.0::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 250.6::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.1::gentoo, 14.0.4::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: ...rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 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/dconf /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/languag> CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-f> FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="...//mirrors.rit.edu/gentoo/ ...//gentoo.osuosl.org/ ...//gentoo.osuosl.org/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" 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=/> PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreame> Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS,> Output of emerge -pqv: [ebuild N ] dev-haskell/cabal-3.2.1.0-r1 USE="-doc -hscolour -profile" (This looks similar to #836643 but is occurring early in the build instead of at install phase.)
Not sure I see the similarity with bug 836643.
Using cabal-3.4.0.0. Prepending /usr/lib64/ghc-9.0.1 to LD_LIBRARY_PATH It is necessary to use >=dev-haskell/cabal-install-3.4.1.0-r1 with ghc 9.0.1 or 9.0.2.