From owner-freebsd-current Thu Mar 7 8:43: 5 2002 Delivered-To: freebsd-current@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id 61F8D37B416 for ; Thu, 7 Mar 2002 08:42:47 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id SAA79697; Thu, 7 Mar 2002 18:42:32 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (h46.228.dialup.iptcom.net [212.9.228.46]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id SAA81648; Thu, 7 Mar 2002 18:42:30 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id g27GfxB13551; Thu, 7 Mar 2002 18:41:59 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C879886.AA496DD9@FreeBSD.org> Date: Thu, 07 Mar 2002 18:42:46 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Dag-Erling Smorgrav Cc: current@FreeBSD.org Subject: Re: 5-CURRENT source upgrade path is broken in PAM References: <200203071130.g27BUiX11197@vega.vega.com> <3C875708.8A2133F6@FreeBSD.org> Content-Type: multipart/mixed; boundary="------------2330FA6C41BB39CC06307C8C" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------2330FA6C41BB39CC06307C8C Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Dag-Erling Smorgrav wrote: > > Maxim Sobolev writes: > > Dag-Erling Smorgrav wrote: > > > Maxim Sobolev writes: > > > > Looks like source upgrade path is broken due to PAM. My system is -CURRENT > > > > compiled on 19 February. Please fix. > > > Please use 'make world' to upgrade your system. > > I'm using `make world' (well buildworld, but it shouln't matter). > > The error message you're reporting indicates that libpam is being > built with the wrong headers. This shouldn't happen during 'make > world'. Shit Happens[tm]. BTW, why you are ignoring system CFLAGS settings (optimisations and such) for pam_unix? Please consider attached patch. -Maxim --------------2330FA6C41BB39CC06307C8C Content-Type: text/plain; charset=koi8-r; name="pam_unix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pam_unix.diff" --- lib/libpam/modules/pam_unix/Makefile 2002/03/07 16:40:34 1.1 +++ lib/libpam/modules/pam_unix/Makefile 2002/03/07 16:40:45 @@ -27,7 +27,7 @@ LIB= pam_unix SHLIB_NAME= ${LIB}.so.${SHLIB_MAJOR} SRCS= pam_unix.c pw_copy.c pw_yp.c pw_util.c ypxfr_misc.c ${GENSRCS} -CFLAGS= -DYP -Dyp_error=warnx \ +CFLAGS+= -DYP -Dyp_error=warnx \ -I${.OBJDIR} \ -I${.CURDIR}/../../../../libexec/ypxfr \ -I${.CURDIR}/../../../../usr.sbin/vipw \ --------------2330FA6C41BB39CC06307C8C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message