Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 761553 - sci-libs/hdf-4.2.13-r1 failed to emerge
Summary: sci-libs/hdf-4.2.13-r1 failed to emerge
Status: RESOLVED DUPLICATE of bug 723014
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-25 07:38 UTC by Leonid Kopylov
Modified: 2021-02-19 12:13 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,58.89 KB, text/plain)
2020-12-25 07:38 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2020-12-25 07:38:14 UTC
# emerge -pqv '=sci-libs/hdf-4.2.13-r1::gentoo'
[ebuild  N    ] sci-libs/hdf-4.2.13-r1  USE="examples fortran -static-libs -szip -test"

# emerge --info '=sci-libs/hdf-4.2.13-r1::gentoo'
Portage 3.0.12 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r6, 5.10.2-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-8559U_CPU_@_2.70GHz-with-glibc2.2.5
KiB Mem:    32751048 total,  28441644 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 24 Dec 2020 09:00:01 +0000
Head commit of repository gentoo: 723222890cdf6469850a14195a2d73e7a684052d
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
ccache version 4.1 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          3.8.7::gentoo, 3.9.1::gentoo, 3.10.0_alpha3::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r4::gentoo
sys-devel/gcc-config:     2.3.2-r1::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.32-r6::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /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 -fomit-frame-pointer"
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 -fomit-frame-pointer"
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 -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="X a52 aac aalib accessibility acl acpi addc addns ads afp alsa amd64 amr amrenc ao apache2 apng appindicator archive aspell audit authdaemond autoipd base bcmath bdplus berkdb bidi bluetooth bluray bookmarks branding btrfs bzip2 cacert cairo calendar ccache cdda cddb cdio cdp cdparanoia cdr cgroup-hybrid chromaprint chromium cli client clockdiff codec2 colord compat conch conntrack contrib contribdnn corefonts creds cron crypt cryptsetup cscope cue cups curl daap dbus declarative designer device-mapper djvu dnd dns doc dot doxysearch dri dts dvd dvdr dynamic-loading eds egl emacs emboss encode eolconv equalizer evo examples exif experimental extra extras faac faad fam fat fbcon fdk ffmpeg firebird firmware flac flickr flite fontconfig fontforge fonts fortran fprint fribidi ftp fuse games gconf gd gdbm gedit geoclue geoip geoip2 geolocation gfile gif git glade gles2 gme gmp gnome gnome-keyring gnome-online-accounts go google googledrive gpg gpm graph graphviz gsettings gssapi gstreamer gtk gtk-doc gtk3 gui harfbuzz hddtemp hdf hdri heif help highlight howl-compat hpn html http http2 iconv icu id3tag idn imagemagick imaging imap imlib inifile intl introspection ios ipv6 iscsi jadetex java javamail javascript jpeg json junction kate kerberos ladspa lame lapack lapacke latex lcms ldap ldap-bind ldap-sasl ldapdb leaps-timezone libass libcaca libglvnd libkms libnotify librtmp libsamplerate libsecret libsoxr libtiger libtirpc libvisual lirc live lm-sensors lmdb localstorage location log4j logrotate lvm macosx-notifications mad maildir mailutils man math mbox md5sum mdadm mdnsresponder-compat mediawiki mediawiki-experimental memcached metalink metric minizip mms mng modplug mongodb mount mount-locking mp3 mp4 mpeg mpfr mplayer mpx mssql mtp mule multilib musepack mysql mysqli nas natspec nautilus ncurses nethack netlink networkauth networkmanager nfs nfsv4 nfsv41 nftables nls notification nptl nscd nsplugin ntlm oauth odbc odbcmanual offensive office offlinehelp ogg opencv openexr opengl openh264 openldap openmp openntpd opus orientation overlays pam pango parse-clocks pass passfile pcap pci pcre pcre16 pcre32 pdf pdfimport pdo perl playlist plugins png policykit pop portaudio positioning postgres postproc ppds projectm pulseaudio pwhich python qml qrcode qt5 quicktime quota radio radius rar raw rdp readline realtime recode reencrypt reiser4 reiserfs remote remotecalls rendering rpc rtc rtmp samba sample samples sasl savedconfig screencast sctp sdl sdl-image seccomp security-key sendto sensord sensors sftp shotwell shout skins slp smi smime smp smtp sndfile snmp soap sockets sound sox soxr speex spell spice spidermonkey split-usr spoof-source sql sqlite squashfs srp srt ssh sshdump ssl sssd startup-notification stunnel sudo svg symlink sync-plugin-portage syslog sysprof systemd taglib tbb tcl tcpd tdb telemetry telnet terminal text tfshark tftpd theora thetvdb threads tiff tk toolame tools topal tracepath traceroute6 tracker trashquota truetype tty-helpers twolame udev udisks umfpack unicode upnp upnp-av upower usb user-session utils v4l vala valadoc vcd views vim vim-pager vim-syntax vlc vnc voices vorbis vte vtk wavpack wayland web webchannel webkit webp webready websockets widgets wifi winbind wininst wks-server wmf wps wxwidgets x11extras x264 x265 xa xattr xcb xemacs xetex xface xfs xft xindy xine xinerama xinetd xkb xml xmlpatterns xmlreader xmlwriter xmp xpm xps xscreensaver xv xvid xvmc xwidgets yaml z3 zeroconf zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="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="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel i965 iris vmware vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq 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
Comment 1 Leonid Kopylov 2020-12-25 07:38:43 UTC
Created attachment 679416 [details]
build.log
Comment 2 Ionen Wolkens gentoo-dev 2020-12-25 08:45:59 UTC
Error: Type mismatch between actual argument at (1) and actual argument at (2) (CHARACTER(0)/INTEGER(4)).

Duplicate of bug #723014 (despite the summary) and is GCC10-specific

Not overly familiar with fortran but dirty workaround is to pass -fallow-argument-mismatch in FFLAGS for legacy behavior (or USE=-fortran if you don't need it).

ebuild-wise, believe this should be appropriate for all compilers:

	append-fflags $(test-flags-FC -fallow-argument-mismatch)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-27 02:56:04 UTC
(In reply to Ionen Wolkens from comment #2)
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (CHARACTER(0)/INTEGER(4)).
> 
> Duplicate of bug #723014 (despite the summary) and is GCC10-specific
> 
> Not overly familiar with fortran but dirty workaround is to pass
> -fallow-argument-mismatch in FFLAGS for legacy behavior (or USE=-fortran if
> you don't need it).
> 
> ebuild-wise, believe this should be appropriate for all compilers:
> 
> 	append-fflags $(test-flags-FC -fallow-argument-mismatch)

This will work modulo concerns about appending something blank which some things might freak out over. I would do test-flags-FC ... && just in case.
Comment 4 Roy Bamford gentoo-dev 2021-02-19 10:39:17 UTC
Confirmed on amd64 and the workaround in comment 2.
 
Now to get it to work on arm64 for a piece of kicad.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-19 12:13:50 UTC

*** This bug has been marked as a duplicate of bug 723014 ***