NetBSD Problem Report #8914
Received: (qmail 2813 invoked from network); 29 Nov 1999 03:48:24 -0000
Message-Id: <E11sHnX-0003jy-00@xanthine.gratuitous.org>
Date: Sun, 28 Nov 1999 22:48:19 -0500
From: nemo@red-bean.com
Reply-To: nemo@red-bean.com
To: gnats-bugs@gnats.netbsd.org
Cc: nemo@red-bean.com
Subject: pkglibtool build error in pkgsrc
X-Send-Pr-Version: 3.95
>Number: 8914
>Category: pkg
>Synopsis: pkglibtool fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: fredb
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 28 19:50:58 +0000 1999
>Closed-Date: Sat Feb 05 17:00:15 +0000 2000
>Last-Modified: Sat Feb 05 17:01:52 +0000 2000
>Originator: Joel N. Weber II
>Release: nov 28, 1999
>Organization:
Red Bean Software/Gratuitous Organization for Gratuitous Software Enhancement
>Environment:
System: NetBSD xanthine 1.4.1 NetBSD 1.4.1 (XANTHINE) #0: Thu Nov 25 14:00:04 EST 1999 nemo@duality:/usr/src/syssrc/sys/arch/i386/compile/XANTHINE i386
nov 28, 1999 pkgsrc; kernel from about a week earlier from the 1.4 branch;
everything else stock 1.4.1
>Description:
===> Validating dependencies for lynx-2.8.2
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Frederick Bruckman <fb@enteract.com>
To: nemo@red-bean.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/8914: pkglibtool build error in pkgsrc
Date: Mon, 29 Nov 1999 02:07:48 -0600 (CST)
On Sun, 28 Nov 1999 nemo@red-bean.com wrote:
> System: NetBSD xanthine 1.4.1 NetBSD 1.4.1 (XANTHINE) #0: Thu Nov 25 14:00:04 EST 1999 nemo@duality:/usr/src/syssrc/sys/arch/i386/compile/XANTHINE i386
> nov 28, 1999 pkgsrc; kernel from about a week earlier from the 1.4 branch;
> everything else stock 1.4.1
> ===> Building for pkglibtool-1.2p2
> Making all in doc
> Making all in tests
> CC="cc" CFLAGS="-O2" CPPFLAGS="" LD="/usr/bin/ld" LN_S="ln -s" NM="/usr/bin/nm -B" RANLIB="ranlib" ./ltconfig --srcdir=. ./ltmain.sh
> checking host system type... Invalid configuration `-unknown-netbsd1.4.1': machine `-unknown' not recognized
Works for me, all netbsd-1-4. Is this with the latest pkgsrc?
"make -V MACHINE_ARCH -f /dev/null" should return
i386
make: no target to make.
and "make -V MACHINE_ARCH" in pkgtools/pkglibtool should return
i386
If A and not B, do you have anything in /etc/mk.conf or in the
environment that could be setting MACHINE_ARCH to null? If neither,
try rebuilding "make" from the netbsd-1-4 (release) sources.
State-Changed-From-To: open->feedback
State-Changed-By: fredb
State-Changed-When: Mon Nov 29 02:09:07 CST 1999
State-Changed-Why:
Requested further information from submitter--awaiting response.
Responsible-Changed-From-To: pkg-manager->fredb
Responsible-Changed-By: fredb
Responsible-Changed-When: Mon Nov 29 02:09:07 CST 1999
Responsible-Changed-Why:
I'll take this.
From: "Joel N. Weber II" <nemo@red-bean.com>
To: Frederick Bruckman <fb@enteract.com>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/8914: pkglibtool build error in pkgsrc
Date: Mon, 29 Nov 1999 21:23:00 -0500
On Sun, 28 Nov 1999 nemo@red-bean.com wrote:
> System: NetBSD xanthine 1.4.1 NetBSD 1.4.1 (XANTHINE) #0: Thu Nov 25 14:00:04 EST 1999 nemo@duality:/usr/src/syssrc/sys/arch/i386/compile/XANTHINE i386
> nov 28, 1999 pkgsrc; kernel from about a week earlier from the 1.4 branch;
> everything else stock 1.4.1
> ===> Building for pkglibtool-1.2p2
> Making all in doc
> Making all in tests
> CC="cc" CFLAGS="-O2" CPPFLAGS="" LD="/usr/bin/ld" LN_S="ln -s" NM="/usr/bin/nm -B" RANLIB="ranlib" ./ltconfig --srcdir=. ./ltmain.sh
> checking host system type... Invalid configuration `-unknown-netbsd1.4.1': machine `-unknown' not recognized
Works for me, all netbsd-1-4. Is this with the latest pkgsrc?
Yes, I did `cvs update' on the pkgsrc tree right before I did send-pr,
and I did cvs update again just now and verified that I still have problems.
"make -V MACHINE_ARCH -f /dev/null" should return
i386
make: no target to make.
It does.
and "make -V MACHINE_ARCH" in pkgtools/pkglibtool should return
i386
It does.
If A and not B, do you have anything in /etc/mk.conf or in the
environment that could be setting MACHINE_ARCH to null? If neither,
try rebuilding "make" from the netbsd-1-4 (release) sources.
I have no /etc/mk.conf.
Given that I have a stock 1.4.1 make, I'd be somewhat surprised if
that's the problem.
From: Frederick Bruckman <fb@enteract.com>
To: "Joel N. Weber II" <nemo@red-bean.com>
Cc: gnats-bugs@gnats.NetBSD.ORG
Subject: Re: pkg/8914: pkglibtool build error in pkgsrc
Date: Tue, 30 Nov 1999 02:24:00 -0600 (CST)
On Mon, 29 Nov 1999, Joel N. Weber II wrote:
> I have no /etc/mk.conf.
>
> Given that I have a stock 1.4.1 make, I'd be somewhat surprised if
> that's the problem.
OK, that was a shot in the dark... (Make has changed a little since
1.4.1, but it shouldn't matter here.)
I see the problem now. It goes right from extracting libslang to
building pkglibtool, without extracting or configuring pkglibtool
(especially configuring). Thanks for including the entire log--I
should have read it first!
Please try a "make clean && make update" in pkgtoools/pkglibtool
before proceeding to "make clean-depends && make update" in www/lynx.
You must have an old pklibtool/work directory, so possibly, too, an
old pklibtool already installed?
The package system still can't do the right thing automatically when
there are old work directories around. We're relying on flag files in
the work directories to gauge progess, so once work/.configure_done,
for example, is created by the old pkglibtool, it will not be
configured again, even after the version number changes, until after
"make clean" is done. The state of the art at this time is for
"update" to do a "clean" after it's done. The "clean-depends" target
is for the benefit of those who like to keep the old work directories
around (as I do), but at this time it doesn't seem to get all the
indirect depencencies (lynx->libslang->pkglibtool), so you'll need to
do at least "make clean" and "make deinstall" in pkgtools/pkglibtool.
State-Changed-From-To: feedback->closed
State-Changed-By: fredb
State-Changed-When: Sat Feb 5 11:00:15 CST 2000
State-Changed-Why:
There's no problem with building pkglibtool.
>Unformatted:
>> Checksum OK for lynx2-8-2.tar.gz.
===> Extracting for lynx-2.8.2
===> lynx-2.8.2 depends on package: libslang-1.3.9
===> Verifying install for ../../devel/libslang
===> Validating dependencies for libslang-1.3.9
>> Checksum OK for slang-1.3.9.tar.gz.
===> Extracting for libslang-1.3.9
===> libslang-1.3.9 depends on file: /usr/pkg/bin/pkglibtool-a.out-1.2p2 - not found
===> Verifying install for /usr/pkg/bin/pkglibtool-a.out-1.2p2 in /usr/src/pkgsrc/pkgtools/pkglibtool
===> Building for pkglibtool-1.2p2
Making all in doc
Making all in tests
CC="cc" CFLAGS="-O2" CPPFLAGS="" LD="/usr/bin/ld" LN_S="ln -s" NM="/usr/bin/nm -B" RANLIB="ranlib" ./ltconfig --srcdir=. ./ltmain.sh
checking host system type... Invalid configuration `-unknown-netbsd1.4.1': machine `-unknown' not recognized
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
(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.