pkgsrc-Bugs archive

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

pkg/41178: libstatgrap: Failed Build



>Number:         41178
>Category:       pkg
>Synopsis:       libstatgrap: Failed Build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 10 01:05:00 +0000 2009
>Originator:     Derouiche
>Release:        NetBSD 5.0_BETA
>Organization:
Algerie Motors Company
>Environment:
NetBSD Torabora 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Sun Jan 18 15:59:42 PST 
2009  
builds@wb40:/home/builds/ab/netbsd-5/i386/200901180002Z-obj/home/builds/ab/netbsd-5/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
n/a
>How-To-Repeat:

$ make 
if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. 
-I../..   -I/usr/include   -O2 -I/usr/include -MT cpu_stats.lo -MD -MP -MF 
".deps/cpu_stats.Tpo" -c -o cpu_stats.lo cpu_stats.c;  then mv -f 
".deps/cpu_stats.Tpo" ".deps/cpu_stats.Plo"; else rm -f ".deps/cpu_stats.Tpo"; 
exit 1; fi
mkdir .libs
 cc -DHAVE_CONFIG_H -I. -I../.. -O2 -MT cpu_stats.lo -MD -MP -MF 
.deps/cpu_stats.Tpo -c cpu_stats.c  -fPIC -DPIC -o .libs/cpu_stats.o
 cc -DHAVE_CONFIG_H -I. -I../.. -O2 -MT cpu_stats.lo -MD -MP -MF 
.deps/cpu_stats.Tpo -c cpu_stats.c -o cpu_stats.o >/dev/null 2>&1
if /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. 
-I../..   -I/usr/include   -O2 -I/usr/include -MT disk_stats.lo -MD -MP -MF 
".deps/disk_stats.Tpo" -c -o disk_stats.lo disk_stats.c;  then mv -f 
".deps/disk_stats.Tpo" ".deps/disk_stats.Plo"; else rm -f 
".deps/disk_stats.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I../.. -O2 -MT disk_stats.lo -MD -MP -MF 
.deps/disk_stats.Tpo -c disk_stats.c  -fPIC -DPIC -o .libs/disk_stats.o
disk_stats.c: In function 'sg_get_disk_io_stats':
disk_stats.c:499: error: 'HW_DISKSTATS' undeclared (first use in this function)
disk_stats.c:499: error: (Each undeclared identifier is reported only once
disk_stats.c:499: error: for each function it appears in.)
disk_stats.c:501: error: invalid application of 'sizeof' to incomplete type 
'struct disk_sysctl' 
disk_stats.c:510: error: invalid application of 'sizeof' to incomplete type 
'struct disk_sysctl' 
disk_stats.c:510: warning: division by zero
disk_stats.c:535: error: invalid use of undefined type 'struct disk_sysctl'
disk_stats.c:535: error: dereferencing pointer to incomplete type
disk_stats.c:560: error: invalid use of undefined type 'struct disk_sysctl'
disk_stats.c:560: error: dereferencing pointer to incomplete type
*** Error code 1

>Fix:
Please: Updated package, with a pkgsrc. 



Home | Main Index | Thread Index | Old Index