From owner-freebsd-current@FreeBSD.ORG Mon Dec 14 16:55:18 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 717971065695 for ; Mon, 14 Dec 2009 16:55:18 +0000 (UTC) (envelope-from tmseck-lists@netcologne.de) Received: from smtp6.netcologne.de (smtp6.netcologne.de [194.8.194.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2DFCD8FC20 for ; Mon, 14 Dec 2009 16:55:17 +0000 (UTC) Received: from wcfields.tmseck.homedns.org (xdsl-89-0-186-110.netcologne.de [89.0.186.110]) by smtp6.netcologne.de (Postfix) with SMTP id A17692A1D06 for ; Mon, 14 Dec 2009 17:36:05 +0100 (CET) Received: (qmail 2621 invoked by uid 1001); 14 Dec 2009 16:36:01 -0000 Date: Mon, 14 Dec 2009 17:36:01 +0100 From: Thomas-Martin Seck To: Anton Shterenlikht Message-ID: <20091214163600.GA2420@wcfields.tmseck.homedns.org> Mail-Followup-To: Anton Shterenlikht , freebsd-current@freebsd.org, freebsd-ports@freebsd.org References: <57200BF94E69E54880C9BB1AF714BBCBA5736C@w2003s01.double-l.local> <20091213162712.1171.qmail@wcfields.tmseck.homedns.org> <20091214154144.GA86962@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091214154144.GA86962@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Organization: a private site in Germany X-PGP-KeyID: DF46EE05 X-PGP-Fingerprint: A38F AE66 6B11 6EB9 5D1A B67D 2444 2FE1 DF46 EE05 X-Attribution: tms Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: regression: port www/squid fails to build on ia64 head X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 16:55:18 -0000 * Anton Shterenlikht (mexas@bristol.ac.uk): > On Sun, Dec 13, 2009 at 04:27:12PM -0000, Thomas-Martin Seck wrote: > > * Johan Hendriks : > > > > (Squid breakage in the YP/NIS helper) > > > > > A long shot > > > Could it be that you have set the following in your src.conf > > > WITHOUT_NIS= yes > > > WITHOUT_RCMDS= yes > > > WITHOUT_RCS= yes > > > > > > If i set those i get a similar error with squid (on i386 and amd64 ) > > > > This is possible; the Squid 2.7 port still relies on WITHOUT_NIS/NO_NIS > > being set in make.conf. Due to the make.conf/src.conf split this does no > > longer work. I have added an OPTION to turn off NIS support to the squid > > 3.x ports and will merge this change into the Squid 2.7 port along with > > other changes soon. In the meantime you can work around this if you > > build www/squid with "make -DWITHOUT_NIS" or by adding WITHOUT_NIS=yes > > to /etc/make.conf. > > > > The same applies to systems built/installed without Heimdal support. > > Sorry for the breakage. > > yes, I had WITHOUT_NIS= yes in /etc/src.conf, but not the other > two options. I have now rebuilt the system without this option, > but I still get the NIS build error. The other options are for the port, not for the base system. (Look at www/squid/Makefile to see how this works.) If you set WITHOUT_NIS and/or WITHOUT_KERBEROS in src.conf, you currently need to set these in make.conf, too so the port can pick these settings up. > If I build with "make -DWITHOUT_NIS", then I get this error: > > Making all in negotiate_auth > Making all in squid_kerb_auth > cc -DHAVE_CONFIG_H -I. -I../../../include -DHEIMDAL -I./spnegohelp -I. -O2 -pipe -fno-strict-aliasing -D_REENTRANT -MT squid_kerb_auth.o -MD -MP -MF .deps/squid_kerb_auth.Tpo -c -o squid_kerb_auth.o squid_kerb_auth.c > squid_kerb_auth.c:70:18: error: krb5.h: No such file or directory > *** Error code 1 > > Stop in /usr/ports/www/squid/work/squid-2.7.STABLE7/helpers/negotiate_auth/squid_kerb_auth. > *** Error code 1 > > does it mean I also need to build kerberos? I've WITHOUT_KERBEROS=yes > in /etc/src.conf No, you just need to disable Kerberos support in Squid, because it's on by default. Rebuild the port using "make clean ; make -DNO_KERBEROS" or put WITHOUT_KERBEROS=yes or NO_KERBEROS=yes into /etc/make.conf before rebuilding the port. But do a "make clean" first so Squid's configure script does actually exclude these helpers from the build.