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
(QUILL_I386-$Revision: 2010-01-05 $) #30: Thu Dec 20 23:18:36 EST 2012

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/ created
./tests/config.cflags created
./tests/config.ldflags created
./tests/config.xobj created
WARNING: unsupported dialect or version
echo "#define HASSECURITY 1" >> 

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?


Try to "make" in pkgsrc/sysutils/lsof under NetBSD-5.2_STABLE.
No idea.  :-(

Home | Main Index | Thread Index | Old Index