Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903769 - dev-perl/* and perl-core/* packages are not playing well with crossdev
Summary: dev-perl/* and perl-core/* packages are not playing well with crossdev
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Perl team
URL: https://forums.gentoo.org/viewtopic-p...
Whiteboard:
Keywords:
: 913217 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-04-04 10:54 UTC by Cănărău Constantin
Modified: 2023-08-29 16:38 UTC (History)
2 users (show)

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 Cănărău Constantin 2023-04-04 10:54:20 UTC
Using aarch64-unknown-linux-gnu crossdev, many of required dev-perl and perl-core packages fall in two categories: are not able to be built at all - fails with error or, apparently, are built successfully, but x86_64 code/paths is generated.

Reproducible: Always

Steps to Reproduce:
1. Setup crossdev for aarch64 (Raspberry Pi 4 device)
... crossdev -t aarch64-unknown-linux-gnu -oO /var/db/repos/crossdev ...
2. Compile @system 
3. For example, dev-perl/Clone fails because it use x86_64-pc-linux-gnu-gcc instead of aarch64-unknown-linux-gnu-gcc, but dev-perl/File-Listing compile fine, but put files in x86_64 directory, and system on Raspberry Pi don't look there for files.

It is:
gentoo /usr/aarch64-unknown-linux-gnu/var/db/pkg/dev-perl # ROOT=/usr/aarch64-unknown-linux-gnu/ equery f dev-perl/File-Listing
 * Searching for File-Listing in dev-perl ...
 * Contents of dev-perl/File-Listing-6.150.0:
/usr
/usr/lib64
/usr/lib64/perl5
/usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/vendor_perl/5.36
/usr/lib64/perl5/vendor_perl/5.36/File
/usr/lib64/perl5/vendor_perl/5.36/File/Listing.pm
/usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/auto
/usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/auto/File
/usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/auto/File/Listing
/usr/lib64/perl5/vendor_perl/5.36/x86_64-linux-thread-multi/auto/File/Listing/.packlist

Instead of:
pi ~ # equery f File-Listing
 * Searching for File-Listing ...
 * Contents of dev-perl/File-Listing-6.150.0:
/usr
/usr/lib64
/usr/lib64/perl5
/usr/lib64/perl5/vendor_perl
/usr/lib64/perl5/vendor_perl/5.36
/usr/lib64/perl5/vendor_perl/5.36/File
/usr/lib64/perl5/vendor_perl/5.36/File/Listing.pm
/usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi
/usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi/auto
/usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi/auto/File
/usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi/auto/File/Listing
/usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi/auto/File/Listing/.packlist

Actual Results:  
Currently, dev-perl/* and perl-core/* packages can not be compiled using crossdev, at least on aarch64 target.

Expected Results:  
I do not know if the perl build system allow using crossdev or volume of work to make it possible is acceptable. 
Maybe perl-mod and perl-functions classes can be modified to be more friendly with crossdev.

Thank you!

ROOT=/usr/aarch64-unknown-linux-gnu/ emerge --info
Portage 3.0.45.3 (python 3.11.2-final-0, default/linux/amd64/23.0/no-multilib/systemd, gcc-13, glibc-2.37-r1, 6.2.9-gentoo-costel x86_64)
=================================================================
System uname: Linux-6.2.9-gentoo-costel-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-with-glibc2.37
KiB Mem:    31952276 total,  26155468 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 04 Apr 2023 06:45:01 +0000
Head commit of repository gentoo: 0045be4d9bbac95e1901154f4f26db5b6b9a120c
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.2_p2::gentoo
dev-util/cmake:            3.26.2::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.2::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.0.1_pre20230402::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.ro.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: --human-readable --delete-before --progress --new-compress
    sync-rsync-verify-jobs: 8
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

added
    location: /var/db/repos/added
    masters: gentoo
    priority: 10
    volatile: False

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10
    volatile: True

newer
    location: /var/db/repos/newer
    masters: gentoo
    priority: 10
    volatile: False

pi
    location: /var/db/repos/pi
    masters: gentoo
    priority: 100
    volatile: False

Installed sets: @dev, @diff, @minimal, @pi
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -g0 -march=native -fipa-pta -fno-semantic-interposition -fno-plt -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans"
CHOST="x86_64-pc-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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-O3 -pipe -g0 -march=native -fipa-pta -fno-semantic-interposition -fno-plt -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=30 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy cgroup collision-protect config-protect-if-modified distlocks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/ro -/usr/share/locale/en -/usr/share/locale/en_US"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--enable-new-dtags,--as-needed -flto=auto"
LEX="flex"
LINGUAS="en ro"
MAKEOPTS="-j24 --load-average=30"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
PORTAGE_COMPRESS_FLAGS="-T0 -19"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress --new-compress"
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"
RUSTFLAGS="-C debuginfo=0 -C opt-level=3 -C target-cpu=znver3"
SHELL="/bin/bash"
USE="X aac acpi aes alsa amd64 avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl bluetooth branding bzip2 cairo crypt dbus dvb f16c fam ffmpeg flac fma3 gdbm gif gpm gtk gtk3 gtk4 iconv icu ipv6 jpeg jpeg2k libglvnd libtirpc lm-sensors lto lz4 lzma mmx mmxext mp3 ncurses networkmanager nls nptl ogg opengl openmp pam pango pclmul pcre pdf pgo png policykit popcnt portaudio pulseaudio qt5 rdrand readline sdl seccomp server sha sndio sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 systemd test-rust truetype udev udisks unicode upower usb v4l vaapi vhosts vorbis vulkan webp x264 zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hda-intel usb-audio" 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 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ro" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF X86 AMDGPU" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fastcgi geoip2 gunzip gzip limit_conn limit_req memcached realip referer rewrite split_clients ssi sub userid naxsi" NGINX_MODULES_STREAM="access geoip2 limit_conn realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64 aarch64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby30" SANE_BACKENDS="bh cardscan coolscan coolscan2 coolscan3 pie pieusb" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Cănărău Constantin 2023-04-04 10:58:09 UTC
Sorry, wrong/irrelevant emerge --info posted. It is from main host

ROOT=/usr/aarch64-unknown-linux-gnu/ aarch64-unknown-linux-gnu-emerge --info
Portage 3.0.45.3 (python 3.11.2-final-0, default/linux/arm64/23.0/systemd, gcc-13, glibc-2.37-r1, 6.2.9-gentoo-costel x86_64)
=================================================================
System uname: Linux-6.2.9-gentoo-costel-x86_64-AMD_Ryzen_9_7900X_12-Core_Processor-with-glibc2.37
KiB Mem:    31952276 total,  26113136 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 04 Apr 2023 06:45:01 +0000
Head commit of repository gentoo: 0045be4d9bbac95e1901154f4f26db5b6b9a120c
sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.2_p2::gentoo
dev-util/cmake:            3.26.2::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.2::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.0.1_pre20230402::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.2::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage/
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --human-readable --delete-before --progress --new-compress
    sync-rsync-vcs-ignore: true
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

added
    location: /var/db/repos/added
    masters: gentoo
    priority: 100
    volatile: False

newer
    location: /var/db/repos/newer
    masters: gentoo
    priority: 100
    volatile: False

pi
    location: /var/db/repos/pi
    masters: gentoo
    priority: 100
    volatile: False

Installed sets: @dev, @diff, @minimal, @pi
ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -O2 -pipe -g0 -fomit-frame-pointer -fipa-pta -fno-semantic-interposition -fno-plt -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans"
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/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a72 -O2 -pipe -g0 -fomit-frame-pointer -fipa-pta -fno-semantic-interposition -fno-plt -fgraphite-identity -floop-nest-optimize -flto=auto -flto-compression-level=9 -fdevirtualize-at-ltrans"
DISTDIR="/mnt/linux/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=6 --load-average=30 --keep-going --with-bdeps=y --complete-graph --quiet-build=n --autounmask-write --exclude app-emulation/qemu"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live candy cgroup config-protect-if-modified distlocks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync"
FFLAGS="-O2"
GENTOO_MIRRORS="https://gentoo.cweb.ro/ http://mirrors.xservers.ro/gentoo/ http://distfiles.gentoo.org/"
INSTALL_MASK="/usr/share/locale -/usr/share/locale/ro -/usr/share/locale/en -/usr/share/locale/en_US"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--sort-common,--hash-style=gnu,--enable-new-dtags,--as-needed -flto=auto"
LEX="flex"
MAKEOPTS="-j24 --load-average=30"
PKGDIR="/mnt/pi/binpkgs/pi/"
PORTAGE_COMPRESS="zstd"
PORTAGE_COMPRESS_FLAGS="-T0 -19"
PORTAGE_CONFIGROOT="/usr/aarch64-unknown-linux-gnu/"
PORTAGE_RSYNC_EXTRA_OPTS="--human-readable --delete-before --progress --new-compress"
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"
SHELL="/bin/bash"
USE="acpi arm64 bzip2 crc32 crypt dbus edsp fam gdbm gpm iconv icu ipv6 libglvnd libtirpc lz4 lzma ncurses neon nls nptl openmp pam pcre pgo readline seccomp server ssl systemd test-rust thumb thumb2 udev unicode usb v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4 zlib zstd" ADA_TARGET="gnat_2021" ALSA_CARDS="usb-audio" 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 vfp vfpv3 vfpv4 vfp-d32 crc32 v4 v5 v6 v7 v8 thumb2" 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="ro 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" NGINX_MODULES_HTTP="access auth_basic autoindex browser brotli charset fastcgi geoip2 gunzip gzip limit_conn limit_req memcached realip referer rewrite split_clients ssi sub userid naxsi" NGINX_MODULES_STREAM="access geoip2 limit_conn realip" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64 aarch64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="v3d vc4" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 James Le Cuirot gentoo-dev 2023-04-05 20:08:07 UTC
That's not exactly news, although we don't seem to have another open bug about it right now. I was actually experimenting with a somewhat controversial fix to this, involving QEMU and unshare, late last year but got sidetracked onto other things. I'd like to come back to it soon.
Comment 3 Cănărău Constantin 2023-04-06 11:00:52 UTC
As I said, do not know the volume of work involved, but I am more than happy to test and give feedback.
Using qemu and systemd-nspawn I can compile all remaining packages, except dev-python/RPi-GPIO, sys-devel/distcc and app-text/po4a.

Thank you!
Comment 4 Lemon Lime 2023-08-20 00:38:15 UTC
Same thing happens when compiling from amd64 to x86.
It install things into /usr/lib64/perl15/vendor_perl/5.36, eventhough the system is 32bit
Comment 5 James Le Cuirot gentoo-dev 2023-08-29 16:38:34 UTC
*** Bug 913217 has been marked as a duplicate of this bug. ***