Date: Thu, 5 Sep 1996 05:50:02 -0700 (PDT) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: conf/1568: build failure in libss, 2.2 current. Message-ID: <199609051250.FAA12422@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/1568; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: alk@think.com, FreeBSD-gnats-submit@freebsd.org Cc: Subject: Re: conf/1568: build failure in libss, 2.2 current. Date: Thu, 5 Sep 1996 22:37:14 +1000 >2.2 current cvs-cur 2434 > >>Description: > >make world fails in libss >... >>Fix: > >*** Makefile.orig Thu Sep 5 01:12:44 1996 >--- Makefile Thu Sep 5 01:12:53 1996 >*************** >*** 29,35 **** > ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/copyright.h \ > ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h > .if exists(ss_err.h) >! ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ss_err.h \ > ${DESTDIR}/usr/include/ss > .endif > >--- 29,35 ---- > ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/copyright.h \ > ${DESTDIR}/usr/include/ss/mit-sipb-copyright.h > .if exists(ss_err.h) >! ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/ss_err.h \ > ${DESTDIR}/usr/include/ss > .endif > This can't be right. ss_err.h is in ${.OBJDIR} and shouldn't be in ${.CURDIR} unless ${.OBJDIR} == ${.CURDIR}. You apparently have ${.OBJDIR} != ${.CURDIR} and a garbage copy of ss_err.h in ${.CURDIR}. The exists() builtin is "intelligent". It searches both ${.OBJDIR} and ${.CURDIR} (in who-knows-what order) and finds the garbage copy. Fixes: 1. Run `make cleandir' before switching object directories. 2. Remove garbage using rm. 3. Use the unambiguous path ${.OBJDIR}/ss_err.h in the exists() test. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609051250.FAA12422>