Bug#628357: tct: possible patch to solve FTBFS

Salvatore Bonaccorso carnil at debian.org
Wed Jun 15 19:34:29 UTC 2011


tags 628357 + patch
thanks

Dear maintainer,

The problems seems to be parsing the ouptut of perl -v when a binary
for perl 5 is found. Changing the invocation to awk as in attached
patch would fix.

Note I have attached patch as nmu-diff, but I have not taken yet any
further actions. I too converted for my test the package to '3.0
(quilt)'.

The relevant part is only:

+--- a/reconfig                                                            
++++ b/reconfig                                                    
+@@ -59,7 +59,7 @@                                         
+       while (<$dir/perl5* $dir/perl*>) {
+               if (-x $_) {
+                       $perl_version=`($_ -v 2> /dev/null) |             
+-                              awk '/This is perl, v.*5/ { print $NF }'`;
++                              awk '/This is perl 5, version/ { print $NF }'`;
+                       if ($perl_version) {
+                               $PERL=$_;                               
+                               $pflag="1";        

Furthermore I refreshed the 01-conglomeration.patch patch. 

Regards.
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tct-1.19-1.1-nmu.diff
Type: text/x-diff
Size: 20600 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20110615/b0e5801e/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/forensics-devel/attachments/20110615/b0e5801e/attachment-0001.pgp>


More information about the forensics-devel mailing list