NetBSD Problem Report #43347
From bernd@arresum.veego.de Mon May 24 08:30:24 2010
Return-Path: <bernd@arresum.veego.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id C27B263B873
for <gnats-bugs@gnats.NetBSD.org>; Mon, 24 May 2010 08:30:22 +0000 (UTC)
Message-Id: <201005240812.o4O8CG8J010800@arresum.veego.de>
Date: Mon, 24 May 2010 10:12:16 +0200 (CEST)
From: Bernd Ernesti <pr201006@veego.de>
Reply-To: Bernd Ernesti <pr201006@veego.de>
To: gnats-bugs@gnats.NetBSD.org
Subject: squid31 build error while using all ntlm auth helpers
X-Send-Pr-Version: 3.95
>Number: 43347
>Category: pkg
>Synopsis: squid31 build error while using all ntlm auth helpers
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: tron
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 24 08:35:00 +0000 2010
>Closed-Date: Mon May 24 16:42:30 +0000 2010
>Last-Modified: Mon May 24 16:42:30 +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.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->tron
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Mon, 24 May 2010 08:49:29 +0000
Responsible-Changed-Why:
Mine.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43347 CVS commit: pkgsrc/www/squid31
Date: Mon, 24 May 2010 16:10:54 +0000
Module Name: pkgsrc
Committed By: tron
Date: Mon May 24 16:10:54 UTC 2010
Modified Files:
pkgsrc/www/squid31: distinfo
Added Files:
pkgsrc/www/squid31/patches: patch-aa patch-ab
Log Message:
Fix build of NTLM auth helpers under NetBSD. This addresses the first
half of PR pkg/43347 by Bernd Ernesti.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/www/squid31/distinfo
cvs rdiff -u -r0 -r1.8 pkgsrc/www/squid31/patches/patch-aa
cvs rdiff -u -r0 -r1.5 pkgsrc/www/squid31/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Matthias Scheler <tron@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43347 CVS commit: pkgsrc/www/squid
Date: Mon, 24 May 2010 16:25:29 +0000
Module Name: pkgsrc
Committed By: tron
Date: Mon May 24 16:25:29 UTC 2010
Modified Files:
pkgsrc/www/squid: options.mk
Log Message:
Specifically disable helpers if the according "SQUID_EXTERNAL_*_HELPERS"
variable is set to the empty string. We will otherwise end up building
all the helpers which is probably not what the user wanted.
This addresses the second halfof PR pkg/43347 by Bernd Ernesti.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/www/squid/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Mon, 24 May 2010 16:42:30 +0000
State-Changed-Why:
Both problems have been fixed. Thanks a lot for the bug report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.