Subject: pkg/20499: libtool requires that LOCALBASE and WRKOBJDIR point to the same filesystem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pavel.cahyna@st.mff.cuni.cz>
List: netbsd-bugs
Date: 02/26/2003 06:08:25
>Number: 20499
>Category: pkg
>Synopsis: libtool requires that LOCALBASE and WRKOBJDIR point to the same filesystem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 26 06:09:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Pavel Cahyna
>Release: IRIX 6.5.18
>Organization:
>Environment:
IRIX64 bruin 6.5 6.5.18m 10151453 IP28
>Description:
Seen on IRIX, but probably OS-independent.
/usr/pkg/bin/libtool (it's a shell script) contains this:
# Lock this critical section if it is needed
# We use this script file to make the link, it avoids creating a new file
if test "$need_locks" = yes; then
until $run ln "$0" "$lockfile" 2>/dev/null; do
$show "Waiting for $lockfile to be removed"
sleep 2
done
The ln command fails if the script itself (/usr/pkg/bin/libtool)
and the working directory (under ${WRKOBJDIR} if set, under
${PKGSRCDIR} otherwise) are on different filesystems.
>How-To-Repeat:
cd to your ${PKGSRCDIR}
$ cd devel/gettext-lib
$ make (or bmake on IRIX)
...
===> Building for gettext-lib-0.11.5
/bin/sh ../libtool --mode=compile cc -c -DLOCALEDIR=\"/usr/pkg/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/pkg/share/locale\" -DLIBDIR=\"/usr/pkg/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I/usr/pkg/include -O2 -I/usr/pkg/include intl-compat.c
Waiting for intl-compat.o.lock to be removed
Waiting for intl-compat.o.lock to be removed
Waiting for intl-compat.o.lock to be removed
Waiting for intl-compat.o.lock to be removed
.... ad infinitum.
Assuming ${WRKOBJDIR} and ${LOCALBASE} are on different filesystems.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: