Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927635 - sci-libs/mumps-5.3.5-r1: won't compile with USE=mpi if openmpi doesn't have USE=fortran
Summary: sci-libs/mumps-5.3.5-r1: won't compile with USE=mpi if openmpi doesn't have U...
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:
Depends on:
Blocks:
 
Reported: 2024-03-23 14:58 UTC by William Pettersson
Modified: 2024-03-24 15:07 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,4.99 KB, text/plain)
2024-03-23 15:01 UTC, William Pettersson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Pettersson 2024-03-23 14:58:43 UTC
The recent profile switch to 23.0 drops "fortran" as a default USE compared to 17.0, so by default openmpi will be compiled without fortran support, but the mumps package expects fortran support in openmpi if the "mpi" USE flag is enabled without checking for it.

Reproducible: Always

Steps to Reproduce:
1. Set profile to 23.0
2. Check that fortran has not manually been set
3. Emerge openmpi (check fortran USE flag disabled, as is default)
4. Emerge sci-libs/mumps with the mpi USE flag enabled
Actual Results:  
Compilation fails. Error message is

mpif90 -O2 -pipe -fno-strict-aliasing -fallow-argument-mismatch -DALLOW_NON_INIT -fPIC -I. -I../include  -I/usr/include/scotch -Dpord -Dptscotch -c double_linked_list.F -o double_linked_list.o
make[3]: mpif90: No such file or directory

Expected Results:  
Package compiles successfully

emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-13, glibc-2.38-r10, 6.1.67-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.67-gentoo-x86_64-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.38
KiB Mem:    32806496 total,  16297408 free
KiB Swap:   67108860 total,  45534704 free
Timestamp of repository gentoo: Sat, 23 Mar 2024 00:00:00 +0000
Head commit of repository gentoo: 8103242c2e643688ad2d90fa7335114ed5cc6563
Timestamp of repository ace: Tue, 19 Mar 2024 21:33:41 +0000
Head commit of repository ace: c9c0c16c6b0535a972a4f41e58213007c7113622

Head commit of repository jgenco: 5d491cd09cb5dd1a00a2952eb0d41e871dfca3f5

Head commit of repository moltonel: 9a6fdd9fed01fc855101e1d40dee602616828630

Head commit of repository sage-on-gentoo: cd3b11ad64f957324c5238b92b63da59fc3beb2b

Head commit of repository steam-overlay: 6383d556f91cc926d7c2295a212dfe3217e0a536

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p5) 2.41.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r6::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.75.0-r1::gentoo
dev-util/ccache:           4.9.1::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.3-r1::gentoo
sys-devel/binutils:        2.41-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo
sys-kernel/linux-headers:  6.6::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://blinky/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3

LocalOverlay
    location: /usr/local/portage
    masters: gentoo
    volatile: True

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

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: False

eclipse
    location: /var/lib/layman/eclipse
    masters: gentoo
    priority: 50
    volatile: True

guru
    location: /var/lib/layman/guru
    masters: gentoo
    priority: 50
    volatile: True

moltonel
    location: /var/lib/layman/moltonel
    sync-type: git
    sync-uri: https://github.com/vincentdephily/moltonel-ebuilds.git
    masters: gentoo
    priority: 50
    volatile: True

sage-on-gentoo
    location: /var/lib/layman/sage-on-gentoo
    sync-type: git
    sync-uri: https://github.com/cschwan/sage-on-gentoo.git
    masters: gentoo
    priority: 50
    volatile: True

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50
    volatile: True

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50
    volatile: True

tastytea
    location: /var/lib/layman/tastytea
    masters: guru gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE Q3AEULA dlj-1.1 RAR freedist"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/db/repos/gentoo/distfiles"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://104.19.139.75/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en sv sv-SE en-GB sco"
MAKEOPTS="-j6"
PKGDIR="/var/db/repos/gentoo/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=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
SHELL="/bin/zsh"
USE="X a52 aac aacs acl acpi alsa amd64 bash-completion bdplus bluetooth bluray branding bzip2 cairo cdda cdr cet crypt cups curl cxx dbus dga dri drm dts dvd dvdr encode exif ffmpeg fftw flac ftp gdbm gif gles2 gpg gpgme gpm gstreamer gtk gui iconv icu id3tag imagemagick introspection ipv6 ithreads java joystick jpeg ladspa latex lcms libcaca libnotify libtirpc lzma mad matroska mjpeg mng mp3 mp4
 mpeg mpi multilib ncurses nginx nls notmuch nptl nvenc nvidia ogg openal opengl openh264 openmp pam pango pcre pdf png policykit ppds projectm pulseaudio python qt5 rar readline sdl seccomp skins smtp sound speex spell ssl startup-notification svg systemd szip taglib test-rust theora threads tiff tk truetype twolame udev udisks unicode upnp upower usb v4l vaapi vdpau vim-syntax vorbis vpx vulkan wayland webdav webp wxwidgets x264 xattr xcb xft xinerama xml xv xvid zlib zsh-completion zstd" ABI_X86="32 64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="roccat_iskufx roccat_kiro libinput wacom" KERNEL="linux" L10N="en sv sv-SE en-GB sco" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" 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_11" QEMU_SOFTMMU_TARGETS="arm aarch64 armeb i386 x86_64" QEMU_USER_TARGETS="arm aarch64 armeb i386 x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
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, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Full emerge.log to follow momentarily
Comment 1 William Pettersson 2024-03-23 15:01:22 UTC
Created attachment 888288 [details]
build.log