pkgsrc-Bugs archive

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

pkg/43347: squid31 build error while using all ntlm auth helpers



>Number:         43347
>Category:       pkg
>Synopsis:       squid31 build error while using all ntlm auth helpers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 24 08:35:00 +0000 2010
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.29
>Organization:
        
>Environment:
System: NetBSD 5.99.29 2010-05-24 06:00 UTC
Architecture: i386
Machine: i386
>Description:
        Building squid-3.1.3 fails with the following message:

gmake[4]: Entering directory 
`/pkgsrc/www/squid31/work.i386/squid-3.1.3/helpers/ntlm_auth/smb_lm/smbval'
cc -DHAVE_CONFIG_H  -I../../../.. -I../../../../include -I../../../../src 
-I../../../../include  -I.  -I/usr/include -I/usr/include -Wall -Wpointer-arith 
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror 
-D_REENTRANT -O2 -I/usr/include -MT valid.o -MD -MP -MF .deps/valid.Tpo -c -o 
valid.o valid.c
mv -f .deps/valid.Tpo .deps/valid.Po
cc -DHAVE_CONFIG_H  -I../../../.. -I../../../../include -I../../../../src 
-I../../../../include  -I.  -I/usr/include -I/usr/include -Wall -Wpointer-arith 
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments -Werror 
-D_REENTRANT -O2 -I/usr/include -MT session.o -MD -MP -MF .deps/session.Tpo -c 
-o session.o session.c
In file included from ../../../../compat/compat.h:34,
                 from ../../../../include/config.h:58,
                 from ../../../../include/util.h:37,
                 from std-includes.h:27,
                 from session.c:33:
../../../../compat/fdsetsize.h:74:1: error: "FD_SETSIZE" redefined
In file included from /usr/include/sys/types.h:313,
                 from /usr/include/stdlib.h:41,
                 from session.c:27:
/usr/include/sys/fd_set.h:60:1: error: this is the location of the previous 
definition
gmake[4]: *** [session.o] Error 1
gmake[4]: Leaving directory 
`/pkgsrc/www/squid31/work.i386/squid-3.1.3/helpers/ntlm_auth/smb_lm/smbval'


        This are the relevant /etc/mk.conf entries for squid:
                PKG_OPTIONS.squid += -squid-pam-helper
                SQUID_BASIC_AUTH_HELPERS = getpwnam NCSA
                SQUID_NTLM_AUTH_HELPERS =

        It seems that the squid configure changed and so a 
'SQUID_NTLM_AUTH_HELPERS ='
        is now interpreted as 'SQUID_NTLM_AUTH_HELPERS = all'.

        Changing the entry in /etc/mk.conf to 'SQUID_NTLM_AUTH_HELPERS = no' 
stopped
        the build errors but it still leaves the build error when using all 
ntml auth
        helpers.
>How-To-Repeat:
        cd www/squid31 && make
>Fix:
        A workaround is setting SQUID_NTLM_AUTH_HELPERS to no which is what I 
really wanted.



Home | Main Index | Thread Index | Old Index