List Info

Thread: Bug in make instructions




Bug in make instructions
user name
2007-05-29 11:07:01
# New Ticket Created by  mijobe 
# Please include the string:  [perl #43067]
# in the subject line of all future correspondence about
this issue. 
# <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=43067 >


In the perl sources the file makedepend.SH contains a bug.

In line 131 a quote is not closed what prevents a cross
compilation on
i386 for arm.

Here's the original line:

    */*) finc="-I`echo $file | sed 's#/[^/]*$##`"
;;

and here's the fixed one:

    */*) finc="-I`echo $file | sed 's#/[^/]*$##'`"
;;

The same error also occurs in the development version
5.9.4.

Regards: mijobe


Re: Bug in make instructions
user name
2007-05-30 01:31:57
On Tue, 29 May 2007 09:07:01 -0700, mijobe (via RT)
<perlbug-followupperl.org> wrote:

> # New Ticket Created by  mijobe 
> # Please include the string:  [perl #43067]
> # in the subject line of all future correspondence
about this issue. 
> # <URL: h
ttp://rt.perl.org/rt3/Ticket/Display.html?id=43067 >
> 
> 
> In the perl sources the file makedepend.SH contains a
bug.

Thanks for your report, but this has already been fixed in
the development
branch by the following patch:

Change 30870 by rgsmarais on 2007/04/08 07:55:04

	Subject: [PATCH] makedepend.SH syntax error
	From: "Yitzchak Scott-Thoennes" <sthoennaefn.org>
	Date: Sat, 7 Apr 2007 23:32:44 -0700 (PDT)
	Message-ID: <41520.67.40.29.216.1176013964.squirrelwebmail.efn.org>

Affected files ...

... //depot/perl/makedepend.SH#37 edit

Differences ...

==== //depot/perl/makedepend.SH#37 (xtext) ====

 -128,7
+128,7 
     *.y) filebase=`basename $file .y` ;;
     esac
     case "$file" in
-    */*) finc="-I`echo $file | sed 's#/[^/]*$##`"
;;
+    */*) finc="-I`echo $file | sed
's#/[^/]*$##'`" ;;
     *)   finc= ;;
     esac
     $echo "Finding dependencies for
$filebase$_o."

> In line 131 a quote is not closed what prevents a cross
compilation on
> i386 for arm.
> 
> Here's the original line:
> 
>     */*) finc="-I`echo $file | sed
's#/[^/]*$##`" ;;
> 
> and here's the fixed one:
> 
>     */*) finc="-I`echo $file | sed
's#/[^/]*$##'`" ;;
> 
> The same error also occurs in the development version
5.9.4.
> 
> Regards: mijobe
> 
> 


-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/
)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX
10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and
Cygwin. http://qa.perl.org
http://mirrors.de
velooper.com/hpux/            http://www.test-smoke.org
                        http
://www.goldmark.org/jeff/stupid-disclaimers/

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )