Subject: pkg/18208: sysutils/lsof fails to build on -current (Sep 5th, 2002)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Bjoern.Labitzke@t-online.de>
List: netbsd-bugs
Date: 09/06/2002 21:58:35
>Number:         18208
>Category:       pkg
>Synopsis:       sysutils/lsof fails to build on -current (Sep 5th, 2002)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 06 12:59:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bjoern Labitzke
>Release:        NetBSD 1.6G (Sep 6th, 2002)
>Organization:
Bjoern Labitzke  <bcsl@gmx.de>
   Use GPG! (Don't you use envelopes for your letters?)
>Environment:
	
	
System: NetBSD neuromancer.labitzke.org 1.6G NetBSD 1.6G (LABITZKE) #926: Fri Sep 6 15:17:03 CEST 2002 hermit@neuromancer.labitzke.org:/usr/local/junk/build1/kernels/LABITZKE i386
Architecture: i386
Machine: i386
>Description:
Issuing a make in pkgsrc/sysutils/lsof results in the following
(slightly shortened) log:


=> Checksum OK for lsof_4.64.tar.gz.
work.neuromancer -> /usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer
=> Lock acquired on behalf of process 16960
===> extract-message [lsof-4.64] ===> Extracting for lsof-4.64

[...skipped...]

This lsof distribution seems to be complete.

=> Lock released on behalf of process 16960
=> Lock acquired on behalf of process 16960
===> patch-message [lsof-4.64] ===> Patching for lsof-4.64
===> do-patch [lsof-4.64] ===> Applying NetBSD patches for lsof-4.64
=> Lock released on behalf of process 16960
=> Lock acquired on behalf of process 16960
===> configure-message [lsof-4.64] ===> Configuring for lsof-4.64
rm -f ddev.c dfile.c dlsof.h dmnt.c dnode*.c dproc.c dproto.h dsock.c dstore.c kernelbase.h machine.h machine.h.old new_machine.h __lseek.s Makefile ./tests/config.cflags
rm -f ./tests/config.cc ./tests/config.xobj ./tests/config.ldflags
ln -s dialects/n+obsd/dlsof.h dlsof.h
ln -s dialects/n+obsd/dmnt.c dmnt.c
ln -s dialects/n+obsd/dnode.c dnode.c
ln -s dialects/n+obsd/dnode1.c dnode1.c
ln -s dialects/n+obsd/dproc.c dproc.c
ln -s dialects/n+obsd/dproto.h dproto.h
ln -s dialects/n+obsd/dsock.c dsock.c
ln -s dialects/n+obsd/dstore.c dstore.c
ln -s dialects/n+obsd/machine.h machine.h
Makefile and lib/Makefile created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
=> Lock released on behalf of process 16960
=> Lock acquired on behalf of process 16960
===> build-message [lsof-4.64] ===> Building for lsof-4.64
(cd lib; make DEBUG="-O" CFGF="-DNETBSDV=1060 -DHASGETBOOTFILE -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHAS9660FS -DHASMSDOSFS -DHASKERNFS -DHASNCVPID -DHASI_FFS -DHASEXT2FS -DHASI_E2FS -DHASNFSVATTRP -DUVM -I/usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_ADVLOCK_ARGS -DHASCWDINFO -DHAS_SYS_PIPEH -DLSOF_VSTR=\"1.6G\"")
cc -O2  -DNETBSDV=1060 -DHASGETBOOTFILE -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHAS9660FS -DHASMSDOSFS -DHASKERNFS -DHASNCVPID -DHASI_FFS -DHASEXT2FS -DHASI_E2FS -DHASNFSVATTRP -DUVM -I/usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_ADVLOCK_ARGS -DHASCWDINFO -DHAS_SYS_PIPEH -DLSOF_VSTR="1.6G" -I/usr/include -I/sys -O  -DLSOF_MORE_SECURE=0  -c ckkv.c
cc -O2  -DNETBSDV=1060 -DHASGETBOOTFILE -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHAS9660FS -DHASMSDOSFS -DHASKERNFS -DHASNCVPID -DHASI_FFS -DHASEXT2FS -DHASI_E2FS -DHASNFSVATTRP -DUVM -I/usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_ADVLOCK_ARGS -DHASCWDINFO -DHAS_SYS_PIPEH -DLSOF_VSTR="1.6G" -I/usr/include -I/sys -O  -DLSOF_MORE_SECURE=0  -c cvfs.c
cc -O2  -DNETBSDV=1060 -DHASGETBOOTFILE -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHAS9660FS -DHASMSDOSFS -DHASKERNFS -DHASNCVPID -DHASI_FFS -DHASEXT2FS -DHASI_E2FS -DHASNFSVATTRP -DUVM -I/usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_ADVLOCK_ARGS -DHASCWDINFO -DHAS_SYS_PIPEH -DLSOF_VSTR="1.6G" -I/usr/include -I/sys -O  -DLSOF_MORE_SECURE=0  -c dvch.c
In file included from ../dlsof.h:175,
                 from ../lsof.h:172,
                 from dvch.c:43:
/usr/include/ufs/mfs/mfsnode.h:47: field `mfs_buflist' has incomplete type
*** Error code 1

Stop.
make: stopped in /usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src/lib
*** Error code 1

Stop.
make: stopped in /usr/local/junk/pkgobj/sysutils/lsof/work.neuromancer/lsof_4.64/lsof_4.64_src
*** Error code 1

Stop.
make: stopped in /usr/cvs.netbsd/pkgsrc/sysutils/lsof
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/lsof
	
>How-To-Repeat:
Issue make in pkgsrc/sysutils/lsof
	
>Fix:
???
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 pkgsrc from the same date