pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47415: lsof fails to compile under 5.2_STABLE



>Number:         47415
>Category:       pkg
>Synopsis:       lsof fails to compile under 5.2_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 07 02:55:00 +0000 2013
>Originator:     Anne Bennett
>Release:        5.2_STABLE
>Organization:
>Environment:
NetBSD quill.porcupine.montreal.qc.ca 5.2_STABLE NetBSD 5.2_STABLE 
(QUILL_I386-$Revision: 2010-01-05 $) #30: Thu Dec 20 23:18:36 EST 2012  
root%quill.porcupine.montreal.qc.ca@localhost:/disks/plain/nobackup/NetBSD-5.0.1/usr/obj/sys/arch/i386/compile/QUILL_I386
 i386

>Description:
I tried to recompile lsof from pkgsrc and it failed.  Relevant
snippets of output from the "make":

---------------------------------------------------------------
!!!WARNING!!!  Unsupported NetBSD version: 5.2_STABLE
!!!WARNING!!!  Configuring for NetBSD 5.0

Makefile and lib/Makefile created.
./tests/config.cc created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
WARNING: unsupported dialect or version
echo "#define HASSECURITY 1" >> 
/disks/plain/nobackup/NetBSD-5.0.1/pkgsrc-stuff/all-versions/pkgsrc-stable/sysutils/lsof/work/lsof_4.84/lsof_4.84_src/machine.h

cc -O2  -DNETBSDV=5000000 -DN_UNIXV=/dev/ksyms -DHASKVMGETPROC2 -DHASNFSPROTO 
-DHASIPv6 -DHASFDESCFS=1 -DHASFDLINK -DHASNULLFS -DHASPROCFS 
-DHASPROCFS_PFSROOT -DHASBUFQ_H -DHAS9660FS=1 -DHASMSDOSFS=1 -DHASKERNFS 
-DHASKERNFS_KFS_KT -DHASI_FFS1 -DHASEFFNLINK=i_ffs_effnlink -DHASEXT2FS 
-DHASI_E2FS_PTR -DHASLFS -DHASPTYFS -DHASTMPFS -DHASNFSVATTRP 
-DHAS_ADVLOCK_ARGS -DHAS_LWP_H -DHAS_SYS_PIPEH -DHASSTATVFS -DUVM 
-I/disks/plain/nobackup/NetBSD-5.0.1/pkgsrc-stuff/all-versions/pkgsrc-stable/sysutils/lsof/work/lsof_4.84/lsof_4.84_src/dialects/n+obsd/include
 -DHAS_UVM_INCL -DHAS_STRFTIME -DLSOF_VSTR=\"5.2_STABLE\"   -D_KMEMUSER -c 
dnode1.c
In file included from dnode1.c:65:
/usr/include/isofs/cd9660/cd9660_node.h:75: error: expected ':', ',', ';', '}' 
or '__attribute__' before '.' token
dnode1.c: In function 'read_iso_node':
dnode1.c:91: error: 'struct iso_node' has no member named 'inode'
dnode1.c:92: error: 'struct iso_node' has no member named 'i_size'
*** Error code 1
---------------------------------------------------------------

Note: in /etc/mk.conf I have "PKG_OPTIONS.lsof+=lsof-more-secure"
(which is why I compile from scratch instead of pulling in a
binary package).

The version of pkgsrc is 2012Q3.  The version of lsof is 4.84,
which is apparently unchanged from the version I last compiled.
I last compiled it successfully under 5.1_STABLE on 2011-11-19,
and that binary still works.

I don't think that lsof has changed; it looks as though the O/S
changed out from under it. 

Is there any other information I should supply?

Anne.

>How-To-Repeat:
Try to "make" in pkgsrc/sysutils/lsof under NetBSD-5.2_STABLE.
>Fix:
No idea.  :-(



Home | Main Index | Thread Index | Old Index