pkgsrc-Bugs archive

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

pkg/46072: net/netatalk build broken on netbsd-6



>Number:         46072
>Category:       pkg
>Synopsis:       netatalk build broken on netbsd-6 b/c of quota support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 22 12:15:00 +0000 2012
>Originator:     Hauke Fath
>Release:        NetBSD 6_BETA
>Organization:
TU Darmstadt
        
>Environment:
        
        
System: NetBSD Gstoder 6.0_BETA NetBSD 6.0_BETA (MONOLITHIC) #0: Fri Feb 17 
16:35:35 CET 2012  
hf@Hochstuhl:/var/obj/netbsd-builds/6/i386/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:

        Building netatalk on netbsd-6 fails with

[...]
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..    -I../../include -I../../sys 
-DAPPLCNAME -DSERVERTEXT=\"/etc/pkg/netatalk/msg/\" 
-D_PATH_AFPDDEFVOL=\"/etc/pkg/netatalk/AppleVolumes.default\" 
-D_PATH_AFPDSYSVOL=\"/etc/pkg/netatalk/AppleVo
lumes.system\" -D_PATH_AFPDPWFILE=\"/etc/pkg/netatalk/afppasswd\" 
-D_PATH_AFPDCONF=\"/etc/pkg/netatalk/afpd.conf\" 
-D_PATH_AFPDSIGCONF=\"/etc/pkg/netatalk/afp_signature.conf\" 
-D_PATH_AFPDUAMPATH=\"/usr/pkg/libexec/netatalk/uams/\" -D
_PATH_ACL_LDAPCONF=\"/etc/pkg/netatalk/afp_ldap.conf\" 
-D_PATH_AFPDUUIDCONF=\"/etc/pkg/netatalk/afp_voluuid.conf\" -I../../sys/netbsd 
-I../../include -D_U_="__attribute__((unused))" -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/inc
lude/db4 -I../../sys -MT afpd-messages.o -MD -MP -MF .deps/afpd-messages.Tpo -c 
-o afpd-messages.o `test -f 'messages.c' || echo './'`messages.c
mv -f .deps/afpd-messages.Tpo .deps/afpd-messages.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..    -I../../include -I../../sys 
-DAPPLCNAME -DSERVERTEXT=\"/etc/pkg/netatalk/msg/\" 
-D_PATH_AFPDDEFVOL=\"/etc/pkg/netatalk/Appl
eVolumes.default\" -D_PATH_AFPDSYSVOL=\"/etc/pkg/netatalk/AppleVolumes.system\" 
-D_PATH_AFPDPWFILE=\"/etc/pkg/netatalk/afppasswd\" 
-D_PATH_AFPDCONF=\"/etc/pkg/netatalk/afpd.conf\" 
-D_PATH_AFPDSIGCONF=\"/etc/pkg/netatalk/afp_signature.conf\" 
-D_PATH_AFPDUAMPATH=\"/usr/pkg/libexec/netatalk/uams/\" 
-D_PATH_ACL_LDAPCONF=\"/etc/pkg/netatalk/afp_ldap.conf\" 
-D_PATH_AFPDUUIDCONF=\"/etc/pkg/netatalk/afp_voluuid.conf\" -I../../sys/netbsd 
-I../../include -D_U_="__attribute__((unused))" -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/db4 -I../../sys -MT afpd-nfsquota.o -MD -MP 
-MF .deps/afpd-nfsquota.Tpo -c -o afpd-nfsquota.o `test -f 'nfsquota.c' || echo 
'./'`nfsquota.c
In file included from nfsquota.c:56:0:
unix.h:213:40: warning: 'struct dqblk' declared inside parameter list
unix.h:213:40: warning: its scope is only this definition or declaration, which 
is probably not what you want
nfsquota.c:108:24: warning: 'struct dqblk' declared inside parameter list
nfsquota.c:107:5: error: conflicting types for 'getnfsquota'
unix.h:212:12: note: previous declaration of 'getnfsquota' was here
nfsquota.c: In function 'getnfsquota':
nfsquota.c:162:12: error: dereferencing pointer to incomplete type
nfsquota.c:164:12: error: dereferencing pointer to incomplete type
nfsquota.c:166:12: error: dereferencing pointer to incomplete type
nfsquota.c:172:12: error: dereferencing pointer to incomplete type
gmake[3]: *** [afpd-nfsquota.o] Error 1
gmake[3]: Leaving directory 
`/var/obj/pkgsrc/net/netatalk/work/netatalk-2.2.1/etc/afpd'
gmake[2]: *** [all-recursive] Error 1


>How-To-Repeat:

        Attempt to build net/netatalk on a netbsd-6 system

>Fix:

        The missing declaration appears to be in <ufs/ufs/quota1.h>,
        but with the recent quota related rototilling, I'll leave the
        fix to someone more knowledgable.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index