Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791340 - dev-lang/perl-5.32.1 cross-compile failed: This perl version is probably not supported by perl-cross
Summary: dev-lang/perl-5.32.1 cross-compile failed: This perl version is probably not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Cross compilation support
URL: https://github.com/arsv/perl-cross/re...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-21 15:08 UTC by Bruno MATEU
Modified: 2021-06-06 00:03 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,6.55 KB, text/x-log)
2021-05-21 15:08 UTC, Bruno MATEU
Details
result of emerge -pqv '=dev-lang/perl-5.32.1::gentoo' (emerge-pqv,18.08 KB, text/plain)
2021-05-21 15:09 UTC, Bruno MATEU
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno MATEU 2021-05-21 15:08:21 UTC
Created attachment 710109 [details]
build.log

Cross-compiling dev-lang/perl-5.32.1 is not possible : 

>>> Configuring source in /usr/aarch64-linux-gnu/tmp/portage/dev-lang/perl-5.32.1/work/perl-5.32.1 ...
 * Scanning for old @INC dirs matching '.*/5[.][0-9]+\([.][0-9]+\|\)$' in: /usr/aarch64-linux-gnu/usr/lib64/perl5 /usr/aarch64-linux-gnu/usr/local/lib64/perl5 /usr/aarch64-linux-gnu/usr/lib64/perl5/vendor_perl
 * Normalizing/Sorting candidate list: 
 *  to remove '5.32'
Guessing build platform ... x86_64-pc-linux-gnu
Guessing target architecture ... aarch64-unknown-linux-gnu
Respawning configure for build and target platforms

Configuring build-time miniperl for x86_64-pc-linux-gnu (x86_64-pc-linux-gnu)
Checking perl version ... perl5-5.32.1
No patchset found for perl5-5.32.1 in cnf/diffs
This perl version is probably not supported by perl-cross

bruno-laptop ~ # emerge-aarch64-linux-gnu  --info '=dev-lang/perl-5.32.1::gentoo'
Portage 3.0.18 (python 3.8.9-final-0, default/linux/arm64/17.0/desktop/plasma, gcc-10.2.0, glibc-2.33, 5.10.27-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.27-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.2.5
KiB Mem:    16268924 total,   8632672 free
KiB Swap:    8388604 total,   8157436 free
Timestamp of repository gentoo: Wed, 19 May 2021 15:30:01 +0000
Head commit of repository gentoo: 491eef4feb425f0b92186b0e8f43777d2bd949c9
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.2.1 [disabled]
app-shells/bash:          5.1_p8::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

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

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mcpu=cortex-a53+sha2+aes+crc -O2 -pipe -fomit-frame-pointer"
CHOST="aarch64-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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="-mcpu=cortex-a53+sha2+aes+crc -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="-O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l0"
PKGDIR="/usr/aarch64-linux-gnu/packages/"
PORTAGE_CONFIGROOT="/usr/aarch64-linux-gnu/"
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="/usr/aarch64-linux-gnu/tmp/"
RUSTFLAGS="-C target-cpu=cortex-a53"
USE="X a52 aac aarch64 acl acpi activities alsa arm64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kipi kwallet lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wayland widgets wxwidgets x264 xattr xcb xml xv xvid 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" 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="python3_8" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto 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 Bruno MATEU 2021-05-21 15:09:21 UTC
Created attachment 710112 [details]
result of emerge -pqv  '=dev-lang/perl-5.32.1::gentoo'
Comment 2 Ionen Wolkens gentoo-dev 2021-05-27 16:47:18 UTC
$ ls perl-cross-1.3.4/cnf/diffs/ | tail -n 2
perl5-5.30.3
perl5-5.32.0

Last version to work for me is =perl5-5.30.3-r1 (personally had other issues with 5.32.0 about a GENTOO_LIBDIRS invalid directive, and 5.30.3-r0 has too old perl-cross).
Comment 3 Larry the Git Cow gentoo-dev 2021-05-30 21:01:12 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3838a2132a229f3cf17494cc3d6f0324f3ef7023

commit 3838a2132a229f3cf17494cc3d6f0324f3ef7023
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-05-30 20:42:55 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-05-30 21:00:57 +0000

    dev-lang/perl: Update perl-cross version
    
    Closes: https://bugs.gentoo.org/791340
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-lang/perl/Manifest           | 1 +
 dev-lang/perl/perl-5.34.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)