pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/40347: sysutils/dbus compilation errros - NetBSD 4.0
>Number: 40347
>Category: pkg
>Synopsis: sysutils/dbus compilation errros - NetBSD 4.0
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 09 10:40:00 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0_STABLE (pkgsrc current within past 3 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/dbus has grown compilation errors for NetBSD 4.0 (4.* probably)
>How-To-Repeat:
Attempt compiling in a NetBSD 4 environment, I use pkg_comp with
libkver and NetBSD 4.0 release sets installed (no x* sets, but
pkgsrc modular xorg instead here, but that will not be relevant to
this problem).
/bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I..
-I.. -fPIC -DDBUS_COMPILATION
-DDBUS_MACHINE_UUID_FILE=\""/var/db/dbus/machine-id"\"
-DDBUS_SYSTEM_CONFIG_FILE=\""/etc/conf/dbus-1/system.conf"\"
-DDBUS_SESSION_CONFIG_FILE=\""/etc/conf/dbus-1/session.conf"\"
-I/usr/pkg/include -I/usr/include -ffunction-sections -fdata-sections -O2
-pthread -I/usr/pkg/include -I/usr/include -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -Wdeclaration-after-statement -fno-common -MT
dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c -o
dbus-sysdeps-unix.lo dbus-sysdeps-unix.c
cc -DHAVE_CONFIG_H -I. -I.. -fPIC -DDBUS_COMPILATION
-DDBUS_MACHINE_UUID_FILE=\"/var/db/dbus/machine-id\"
-DDBUS_SYSTEM_CONFIG_FILE=\"/etc/conf/dbus-1/system.conf\"
-DDBUS_SESSION_CONFIG_FILE=\"/etc/conf/dbus-1/session.conf\"
-I/pkg_comp/obj/pkgsrc/sysutils/dbus/4x/.buildlink/include -ffunction-sections
-fdata-sections -O2 -pthread -Wall -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
-Wsign-compare -Wdeclaration-after-statement -fno-common -MT
dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo -c
dbus-sysdeps-unix.c -fPIC -DPIC -o .libs/dbus-sysdeps-unix.o
dbus-sysdeps-unix.c: In function '_dbus_read_credentials_socket':
dbus-sysdeps-unix.c:1213: error: invalid application of 'sizeof' to incomplete
type 'struct cmsgcred'
dbus-sysdeps-unix.c:1251: error: invalid application of 'sizeof' to incomplete
type 'struct cmsgcred'
gmake[3]: *** [dbus-sysdeps-unix.lo] Error 1
gmake[3]: Leaving directory
`/pkg_comp/obj/pkgsrc/sysutils/dbus/4x/dbus-1.2.4.2permissive/dbus'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/pkg_comp/obj/pkgsrc/sysutils/dbus/4x/dbus-1.2.4.2permissive/dbus'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/pkg_comp/obj/pkgsrc/sysutils/dbus/4x/dbus-1.2.4.2permissive'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/sysutils/dbus
*** Error code 1
Stop.
>Fix:
Most probably don't try to compile code that users data structures that
NetBSD 4.0 doesn't have. But I am guessing...
Home |
Main Index |
Thread Index |
Old Index