From owner-freebsd-current@FreeBSD.ORG Tue Oct 28 22:56:30 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAA9F508 for ; Tue, 28 Oct 2014 22:56:30 +0000 (UTC) Received: from galore.getmail.no (galore.getmail.no [84.210.184.6]) by mx1.freebsd.org (Postfix) with ESMTP id 24F9A3B0 for ; Tue, 28 Oct 2014 22:56:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 6E3225BD4F for ; Tue, 28 Oct 2014 23:51:08 +0100 (CET) Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id CbxjP3-9EIp5 for ; Tue, 28 Oct 2014 23:51:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by galore.getmail.no (Postfix) with ESMTP id 6F7D35BD4E for ; Tue, 28 Oct 2014 23:51:04 +0100 (CET) X-Virus-Scanned: amavisd-new at galore.get.c.bitbit.net Received: from galore.getmail.no ([127.0.0.1]) by localhost (galore.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AZNXNdQuffFW for ; Tue, 28 Oct 2014 23:51:04 +0100 (CET) Received: from onyx.thanelange.no (cm-84.208.179.208.getinternet.no [84.208.179.208]) by galore.getmail.no (Postfix) with ESMTP id 455A65BD49 for ; Tue, 28 Oct 2014 23:51:04 +0100 (CET) Date: Tue, 28 Oct 2014 23:50:11 +0100 From: Gyrd Thane Lange To: freebsd-current@freebsd.org Subject: buildkernel: make[2]: exec(ctfconvert) failed (No such file or directory) Message-ID: <20141028235011.543be3ea@onyx.thanelange.no> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 22:56:30 -0000 Hi! I'm trying to build CURRENT r273800 with an empty (actually nonexisting) /etc/src.conf when it previously had contained: WITHOUT_MODULES=dtrace WITHOUT_CDDL= # uname -a FreeBSD onyx.thanelange.no 11.0-CURRENT FreeBSD 11.0-CURRENT #7 r273066M: Sun Oct 19 20:12:57 CEST 2014 root@onyx.thanelange.no:/usr/obj/usr/src/sys/ONYX amd64 # rm -rf /usr/obj/* # make buildworld buildkernel The world build succeeds fine, but the kernel build fails with: -------------------------------------------------------------- >>> stage 3.2: building everything -------------------------------------------------------------- cd /usr/obj/usr/src/sys/ONYX; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=amd64 MACHINE=amd64 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 11.0-CURRENT amd64 1100040" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " DEPFLAGS="" CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= OBJCOPY="objcopy" RANLIB=ranlib STRINGS= SIZE="size" make -m /usr/src/share/mk KERNEL=kernel all -DNO_MODULES_OBJ cc -c -x assembler-with-cpp -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror /usr/src/sys/amd64/amd64/locore.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Werror /usr/src/sys/cam/cam.c ctfconvert -L VERSION -g cam.o make[2]: exec(ctfconvert) failed (No such file or directory) *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/sys/ONYX *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src # find /usr/src/ /usr/obj -name ctfconvert -type f | xargs ls -l -rwxr-xr-x 1 root wheel 371211 Oct 28 22:06 /usr/obj/usr/src/cddl/usr.bin/ctfconvert/ctfconvert This tells me that buildworld succeeded in building the ctfconvert binary, but buildkernel is not picking up the newly built tool. Any advice on getting around this? I would prefer not having to install the new world before building and installing the new kernel. Best regards, Gyrd ^_^