Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 18:13:01 +0200
From:      Marius Korsmo <marius@korsmo.org>
To:        freebsd-questions@freebsd.org
Subject:   make buildworld fails in openssl/colldef
Message-ID:  <20050724181301.vl95fhi004gg8sg8@elwolfie.com>

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

I get this error when trying to buildworld:

mkdep -f .depend -a    -I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT
-I/usr/obj/usr/src/i386/legacy/usr/include parse.c scan.c
echo colldef: /usr/lib/libc.a /usr/lib/libl.a
/usr/obj/usr/src/i386/legacy/usr/lib/libegacy.a >> .depend
cc -O -pipe -I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT 
-I/usr/obj/usr/src/i386/legacy/usr/include -c parse.c
cc -O -pipe -I. -I/usr/src/usr.bin/colldef
-I/usr/src/usr.bin/colldef/../../lib/libc/locale -DCOLLATE_DEBUG -DYY_NO_UNPUT 
-I/usr/obj/usr/src/i386/legacy/usr/include -c scan.c
In file included from /usr/include/openssl/bio.h:67,
                 from /usr/include/err.h:68,
                 from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/openssl/crypto.h:328: error: syntax error before numeric constant
In file included from /usr/include/err.h:68,
                 from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/openssl/bio.h:225: error: syntax error before numeric constant
/usr/include/openssl/bio.h:579: error: syntax error before numeric constant
In file included from /usr/src/usr.bin/colldef/scan.l:34:
/usr/include/err.h:238: error: syntax error before numeric constant
*** Error code 1

Stop in /usr/src/usr.bin/colldef.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


I'm running FreeBSD 5.4 RELEASE, but want to update to RELENG_5_4 to get the
latest security updates.
I'm using the RELENG_5_4 tag when i cvsup. I have cvsup'ed from 3-4 servers at
different times.
I have also tried to cvsup to STABLE, but that does not make any difference.
I've cvsup'ed many times during a 10 day period. There is nothing wrong with the
soruces I get (i think).
I've followed the manual, and done "chflags -R noschg /usr/obj/usr, rm -rf
/usr/obj/usr, cd /usr/src, make cleandir, make cleandir"
I get the same error every time, it happens very early in the buildworld
process.
I have also deleted /usr/src a few times to be on the safe side before
cvsup'ing.
I've tried deleting /usr/obj before building world.
My /etc/make.conf contains nothing when I try to buildworld, but I have tried a
few options without any luck.
Deleting openssl (installed from ports) and all programs that depend on openssl
does not help at all.
Building world in single user mode does not help.
Yes, I'm root when building world.

my cvsup file looks like:
*default host=cvsup.no.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default tag=RELENG_5_4
*default release=cvs delete use-rel-suffix
*default compress
src-all

Any help will be highly appreciated.
Thank you.

Marius





----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



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