pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/32812: Perl broken in 2005Q4: open with shell metas fails
The following reply was made to PR pkg/32812; it has been noted by GNATS.
From: Anne Bennett <anne%porcupine.montreal.qc.ca@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/32812: Perl broken in 2005Q4: open with shell metas fails
Date: Mon, 13 Feb 2006 19:02:02 -0500
> ... but this has no effect on my little test, so the vendor patch
> is not the cause of the shell metacharacter problem.
[...]
> At the moment, it looks as though the
> newly-installed perl works until I do "make clean" in the source
> tree, and then it starts failing. There must be some unexpected
> dependency, or I'm not testing properly. I'll have to try to trace it.
# head -1 /tmp/minitest
#!/usr/bin/perl -wT
# /local/bin/perl -wT /tmp/minitest
Issuing: echo foo ; echo moo
line: foo
line: moo
# /usr/bin/perl -wT /tmp/minitest
Issuing: echo foo ; echo moo
Error closing: at /tmp/minitest line 13.
# cd /usr/pkgsrc/lang/perl5 && make
[copious output not shown; note that I did *not* install]
# /usr/bin/perl -wT /tmp/minitest
Issuing: echo foo ; echo moo
line: foo
line: moo
[is that weird or what?!?]
# script /tmp/trace.out
# ktruss -d -i /usr/bin/perl -wT /tmp/minitest
# exit
The trace file contains:
16576 sh
execve("/disks/nobak/netbsd/netbsd-3.0/pkgsrc/lang/perl5/work/.tools/bin/sh",
0x7f7fffffdeb0, 0x512200) JUSTRETURN
And a trace on an unsuccessful process (in the absence of the
source tree) shows:
25989 perl
execve("/disks/nobak/netbsd/netbsd-3.0/pkgsrc/lang/perl5/work/.tools/bin/sh",
0x7f7fffffdeb0, 0x512200) Err#2 ENOENT
Well, now I know what the problem is, but how on *earth* did Perl
manage to persuade itself to use *that* file as a the execution shell???
I'll see if I can find anything in the build transcript. I'm in a
maze of twisty little configuration definitions, all different. :-/
Anne.
--
Ms. Anne Bennett, as a private citizen:
anne%porcupine.montreal.qc.ca@localhost
Also reachable more officially at work: anne%encs.concordia.ca@localhost
Home |
Main Index |
Thread Index |
Old Index