misc/111469: Can't build latest -CURRENT from scratch -- missing
directory; typo in /usr/src/Makefile.incl?
Garrett Cooper
youshi10 at u.washington.edu
Wed Apr 11 07:10:03 UTC 2007
>Number: 111469
>Category: misc
>Synopsis: Can't build latest -CURRENT from scratch -- missing directory; typo in /usr/src/Makefile.incl?
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 11 07:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 6.2-RELEASE
>Organization:
n/a
>Environment:
[root at tanaka /usr/src]# uname -a
FreeBSD tanaka 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386
>Description:
This is on a clean rebuild of 6.2-RELEASE, moving to 7-CURRENT:
Error message:
===> bin/sync (cleandir)
rm -f sync sync.o sync.8.gz sync.8.cat.gz
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> bin/test (cleandir)
rm -f test test.o test.1.gz test.1.cat.gz
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> cddl (cleandir)
cd: can't cd to /usr/src/cddl
*** Error code 2
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Directory listing:
[root at tanaka /usr/src]# ls -l /usr/src/
total 308
-rw-r--r-- 1 root wheel 6188 Dec 31 08:34 COPYRIGHT
-rw-r--r-- 1 root wheel 399 Jan 12 2006 LOCKS
-rw-r--r-- 1 root wheel 6868 Apr 6 03:57 MAINTAINERS
-rw-r--r-- 1 root wheel 11292 Apr 2 14:32 Makefile
-rw-r--r-- 1 root wheel 37388 Apr 5 19:13 Makefile.inc1
-rw-r--r-- 1 root wheel 166688 Apr 9 12:16 ObsoleteFiles.inc
-rw-r--r-- 1 root wheel 3077 Jun 6 2006 README
-rw-r--r-- 1 root wheel 30977 Apr 3 03:04 UPDATING
drwxr-xr-x 37 root wheel 1024 Apr 10 22:40 bin
drwxr-xr-x 55 root wheel 1024 Apr 10 22:46 contrib
drwxr-xr-x 5 root wheel 512 Apr 10 13:31 crypto
drwxr-xr-x 21 root wheel 2048 Apr 10 22:47 etc
drwxr-xr-x 4 root wheel 512 Apr 10 13:32 gnu
drwxr-xr-x 7 root wheel 2048 Apr 10 22:48 include
drwxr-xr-x 73 root wheel 1536 Apr 10 22:50 lib
drwxr-xr-x 33 root wheel 1024 Apr 10 22:50 libexec
drwxr-xr-x 13 root wheel 512 Apr 10 22:50 release
drwxr-xr-x 4 root wheel 512 Apr 10 13:35 rescue
drwxr-xr-x 91 root wheel 2048 Apr 10 22:50 sbin
drwxr-xr-x 6 root wheel 512 Apr 10 23:12 secure
drwxr-xr-x 25 root wheel 512 Apr 10 22:51 share
drwxr-xr-x 19 root wheel 512 Apr 8 14:10 src
drwxr-xr-x 55 root wheel 1024 Apr 10 22:58 sys
drwxr-xr-x 12 root wheel 512 Apr 10 22:58 tools
drwxr-xr-x 224 root wheel 4096 Apr 10 23:01 usr.bin
drwxr-xr-x 192 root wheel 3584 Apr 10 23:07 usr.sbin
[root at tanaka /usr/src]# find . -name "cddl" -type d
./sys/sun4v/cddl
./sys/sun4v/include/cddl
./src/sys/sun4v/cddl
./src/sys/sun4v/include/cddl
[root at tanaka /usr/src]#
>How-To-Repeat:
Try and run make buildworld on a recently checked out source; issue has been present sometime from 1.5 weeks ago (last successful build).
>Fix:
Fix typo or add directory (my guess is former item).
My guess is the error's a typo in this Makefile:
[root at tanaka /usr/src]# grep -r -A1 -B1 cddl Makefile.inc1
.if ${MK_CDDL} != "no"
SUBDIR+=cddl
.endif
--
.if ${MK_CDDL} != "no"
cd ${.CURDIR}/cddl/lib; ${LIB32WMAKE} ${_t}
.endif
--
_generic_libs= ${_cddl_lib} gnu/lib ${_kerberos5_lib} lib ${_secure_lib} usr.bi
n/lex/lib
--
.if ${MK_CDDL} != "no"
_cddl_lib= cddl/lib
.endif
[root at tanaka /usr/src]#
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list