Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2002 18:42:46 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        current@FreeBSD.org
Subject:   Re: 5-CURRENT source upgrade path is broken in PAM
Message-ID:  <3C879886.AA496DD9@FreeBSD.org>
References:  <200203071130.g27BUiX11197@vega.vega.com> <xzp1yew7fst.fsf@flood.ping.uio.no> <3C875708.8A2133F6@FreeBSD.org> <xzpbse05ol8.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sobomax@FreeBSD.org> writes:
> > Dag-Erling Smorgrav wrote:
> > > Maxim Sobolev <sobomax@FreeBSD.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C879886.AA496DD9>