Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767145 - dev-lang/python-exec-2.4.6-r2 - fails to compile on aarch64 with distcc
Summary: dev-lang/python-exec-2.4.6-r2 - fails to compile on aarch64 with distcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-25 11:43 UTC by Nikolay Kichukov
Modified: 2021-01-25 14:09 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolay Kichukov 2021-01-25 11:43:04 UTC
The C compiler check fails for dev-lang/python-exec-2.4.6-r2 and the build fails. Here is the log:

 * Package:    dev-lang/python-exec-2.4.6-r2
 * Repository: gentoo
 * Maintainer: python@gentoo.org
 * Upstream:   mgorny@gentoo.org https://github.com/mgorny/python-exec/issues/
 * USE:        arm64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_7 python_targets_python3_8 python_targets_python3_9 userland_GNU
 * FEATURES:   distcc network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking python-exec-2.4.6.tar.bz2 to /var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work
>>> Source unpacked in /var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work
>>> Preparing source in /var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6 ...
./configure --prefix=/usr --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/python-exec-2.4.6-r2 --htmldir=/usr/share/doc/python-exec-2.4.6-r2/html --libdir=/usr/lib64 --with-fallback-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --with-python-impls=python2.7 python3.7 python3.8 python3.9
configure: loading site script /usr/share/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for aarch64-unknown-linux-gnu-gcc... aarch64-unknown-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6':
configure: error: C compiler cannot create executables
See `config.log' for more details

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6/config.log
 * ERROR: dev-lang/python-exec-2.4.6-r2::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 2005:  Called econf '--with-fallback-path=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' '--with-python-impls=python2.7 python3.7 python3.8 python3.9'
 *        phase-helpers.sh, line  680:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/python-exec-2.4.6-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/python-exec-2.4.6-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/python-exec-2.4.6-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/python-exec-2.4.6-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6'
 * S: '/var/tmp/portage/dev-lang/python-exec-2.4.6-r2/work/python-exec-2.4.6'


emerge --info output:

Portage 3.0.9 (python 3.8.6-final-0, default/linux/arm64/17.0, gcc-10.2.0, glibc-2.32-r5, 5.10.9-v8+ aarch64)
=================================================================
System uname: Linux-5.10.9-v8+-aarch64-with-glibc2.17
KiB Mem:     3890580 total,   2803988 free
KiB Swap:    2047996 total,   2047996 free
Timestamp of repository gentoo: Mon, 25 Jan 2021 09:30:01 +0000
Head commit of repository gentoo: e768019964b193f44ac679db30fa25de224c6d50
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
distcc 3.3.3 aarch64-unknown-linux-gnu [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.6::gentoo, 3.9.0::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::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.2-r1::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.3.0::gentoo, 10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude-from=/etc/portage/package_excludes
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

nikolay_local
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mlittle-endian -mabi=lp64 -mfpu=neon-fp-armv8 -march=armv8-a+crc -mtune=cortex-a72"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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"
CXXFLAGS="-O2 -pipe -mlittle-endian -mabi=lp64 -mfpu=neon-fp-armv8 -march=armv8-a+crc -mtune=cortex-a72"
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="-O2 -pipe -mlittle-endian -mabi=lp64 -mfpu=neon-fp-armv8 -march=armv8-a+crc -mtune=cortex-a72"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo noman 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"
FFLAGS="-O2 -pipe -mlittle-endian -mabi=lp64 -mfpu=neon-fp-armv8 -march=armv8-a+crc -mtune=cortex-a72"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/en"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j15 -l6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/package_excludes"
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 arm64 berkdb bzip2 cli crypt cups dri elogind gdbm gles gles2 gles3 iconv libglvnd libnotify libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode zlib" ADA_TARGET="gnat_2018" 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_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" QEMU_SOFTMMU_TARGETS="arm aarch64" QEMU_USER_TARGETS="arm aarch64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="vc4 v3d v3dv" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS




Reproducible: Always

Steps to Reproduce:
1. Try to compile the package using distcc feature on aarch64
2. Observe the failure
Actual Results:  
Fails to compile

Expected Results:  
Compiles
Comment 1 Nikolay Kichukov 2021-01-25 14:09:04 UTC
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options

indicates -mfpu does not exist for aarch64.