From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 7 06:30:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4C1DC30B for ; Thu, 7 Nov 2013 06:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2AB242E20 for ; Thu, 7 Nov 2013 06:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rA76U13J012814 for ; Thu, 7 Nov 2013 06:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rA76U0jW012813; Thu, 7 Nov 2013 06:30:00 GMT (envelope-from gnats) Resent-Date: Thu, 7 Nov 2013 06:30:00 GMT Resent-Message-Id: <201311070630.rA76U0jW012813@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Afanasiev Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B380D24B for ; Thu, 7 Nov 2013 06:22:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A15232DEE for ; Thu, 7 Nov 2013 06:22:50 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rA76Mot4050891 for ; Thu, 7 Nov 2013 06:22:50 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rA76MoOS050884; Thu, 7 Nov 2013 06:22:50 GMT (envelope-from nobody) Message-Id: <201311070622.rA76MoOS050884@oldred.freebsd.org> Date: Thu, 7 Nov 2013 06:22:50 GMT From: Dmitry Afanasiev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/183739: emulators/virtualbox-ose-kmod fails to build on freebsd10/i386 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2013 06:30:01 -0000 >Number: 183739 >Category: ports >Synopsis: emulators/virtualbox-ose-kmod fails to build on freebsd10/i386 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 07 06:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Dmitry Afanasiev >Release: 10.0-BETA1 >Organization: >Environment: FreeBSD meow 10.0-BETA1 FreeBSD 10.0-BETA1 #1 r256449: Mon Nov 4 21:44:27 MSK 2013 root@meow:/usr/obj/i386.i386/usr/src/sys/meow i386 >Description: emulators/virtualbox-ose-kmod fails to build on freebsd10-beta1/i386: root@meow:/usr/ports/emulators/virtualbox-ose-kmod# make ===> Building for virtualbox-ose-kmod-4.2.18 cd /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18 && /bin/sh env.sh && cd /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/src/VBox/HostDrivers && VBOX_LIBPATH_X11=/usr/local VBOX_FREEBSD_SRC=/usr/src/sys /usr/local/bin/kmk HostDrivers-scripts vboxdrv-mod VBoxNetFlt-src VBoxNetAdp-src /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/crc.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: overriding recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/net.h' /usr/local/share/kBuild/footer-pass2-installs.kmk:67: warning: ignoring old recipe for target `/var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/dist/bin/src/vboxdrv/include/iprt/net.h' kmk: Nothing to be done for `HostDrivers-scripts'. kBuild: Creating - /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/obj/vboxdrv-mod/Makefile kBuild: Installing /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv/Makefile kBuild: Installing /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxnetflt/Makefile kBuild: Installing /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxnetadp/Makefile cd /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src && make SYSDIR=/usr/src/sys *** Building 'vboxdrv' module *** Warning: Object directory not changed from original /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv cc -O2 -pipe -march=k8-sse3 -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_X86 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -Iinclude -I. -Ir0drv -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -fstack-protector -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 -c SUPDrv.c In file included from SUPDrv.c:57: include/iprt/x86.h:862:1: error: "MSR_IA32_PLATFORM_ID" redefined In file included from ./machine/specialreg.h:6, from ./machine/atomic.h:37, from @/sys/systm.h:41, from @/sys/libkern.h:39, from include/iprt/string.h:67, from SUPDrvInternal.h:43, from SUPDrv.c:32: ./x86/specialreg.h:344:1: error: this is the location of the previous definition In file included from SUPDrv.c:57: include/iprt/x86.h:878:1: error: "MSR_IA32_FEATURE_CONTROL" redefined In file included from ./machine/specialreg.h:6, from ./machine/atomic.h:37, from @/sys/systm.h:41, from @/sys/libkern.h:39, from include/iprt/string.h:67, from SUPDrvInternal.h:43, from SUPDrv.c:32: ./x86/specialreg.h:348:1: error: this is the location of the previous definition In file included from SUPDrv.c:57: include/iprt/x86.h:942:1: error: "MSR_IA32_MISC_ENABLE" redefined In file included from ./machine/specialreg.h:6, from ./machine/atomic.h:37, from @/sys/systm.h:41, from @/sys/libkern.h:39, from include/iprt/string.h:67, from SUPDrvInternal.h:43, from SUPDrv.c:32: ./x86/specialreg.h:377:1: error: this is the location of the previous definition *** Error code 1 Stop. make[3]: stopped in /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src/vboxdrv *** Error code 1 Stop. make[2]: stopped in /var/ports/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-4.2.18/out/freebsd.x86/release/bin/src *** 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 I found another report for this problem: http://www.mail-archive.com/freebsd-emulation@freebsd.org/msg03191.html But! This port builds properly on FreeBSD 10.0-BETA1 r256449 on amd64 >How-To-Repeat: >Fix: I think adding to include/iprt/x86.h workarounds like this must solve problem: #ifndef MSR_IA32_PLATFORM_ID #define MSR_IA32_PLATFORM_ID 0x17 #endif >Release-Note: >Audit-Trail: >Unformatted: