Re: Buildworld Fails RELENG_7

2008-09-09 Thread Pekka Savola
On May 19, Dave Uhring reported the following kind of RELENG_7 buildworld failure: /usr/bin/gcc -fpic -DPIC -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/ lib/libcrypto/../../../crypto/openssl -I/usr/src/secure/lib/ libcrypto/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/ lib/libcrypto

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Mike Edenfield
Dave Uhring wrote: cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir -I/usr/src/usr.sbin/zic/zdump/.. -I/usr/src/usr.sbin/zic/zdump/../../../lib/libc/stdtime -o

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Erik Trulsson
On Tue, May 20, 2008 at 09:24:11AM -0500, Dave Uhring wrote: > Tried again this morning with a fresh cvsup from cvsup4.freebsd.org and the > build went to completion. > > maxwell# grep -v ^# /etc/make.conf > CPUTYPE?=k8 > CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 > CXXFLAGS+= -fconserve-space >

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Jeremy Chadwick
On Tue, May 20, 2008 at 09:24:11AM -0500, Dave Uhring wrote: > cc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -DTM_GMTOFF=tm_gmtoff > -DTM_ZONE=tm_zone -DSTD_INSPIRED -DPCTS -DHAVE_LONG_DOUBLE > -DTZDIR=\"/usr/share/zoneinfo\" -Demkdir=mkdir > -I/usr/src/usr.sbin/zic/zdump/.. > -I/usr/

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Doug Rabson
On 20 May 2008, at 14:31, Dave Uhring wrote: On Tue, May 20, 2008 at 12:54:59PM +0100, Doug Rabson wrote: On 20 May 2008, at 12:25, Dave Uhring wrote: On Tue, May 20, 2008 at 08:50:14AM +0100, Doug Rabson wrote: In this, your build is explicitly using '/usr/bin/gcc' for the build which

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Dave Uhring
Tried again this morning with a fresh cvsup from cvsup4.freebsd.org and the build went to completion. maxwell# grep -v ^# /etc/make.conf CPUTYPE?=k8 CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 CXXFLAGS+= -fconserve-space MAKE_SHELL?=sh COPTFLAGS= -O -pipe INSTALL=install -C MTREE_FOLLOWS_SYMLINKS=

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Dave Uhring
On Tue, May 20, 2008 at 12:54:59PM +0100, Doug Rabson wrote: > > On 20 May 2008, at 12:25, Dave Uhring wrote: > >> On Tue, May 20, 2008 at 08:50:14AM +0100, Doug Rabson wrote: >>> >>> In this, your build is explicitly using '/usr/bin/gcc' for the build >>> which >>> is not the way buildworld norma

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Dave Uhring
On Tue, May 20, 2008 at 01:33:15PM +1000, Mark Andrews wrote: > > And when tested does behave the way you describe. > > Mark > > drugs:9.5.x 13:30 {4371} % bash > [EMAIL PROTECTED] ~/cvs/9.5.x]$ printenv | grep FOO > [EMAIL PROTECTED] ~/cvs/9.5.x]$ FOO=ll > [EMAIL PROTECTED] ~/cvs/9.

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Doug Rabson
On 20 May 2008, at 01:02, Dave Uhring wrote: On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: On May 19, 2008, at 1:21 PM, Dave Uhring wrote: In any case, that problem has been solved by putting the updated header files in /usr/include/sys and will be properly fixed when I

Re: Buildworld Fails RELENG_7

2008-05-20 Thread Peter Jeremy
On 2008-May-19 21:51:30 -0500, Dave Uhring <[EMAIL PROTECTED]> wrote: >On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: >> >> > # export CFLAGS="" >> >> This does NOT remove CFLAGS from the environment. > >It does when you shell is bash. As Mark pointed out, this just means bas

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Erik Trulsson
On Mon, May 19, 2008 at 07:02:36PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: > > On May 19, 2008, at 1:21 PM, Dave Uhring wrote: > > > >> In any case, that problem has been solved by putting the updated header > >> files > >> in /usr/include/sys

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 12:16:46PM -0700, Jeremy Chadwick wrote: > I will attempt the same with your make.conf to see if it's any > different. I'll add that while I slept, I let a 'make buildworld' go with your exact make.conf flags -- it completed successfully. -- | Jeremy Chadwick

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 03:03:42PM -0500, Dave Uhring wrote: > [EMAIL PROTECTED] /usr/src/contrib/groff]# mount > /dev/ad4s2a on / (ufs, local, soft-updates) > devfs on /dev (devfs, local) > /dev/ad4s2h on /home (ufs, local, soft-updates) > /dev/ad4s2e on /usr (ufs, local, soft-updates) > /dev/ad4s

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 11:10:32PM -0400, Josh Carroll wrote: > > No, even though it is a dual-core system. I did not want to chance a > > race condition. I simply executed 'make buildworld' initially, then > > 'make -DNO_CLEAN buildworld' when I encountered problems in the build. > > Ok, it was

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Mark Andrews
> > > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > > > > > # export CFLAGS="" > > > > > > This does NOT remove CFLAGS from the environment. > > > > It does when you shell is bash. > > bash is broken. Empty environment variables have meaning. > > Ma

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 10:59:18PM -0400, Josh Carroll wrote: > > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > >> > >> > # export CFLAGS="" > >> > >> This does NOT remove CFLAGS from the environment. > > > > It does when you shell is bash. > > I think what Mark was getting

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Mark Andrews
> On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > > > # export CFLAGS="" > > > > This does NOT remove CFLAGS from the environment. > > It does when you shell is bash. bash is broken. Empty environment variables have meaning. Mark -- Mark Andre

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Josh Carroll
> No, even though it is a dual-core system. I did not want to chance a > race condition. I simply executed 'make buildworld' initially, then > 'make -DNO_CLEAN buildworld' when I encountered problems in the build. Ok, it was worth asking, just to rule out the obvious. I'm still not sure where y

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 10:08:22PM -0400, Josh Carroll wrote: > > The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > > new header files that I placed from cvsupped sources into /usr/include/sys > > the entire system is 7.0 RELEASE. > > > > Prior to beginning the build I deliber

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Josh Carroll
> On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: >> >> > # export CFLAGS="" >> >> This does NOT remove CFLAGS from the environment. > > It does when you shell is bash. I think what Mark was getting at is that simply setting CFLAGS to "" prior to make does not trump the setting

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote: > > > # export CFLAGS="" > > This does NOT remove CFLAGS from the environment. It does when you shell is bash. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mai

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Josh Carroll
> The c compiler is the one shipped with 7.0 RELEASE. Except for the 3 > new header files that I placed from cvsupped sources into /usr/include/sys > the entire system is 7.0 RELEASE. > > Prior to beginning the build I deliberately set > > # export CFLAGS="" > > Nothing else in my environment woul

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Mike Edenfield
Dave Uhring wrote: On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: The problem is that gcc is *not* finding the file in the directory referenced by the -I cflag. If I copy the header files to the directory wh

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Mark Andrews
> On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > > On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > > > > > > The problem is that gcc is *not* finding the file in the directory > > > referenced by the -I cflag. If I copy the header files to the directory > > > w

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 02:01:48PM -1000, Clifton Royston wrote: > On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > > > > The problem is that gcc is *not* finding the file in the directory > > referenced by the -I cflag. If I copy the header files to the directory > > where the erro

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeffrey Goldberg
On May 19, 2008, at 7:02 PM, Dave Uhring wrote: On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: I did not have to manually move or copy any header files. Did you start from a RELEASE source tree and userland? No. I was upgrading from STABLE last built about on April

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Peter Jeremy
On 2008-May-19 11:38:25 -0500, Dave Uhring <[EMAIL PROTECTED]> wrote: >Yes, although at this point is it 'make -DNO_CLEAN buildworld' until I get a >clean >build. You have this backwards. If you are getting wierd buildworld errors, your first step should be to delete /usr/obj and then run 'make

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeffrey Goldberg
On May 19, 2008, at 1:21 PM, Dave Uhring wrote: In any case, that problem has been solved by putting the updated header files in /usr/include/sys and will be properly fixed when I can finally make installworld. I did not have to manually move or copy any header files. *default release=cvs

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 06:46:41PM -0500, Jeffrey Goldberg wrote: > On May 19, 2008, at 1:21 PM, Dave Uhring wrote: > >> In any case, that problem has been solved by putting the updated header >> files >> in /usr/include/sys and will be properly fixed when I can finally make >> installworld. > >

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Clifton Royston
On Mon, May 19, 2008 at 03:14:08PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 02:54:31PM -0400, Lowell Gilbert wrote: > > Dave Uhring <[EMAIL PROTECTED]> writes: > > > > > > If a -I/some/directory is used as a CFLAG then the *include directive > > > must read > > > > > > #include , *not*

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 02:54:31PM -0400, Lowell Gilbert wrote: > Dave Uhring <[EMAIL PROTECTED]> writes: > > > > If a -I/some/directory is used as a CFLAG then the *include directive must > > read > > > > #include , *not* #include "driver.h". The latter demands that the > > header file be in the

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 12:16:46PM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > > This picked up src-all using the RELENG_7 tag. I then attempted a > > buildworld (cd /usr/src && time make -j2 buildworld). It's just begun > > stage 2.3, but so

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Mike Edenfield
Dave Uhring wrote: If a -I/some/directory is used as a CFLAG then the *include directive must read #include , *not* #include "driver.h". The latter demands that the header file be in the same directory as the source file. Absolutely not true. Directly from the gcc online manual: "GCC looks

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > This picked up src-all using the RELENG_7 tag. I then attempted a > buildworld (cd /usr/src && time make -j2 buildworld). It's just begun > stage 2.3, but so far no issues. I'll report back in about 30 minutes > or so, when it ha

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Lowell Gilbert
Dave Uhring <[EMAIL PROTECTED]> writes: > On Mon, May 19, 2008 at 11:02:01AM -0700, David Wolfskill wrote: >> On Mon, May 19, 2008 at 12:53:58PM -0500, Dave Uhring wrote: >> > >> > I posted the relevant output from "make buildworld". Copying the 3 new >> > header >> > files from /usr/src/sys/sy

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 11:02:01AM -0700, David Wolfskill wrote: > On Mon, May 19, 2008 at 12:53:58PM -0500, Dave Uhring wrote: > > > > I posted the relevant output from "make buildworld". Copying the 3 new > > header > > files from /usr/src/sys/sys to /usr/include/sys solved my original problem

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 11:00:28AM -0700, Jeremy Chadwick wrote: > > Something I thought of while doing the above: there's been reports in > the past of problems with buildworld (or building software in general) > bombing out or behaving oddly due to clock issues on the local machine. > If you don

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 06:00:39PM +0100, Doug Rabson wrote: > > The thing is that a working buildworld doesn't depend on headers from > /usr/include. One of the first thing it does is install a set of new > headers in somewhere like /usr/obj/usr/src/tmp. At this point, it might be > useful to s

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 10:04:28AM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 11:58:07AM -0500, Dave Uhring wrote: > > > > I have repeately nuked /usr/obj. That is not going to put updated header > > files > > where they need to be. > > It's apparent you don't quite understand. Th

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 10:06:19AM -0700, Jeremy Chadwick wrote: > Give me a few hours (installing VMware + 7.0-RELEASE + csup). My money > is on that I won't be able to reproduce the problem. Something I thought of while doing the above: there's been reports in the past of problems with buildwor

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 10:02:23AM -0700, David Wolfskill wrote: > On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote: > > > > The build is going nowhere without the correct header files in > > /usr/include/sys. > > That appears to indicate that your build environment is fundamentally >

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 10:06:19AM -0700, Jeremy Chadwick wrote: > On Mon, May 19, 2008 at 12:03:34PM -0500, Dave Uhring wrote: > > > > [EMAIL PROTECTED] /etc]$ grep -v ^# make.conf > > CPUTYPE?=athlon64 > > CFLAGS= -O2 -fno-strict-aliasing -pipe -m32 > > CXXFLAGS+= -fconserve-space > > MAKE_SHELL

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 12:03:34PM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:59:25AM -0700, Jeremy Chadwick wrote: > > > > Is there breakage of some sort being caused by your make.conf or (less > > probable) your src.conf? Any filesystem corruption (boot single user > > and force fsc

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 11:58:07AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: > > > > Is there some reason you're using -DNO_CLEAN, and haven't just nuked > > /usr/obj/* and done buildworld normally? I can't reproduce any of this > > behaviour on

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 09:59:25AM -0700, Jeremy Chadwick wrote: > > Is there breakage of some sort being caused by your make.conf or (less > probable) your src.conf? Any filesystem corruption (boot single user > and force fsck on all the filesystems)? [EMAIL PROTECTED] /etc]$ grep -v ^# make.co

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Doug Rabson
On 19 May 2008, at 17:58, Dave Uhring wrote: On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: Is there some reason you're using -DNO_CLEAN, and haven't just nuked /usr/obj/* and done buildworld normally? I can't reproduce any of this behaviour on any of our RELENG_7 system

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 11:54:21AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote: > > > > On 19 May 2008, at 17:38, Dave Uhring wrote: > > > >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > >>> This symbol has been added to fcntl.h recently

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 09:42:21AM -0700, Jeremy Chadwick wrote: > > Is there some reason you're using -DNO_CLEAN, and haven't just nuked > /usr/obj/* and done buildworld normally? I can't reproduce any of this > behaviour on any of our RELENG_7 systems. I have repeately nuked /usr/obj. That is

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 05:42:56PM +0100, Doug Rabson wrote: > > On 19 May 2008, at 17:38, Dave Uhring wrote: > >> On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: >>> This symbol has been added to fcntl.h recently. It appears as if your >>> build >>> is picking up the installed header

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Doug Rabson
On 19 May 2008, at 17:38, Dave Uhring wrote: On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: This symbol has been added to fcntl.h recently. It appears as if your build is picking up the installed header rather than the one from the source tree. Are you using 'make buildworld'

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Jeremy Chadwick
On Mon, May 19, 2008 at 11:38:25AM -0500, Dave Uhring wrote: > On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > > This symbol has been added to fcntl.h recently. It appears as if your build > > is picking up the installed header rather than the one from the source > > tree. Are you

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
On Mon, May 19, 2008 at 05:07:08PM +0100, Doug Rabson wrote: > This symbol has been added to fcntl.h recently. It appears as if your build > is picking up the installed header rather than the one from the source > tree. Are you using 'make buildworld'? Yes, although at this point is it 'make -DN

Re: Buildworld Fails RELENG_7

2008-05-19 Thread Doug Rabson
This symbol has been added to fcntl.h recently. It appears as if your build is picking up the installed header rather than the one from the source tree. Are you using 'make buildworld'? On 19 May 2008, at 16:17, Dave Uhring wrote: Sources checked out yesterday, updated this morning using cv

Buildworld Fails RELENG_7

2008-05-19 Thread Dave Uhring
Sources checked out yesterday, updated this morning using cvsup and repository at cvsup12.freebsd.org. The build fails in /usr/src/lib/libc /usr/bin/gcc -O2 -fno-strict-aliasing -pipe -m32 -march=athlon-mp -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D