Subject: pkg/24406: devel/libtool-base cofigure script uses wrong regex while detecting ld
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dotz@irc.pl>
List: netbsd-bugs
Date: 02/13/2004 00:42:53
>Number:         24406
>Category:       pkg
>Synopsis:       devel/libtool-base cofigure script uses wrong regex while detecting ld
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 13 00:43:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Pasternak
>Release:        Slackware 9.1
>Organization:
>Environment:
Linux slackware9 2.4.22 #6 Tue Sep 2 17:43:01 PDT 2003 i686 unknown unknown GNU/Linux

>Description:
devel/libtool-base fails on slackware 9.1 with (see log):

   http://pkgsrc.w.lub.pl/libtool-base.log.slackware9

This is exactly line no.  3449 and below of libltdl/configure. 

Please note: this is NOT ${WRKSRC}/configure !

gcc -print-prog-name=ld used to detect ld by configure script on that OS 
gives:

   /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-linux/bin/ld

>How-To-Repeat:
Get pkgsrc + Slackware 9.1 + compile libtool-base
>Fix:
No idea.

Slack 9.1 has GNU sed 3.02, GNU grep 2.5, /bin/sh is 
GNU bash 2.05b.(1).

Configure script run by hand works okay, so I think it's 
more pkgsrc error (recent compiler.mk updates), 
than libtool-base / slackware. 

Of course, we can discuss, if having "../../../" in ld path returned
by gcc is sane. Anyway, as ".." is treated about the same way as every
other directory name, it should work.

>Release-Note:
>Audit-Trail:
>Unformatted: