From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 1 18:10:04 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D5F71065676 for ; Sun, 1 Nov 2009 18:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E750E8FC20 for ; Sun, 1 Nov 2009 18:10:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA1IA30B013655 for ; Sun, 1 Nov 2009 18:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA1IA3Gg013654; Sun, 1 Nov 2009 18:10:03 GMT (envelope-from gnats) Resent-Date: Sun, 1 Nov 2009 18:10:03 GMT Resent-Message-Id: <200911011810.nA1IA3Gg013654@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, Hubert Tournier Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C29B106566C for ; Sun, 1 Nov 2009 18:07:30 +0000 (UTC) (envelope-from hubert@tournier.org) Received: from sd-15237.dedibox.fr (sd-15237.dedibox.fr [88.191.73.212]) by mx1.freebsd.org (Postfix) with ESMTP id E781B8FC1D for ; Sun, 1 Nov 2009 18:07:29 +0000 (UTC) Received: by sd-15237.dedibox.fr (Postfix, from userid 0) id F173B3F6CC; Sun, 1 Nov 2009 17:44:18 +0000 (UTC) Message-Id: <20091101174418.F173B3F6CC@sd-15237.dedibox.fr> Date: Sun, 1 Nov 2009 17:44:18 +0000 (UTC) From: Hubert Tournier To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: hubert@tournier.org Subject: ports/140171: virtualbox port build error since 3.0.51.r22902 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hubert Tournier List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Nov 2009 18:10:04 -0000 >Number: 140171 >Category: ports >Synopsis: virtualbox port build error since 3.0.51.r22902 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 01 18:10:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Hubert Tournier >Release: FreeBSD 7.2-RELEASE-p4 i386 >Organization: Chuck's corner >Environment: Happens on all the machines that I have (both physical and virtual), with all FreeBSD versions that I use (7.2p4 i386 and amd64, 8.0RC2 i386), even with freshly installed systems with default release configuration (no make.conf). virtualbox port options: WITHOUT_QT4=true WITHOUT_DEBUG=true WITHOUT_GUESTADDITIONS=true WITH_DBUS=true WITHOUT_PULSEAUDIO=true WITHOUT_X11=true WITHOUT_NLS=true Example physical configuration (machine 1): CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (2833.03-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 Features=0xbfebfbff Features2=0x408e3fd,XSAVE> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 vgapci0: port 0xdc00-0xdc07 mem 0xfe400000-0xfe7fffff,0xd0000000-0xdfffffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 65532k stolen memory agp0: aperture size is 256M vgapci1: mem 0xfea00000-0xfeafffff at device 2.1 on pci0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Example physical configuration (machine 2): CPU: Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz (2166.84-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 vgapci0: port 0xec00-0xec07 mem 0xffa80000-0xffafffff,0xe0000000-0xefffffff,0xffa40000-0xffa7ffff irq 16 at device 2.0 on pci0 vgapci1: mem 0xff980000-0xff9fffff at device 2.1 on pci0 >Description: Since the 3.0.51.r22902 (september, 13) version of virtualbox port, build crashes near the end, while testing device struct sizes (on VGASTATE). It worked fine with earlier versions on the same machines. A full trace is available there: http://www.frbsd.org/dist/vb/trace.txt.7z >How-To-Repeat: I provide a VirtualBox virtual machine with FreeBSD 8.0RC2 installed where this problem happens, there: http://www.frbsd.org/dist/vb/freebsd8rc2.vdi.7z (circ 700 MB) >Fix: No fix but a workaround: using the package instead of the port. --- trace.txt begins here --- freebsd# make install clean [...] kBuild: Pass - Other Stuff kmk[1]: Entering directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk[2]: Entering directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.x86/release/bin/testcase/tstAsmStructs [...] /usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.x86/release/bin/testcase/tstDeviceStructSize tstDeviceStructSize: TESTING sizeof(uint128_t): 0x10 (16) sizeof(int128_t): 0x10 (16) sizeof(uint64_t): 0x8 (8) sizeof(int64_t): 0x8 (8) sizeof(uint32_t): 0x4 (4) sizeof(int32_t): 0x4 (4) sizeof(uint16_t): 0x2 (2) sizeof(int16_t): 0x2 (2) sizeof(uint8_t): 0x1 (1) sizeof(int8_t): 0x1 (1) VGASTATE::Dev offset=0x11dcc (73164) expected alignment 8, meaning 0x4 (4) off VGASTATE::StatRZMemoryRead offset=0x11fdc (73692) expected alignment 8, meaning 0x4 (4) off tstDeviceStructSize: Comparing HC and GC... sizeof(PDMDEVINS): 0x88 (136) sizeof(PCIDEVICE): 0x210 (528) sizeof(PCIDEVICEINT): 0x94 (148) sizeof(PCIIOREGION): 0x10 (16) sizeof(PIIX3State): 0x210 (528) sizeof(PCIBUS): 0x63c (1596) sizeof(PCIGLOBALS): 0x8a0 (2208) sizeof(VGASTATE): 0x124b4 (74932) sizeof(KBDQueue): 0x10c (268) sizeof(MouseCmdQueue): 0x14 (20) sizeof(MouseEventQueue): 0x10c (268) sizeof(KBDState): 0x330 (816) sizeof(PCNetState): 0x2568 (9576) sizeof(ACPIState): 0x12c0 (4800) sizeof(PicState): 0x20 (32) sizeof(DEVPIC): 0x58 (88) sizeof(PITChannelState): 0x50 (80) sizeof(PITState): 0x130 (304) sizeof(RTCState): 0x10c (268) sizeof(APICState): 0xd4 (212) sizeof(APICDeviceInfo): 0x40 (64) sizeof(IOAPICState): 0xe0 (224) sizeof(BMDMAState): 0x8 (8) sizeof(BMDMADesc): 0x8 (8) sizeof(ATADevState): 0x204 (516) sizeof(ATATransferRequest): 0xc (12) sizeof(ATAAbortRequest): 0x2 (2) sizeof(ATARequest): 0x10 (16) sizeof(ATACONTROLLER): 0x5b0 (1456) sizeof(PCIATAState): 0xd84 (3460) sizeof(ParallelState): 0xf0 (240) sizeof(SerialState): 0xf8 (248) sizeof(AHCIATADevState): 0x1a4 (420) sizeof(AHCIATATransferRequest): 0xc (12) sizeof(AHCIATAAbortRequest): 0x2 (2) sizeof(AHCIATARequest): 0x10 (16) sizeof(AHCIATACONTROLLER): 0x4e8 (1256) sizeof(AHCIPort): 0x208 (520) sizeof(AHCI): 0x49fc (18940) sizeof(EEPROM93C46): 0x94 (148) sizeof(E1KSTATE): 0x4b54 (19284) sizeof(VBOXSCSI): 0x28 (40) sizeof(BUSLOGICDEVICE): 0x3c (60) sizeof(BUSLOGIC): 0x7a4 (1956) sizeof(LSILOGICDEVICE): 0x38 (56) sizeof(LSILOGICSCSI): 0xeec (3820) tstDeviceStructSize: FAILURE - 2 errors kmk[2]: *** [/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902/out/freebsd.x86/release/obj/Devices/testcase/tstDeviceStructSize.run] Error 2 kmk[2]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk[1]: *** [pass_others_this] Error 2 kmk[1]: Leaving directory `/usr/ports/emulators/virtualbox/work/virtualbox-3.0.51r22902' kmk: *** [pass_others_order] Error 2 *** Error code 2 Stop in /usr/ports/emulators/virtualbox. *** Error code 1 Stop in /usr/ports/emulators/virtualbox. --- trace.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted: