cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libtool 2.2.6 confuses build log

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Jan 2009 22:48:48 +0100 (CET)

On Wed, 14 Jan 2009, Daniel Johnson wrote:

> I switched to using libtool 2.2.6 on my autobuilds and noticed that libtool
> now labels linking related lines with "libtool: link: " which the build log
> flags as warnings. It looks like the build log parser needs to be adjusted.

Ah, thanks for pointing it out. I've now removed that rule so it should no
longer match those lines as errors. It seems this check was introduced not too
long ago (see diff below). Dan F, you remember any more specific circumstances
around the reason for this addition? I figure we need to make the pattern
stricter if we still want it in there...

Index: ccwarn.pm
===================================================================
RCS file: /cvsroot/curl/curl-www/auto/ccwarn.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ccwarn.pm 31 Jan 2007 22:45:28 -0000 1.4
+++ ccwarn.pm 13 Feb 2007 18:27:15 -0000 1.5
@@ -37,6 +37,8 @@
          ($l =~ /^cfe: Warning (\d*):/) ||
          # MSVC
          ($l =~ /^[\.\\]*([.\\\/a-zA-Z0-9-]*)\.[chy]\(([0-9:]*)/) ||
+ # libtool error
+ ($l =~ /^libtool: link: /) ||
          # GNU ld error
          ($l =~ /^[^ ?*]*ld: /))
      {

-- 
  / daniel.haxx.se
Received on 2009-01-14