Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577272 - sci-libs/scotch-6.0.4* fails to build on arm
Summary: sci-libs/scotch-6.0.4* fails to build on arm
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 730636
  Show dependency tree
 
Reported: 2016-03-13 09:51 UTC by Markus Meier
Modified: 2020-07-21 15:53 UTC (History)
3 users (show)

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


Attachments
sci-libs:scotch-6.0.4:20160312-232941.log (sci-libs:scotch-6.0.4:20160312-232941.log,3.50 KB, text/plain)
2016-03-13 09:51 UTC, Markus Meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Meier gentoo-dev 2016-03-13 09:51:54 UTC
Created attachment 428114 [details]
sci-libs:scotch-6.0.4:20160312-232941.log

CC seems to not be set correctly:


 * Package:    sci-libs/scotch-6.0.4
 * Repository: gentoo
 * Maintainer: patrick@gentoo.org oli.borm@web.de,sci@gentoo.org,proxy-maint@gentoo.org
 * USE:        arm elibc_glibc kernel_linux threads userland_GNU
 * FEATURES:   preserve-libs sandbox test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking scotch_6.0.4_esmumps.tar.gz to /var/tmp/portage/sci-libs/scotch-6.0.4/work
>>> Source unpacked in /var/tmp/portage/sci-libs/scotch-6.0.4/work
>>> Preparing source in /var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4 ...
 * Applying scotch-6.0.4-as-needed.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4 ...
make -j2 -C src CLIBFLAGS=-fPIC scotch esmumps
make: Entering directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src'
(cd libscotch ;      make VERSION=6 RELEASE=0 PATCHLEVEL=4 scotch && make install)
make[1]: Entering directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src/libscotch'
make CC="armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc" CCD="armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc"     \
                                scotch.h                                \
                                scotchf.h                               \
                                libscotch.a                             \
                                libscotcherr.a                  \
                                libscotcherrexit.a
make[2]: Entering directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src/libscotch'
armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc -O2 -march=armv5te -pipe -DSCOTCH_PTHREAD_NUMBER=1 -pthread -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -fPIC -c arch.c -o arch.o
armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc -O2 -march=armv5te -pipe -DSCOTCH_PTHREAD_NUMBER=1 -pthread -Drestrict=__restrict -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_RENAME_PARSER -DSCOTCH_PTHREAD -fPIC -c arch_cmplt.c -o arch_cmplt.o
make[2]: armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc: Command not found
Makefile:43: recipe for target 'arch.o' failed
make[2]: *** [arch.o] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: armv5tel-softfloat-linux-gnueabi-armv5tel-softfloat-linux-gnueabi-gcc: Command not found
Makefile:43: recipe for target 'arch_cmplt.o' failed
make[2]: *** [arch_cmplt.o] Error 127
make[2]: Leaving directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src/libscotch'
Makefile:55: recipe for target 'scotch' failed
make[1]: *** [scotch] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src/libscotch'
Makefile:93: recipe for target 'scotch' failed
make: *** [scotch] Error 2
make: Leaving directory '/var/tmp/portage/sci-libs/scotch-6.0.4/work/scotch_6.0.4/src'
 * ERROR: sci-libs/scotch-6.0.4::gentoo failed (compile phase):
 *   emake failed

Portage 2.2.27 (python 2.7.11-final-0, default/linux/arm/13.0/armv5te/desktop, gcc-5.3.0, glibc-2.22-r2, 3.9.2 armv5tel)
=================================================================
System uname: Linux-3.9.2-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-gentoo-2.2
KiB Mem:      513632 total,     31636 free
KiB Swap:    2104508 total,   1089776 free
Timestamp of repository gentoo: Tue, 08 Mar 2016 15:30:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r2::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.3.5-r7::gentoo, 3.4.3-r7::gentoo, 3.5.1-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.3::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.20.5::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.4_p6-r2::gentoo, 1.8.5-r5::gentoo, 1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.100/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-O2 -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.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="-O2 -march=armv5te -pipe"
DISTDIR="/mnt/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --backtrack=3"
FCFLAGS="-O2 -pipe -march=armv5te"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv5te"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j2"
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=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm graphite gtk iconv jpeg lcms libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl seccomp semantic-desktop session spell ssl startup-notification svg tcpd test threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets xattr xcb xml xv xvid zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" 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="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" 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"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael Weber (RETIRED) gentoo-dev 2017-04-05 14:41:43 UTC
workaround: fix /var/tmp/portage/sci-libs/scotch-6.0.4-r2/work/scotch_6.0.4/src/Makefile.inc between ebuild prepare and configure.

No idea why sed -e "s/gcc/$(tc-getCC)/" ... fails this way.
Comment 2 Sam James gentoo-dev Security 2020-07-16 19:31:41 UTC
This feels like it's trying to overcompensate for cross/lack of a provided tuple, when we already provide it.