Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685660 - dev-lang/perl-5.28.2 - x86_64-pig-linux-gnu: This perl version is probably not supported by perl-cross
Summary: dev-lang/perl-5.28.2 - x86_64-pig-linux-gnu: This perl version is probably no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-11 20:52 UTC by Joe Harvell
Modified: 2021-05-27 16:47 UTC (History)
1 user (show)

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


Attachments
output of x86_64-pig-linux-gnu-emerge --info (emerge-info.host.txt,6.11 KB, text/plain)
2019-05-11 20:58 UTC, Joe Harvell
Details
output of emerge --info (emerge-info.build.txt,6.75 KB, text/plain)
2019-05-11 20:59 UTC, Joe Harvell
Details
build.log (build.log,4.01 KB, text/plain)
2019-05-11 21:00 UTC, Joe Harvell
Details
tar/bzip2 of the entire temp directory for the failed build (temp.tbz2,27.00 KB, application/x-bzip)
2019-05-11 21:00 UTC, Joe Harvell
Details
build.log for 5.28.2-r1 (build.log,35.50 KB, text/x-log)
2019-05-13 14:43 UTC, Joe Harvell
Details
tar/bzip2 of temp directory for failed build for 5.28.2-r1 (temp.tar.bzip2,31.46 KB, application/x-bzip)
2019-05-13 14:44 UTC, Joe Harvell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harvell 2019-05-11 20:52:28 UTC
cross build fails in configure; apparently not supported:

>>> Configuring source in /mnt/striped_2/home/joey/cross/pig/gentoo/portage-tmp/portage/dev-lang/perl-5.28.2-r1/work/perl-5.28.2 ...
Guessing build platform ... x86_64-pc-linux-gnu
Guessing target architecture ... x86_64-pig-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.28.2
No patchset found for perl5-5.28.2 in cnf/diffs
This perl version is probably not supported by perl-cross
ERROR: configure --mode=buildmini failed
 * ERROR: dev-lang/perl-5.28.2-r1::gentoo failed (configure phase):
 *   Unable to configure
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_configure
 *   environment, line 2609:  Called die
 * The specific snippet of code:
 *           ./configure --target="${CHOST}" --build="${CBUILD}" -Dinstallprefix='' -Dinstallusrbinperl='undef' -Dusevendorprefix='define' "${myconf[@]}" || die "Unable to configure";
 *
 * If you need support, post the output of `emerge --info '=dev-lang/perl-5.28.2-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/perl-5.28.2-r1::gentoo'`.
 * The complete build log is located at '/mnt/striped_2/home/joey/cross/pig/gentoo/portage-tmp/portage/dev-lang/perl-5.28.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/mnt/striped_2/home/joey/cross/pig/gentoo/portage-tmp/portage/dev-lang/perl-5.28.2-r1/temp/environment'.
 * Working directory: '/mnt/striped_2/home/joey/cross/pig/gentoo/portage-tmp/portage/dev-lang/perl-5.28.2-r1/work/perl-5.28.2'
 * S: '/mnt/striped_2/home/joey/cross/pig/gentoo/portage-tmp/portage/dev-lang/perl-5.28.2-r1/work/perl-5.28.2'


I am cross-compiling on an Ivy Bridge (-march=ivybridge) for an Intel D525 Atom (-march=bonnell) host/target.

In my case I can work around this by doing a non-cross build.  I compile with -march=bonnell using the same PORTAGE_CONFIGROOT I normally use when cross compiling; and I set both ROOT and SYSROOT to /usr/<chost>.  But then I don't define CHOST or CBUILD, so the ebuild behaves totally differently as a non-cross build.   This only works if libraries and headers installed in the build machine root (/) that perl compiles against are binary compatible with the runtime versions installed in $ROOT.  Also, it only works if the ebuild does not try to execute programs it builds, or if it does if they don't contain instructions not present on Ivy Bridge (e.g., movbe).

I cannot build this in a chroot because my chroot has instructions in system libraries that are not present on the build machine.  I also want perl to support building cross because I also need it for ARM.
Comment 1 Joe Harvell 2019-05-11 20:58:37 UTC
Created attachment 576072 [details]
output of x86_64-pig-linux-gnu-emerge --info
Comment 2 Joe Harvell 2019-05-11 20:59:43 UTC
Created attachment 576074 [details]
output of emerge --info

This is the build machine emerge --info.  The emerge --info for the failed build is in attachment emerge-info.host.txt
Comment 3 Joe Harvell 2019-05-11 21:00:11 UTC
Created attachment 576076 [details]
build.log
Comment 4 Joe Harvell 2019-05-11 21:00:47 UTC
Created attachment 576078 [details]
tar/bzip2 of the entire temp directory for the failed build
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2019-05-12 17:21:51 UTC
Oink.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2019-05-12 17:26:22 UTC
Oh. Oink again.

Guessing build platform ... x86_64-pc-linux-gnu
Guessing target architecture ... x86_64-pig-linux-gnu
^^

Something *is* wrong here...
Comment 7 Larry the Git Cow gentoo-dev 2019-05-12 20:48:22 UTC
The bug has been closed via the following commit(s):

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

commit dc32ce589df801afa9ea22a3e22c15f64797f3c1
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-05-12 20:48:09 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-05-12 20:48:09 +0000

    dev-lang/perl: Bump perl-cross version, bug 685660
    
    Closes: https://bugs.gentoo.org/685660
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-lang/perl/Manifest              | 1 +
 dev-lang/perl/perl-5.28.2-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2019-05-12 20:49:05 UTC
Please sync in an hour or so and try 5.28.2-r1 ...
Comment 9 Joe Harvell 2019-05-13 14:43:53 UTC
Created attachment 576462 [details]
build.log for 5.28.2-r1
Comment 10 Joe Harvell 2019-05-13 14:44:39 UTC
Created attachment 576464 [details]
tar/bzip2 of temp directory for failed build for 5.28.2-r1
Comment 11 Joe Harvell 2019-05-13 14:46:55 UTC
looks like progress, but an issue with configure.  thanks for the quick response, by the way
Comment 12 Larry the Git Cow gentoo-dev 2019-10-25 07:08:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd56f20b786c128e255bbbc746a4e90ae0ec6d8

commit 7cd56f20b786c128e255bbbc746a4e90ae0ec6d8
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2019-10-25 07:07:35 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2019-10-25 07:07:35 +0000

    dev-lang/perl: Fix perl-cross version for 5.30
    
    Bug: https://bugs.gentoo.org/685660
    Package-Manager: Portage-2.3.77, Repoman-2.3.17
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-lang/perl/Manifest           | 2 +-
 dev-lang/perl/perl-5.30.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2020-06-14 23:12:22 UTC
The bug has been referenced in the following commit(s):

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

commit bd0fc2f8821391b48eade88b2d98511587e9d555
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-06-14 23:00:57 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-06-14 23:12:16 +0000

    dev-lang/perl: bump to perl-cross-1.3.4
    
    Bug: https://bugs.gentoo.org/685660
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 dev-lang/perl/Manifest              | 1 +
 dev-lang/perl/perl-5.30.3-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 14 crabbed halo ablution 2020-12-16 19:46:17 UTC
It looks like this bug has been fixed?