From owner-freebsd-current Thu Oct 17 18:48:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFD1937B401 for ; Thu, 17 Oct 2002 18:48:12 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D83143E91 for ; Thu, 17 Oct 2002 18:48:11 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.6/8.12.6) with ESMTP id g9I1lU01060027; Thu, 17 Oct 2002 21:47:31 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: failure to make ORBit2 in CURRENT From: Joe Marcus Clarke To: Daniel Flickinger Cc: Clement Laforet , "FreeBSD 5.0-CURRENT" In-Reply-To: <20021018004224.kuNc81375@hun.org> References: <20021017023951.wKA82341@hun.org> <20021018004224.kuNc81375@hun.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZJ+HqYv+YWUiCZ8YbDC2" X-Mailer: Ximian Evolution 1.0.8 Date: 17 Oct 2002 21:48:09 -0400 Message-Id: <1034905690.7331.12.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, TO_BE_REMOVED_REPLY version=2.41 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 --=-ZJ+HqYv+YWUiCZ8YbDC2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2002-10-17 at 20:42, Daniel Flickinger wrote: > Sent: Thu, 17 Oct 2002 05:25:36 +0200 Clement Laforet wrote: >=20 > + On Thu, 17 Oct 2002 02:39:51 +0000 (GMT) > + Daniel Flickinger wrote: > + > + > running CURRENT from slice at 1200 GMT 16 Oct 2002: > + > > + > system is Tyan 2642 SMP 1.2G w/SCSI-160s > + > > + > Configuring for Bison for ORBit2 > + > > + > checking how to run the C preprocessor... /lib/cpp > + > configure: error: C preprocessor "/lib/cpp" fails sanity check > + > =3D=3D=3D> Script "configure" failed unexpectedly. > + > Please report the problem to ports@FreeBSD.org [maintainer] and= attach > + > the "/work/usr/ports/devel/bison/work/bison-1.35/config.log" in= cluding > + > the output of the failure of your make command. Also, it might = be a good > + > idea to provide an overview of all packages installed on your s= ystem > + > (e.g. an `ls /var/db/pkg`). > + > + Hummmm, It's working fine for me. > + I'm not sure, but it seems to be a gcc 3.2 related problem (upgrading p= roblem). > + When did you update your sources ? > + Did you remove all c++ stuff before installing world ? >=20 > System is CURRENT as of 1200 GMT 17 Oct --12 hours ago. >=20 > Everytime I do an installworld I use a shell command which > makes sure I have a 100% clean set of installs and libs --no > left over trash. Consistency may be the hobgobblin of little > minds, but it sure beats fat-finger errors. >=20 > Maybe it's too new? [g] --gcc has had two updates in the > last two weeks. >=20 > As to c++, if it's out of date, it's gone. I personally don't use > c++ --it's supposedly reusable code for disposable programmers. cpp is the C pre-processor. It should live in /usr/bin. I have never seen this error before, and my -CURRENT machine (updated as of yesterday) is building GNOME 2 ports just fine. I did a _full_ rebuild of all ports after __sF, and everything but gnomelibs rebuilt without a hitch. I subsequently committed a patch to fix it. Honestly, I don't know where that /lib/cpp is coming from. The only way I can reproduce your problem is to do: # cd /usr/ports/devel/ORBit # make CPP=3D/lib/cpp configure So I'm wondering if you have CPP defined somewhere that is screwing with make? Joe >=20 > #!/bin/bash > # > # 'installworld' shell command > # >=20 > TFLG=3D"-j 4 -k -s" > TDEF=3D"NO_WERROR=3DYES TARGET_ARCH=3Di386 __MAKE_CONF=3D/dev/null" > TOUT=3D"NOGAMES=3DYES NO_FORTRAN=3DYES NO_SENDMAIL=3DYES NO_MAILWRAPP= ER=3DYES NOUUCP=3DYES" >=20 > cleanup() { > rm -rf ${DESTDIR}/usr/include.old >/dev/null 2>&1 > mv -f ${DESTDIR}/usr/include ${DESTDIR}/usr/include.old > chflags -R noschg ${DESTDIR}/usr/lib > if [ ! -d ${DESTDIR}/usr/lib/old ]; then > mkdir ${DESTDIR}/usr/lib/old > fi > if [ ! -d ${DESTDIR}/usr/lib/compat ]; then > mkdir ${DESTDIR}/usr/lib/compat > fi > mv -f ${DESTDIR}/usr/lib/lib*.so.* ${DESTDIR}/usr/lib/compat > mv -f ${DESTDIR}/usr/lib/*.o ${DESTDIR}/usr/lib/old > mv -f ${DESTDIR}/usr/lib/lib*.a ${DESTDIR}/usr/lib/old > mv -f ${DESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib/old > } >=20 > # waste sendmail >=20 > stomp() { > cd ${DESTDIR}/usr/libexec > rm -f sendmail/* > cd ${DESTDIR}/usr/bin > rm -f mailq newaliases > ln -s ${DESTDIR}/usr/sbin/sendmail mailq > ln -s ${DESTDIR}/usr/sbin/sendmail newaliases > cd ${DESTDIR}/usr/sbin > rm -f sendmail mailwrapper > ln -s postmail sendmail > } >=20 > process() { > cleanup >${CDATE}.installworld.${RDATE} 2>&1 > make $TFLG $TDEF $TOUT installworld >>${CDATE}.installworld.${RDATE= } 2>&1 > rm -rf ${DESTDIR}/usr/include.old >/dev/null 2>&1 > stomp >>${CDATE}.installworld.${RDATE} 2>&1 > } >=20 > read -p "Enter current date code as \"ymdd.hhmm\": " CDATE > if [ -z "${CDATE}" ] ; then > printf "! date required: enter date in format \"ymdd.hhmm\"\n" > exit 3 > fi >=20 > read -p "Enter release date code as \"ymdd.hhmm\": " RDATE > if [ -z "${RDATE}" ] ; then > printf "! date required: enter date in format \"ymdd.hhmm\"\n" > exit 4 > fi >=20 > read -p "Enter non-standard destination directory or RET: " DTARGET > if [ -s "${DTARGET}" ] ; then > export DESTDIR=3D${DTARGET} > fi >=20 > process & >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-ZJ+HqYv+YWUiCZ8YbDC2 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQA9r2hZb2iPiv4Uz4cRAv0zAKCwMOTAb7LQ4USZMd5epsvC2ZGhEQCfUq3A JVJRhTfOcw2WkTyI65KYRaY= =5I2P -----END PGP SIGNATURE----- --=-ZJ+HqYv+YWUiCZ8YbDC2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message