pkgsrc-Bugs archive

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

pkg/41963: archivers/xz compilation errors (NetBSD 4.0 / i386)



>Number:         41963
>Category:       pkg
>Synopsis:       archivers/xz compilation errors (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 02:00:01 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0   pkgsrc -current
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        archivers/xz (xz-4.999.9beta) fails to compile on NetBSD 4.0 (i386).
        Problems relate to sysctl.

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 sets installed, and libkver, to
        obtain a fairly pure 4.0 release environment.   No x* sets,
        this setup uses pkgsrc modular xorg instead (I doubt that is
        relevant).

        Build produces ...

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  
-DLOCALEDIR=\"/usr/pkg/share/locale\"  -I../../src/common  
-I../../src/liblzma/api  -I../../lib  -DLZMA_API_STATIC -I/usr/include -pthread 
 -fvisibility=hidden -Wall -Wextra -Wformat=2 -Winit-self 
-Wmissing-include-dirs -Wstrict-aliasing -Wfloat-equal -Wundef -Wshadow 
-Wpointer-arith -Wbad-function-cast -Wwrite-strings -Waggregate-return 
-Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes 
-Wmissing-declarations -Wmissing-noreturn -Wredundant-decls -O2 -I/usr/include 
-MT xz-hardware.o -MD -MP -MF .deps/xz-hardware.Tpo -c -o xz-hardware.o `test 
-f 'hardware.c' || echo './'`hardware.c
In file included from hardware.c:14:
../../src/common/physmem.h: In function 'physmem':
../../src/common/physmem.h:107: warning: passing argument 6 of 'sysctl' makes 
integer from pointer without a cast
In file included from hardware.c:15:
../../src/common/cpucores.h: In function 'cpucores':
../../src/common/cpucores.h:43: warning: passing argument 2 of 'sysctl' makes 
integer from pointer without a cast
../../src/common/cpucores.h:43: error: too few arguments to function 'sysctl'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/archivers/xz/4x/xz-4.999.9beta/src/xz
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index