NetBSD Problem Report #25712

Received: (qmail 14319 invoked by uid 605); 26 May 2004 10:22:18 -0000
Message-Id: <20040526102216.AD49E11158@narn.netbsd.org>
Date: Wed, 26 May 2004 10:22:16 +0000 (UTC)
From: flo@cfdisk.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: flo@cfdisk.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Syntaxerror in libtool
X-Send-Pr-Version: www-1.0

>Number:         25712
>Category:       pkg
>Synopsis:       Syntaxerror in libtool
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    irix-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 26 10:23:00 +0000 2004
>Closed-Date:    Thu Jun 03 23:32:31 +0000 2004
>Last-Modified:  Thu Jun 03 23:32:31 +0000 2004
>Originator:     Florian Speidel
>Release:        
>Organization:
>Environment:
IRIX64 octane 6.5 04091957 IP30
>Description:
An empty variable or too many pipes in the libtool "list exported symbols" command produces a syntax error.
>How-To-Repeat:
cd /usr/pkgsrc/x11/gtk2; bmake package
>Fix:
change

export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"

to

export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe \$SED 's/.* //' | sort | uniq > \$export_symbols"

in /usr/pkg/bin/libtool
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->irix-pkg-people 
Responsible-Changed-By: wiz 
Responsible-Changed-When: Wed May 26 10:57:52 UTC 2004 
Responsible-Changed-Why:  
IRIX pkgsrc problem. 

From: Jan Schaumann <jschauma@netmeister.org>
To: flo@cfdisk.org, gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: Re: pkg/25712
Date: Tue, 1 Jun 2004 14:37:35 -0400

 --/Uq4LBwYP4y1W6pO
 Content-Type: multipart/mixed; boundary="H1spWtNR+x+ondvy"
 Content-Disposition: inline


 --H1spWtNR+x+ondvy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 Hi,

 Please try the attached patch against libtool-base/Makefile, rebuild
 libtool-base and then let me know if this fixes the problem.

 Thanks,
 -Jan

 --=20
 A common mistake that people make when trying to design something completely
 foolproof is to underestimate the ingenuity of complete fools.

 --H1spWtNR+x+ondvy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=diff
 Content-Transfer-Encoding: quoted-printable

 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 RCS file: /cvsroot/pkgsrc/devel/libtool-base/Makefile,v
 retrieving revision 1.34
 diff -b -u -r1.34 Makefile
 --- Makefile	25 May 2004 15:17:26 -0000	1.34
 +++ Makefile	1 Jun 2004 18:29:41 -0000
 @@ -47,9 +47,11 @@
  CONFIGURE_ENV+=3D		lt_cv_path_SED=3D${SED:Q}
 =20
  # The configure script doesn't seem to be working out the need for -p
 -# so tell it
 +# or -B so tell it
  .if ${OPSYS} =3D=3D "SunOS"
  CONFIGURE_ENV+=3D		lt_cv_path_NM=3D"nm -p"
 +.elif ${OPSYS} =3D=3D "IRIX"
 +CONFIGURE_ENV+=3D		lt_cv_path_NM=3D"nm -B"
  .endif
 =20
  .if ${OPSYS} =3D=3D "Darwin"

 --H1spWtNR+x+ondvy--

 --/Uq4LBwYP4y1W6pO
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.3 (NetBSD)

 iD8DBQFAvMzvfFtkr68iakwRAr+0AKCRODH6PwzjDr2WL3R41hmfO7CwnQCfZBid
 s7pJ1ZP5NWmmuApx++W4yJE=
 =b8oK
 -----END PGP SIGNATURE-----

 --/Uq4LBwYP4y1W6pO--

From: Jan Schaumann <jschauma@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25712 CVS commit: pkgsrc/devel/libtool-base
Date: Thu,  3 Jun 2004 23:31:53 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	jschauma
 Date:		Thu Jun  3 23:31:53 UTC 2004

 Modified Files:
 	pkgsrc/devel/libtool-base: Makefile

 Log Message:
 Tell libtool's configure to use 'nm -B' under IRIX.
 This closes PR pkg/25712.


 To generate a diff of this commit:
 cvs rdiff -r1.34 -r1.35 pkgsrc/devel/libtool-base/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: jschauma 
State-Changed-When: Thu Jun 3 23:32:10 UTC 2004 
State-Changed-Why:  

Proposed patch was confirmed to work. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.