NetBSD Problem Report #8567
Received: (qmail 3477 invoked from network); 6 Oct 1999 11:34:20 -0000
Message-Id: <199910061133.HAA00699@doppelganger.waterside.net>
Date: Wed, 6 Oct 1999 07:33:47 -0400 (EDT)
From: rafal@mediaone.net
Reply-To: rafal@mediaone.net
To: gnats-bugs@gnats.netbsd.org
Subject: -current build failures with DESTDIR set
X-Send-Pr-Version: 3.95
>Number: 8567
>Category: bin
>Synopsis: builds of some NetBSD components fail with DESTDIR set
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 06 04:35:01 +0000 1999
>Closed-Date: Thu Oct 28 21:10:28 +0000 1999
>Last-Modified: Thu Oct 28 21:11:10 +0000 1999
>Originator: Rafal Boni
>Release: -current from 10/2
>Organization:
...or lack thereof...
>Environment:
System: NetBSD doppelganger.waterside.net 1.4K NetBSD 1.4K (DOPPELGANGER) #0: Thu Sep 30 17:37:18 EDT 1999 root@groo-the-wanderer.waterside.net:/usr/src/sys/arch/i386/compile/DOPPELGANGER i386
>Description:
Builds of several programs that link against libraries in the build
tree (amd, ld.new, ...) fail if DESTDIR is set. The same builds go
A-OK with DESTDIR unset.
>How-To-Repeat:
Build AMD with DESTDIR unset. Watch it buid OK. Do a 'make cleandir'
% setenv DESTDIR /
% make
[...]
cc -o amd -nostdlib -L//usr/lib //usr/lib/crt0.o //usr/lib/crtbegin.o conf_parse.o conf_tok.o srvr_nfs.o srvr_amfs_auto.o sched.o rpc_fwd.o restart.o opts.o ops_unionfs.o ops_umapfs.o ops_ufs.o ops_tmpfs.o ops_tfs.o ops_pcfs.o ops_nullfs.o ops_nfs3.o ops_nfs.o ops_mfs.o ops_cdfs.o ops_autofs.o nfs_subr.o nfs_start.o nfs_prot_svc.o mntfs.o mapc.o map.o info_union.o info_passwd.o info_nis.o info_ndbm.o info_file.o info_hesiod.o get_args.o conf.o clock.o autil.o amq_svc.o amq_subr.o amfs_union.o amfs_toplvl.o amfs_root.o amfs_program.o amfs_nfsx.o amfs_nfsl.o amfs_linkx.o amfs_link.o amfs_inherit.o amfs_host.o amfs_error.o amfs_direct.o amfs_auto.o amd.o am_ops.o -L/home/doppelganger/src/current/src/usr.sbin/amd/libamu -lamu -lrpcsvc -ll -lgcc -lc -lgcc //usr/lib/crtend.o
srvr_nfs.o: In function `start_ping':
srvr_nfs.o(.text+0x50): undefined reference to `plog'
srvr_nfs.o(.text+0x60): undefined reference to `plog'
srvr_nfs.o(.text+0x71): undefined reference to `rpc_msg_init'
srvr_nfs.o(.text+0xa0): undefined reference to `plog'
srvr_nfs.o(.text+0xa7): undefined reference to `going_down'
srvr_nfs.o: In function `got_portmap':
srvr_nfs.o(.text+0x125): undefined reference to `pickup_rpc_reply'
srvr_nfs.o(.text+0x145): undefined reference to `debug_flags'
srvr_nfs.o(.text+0x156): undefined reference to `dplog'
srvr_nfs.o(.text+0x176): undefined reference to `debug_flags'
[...910 lines snipped...]
am_ops.o(.text+0x595): undefined reference to `plog'
collect2: ld returned 1 exit status
*** Error code 1
Stop.
>Fix:
Please do! (seriously, none yet)
>Release-Note:
>Audit-Trail:
From: Rafal Boni <rafal@mediaone.net>
To: gnats-bugs@netbsd.org
Cc: netbsd-bugs@netbsd.org
Subject: bin/8567
Date: Thu, 28 Oct 1999 12:54:54 -0400
This should be closed... It was a result of old a.out static libraries left
in /usr/lib (and a bad interaction with an a.out tcsh which didn't do file
completion right in /usr/lib as a result of the presence of /emul/aout/usr/lib)
--rafal
----
Rafal Boni rafal@mediaone.net
State-Changed-From-To: open->closed
State-Changed-By: cgd
State-Changed-When: Thu Oct 28 14:10:28 PDT 1999
State-Changed-Why:
closed at request of submitter.
>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.