Subject: | INCLUDE: ... | results in "Cannot open... No such file or directory..." |
echo 'INCLUDE: cat XSInclude.xsh |' >> t/XSMore.xs
ExtUtils-ParseXS-2.2206 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.12.3 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/basic.t .. ok
t/more.t ... 1/25 Warning: duplicate function definition 'include_ok'
detected in cat XSInclude.xsh |, line 5
...
ExtUtils-ParseXS-3.03 # make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.12.3 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/001-basic.t ............................ ok
t/002-more.t ............................. 1/28 Cannot open 'cat
XSInclude.xsh |': No such file or directory in XSMore.xs, line 192
...
Real world example: rxvt-unicode uses
INCLUDE: $PERL <iom_perl.xs -pe s/IOM_MODULE/urxvt/g,s/IOM_CLASS/urxvt/g |
and started to fail with a newer ExtUtils-ParseXS
(https://bugs.gentoo.org/show_bug.cgi?id=378723)
Thanks