svn commit: r254217 - head/sys/conf

Glen Barber gjb at FreeBSD.org
Tue Aug 13 17:13:12 UTC 2013


On Tue, Aug 13, 2013 at 11:02:17AM -0600, Ian Lepore wrote:
> It fails for me during buildworld (I haven't gotten to buildkernel yet).
> This is a cross-build of armv6 from i386, if that matters.  
> 

It looks like the build is failing in sys/boot/fdt.

===> sys/boot/fdt (installincludes)
1 error
*** Error code 2
1 error
*** Error code 2

> When I use "make -s" the build fails immediately in "building an up to
> date make" because it somehow has $DESTDIR/usr/lib/libc.a as a
> dependency for bmake/unit-tests, and clearly that isn't going to exist
> before installworld has created it (when DESTDIR is other than / which
> is always is for me).  For some reason I can't even begin to figure out,
> I don't get that error with the -s left off.
> 

Odd.  '-s' should suppress build output (similar to adding "@" to the
beginning of the Makefile command lines).

> Hrm, I just noticed I get the same bmake build error at the beginning
> with and without the -s, the difference is that without -s it ignores
> the error and keeps building.  Seems like a different bug.
> 

Yes, that is strange.

> So, leaving the make -s problems aside, a regular "make buildworld"
> results in http://people.freebsd.org/~ian/make.buildworld.log (the
> failure is around line 6178).
> 
> I don't know what's different between make with and without -s but
> perhaps it somehow toggles this problem.
> 
> BTW, I'm seeing this problem at r254281, and did not see it at r253965.
> 

At this point, I am just ready to revert all of the changes that allow
use of svnliteversion from base to determine the svn version.  In my
buildkernel, newvers.sh does correctly expand '$(realpath ${0})' to
$SYSBASE/sys/conf/newvers.sh.  I do not know why it is not the same for
the cross build.  Although, I could just call svn{,lite}version on
$SYSBASE/Makefile.

root at nucleus:/usr/src # make -j8 -s buildkernel
--------------------------------------------------------------
>>> Kernel build for NUCLEUS started on Tue Aug 13 13:09:53 EDT 2013
--------------------------------------------------------------
===> NUCLEUS
--------------------------------------------------------------
>>> stage 1: configuring the kernel
--------------------------------------------------------------
Kernel build directory is /usr/obj/usr/src/sys/NUCLEUS
Don't forget to do ``make cleandepend && make depend''
--------------------------------------------------------------
>>> stage 2.1: cleaning up the object tree
--------------------------------------------------------------
--------------------------------------------------------------
>>> stage 2.2: rebuilding the object tree
--------------------------------------------------------------
--------------------------------------------------------------
>>> stage 2.3: build tools
--------------------------------------------------------------
--------------------------------------------------------------
>>> stage 3.1: making dependencies
--------------------------------------------------------------
--------------------------------------------------------------
>>> stage 3.2: building everything
--------------------------------------------------------------
+ [ ! -z '' ]
+ [ -x /usr/bin/svnversion ]
+ [ ! -z '' ]
+ [ -x /usr/local/bin/svnversion ]
+ [ -z ]
+ realpath /usr/src/sys/conf/newvers.sh
+ /usr/local/bin/svnversion /usr/src/sys/conf/newvers.sh
+ [ 0 -eq 0 ]
+ svnversion=/usr/local/bin/svnversion
+ break
+ [ -z /usr/local/bin/svnversion ]
+ [ -x /usr/bin/p4 ]
+ [ -x /usr/local/bin/p4 ]
+ [ -d /usr/src/sys/conf/../../.git ]
+ [ -n /usr/local/bin/svnversion ]
+ cd /usr/src/sys/conf/..
+ /usr/local/bin/svnversion
+ svn=253815:254284M
+ svn=' r253815:254284M'
+ [ -n '' ]
+ [ -n '' ]
+ cat
+ echo 159
linking kernel.debug
text    data     bss     dec     hex filename
9082608 1113780 1035592 11231980         ab62ec kernel.debug
--------------------------------------------------------------
>>> Kernel build for NUCLEUS completed on Tue Aug 13 13:11:49 EDT 2013
--------------------------------------------------------------

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20130813/924ab7a4/attachment.sig>


More information about the svn-src-all mailing list