pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44718: glib2 build fails on netbsd-4
>Number: 44718
>Category: pkg
>Synopsis: glib2 build fails on netbsd-4 due to netbsd patch
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 13 09:20:00 +0000 2011
>Originator: Michael van Elst
>Release: NetBSD 4.0_STABLE
>Organization:
--
Michael van Elst
Internet: mlelstv%serpens.de@localhost
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD henery 4.0_STABLE NetBSD 4.0_STABLE (HENERY) #36: Tue Jan 11
20:29:56 CET 2011
mlelstv@henery:/home/netbsd4/obj.i386/home/netbsd4/src/sys/arch/i386/compile/HENERY
i386
Architecture: i386
Machine: i386
>Description:
Building glib2 fails with
gsocket.c: In function 'g_socket_get_credentials':
gsocket.c:3548: error: storage size of 'cred' isn't known
gsocket.c:3550: error: 'LOCAL_PEEREID' undeclared (first use in this function)
gsocket.c:3550: error: (Each undeclared identifier is reported only once
gsocket.c:3550: error: for each function it appears in.)
gsocket.c:3548: warning: unused variable 'cred'
gmake[4]: *** [gsocket.lo] Error 1
This is due to patch-aq which adds socket credential support. However
netbsd-4 local sockets do not support LOCAL_PEEREID.
>How-To-Repeat:
Try to build glib2 on netbsd-4.
>Fix:
Make code conditional on existence of the LOCAL_PEEREID interface
or the specific NetBSD version that introduced it.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index