Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676288 - dev-lang/perl-5.28.0 fails to cross build - sed: can't read cnf/diffs/perl5-5.28.0/customized.patch: No such file or directory
Summary: dev-lang/perl-5.28.0 fails to cross build - sed: can't read cnf/diffs/perl5-5...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 677232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-26 16:58 UTC by eroen
Modified: 2019-02-14 23:01 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,4.95 KB, text/plain)
2019-01-26 16:58 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2019-01-26 16:58:26 UTC
Created attachment 562904 [details]
build.log

*   fixes/parallel-manisort.patch ...                                                                   [ ok ]
sed: can't read cnf/diffs/perl5-5.28.0/customized.patch: No such file or directory
 * ERROR: dev-lang/perl-5.28.0::gentoo failed (prepare phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_prepare
 *   environment, line 2650:  Called src_prepare_perlcross
 *   environment, line 2668:  Called die
 * The specific snippet of code:
 *       sed -i -e 's/MakeMaker\.pm .*/MakeMaker.pm bf9174c70a0e50ff2fee4552c7df89b37d292da1/' -e 's/MM_Unix\.pm .*/MM_Unix.pm b0ec308fe2d7dcfcef5732880db0fae1f4ea80fa/' cnf/diffs/perl5-${PV}/customized.patch || die;


When cross building, the perl-5.28.0 ebuild runs a sed command pointed at a non-existent file. AFAICT there is no `cnf/diffs/perl5-5.28.0/` in the distributed sources.
Comment 1 eroen 2019-01-26 16:59:54 UTC
occam ~ # ROOT=/usr/aarch64-linux-musl SYSROOT=$ROOT aarch64-linux-musl-emerge --info '=dev-lang/perl-5.28.0::gentoo'
!!! Repository 'dotnet' has sync-uri attribute, but is missing sync-type attribute
!!! Repository 'dotnet' has sync-uri attribute, but is missing sync-type attribute
Portage 2.3.58 (python 3.7.0-final-0, hardened/linux/musl/arm64, gcc-8.2.0, unavailable, 4.19.1-gentoo-o0 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.19.1-gentoo-o0-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.6
KiB Mem:     7998240 total,   2429708 free
KiB Swap:   16777212 total,  16775296 free
Timestamp of repository gentoo: Thu, 24 Jan 2019 15:00:01 +0000
Head commit of repository gentoo: f40cedc802e4f17577cd81e9c9a73d2707a93621
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
ccache version 3.5 [disabled]
app-shells/bash:          5.0_p2::gentoo
dev-lang/python:          3.7.0::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::musl
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
Repositories:

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

musl
    location: /var/lib/layman/musl
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="aarch64-linux-musl"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /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/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="-O2"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo noman parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/aarch64-linux-musl/packages/"
PORTAGE_CONFIGROOT="/usr/aarch64-linux-musl/"
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-musl/tmp/"
USE="arm64 cli crypt cxx dri fortran hardened ipv6 minimal ncurses nptl openmp pic pie readline seccomp ssl ssp static-libs tcpd unicode" 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" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

occam ~ # ROOT=/usr/aarch64-linux-musl SYSROOT=$ROOT aarch64-linux-musl-emerge -pqv '=dev-lang/perl-5.28.0::gentoo'
!!! Repository 'dotnet' has sync-uri attribute, but is missing sync-type attribute
!!! Repository 'dotnet' has sync-uri attribute, but is missing sync-type attribute
[ebuild  N    ] dev-lang/perl-5.28.0 to /usr/aarch64-linux-musl/ USE="-berkdb -debug -doc -gdbm -ithreads" 
[ebuild  N    ] virtual/perl-Data-Dumper-2.170.0 to /usr/aarch64-linux-musl/
[ebuild  N    ] app-admin/perl-cleaner-2.27 to /usr/aarch64-linux-musl/
[ebuild  N    ] virtual/perl-Test-Harness-3.420.0 to /usr/aarch64-linux-musl/
[ebuild  N    ] perl-core/File-Temp-0.230.400-r1 to /usr/aarch64-linux-musl/
[ebuild  N    ] virtual/perl-File-Temp-0.230.400-r5 to /usr/aarch64-linux-musl/

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Comment 2 James Le Cuirot gentoo-dev 2019-02-14 22:44:14 UTC
*** Bug 677232 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2019-02-14 23:01:51 UTC
The bug has been closed via the following commit(s):

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

commit 6b621213848dcac143cdccd670f1b9892b9c4168
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-02-14 23:01:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-02-14 23:01:18 +0000

    dev-lang/perl: Bump perl-cross version for 5.28
    
    Closes: https://bugs.gentoo.org/676288
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 dev-lang/perl/Manifest              |  1 +
 dev-lang/perl/perl-5.28.0.ebuild    | 11 +----------
 dev-lang/perl/perl-5.28.9999.ebuild | 11 +----------
 3 files changed, 3 insertions(+), 20 deletions(-)