re-add perl for xfstests |
|
Issue descriptionPerl has been removed at https://chromium-review.googlesource.com/1150854 to speed up builds, but it is required on DUT for xfstests. Re-adding it not just reverting some changes in profiles/targets/chromeos/package.provided, because perl-core/File-Path-2.130.0 is using lib64 on a 32 bit platform: [on peach-pit] File-Path-2.130.0: * Bad lib64 usage detected: File-Path-2.130.0: * This arch (arm) should never use 'lib64'. File-Path-2.130.0: * ERROR: perl-core/File-Path-2.130.0::portage-stable failed: File-Path-2.130.0: * This package is installing into bad paths. Perl 5.24 is rather old. 5.28 seems to be blocked, and trying 5.26 with upgrade-deep needs manual upload packages [/dev-libs/expat/expat-2.2.6, maybe more] I can not retrieve the bug about broken automatic caching a gentoo repo.
,
Nov 7
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/3513de232b21f43546d207073e074a5017d4b363 commit 3513de232b21f43546d207073e074a5017d4b363 Author: Gwendal Grignou <gwendal@chromium.org> Date: Wed Nov 07 14:35:00 2018 Revert "perl: add -j1 to not compile in parallel" This change is not needed anymore, as perl-5.24 already have that setting in its ebuild. See https://bugs.gentoo.org/show_bug.cgi?id=604072 for details. And https://chromium.googlesource.com/chromiumos/overlays/portage-stable/+/stabilize-11217.B/dev-lang/perl/perl-5.24.4.ebuild#289 This reverts commit 5f8b538e54373422de866a733021cb067c6b8cef. BUG= chromium:882445 ,chromium:901727 TEST=Check -j1 is still applied while compiling. Change-Id: I927407159a99ae3f0d5bd9ba53cd5511c6f96284 Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1320049 Reviewed-by: Mike Frysinger <vapier@chromium.org> [delete] https://crrev.com/bd5190e7b0424cde1f0f804bd30f4b7f56e03d7c/chromeos/config/env/dev-lang/perl
,
Nov 7
#1: perl does cross-compile since 5.22: localhost ~ # uname -a Linux localhost 4.4.162-15451-gbc1482a0d11b1 #1 SMP PREEMPT Tue Nov 6 09:17:16 PST 2018 aarch64 ARMv8 Processor rev 4 (v8l) GNU/Linux localhost ~ # perl --version | head -4 This is perl 5, version 24, subversion 4 (v5.24.4) built for armv7a-linux (with 30 registered patches, see perl -V for more detail) The current issue is that perl5 is using lib64 when it should not: find /build/scarlet/usr/lib64 /build/scarlet/usr/lib64 /build/scarlet/usr/lib64/perl5 /build/scarlet/usr/lib64/perl5/vendor_perl /build/scarlet/usr/lib64/perl5/vendor_perl/5.24.4 /build/scarlet/usr/lib64/perl5/vendor_perl/5.24.4/File /build/scarlet/usr/lib64/perl5/vendor_perl/5.24.4/File/Path.pm /build/scarlet/usr/lib64/perl5/vendor_perl/5.24.4/File/Temp.pm Problem revealed by hooks/install/multilib-sanity.sh. |
|
►
Sign in to add a comment |
|
Comment 1 by vapier@chromium.org
, Nov 5