Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 378723 - x11-terms/rxvt-unicode-9.12-r1 USE=perl with perl-core/ExtUtils-ParseXS-3 - Cannot open '$PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |': No such file or directory in rxvtperl.xs, line 1899
Summary: x11-terms/rxvt-unicode-9.12-r1 USE=perl with perl-core/ExtUtils-ParseXS-3 - C...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Jeroen Roovers (RETIRED)
Keywords: NeedPatch
Depends on:
Blocks: ExtUtils-ParseXS-3
  Show dependency tree
Reported: 2011-08-11 00:21 UTC by Josh
Modified: 2012-07-04 15:43 UTC (History)
3 users (show)

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

The build log for rxvt-unicode (build.log,17.25 KB, text/plain)
2011-08-11 00:22 UTC, Josh

Note You need to log in before you can comment on or make changes to this bug.
Description Josh 2011-08-11 00:21:54 UTC
x11-terms/rxvt-unicode-9.12-r1 fails to build with the perl useflag, due to a perl error.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge rxvt-unicode with the perl useflag.
Actual Results:  
Emerge failed

Expected Results:  
Emerge should succeed.

If the perl useflag is disabled, then the compilation succeeds. With the perl useflag enabled, it fails.
Comment 1 Josh 2011-08-11 00:22:57 UTC
Created attachment 282891 [details]
The build log for rxvt-unicode
Comment 2 Josh 2011-08-11 00:25:27 UTC
Portage (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-_i5-2537M_CPU_@_1.40GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 10 Aug 2011 23:15:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.3
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo armagetron multimedia aluco proaudio x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe -msse4.1 -msse4.2"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -fomit-frame-pointer -pipe -msse4.1 -msse4.2"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 --load-average=6"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/var/lib/layman/armagetron /var/lib/layman/multimedia /var/lib/layman/aluco /var/lib/layman/pro-audio /usr/local/portage"
USE="X acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session sse sse2 sse3 ssl ssse3 sysfs tcpd unicode vaapi xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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" 
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2011-08-11 13:46:06 UTC
Do you have >=perl-core/ExtUtils-ParseXS-3 installed?

First i thought it's the same problem as in the vim bug #378107:
It uses xsubpp from core, which then uses the newer ExtUtils::ParseXS.

But it still fails after patching the Makefile.

rxvt-unicode-9.12 # grep PERLPRIVLIBEXP -r .
./        PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`"
./src/      PERL="$(PERL)" $(PERL) @PERLPRIVLIBEXP@/ExtUtils/xsubpp -C++ -typemap @PERLPRIVLIBEXP@/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes $(srcdir)/rxvtperl.xs >$@

rxvt-unicode-9.12 # tail -n3 src/rxvtperl.xs

INCLUDE: $PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2011-08-11 14:07:22 UTC
INCLUDE: $PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |
INCLUDE_COMMAND: $^X <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g
should fix it ($^X should be the same as $PERL).
Comment 5 Josh 2011-08-11 22:09:54 UTC
Downgrading ExtUtils-ParseXS fixed the problem. I tried a patch with your changes, but it gave me "Undefined subroutine &ExtUtils::ParseXS::errors called at /usr/lib64/perl5/5.12.4/ExtUtils/xsubpp line 41".
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2012-07-04 10:22:34 UTC
*** Bug 424697 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-04 15:43:04 UTC
9.12 was removed from the tree earlier this year. But we have bug #424697 now.