Skip site navigation (1)Skip section navigation (2)
Date:      17 Oct 2002 21:48:09 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Daniel Flickinger <attila@hun.org>
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>, "FreeBSD 5.0-CURRENT" <current@FreeBSD.ORG>
Subject:   Re: failure to make ORBit2 in CURRENT
Message-ID:  <1034905690.7331.12.camel@shumai.marcuscom.com>
In-Reply-To: <20021018004224.kuNc81375@hun.org>
References:  <20021017023951.wKA82341@hun.org>  <20021018004224.kuNc81375@hun.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <attila@hun.org> 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




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