| Summary: | Can't build latest -CURRENT from scratch -- missing directory; typo in /usr/src/Makefile.incl? | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Enji Cooper <ngie> |
| Component: | misc | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 6.2-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->closed You did not checkout a correct version of HEAD (/-CURRENT) since the cddl information -is- there (check the cvsweb to see it for yourself). Please try to do a full fresh checkout for -CURRENT and retry. Also note that this is not yet a bug, even if the stuff still fails for you. Please ask hackers@ or questions@ if you need more information to setup the correct ways. If it is then found to be a real bug, please contact me to reopen the ticket. |
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@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@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@tanaka /usr/src]# Fix: Fix typo or add directory (my guess is former item). My guess is the error's a typo in this Makefile: [root@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@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).