pkgsrc-Bugs archive

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

pkg/40039: sysutils/hal compilation errors (NetBSD 4.0)



>Number:         40039
>Category:       pkg
>Synopsis:       sysutils/hal compilation errors (NetBSD 4.0)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 26 19:10:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (pkgsrc current within past 12 hours)
>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:
        sysutils/hal no longer compiles on NetBSD 4.0 (maybe other systems)
        This PR is marked critical/high because hal bas become a fairly
        fundamental dependency of many gnome packages - they're all
        failing to build now (withou reverting to an older hal anyway).

        All this for a package that's only existed a week or so ...

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (except the x* sets, I have X11_TYPE=modular in the mk.conf)

        Building (attempting to build) sysutils/hal results in ...

/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I../..  
-DPACKAGE_SYSCONF_DIR=\""/usr/pkg/etc"\" 
-DPACKAGE_DATA_DIR=\""/usr/pkg/share"\" -DPACKAGE_BIN_DIR=\""/usr/pkg/bin"\" 
-DPACKAGE_LOCALE_DIR=\""/usr/pkg/share/locale"\" 
-DPACKAGE_LOCALSTATEDIR=\""/var"\" -I../.. -I.. 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include   
-I/usr/pkg/include/dbus-1.0 -I/usr/pkg/lib/dbus-1.0/include   
-I/usr/pkg/include/PolicyKit   -I/usr/pkg/include -I/usr/include  -O2 
-I/usr/pkg/include -I/usr/include -Wall -Wchar-subscripts 
-Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align 
-Wsign-compare -MT drvctl.lo -MD -MP -MF .deps/drvctl.Tpo -c -o drvctl.lo 
drvctl.c
 cc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE_SYSCONF_DIR=\"/usr/pkg/etc\" 
-DPACKAGE_DATA_DIR=\"/usr/pkg/share\" -DPACKAGE_BIN_DIR=\"/usr/pkg/bin\" 
-DPACKAGE_LOCALE_DIR=\"/usr/pkg/share/locale\" -DPACKAGE_LOCALSTATEDIR=\"/var\" 
-I.. -I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/include/glib/glib-2.0 
-I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/lib/glib-2.0/include 
-I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/include/dbus-1.0 
-I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/lib/dbus-1.0/include 
-I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/include/PolicyKit 
-I/pkg_comp/obj/pkgsrc/sysutils/hal/4x/.buildlink/include -O2 -Wall 
-Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith 
-Wcast-align -Wsign-compare -MT drvctl.lo -MD -MP -MF .deps/drvctl.Tpo -c 
drvctl.c  -fPIC -DPIC -o .libs/drvctl.o
In file included from drvctl.c:39:
drvctl.h:20: warning: 'struct devlistargs' declared inside parameter list
drvctl.h:20: warning: its scope is only this definition or declaration, which 
is probably not what you want
drvctl.c: In function 'drvctl_iochannel_data':
drvctl.c:85: error: 'DRVGETEVENT' undeclared (first use in this function)
drvctl.c:85: error: (Each undeclared identifier is reported only once
drvctl.c:85: error: for each function it appears in.)
drvctl.c:104: warning: passing argument 1 of 'drvctl_dev_add' discards 
qualifiers from pointer target type
drvctl.c:106: warning: passing argument 1 of 'drvctl_dev_remove' discards 
qualifiers from pointer target type
drvctl.c: At top level:
drvctl.c:156: warning: 'struct devlistargs' declared inside parameter list
drvctl.c:157: error: conflicting types for 'drvctl_list'
drvctl.h:20: error: previous declaration of 'drvctl_list' was here
drvctl.c: In function 'drvctl_list':
drvctl.c:162: error: dereferencing pointer to incomplete type
drvctl.c:163: error: dereferencing pointer to incomplete type
drvctl.c:163: error: dereferencing pointer to incomplete type
drvctl.c:164: error: 'DRVLISTDEV' undeclared (first use in this function)
drvctl.c:168: error: dereferencing pointer to incomplete type
drvctl.c:172: error: dereferencing pointer to incomplete type
drvctl.c:172: error: dereferencing pointer to incomplete type
drvctl.c:173: error: dereferencing pointer to incomplete type
drvctl.c:181: error: dereferencing pointer to incomplete type
drvctl.c:182: error: dereferencing pointer to incomplete type
drvctl.c: In function 'drvctl_find_device_with_child':
drvctl.c:189: error: storage size of 'laa' isn't known
drvctl.c:189: warning: unused variable 'laa'
gmake[5]: *** [drvctl.lo] Error 1
gmake[5]: Leaving directory 
`/pkg_comp/obj/pkgsrc/sysutils/hal/4x/hal-0.5.11/hald/netbsd'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/sysutils/hal/4x/hal-0.5.11/hald/netbsd'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/sysutils/hal/4x/hal-0.5.11/hald'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/sysutils/hal/4x/hal-0.5.11/hald'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkg_comp/obj/pkgsrc/sysutils/hal/4x/hal-0.5.11'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/hal
*** Error code 1

Stop.

>Fix:
        ???



Home | Main Index | Thread Index | Old Index