Joined: 07 Jan 2019
|Posted: Thu Jun 03, 2021 6:49 pm Post subject: Perl failed in configure phase using a crossbuild
I'm trying to build a binhost for arm64 using a crossbuild in a amd64 machine, but perl fails in configure phase.
The most relevant output in logs is this part:
>>> Source prepared.
>>> Configuring source in /usr/aarch64-unknown-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-unknown-linux-gnu/usr/lib64/perl5 /usr/aarch64-unknown-linux-gnu/usr/local/lib64/perl5 /usr/aarch64-unknown-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
ERROR: configure --mode=buildmini failed
But apparently perl ebuild it's downloading the correct patch.
Anybody knows what could be the problem?