Subject: pkgsrc lsof 4.68 build failure on stale -current
To: None <current-users@netbsd.org>
From: Wolfgang S. Rupprecht <wolfgang+gnus20031006T151440@wsrcc.com>
List: current-users
Date: 10/06/2003 15:20:58
I don't know if pkgsrc is guaranteed to build on older -current's, but
in case it is, here is what I'm seeing:
lsof 4.68 build, -current jan 17, 2003
cc -O2 -DNETBSDV=1060 -DHASGETBOOTFILE -DHASNFSPROTO -DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS -DHASPROCFS_PFSROOT -DHASKERNFS -DHASKERNFS_KFS_KT -DHASNCVPID -DHASI_FFS -DHASEXT2FS -DHASNFSVATTRP -DUVM -I/var/obj/pkgsrc/sysutils/lsof/work/lsof_4.68/lsof_4.68_src/dialects/n+obsd/include -DHAS_UVM_INCL -DHAS_ADVLOCK_ARGS -DHASCWDINFO -DHAS_SYS_PIPEH -DLSOF_VSTR=\"1.6L\" -I/usr/include -I/sys -O -DLSOF_MORE_SECURE=0 -DLSOF_LESS_SECURE_SOCKETS=0 -c dnode.c
dnode.c: In function `process_node':
dnode.c:403: structure has no member named `kfs_kt'
dnode.c:409: structure has no member named `kfs_kt'
dnode.c:410: structure has no member named `kfs_kt'
dnode.c:862: `PFSroot' undeclared (first use in this function)
dnode.c:862: (Each undeclared identifier is reported only once
dnode.c:862: for each function it appears in.)
dnode.c:863: `PFSproc' undeclared (first use in this function)
dnode.c:867: `PFScurproc' undeclared (first use in this function)
dnode.c:871: `PFSmem' undeclared (first use in this function)
dnode.c:874: `PFSregs' undeclared (first use in this function)
dnode.c:864: warning: unreachable code at beginning of switch statement
dnode.c:1150: `PFSfile' undeclared (first use in this function)
dnode.c:1165: `PFSfpregs' undeclared (first use in this function)
dnode.c:1170: `PFSctl' undeclared (first use in this function)
dnode.c:1175: `PFSstatus' undeclared (first use in this function)
dnode.c:1180: `PFSnote' undeclared (first use in this function)
dnode.c:1185: `PFSnotepg' undeclared (first use in this function)
dnode.c:1138: warning: unreachable code at beginning of switch statement
*** Error code 1
Stop.
make: stopped in /var/obj/pkgsrc/sysutils/lsof/work/lsof_4.68/lsof_4.68_src
FWIW: the previous lsof built without incident.
-wolfgang
--
Wolfgang S. Rupprecht http://www.wsrcc.com/wolfgang/
The From: address is valid. Don't mess with it.