When attempting to build x11/rxvt-unicode, the following error occurs if the option WITH_PERL is enabled: ===> Building for rxvt-unicode-9.12_1 PERL="/usr/bin/perl5" /usr/bin/perl5 /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs >rxvtperl.C Cannot open 'echo $PERL > /dev/stderr && $PERL <iom_perl.xs -pe s/IOM_MODULE/urx vt/g,s/IOM_CLASS/urxvt/g |': No such file or directory in rxvtperl.xs, line 1897 *** Error code 1 Stop in /usr/ports/x11/rxvt-unicode/work/rxvt-unicode-9.12/src. *** Error code 1 Stop in /usr/ports/x11/rxvt-unicode/work/rxvt-unicode-9.12. *** Error code 1 Stop in /usr/ports/x11/rxvt-unicode. *** Error code 1 Stop in /usr/ports/x11/rxvt-unicode. ===>>> make failed for x11/rxvt-unicode Additionally, the following post on freebsd-questions touches on this issue, indicating that other ports such as www/firefox may be affected: http://lists.freebsd.org/pipermail/freebsd-questions/2011-August/233010.html Fix: It seems that the root of this problem lies with the fact that Perl ExtUtils has been rolled into 5.12.4, although there is no mention of this in UPDATING. Executing the following fixes the problem for me: % pkg_info -Ix p5-ExtUtils p5-ExtUtils-CBuilder-0.2802.02,1 Compile and link C code for Perl modules p5-ExtUtils-Install-1.54_1 Perl extension to install files from here to there p5-ExtUtils-ParseXS-3.04 Converts Perl XS code into C code % sudo pkg_delete p5-ExtUtils\* % sudo portmaster x11/rxvt-unicode How-To-Repeat: sudo portmaster x11/rxvt-unicode
Responsible Changed From-To: freebsd-ports-bugs->thierry Over to maintainer (via the GNATS Auto Assign Tool)
I apologize. I submitted the incorrect error from one of my attempts to debug the situation. Here is the correct one. PERL="/usr/bin/perl5" /usr/bin/perl5 /usr/local/lib/perl5/5.14.1/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.14.1/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs >rxvtperl.C 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 1897 *** Error code 1 -- Anthony Chavez http://hexadecagram.org/ mailto:acc@hexadecagram.org xmpp:acc@hexadecagram.org
Responsible Changed From-To: skv->freebsd-ports-bugs skv's ports bit has been taken in for safekeeping
Responsible Changed From-To: freebsd-ports-bugs->perl Over to Perl maintainer.
State Changed From-To: open->analyzed I can confirm the report. When the ports devel/p5-ExtUtils-CBuilder, devel/p5-ExtUtils-Install and devel/p5-ExtUtils-ParseXS are installed, x11/rxvt-unicode does not build and fails with the reported error: PERL="/usr/bin/perl5" /usr/bin/perl5 /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs >rxvtperl.C 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 1897 *** Error code 1 Stop in /work/a/ports/x11/rxvt-unicode/work/rxvt-unicode-9.12/src. *** Error code 1 Actually, the error is caused by /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp which is installed by Perl-5.12.4 and then by devel/p5-ExtUtils-ParseXS. $ pkg_info -W /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp was installed by package perl-5.12.4_3 I guess that a conflict should be marked between the ports devel/p5-ExtUtils-* and lang/perl5.12.
Responsible Changed From-To: thierry->skv Assign to lang/perl5.12 maintainer.
Given that perl5.12 was removed a year ago, I think we need some updated information. Does this problem still occur with 5.16, 5.18, or 5.20?
I'm closing this bug. The combination of ports in the description build fine together now, so I believe this is no longer a problem.