Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 634020

Summary: perl-core/Unicode-Normalize-1.250.0 fails compile (do "mkheader" failed, '.' is no longer in @INC; did you mean do "./mkheader"? )
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: kentnl, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 612408    

Description Anton Kochkov 2017-10-11 14:24:20 UTC
[32;01m * [39;49;00mPackage:    perl-core/Unicode-Normalize-1.250.0
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: perl@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking Unicode-Normalize-1.25.tar.gz to /var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work
>>> Source unpacked in /var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work
>>> Preparing source in /var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work/Unicode-Normalize-1.25 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work/Unicode-Normalize-1.25 ...
 [32;01m*[0m Using ExtUtils::MakeMaker
 [32;01m*[0m perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/image/
Making header files for XS...
do "mkheader" failed, '.' is no longer in @INC; did you mean do "./mkheader"? at Makefile.PL line 11.
mkheader: No such file or directory at Makefile.PL line 11.
 [31;01m*[0m ERROR: perl-core/Unicode-Normalize-1.250.0::gentoo failed (configure phase):
 [31;01m*[0m   Unable to build!
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  124:  Called src_configure
 [31;01m*[0m   environment, line 2741:  Called perl-module_src_configure
 [31;01m*[0m   environment, line 2152:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build!";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=perl-core/Unicode-Normalize-1.250.0::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=perl-core/Unicode-Normalize-1.250.0::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work/Unicode-Normalize-1.25'
 [31;01m*[0m S: '/var/tmp/portage/perl-core/Unicode-Normalize-1.250.0/work/Unicode-Normalize-1.25'

emerge --info output:

Portage 2.3.11 (python 2.7.14-final-0, default/linux/amd64/13.0, gcc-5.4.0, glibc-2.25-r7, 4.12.6-gentoo x86_64)
=================================================================
System uname: Linux-4.12.6-gentoo-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.4.1
KiB Mem:     3976500 total,    696008 free
KiB Swap:   16777212 total,  16776436 free
Timestamp of repository gentoo: Wed, 11 Oct 2017 12:45:01 +0000
Head commit of repository gentoo: e69773c05281a488d0860799e0f155e4c5de1010
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1::gentoo
dev-lang/python:          2.7.14::gentoo, 3.5.4::gentoo, 3.6.3::gentoo
dev-util/cmake:           3.9.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29::gentoo, 2.29.1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.9.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

gentoo-xvilka
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gentoo-zh
    location: /var/lib/layman/gentoo-zh
    sync-type: laymansync
    sync-uri: git://github.com/microcai/gentoo-zh.git
    masters: gentoo
    priority: 50

lisp
    location: /var/lib/layman/lisp
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/lisp.git
    masters: gentoo
    priority: 50

mozilla
    location: /var/lib/layman/mozilla
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/mozilla.git
    masters: gentoo
    priority: 50

rust
    location: /var/lib/layman/rust
    sync-type: laymansync
    sync-uri: https://github.com/gentoo/gentoo-rust.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/sci.git
    masters: gentoo
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    sync-type: laymansync
    sync-uri: git://github.com/MeisterP/torbrowser-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=corei7-avx -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/i2pd/certificates"
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 -march=corei7-avx -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
USE="7zip X a52 aac ace acl acpi alsa amd64 bash-completion bazaar berkdb bzip2 cairo cli compress consolekit cpio cracklib crypt curl curlwrappers cvs cxx dbus dirac djvu dri dts dvd fbcon fbcondecor ffmpeg flac fontconfig fortran ftp gdbm geoip gif git gnutls gtk guile hddtemp iconv icu idn imap ipv6 jabber jpeg jpeg2k laptop lm-sensors lua lzma lzo matroska mercurial mime mmx mng modules mp3 mp4 mpeg mpt multilib ncurses networking nls nptl opengl openmp pam pango pcre pdf perl png python qt3support qt4 rar readline rtsp sasl sbcl schroedinger seccomp session sockets sqlite sse sse2 ssl subversion svg tcpd theora tidy tiff truetype unicode usb v4l2 vaapi vim-syntax vorbis wifi x264 xattr xcb xcomposite xft xml xmlrpc xpm xsl zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx" ELIBC="glibc" 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="evdev synaptics" KERNEL="linux" L10N="en ru zh-CN ja" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru zh_CN ja_JP" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-11 14:31:36 UTC
Note: you should not be installing perl-core/Unicode-Normalize with Perl 5.26

The version in perl-core/  is the same one shipped with Perl 5.26 itself.

I'm not even sure why its keyworded right now tbh. Probably just a side-effect of when this was here for 5.22 people who wanted a newer Unicode-Normalize without upgrading perl.

However, thanks for reporting, and thanks for testing Perl 5.26
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-10-11 19:06:51 UTC
*** Bug 634040 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2017-10-11 19:23:51 UTC
The bug has been closed via the following commit(s):

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

commit 240b754c40911f00ba96a0c52e60ac6dc11e9b2b
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2017-10-11 19:22:19 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2017-10-11 19:23:18 +0000

    perl-core/Unicode-Normalize: Dekeyword
    
    This was only needed historically for Perl <5.24 who wanted
    a newer Unicode-Normalise but not a newer Perl.
    
    Now that 5.24 is stable, this package should not be installable.
    
    Additionally, it is broken and needs patching to work on 5.26+
    
    Closes: https://bugs.gentoo.org/634020
    Package-Manager: Portage-2.3.8, Repoman-2.3.3

 perl-core/Unicode-Normalize/Unicode-Normalize-1.250.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)