From owner-freebsd-current@freebsd.org Thu Feb 25 08:46:13 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25546AB39BC for ; Thu, 25 Feb 2016 08:46:13 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 0EC3B925 for ; Thu, 25 Feb 2016 08:46:13 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: by mailman.ysv.freebsd.org (Postfix) id 0E957AB39BB; Thu, 25 Feb 2016 08:46:13 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8399AB39B9; Thu, 25 Feb 2016 08:46:12 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD4E7924; Thu, 25 Feb 2016 08:46:12 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1aYrYn-000AdT-Fm>; Thu, 25 Feb 2016 09:46:09 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (envelope-from ) id <1aYrYn-003fRp-4w>; Thu, 25 Feb 2016 09:46:09 +0100 Date: Thu, 25 Feb 2016 09:46:04 +0100 From: "O. Hartmann" To: Tommy Scheunemann Cc: Ivan Klymenko , current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: emulators/virtualbox-ose-kmod build error Message-ID: <20160225094604.12096017@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: References: <20160224220429.08bfdfde@nonamehost.local> <20160225045515.2b016ac4.ohartman@zedat.fu-berlin.de> Organization: FU Berlin X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 25 Feb 2016 08:46:13 -0000 On Thu, 25 Feb 2016 09:31:00 +0100 Tommy Scheunemann wrote: > > Am Wed, 24 Feb 2016 22:04:29 +0200 > > Ivan Klymenko schrieb: > > > >> After update from r295867 to r295994: > >> > >> ... > >> /usr/local/bin/ccache cc -O2 -pipe -march=native -fno-strict-aliasing > >> -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 > >> -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w > >> -DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64 > >> -march=native -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Iinclude -I. > >> -Ir0drv -I. -I/usr/src/sys -fno-common -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 > >> -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs > >> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > >> -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ > >> -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas > >> -Wno-error-tautological-compare -Wno-error-empty-body > >> -Wno-error-parentheses-equality -Wno-error-unused-function > >> -Wno-error-pointer-sign -Wno-error-shift-negative-value -fvectorize > >> -fslp-vectorize -fbloc ks -fcolor-diagnostics -mno-aes -mno-avx > >> -std=iso9899:1999 > >> -c /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c > >> -o memobj-r0drv-freebsd.o --- assert-r0drv-freebsd.o --- In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/assert-r0drv-freebsd.c:34: > >> In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/the-freebsd-kernel.h:39: /usr/src/sys/sys/bus.h:659:10: > >> fatal error: 'device_if.h' file not found #include "device_if.h" ^ --- > >> alloc-r0drv-freebsd.o --- In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/alloc-r0drv-freebsd.c:34: > >> In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/the-freebsd-kernel.h:39: /usr/src/sys/sys/bus.h:659:10: > >> fatal error: 'device_if.h' file not found #include "device_if.h" ^ --- > >> assert-r0drv-freebsd.o --- 1 error generated. --- initterm-r0drv-freebsd.o > >> --- In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/initterm-r0drv-freebsd.c:34: > >> In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/the-freebsd-kernel.h:39: /usr/src/sys/sys/bus.h:659:10: > >> fatal error: 'device_if.h' file not found #include "device_if.h" ^ --- > >> assert-r0drv-freebsd.o --- *** [assert-r0drv-freebsd.o] Error code 1 > >> > >> make[3]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv > >> --- initterm-r0drv-freebsd.o --- 1 error generated. > >> --- alloc-r0drv-freebsd.o --- > >> 1 error generated. > >> --- initterm-r0drv-freebsd.o --- > >> *** [initterm-r0drv-freebsd.o] Error code 1 > >> > >> make[3]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv > >> --- memobj-r0drv-freebsd.o --- In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/memobj-r0drv-freebsd.c:36: > >> In file included > >> from /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv/r0drv/freebsd/the-freebsd-kernel.h:39: /usr/src/sys/sys/bus.h:659:10: > >> fatal error: 'device_if.h' file not found #include "device_if.h" ^ > >> --- alloc-r0drv-freebsd.o --- > >> *** [alloc-r0drv-freebsd.o] Error code 1 > >> > >> make[3]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv > >> --- memobj-r0drv-freebsd.o --- 1 error generated. > >> *** [memobj-r0drv-freebsd.o] Error code 1 > >> > >> make[3]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv > >> 4 errors > >> > >> make[3]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src/vboxdrv > >> *** [all] Error code 2 > >> > >> make[2]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src > >> 1 error > >> > >> make[2]: stopped > >> in /media/da0s1/obj/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.3.36/out/freebsd.amd64/release/bin/src > >> ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and > >> rebuild before reporting the failure to the maintainer. > >> *** Error code 1 > >> > >> Stop. > >> make[1]: stopped in /usr/ports/emulators/virtualbox-ose-kmod > >> *** Error code 1 > >> > >> Stop. > >> make: stopped in /usr/ports/emulators/virtualbox-ose-kmod > >> > >> ===>>> make build failed for emulators/virtualbox-ose-kmod > >> ===>>> Aborting update > >> > >> > >> ===>>> You can restart from the point of failure with this command line: > >> portmaster emulators/virtualbox-ose-kmod > >> > >> root@nonamehost:/ # > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to > >> "freebsd-current-unsubscribe@freebsd.org" > > > > Same here ... > > > > Hi, > > try to disable ccache for building the port. Been running into the same > problem and disabling ccache fixed it. > > Kind regards Don't use ccache!