Skip Menu |
Report information
Id: 74192
Status: resolved
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: avar <avar [at] cpan.org>
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: HasPatch
Severity: low
Type:
Perl Version: (no value)
Fixed In: (no value)



Subject: [PATCH] Show how to work around the <5.9.5 makedepend.SH syntax error
Date: Fri, 9 Apr 2010 21:15:18 +0000
To: perlbug [...] perl.org
From: avar [...] cpan.org
Download (untitled) / with headers
text/plain 1.2k
From: Ævar Arnfjörð Bjarmason <avar@cpan.org> Before 96a8704c makedepend.SH used shell quote syntax that modern shells barf on. Document how to work around this in the example bisect script. --- pod/perlrepository.pod | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/pod/perlrepository.pod b/pod/perlrepository.pod index 65a9bef..731735d 100644 --- a/pod/perlrepository.pod +++ b/pod/perlrepository.pod @@ -645,6 +645,14 @@ testcase: % cat ~/run #!/bin/sh git clean -dxf + + # If you get './makedepend: 1: Syntax error: Unterminated quoted + # string' when bisecting versions of perl older than 5.9.5 this hack + # will work around the bug in makedepend.SH which was fixed in + # version 96a8704c. Make sure to comment out `git co makedepend.SH' + # below too. + git show blead:makedepend.SH > makedepend.SH + # If you can use ccache, add -Dcc=ccache\ gcc -Dld=gcc to the Configure line # if Encode is not needed for the test, you can speed up the bisect by # excluding it from the runs with -Dnoextensions=Encode @@ -658,6 +666,7 @@ testcase: ./perl -Ilib ~/testcase.pl ret=$? [ $ret -gt 127 ] && ret=127 + # git co makedepend.SH git clean -dxf exit $ret -- 1.7.0.4.298.gc81d
RT-Send-CC: perl5-porters [...] perl.org
Thanks, applied to bleadperl


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org