pkgsrc-Bugs archive

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

Re: pkg/47415: lsof fails to compile under 5.2_STABLE



David Holland <dholland-pbugs%netbsd.org@localhost> writes:

>   > ---------------------------------------------------------------
>   > !!!WARNING!!!  Unsupported NetBSD version: 5.2_STABLE
>   > !!!WARNING!!!  Configuring for NetBSD 5.0
>  
>  I just fixed this, but it's unlikely to affect your problem.

Right.

>   > In file included from dnode1.c:65:
>   > /usr/include/isofs/cd9660/cd9660_node.h:75: error: expected ':', ',', ';' 
> , '}' or '__attribute__' before '.' token
>  
>  Can you check what's on that line in your /usr/include? That file
>  hasn't changed since 2008, nor has anything in isofs in netbsd-5 since
>  2009. In my copies that line is
>  
>       doff_t  i_endoff;
>  
>  where doff_t is a #define for "long" defined on line 51. This has no
>  '.' in it.
>  
>  I suspect your /usr/include is corrupted. :(

Line 75 of /usr/include/isofs/cd9660/cd9660_node.h is:

        doff_t  i_endoff;       /* end of useful stuff in directory */

and line 51 is:

#define doff_t  long


The md5 sum of the file is 58b25ff161e269f952b16e6623dbded2,
and its mtime is Feb 27  2008.

I just did a "make clean" and "make" in /usr/pkgsrc/sysutils/lsof, and
I get the same error.  This is really mystifying.



Anne.
-- 
Ms. Anne Bennett, as a private citizen:  anne%porcupine.montreal.qc.ca@localhost
Also reachable more officially at work:  anne%encs.concordia.ca@localhost


Home | Main Index | Thread Index | Old Index