* Package: sci-physics/cernlib-2006-r7 * Repository: gentoo * Maintainer: sci-physics@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Using following Fortran compiler: * F77: x86_64-pc-linux-gnu-gfortran * FC: x86_64-pc-linux-gnu-gfortran >>> Unpacking source... >>> Unpacking cernlib_20061220+dfsg3.orig.tar.gz to /var/tmp/portage/sci-physics/cernlib-2006-r7/work >>> Unpacking cernlib_20061220+dfsg3-4.3.debian.tar.xz to /var/tmp/portage/sci-physics/cernlib-2006-r7/work >>> Source unpacked in /var/tmp/portage/sci-physics/cernlib-2006-r7/work >>> Preparing source in /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3 ... * Applying cernlib-2006-nogfortran.patch ... [ ok ] * Applying Debian patches make -j4 -j1 patch if [ -d /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/debian/add-ons/bin ] ; then chmod a+x /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/debian/add-ons/bin/* ; fi for x in /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/upstream/src_*.tar.gz ; do tar xzf $x ; done # get rid of the needless extra directory whose name changes yearly mv /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/2006/src /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/ rmdir /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/2006 # get rid of the CVS directories find /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/ -name CVS | xargs rm -rf # symlink in config directory if not already there set -e ; \ if [ ! -d "/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config" ] ; then \ if [ ! -d "//usr/share/cernlib/config" ] ; then \ echo "Cannot find required //usr/share/cernlib/config!";\ exit 1 ; \ fi ; \ mkdir /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config ; \ for file in //usr/share/cernlib/config/* ; do \ ln -s $file /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/ ; \ done ; \ fi mkdir -p stampdir touch stampdir/gunzip-stamp make: dpkg-architecture: No such file or directory # Add various patches to the patch directory based on environment # variable options for patch in `ls -1 /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/debian/patches/*.dpatch.in 2> /dev/null`; do \ sed -e 's,@PREFIX@,//usr,g' -e 's,@DATADIR@,//usr/share,g' \ -e 's,@MULTIARCH@,,g' \ $patch > ${patch%.in} ; \ chmod a+x ${patch%.in} ; \ done # Set other options in src/config/host.def rm -f /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/host.def echo '#define CernlibLocalDefines ' >> \ /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/host.def echo '#define InstPgmFlags ' >> /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/host.def echo '#define Hasgfortran YES' >> /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/host.def make cernlib-configure-local make[1]: Entering directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' make[1]: Nothing to be done for 'cernlib-configure-local'. make[1]: Leaving directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' mkdir -p stampdir touch stampdir/configure-stamp # A hacky way to use dpatch without actually necessarily # having it installed. Patches whose name ends in .sh.dpatch # are really shell scripts. Applying patch 101-exclude-extra-modules-from-Imakefile... Applying patch 102-dont-optimize-some-code... Applying patch 103-ignore-overly-long-macro-in-gen.h... Applying patch 104-fix-undefined-insertchar-warning... Applying patch 105-fix-obsolete-xmfontlistcreate-warning... Applying patch 106-fix-paw++-menus-in-lesstif... Applying patch 107-define-strdup-macro-safely... Applying patch 110-ignore-included-lapack-rule... Applying patch 111-fix-kuesvr-install-location... Applying patch 112-remove-nonexistent-prototypes-from-gen.h... Applying patch 113-postscript-fix... Applying patch 114-install-scripts-properly... Applying patch 115-rsrtnt64-goto-outer-block... Applying patch 116-fix-fconc64-spaghetti-code... Applying patch 118-rename-mathlib-common-blocks... Applying patch 119-fix-compiler-warnings... Applying patch 120-fix-gets-usage-in-kuipc... Applying patch 121-fix-mathlib-test-case-c209m... Applying patch 122-fix-cdf-file-syntax-errors... Applying patch 123-extern-memmove-only-if-not-macro... Applying patch 124-integrate-patchy-bootstrap... Applying patch 125-fix-PLINAME-creation... Applying patch 126-fix-patchy-compile-flags... Applying patch 127-yexpand-makes-tmpfiles-in-pwd... Applying patch 131-fix-typo-choosen-chosen... Applying patch 132-fix-typo-preceeded-preceded... Applying patch 133-fix-typo-inconsistant-inconsistent... Applying patch 134-fix-typo-authentification-authentication... Applying patch 135-fix-typo-dont-don_t... Applying patch 136-fix-typo-automaticly-automatically... Applying patch 137-fix-typo-lenght-length... Applying patch 138-remove-declaration-repeat... Applying patch 139-harden-flags... Applying patch 201-update-kuip-helper-apps... Applying patch 202-fix-includes-in-minuit-example... Applying patch 205-max-path-length-to-256... Applying patch 208-fix-redundant-packlib-dependencies... Applying patch 209-ignore-unneeded-headers-in-kmutil.c... Applying patch 210-improve-cfortran-header-files... Applying patch 211-support-amd64-and-itanium... Applying patch 211-support-digital-alpha... Applying patch 212-print-test-results... Applying patch 213-fix-test-suite-build... Applying patch 214-fix-kernnum-funcs-on-64-bit... Applying patch 216-use-cernlib-gamma-not-intrinsic... Applying patch 217-abend-on-mathlib-test-failure... Applying patch 218-support-kfreebsd... Applying patch 300-skip-duplicate-lenocc... Applying patch 302-scripts-comply-with-FHS... Applying patch 303-shadow-passwords-supported... Applying patch 304-update-Imake-config-files... Applying patch 306-patch-assert.h-for-makedepend... Applying patch 307-use-canonical-cfortran... Applying patch 308-use-canonical-cfortran-location... Applying patch 311-skip-duplicate-qnext... Applying patch 313-comis-preserves-filename-case... Applying patch 315-fixes-for-MacOSX... Applying patch 318-additional-gcc-3.4-fixes... Applying patch 319-work-around-imake-segfaults... Applying patch 320-support-ifort... Applying patch 321-support-gfortran... Applying patch 600-use-host.def-config-file... Applying patch 602-debianize-kuip-helper-apps... Applying patch 603-trim-build-output... Applying patch 604-put-pawserv-logs-in-own-directory... Applying patch 605-move-kuesvr-to-usrlib... Running script 700-move-kernlib-to-top-level.sh... Applying patch 700-remove-kernlib-from-packlib-Imakefile... Applying patch 701-patch-hbook-comis-Imakefiles... Running script 702-fix-packlib-mathlib-circular-mess.sh... Applying patch 702-patch-Imakefiles-for-packlib-mathlib... Running script 703-move-code_motif-to-top-level.sh... Applying patch 703-patch-code_motif-packlib-Imakefiles... Running script 704-move-kuwhag.c-to-grafX11.sh... Applying patch 704-patch-code_kuip-higzcc-Imakefiles... Applying patch 800-implement-shared-library-rules-in-Imake... Applying patch 801-non-optimized-rule-uses-fPIC-g... Applying patch 802-create-shared-libraries... Applying patch 803-link-binaries-dynamically... Applying patch 805-expunge-missing-mathlib-kernlib-symbols... Applying patch 806-bump-mathlib-and-dependents-sonames... Applying patch 807-static-link-some-tests-on-64-bit... mkdir -p stampdir touch stampdir/patch-stamp * Applying cernlib-2006-fgets.patch ... [ ok ] * Applying cernlib-2006-ypatchy-short-name.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3 ... make -j4 -j1 cernlib-indep cernlib-arch [ -e stampdir/cernlib-indep-stamp ] || \ make cernlib-indep-local make[1]: Entering directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' set -e ; \ mkdir -p /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/bin ; \ sed -e 's,@LIBPREFIX@,//usr/lib64,g' -e 's,@PREFIX@,//usr,g' \ -e 's,@CERN@,//usr,g' -e 's,@VERSION@,.,g' \ /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/debian/add-ons/bin/cernlib.in > /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/bin/cernlib # Request the appropriate Fortran library for the desired compiler chmod a+x /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/bin/cernlib make[1]: Leaving directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' mkdir -p stampdir touch stampdir/cernlib-indep-stamp [ -e stampdir/cernlib-arch-stamp ] || \ make cernlib-libraries cernlib-programs cernlib-arch-local make[1]: Entering directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' mkdir -p /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/build/log cd /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/build && /var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3/src/config/imake_boot sh: ld: command not found imake: No such file or directory imake: Cannot exec gcc. Stop. imake: Exit code 1. Stop. make[1]: *** [debian/add-ons/cernlib.mk:160: buildtree] Error 1 make[1]: Leaving directory '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' make: *** [debian/add-ons/cernlib.mk:63: stampdir/cernlib-arch-stamp] Error 2 * ERROR: sci-physics/cernlib-2006-r7::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sci-physics/cernlib-2006-r7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-physics/cernlib-2006-r7::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sci-physics/cernlib-2006-r7:20200527-121014.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-physics/cernlib-2006-r7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-physics/cernlib-2006-r7/temp/environment'. * Working directory: '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' * S: '/var/tmp/portage/sci-physics/cernlib-2006-r7/work/cernlib-20061220+dfsg3' emerge --info: Portage 2.3.100 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 2621228 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Thu, 28 May 2020 06:35:31 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect 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 sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.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="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" 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 steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS