NetBSD Problem Report #19495
Received: (qmail 28064 invoked by uid 605); 22 Dec 2002 14:59:55 -0000
Message-Id: <200212221459.gBMExKl28012@syn.hamachi.org>
Date: Sun, 22 Dec 2002 09:59:21 -0500 (EST)
From: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: sommerfeld@orchard.arlington.ma.us
To: gnats-bugs@gnats.netbsd.org
Subject: librep vs. buildlink2: bogus libtool for librep users
X-Send-Pr-Version: 3.95
>Number: 19495
>Category: pkg
>Synopsis: librep vs. buildlink2: bogus libtool for librep users
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 22 15:00:00 +0000 2002
>Closed-Date: Mon Dec 23 04:28:30 +0000 2002
>Last-Modified: Mon Dec 23 04:28:30 +0000 2002
>Originator: Bill Sommerfeld
>Release: NetBSD 1.6K
>Organization:
none
>Environment:
System: NetBSD syn.hamachi.org 1.6K NetBSD 1.6K (GENERIC_LAPACPI) #70: Sat Dec 21 12:49:17 EST 2002 sommerfeld@syn.hamachi.org:/usr/src/sys/arch/i386/compile/GENERIC_LAPACPI i386
Architecture: i386
Machine: i386
>Description:
x11/rep-gdk failed to build with very screwy-looking build
errors (referencing pkgsrc/lang/librep/work.i386/.buildlink
...)
it appears that the librep package installs its own libtool
and a rules.mk file which invokes it into
/usr/pkg/libexec/rep/i386--netbsdelf/
however, what actualy get installed is the buildlink2 libtool
wrapper which references the (possibly long gone) lang/librep
work directory.
packages which depend on librep look for the installed
rules.mk, end up using the bogon libtool, and go down in flames.
>How-To-Repeat:
try to build x11/rep-gdk
>Fix:
Unknown.
I've worked around the build failure with the following hack
but this is clearly not the right answer long-term (not
LOCALBASE-independant)
--- rules.mk.sh.~1~ Mon Jan 15 23:17:48 2001
+++ rules.mk.sh Sun Dec 22 09:47:47 2002
@@ -12,7 +12,7 @@
repcommonexecdir=$repcommonexecdir
rpath_repcommonexecdir=$repcommonexecdir
-rep_LIBTOOL=\$(repcommonexecdir)/libtool
+rep_LIBTOOL=/usr/pkg/bin/libtool
rep_INSTALL_ALIASES=\$(repcommonexecdir)/install-aliases
# use this like:
>Release-Note:
>Audit-Trail:
From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19495 CVS commit: pkgsrc/lang/librep
Date: Mon, 23 Dec 2002 06:25:02 +0200 (EET)
Module Name: pkgsrc
Committed By: jlam
Date: Mon Dec 23 04:25:01 UTC 2002
Modified Files:
pkgsrc/lang/librep: Makefile buildlink2.mk
Log Message:
Bump PKGREVISION for lang/librep and update the buildlink2.mk dependency
to the latest librep. librep installs and uses its own libtool for use by
rep-* packages. We replace librep's libtool with a symlink to
${LOCALBASE}/bin/libtool and add a dependency on libtool-base. This
addresses PR 19495 by Bill Sommerfeld.
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 pkgsrc/lang/librep/Makefile
cvs rdiff -r1.1 -r1.2 pkgsrc/lang/librep/buildlink2.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Johnny C. Lam" <jlam@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19495 CVS commit: pkgsrc/doc
Date: Mon, 23 Dec 2002 06:26:29 +0200 (EET)
Module Name: pkgsrc
Committed By: jlam
Date: Mon Dec 23 04:26:29 UTC 2002
Modified Files:
pkgsrc/doc: CHANGES
Log Message:
Bump PKGREVISION for lang/librep and update the buildlink2.mk dependency
to the latest librep. librep installs and uses its own libtool for use by
rep-* packages. We replace librep's libtool with a symlink to
${LOCALBASE}/bin/libtool and add a dependency on libtool-base. This
addresses PR 19495 by Bill Sommerfeld.
To generate a diff of this commit:
cvs rdiff -r1.880 -r1.881 pkgsrc/doc/CHANGES
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: jlam
State-Changed-When: Sun Dec 22 20:27:52 PST 2002
State-Changed-Why:
I've replaced the installed libtool with a symlink to ${LOCALBASE}/bin/libtool.
>Unformatted:
(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.