From owner-freebsd-ports@FreeBSD.ORG Mon Jan 13 06:32:27 2014 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 0BF053E1; Mon, 13 Jan 2014 06:32:27 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 294681827; Mon, 13 Jan 2014 06:32:26 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id l18so2401107wgh.5 for ; Sun, 12 Jan 2014 22:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version:content-type:subject :from:date:to:cc:message-id; bh=n6ms52JK7I98ilFjVUikO5rWF4KDm849DOQuJj9bGDM=; b=rxkgdnAf0P6Hci7mnDRf+c7ON0h24Lwoeeh1Jy4+banVn+mvxFxqxYbL/KsjxHCtmh km/hC2y0UaPURog1b/PRr8ZtkaBuAqO5u9qLKvGjIB3VTWaaMtu4qmYBp4fdwXO3lUOD W/NelcJmQ5kkDst1q4edM0tS480zad0U+oBLXPXXBOGM4z2y1tLh0y+TSJf1mKDExijd 9T/UY8AnF2/R5wdWpUh4FsU7qD1gwbJQDy69TABTMF4XNiWozppGWOhWu1hp1HGi8f9Z HQVrYka4/uvmN8f4XLgjK7UCiWpqJWCo1DgpPIxYAT1ipSgmtWzc21ValcLQS1CKSDdv vyig== X-Received: by 10.194.93.3 with SMTP id cq3mr20511045wjb.26.1389594744477; Sun, 12 Jan 2014 22:32:24 -0800 (PST) Received: from ?IPV6:2001:470:7b2f:0:fc9b:632f:a985:e661? ([2001:470:7b2f:0:fc9b:632f:a985:e661]) by mx.google.com with ESMTPSA id ks3sm10543495wjc.10.2014.01.12.22.32.23 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 12 Jan 2014 22:32:24 -0800 (PST) User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Subject: Re: VirtualBox 4.3.6 + FreeBSD 10 + clang, [SUCCESS] From: "Mike C." Date: Mon, 13 Jan 2014 06:32:18 +0000 To: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: Craig Rodrigues , "freebsd-emulation@freebsd.org" , ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 06:32:27 -0000 ah yes you're right, it was intencional, wrong paste. I did tough of that and tried again a few mins after and still no joy. I just turned of he pc so I'll try again tomorrow and post the full error if I get any. thanks "Bernhard Fröhlich" wrote: >This is all after the error. Please also paste the actual error. > >My first guess would be that it is a parallel build error because jkim >was >playing around with it in his tree. You could try to just call make >again >and if it resumes without error I'm right. > >Am 13.01.2014 02:36 schrieb "Miguel Clara" : >> >> I tried this approach and still get errors: >> ******************** >> kmk: *** >[/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o] >> Error 254 >> The failing command: >> @clang++ -c -O2 -g -pipe -pedantic -Wshadow -Wshadow -Wall -Wextra >> -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs >> -fdiagnostics-show-option -Wno-unused-parameter -Wno-long-long >> -Wno-long-long -Wno-delete-non-virtual-dtor -Wno-variadic-macros >> -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar >> -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer >> -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden >> -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -g -pipe >> -pedantic -Wshadow -Wshadow -Wall -Wextra >> -Wno-missing-field-initializers -Wno-trigraphs >> -fdiagnostics-show-option -Wno-unused-parameter -Wno-long-long >> -Wno-long-long -Wno-delete-non-virtual-dtor -Wno-variadic-macros >> -Wno-long-long -Wno-non-virtual-dtor -Wshadow -fshort-wchar >> -fexceptions -frtti -O2 -mtune=generic -fno-omit-frame-pointer >> -fno-strict-aliasing -fvisibility-inlines-hidden -fvisibility=hidden >> -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -m64 >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main/include >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/Main/ >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxAPIWrap >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main >> -I/usr/include -I/usr/X11R6/include -I/usr/local/include >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/string >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/xpcom >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/bin/sdk/bindings/xpcom/include/ipcd >> -I/usr/local/include/libpng >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/include >> >-I/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release >> -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_DEBUGGER >> -DRT_OS_FREEBSD -D__FREEBSD__ -DRT_ARCH_AMD64 -D__AMD64__ >> -DVBOX_WITH_HARDENING >> -DRTPATH_APP_PRIVATE=\"/usr/local/share/virtualbox-ose\" >> -DRTPATH_APP_PRIVATE_ARCH=\"/usr/local/lib/virtualbox\" >> -DRTPATH_SHARED_LIBS=\"/usr/local/lib/virtualbox\" >> -DRTPATH_APP_DOCS=\"/usr/local/share/doc/virtualbox-ose\" -DIN_RING3 >> -DUNICODE -DNDEBUG=1 -DVBOX_WITH_XPCOM -DVBOX_MAIN_SETTINGS_ADDONS >> -DIN_VMM_STATIC -DVBOX_WITH_GENERIC_SESSION_WATCHER >> -DVBOX_WITH_RAW_MODE -DVBOX_WITH_RAW_RING1 -DVBOX_WITH_NETFLT >> -DVBOX_WITH_CROGL -DVBOX_WITH_GUEST_PROPS -DVBOX_WITH_GUEST_CONTROL >> -DVBOX_WITH_USB_CARDREADER -DVBOX_WITH_HOSTNETIF_API >> -DVBOX_WITH_NEW_SYS_V_KEYGEN -DVBOX_WITH_VBOXSDL -DVBOX_WITH_HEADLESS >> -DVBOX_WITH_QTGUI -DVBOX_WITH_HGCM -DVBOX_WITH_ALSA -DVBOX_WITH_PULSE >> -DVBOX_WITH_E1000 -DVBOX_WITH_VIRTIO -DVBOX_WITH_AHCI >> -DVBOX_WITH_LSILOGIC -DVBOX_WITH_RESOURCE_USAGE_API >> -DVBOX_WITH_PDM_ASYNC_COMPLETION -DVBOX_WITH_EXTPACK -DVBOX_WITH_VUSB >> -DVBOX_WITH_S3 -DVBOX_WITH_PCI_PASSTHROUGH -DVBOX_WITH_NAT_SERVICE >> -DVBOX_WITH_USB -DVBOX_WITH_EHCI -DVBOX_WITH_NEW_USB_CODE_ON_DARWIN >> -DVBOX_WITH_HOSTNETIF_API -DVBOX_USE_LIBHAL >> >-Wp,-MD,/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o.dep >> >-Wp,-MT,/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o >> -Wp,-MP -o >/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o >> >/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/src/VBox/Main/src-server/ApplianceImpl.cpp >> kmk: *** Waiting for unfinished jobs.... >> 4 warnings generated. >> 4 warnings generated. >> 7 warnings generated. >> kmk: *** Exiting with status 2 >> *** Error code 2 >> >> >> FreeBSD-10 RC5 >> >> On Sat, Jan 11, 2014 at 2:49 AM, Craig Rodrigues > >wrote: >> > Hi, >> > >> > I had problems with the virtualbox-ose-4.22 port >> > under FreeBSD 10.0-RC5, where VirtualBox would occasionally >> > crash. >> > It looks like the mix of QT C++ libraries compiled with clang, >> > vs. the virtualbox-ose port compiled with g++46 was not a good mix >> > >> > >> > After reading this post: >> > >http://lists.freebsd.org/pipermail/freebsd-emulation/2013-December/011171.html >> > >> > I obtained Jung-uk Kim's port Makefiles for VirtualBox and >> > I managed to compile a build of VirtualBox 4.3.6 on my system which >is >not >> > crashing. >> > >> > This is what I did: >> > >> > (1) Delete the virtualbox-ose port from my system: >> > >> > pkg delete virtualbox-ose >> > pkg delete virtualbox-ose-kmod >> > >> > (2) Delete the gsoap port from my system >> > >> > pkg delete gsoap >> > >> > (3) Make sure that a valid FreeBSD src tree exists under /usr/src, >> > otherwise >> > the build will fail. >> > >> > (4) Check out jkim's tree from redports: >> > >> > mkdir -p /tmp/xy >> > cd /tmp/xy >> > svn co https://svn.redports.org/jkim >> > >> > (5) Build and install gsoap from jkim's port (you need to do this >because >> > the version of gsoap in the ports tree will result in failed >compilation): >> > >> > cd /tmp/xy/jkim/devel/gsoap >> > make >> > make install >> > >> > (6) Build and install virtualbox-ose and virtualbox-ose-kmod >ports. >> > >> > cd /tmp/xy/jkim/emulators/virtualbox-ose >> > make >> > make install >> > cd /tmp/xy/jkim/emulators/virtualbox-ose-kmod >> > make >> > make install >> > >> > >> > After doing this, I got a build of VirtualBox that: >> > -> built against clang, does not depend on g++ libraries >> > -> no need to unset QT_PLUGIN_PATH >> > -> works and doesn't crash :) >> > >> > Thank you for doing this Jung-uk, it was quite a lot of work >> > to port VirtualBox to clang! >> > >> > -- >> > Craig -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From owner-freebsd-ports@FreeBSD.ORG Mon Jan 13 06:46:40 2014 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 9FCB268F; Mon, 13 Jan 2014 06:46:40 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC58518DC; Mon, 13 Jan 2014 06:46:39 +0000 (UTC) Received: by mail-la0-f42.google.com with SMTP id n7so22900lam.1 for ; Sun, 12 Jan 2014 22:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=eul7PmRYDp937r7gIaRgkmiqPz/99RSw270Wkr/3NHs=; b=GpIA8kCmzp9I+9e19KED6vadZYjj89s+f4N5EqofcShdCWRZzNfNVlTBLtPV6ncmJT KSw0TJoLkudeGqQJd6G+tmYmz8mriZrfZStN3yopv0XdIvhmHmRgJGvxQgzpBALjRCRf /agoxZ9d57ZoOwStOx+AeCVA9ovpOpjAARsVLNbIoJ3Gh1u17S5OEaKx7EEsKMWtOUGZ 8hCkOpxxfqY5vOM2FjJkI9sLaaJ7+FVOHaC8e5lLjTbdKOJVe8B+QVLGa/xrfrrquh3c lqHXVlNuXW3Gu9C5U49wYreqgrYp5dOK12JDILYMXjgtNM7vS++IUHzJnp6YIFvI452O dZ4Q== MIME-Version: 1.0 X-Received: by 10.112.143.163 with SMTP id sf3mr9297317lbb.20.1389595598004; Sun, 12 Jan 2014 22:46:38 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.38.43 with HTTP; Sun, 12 Jan 2014 22:46:37 -0800 (PST) In-Reply-To: References: Date: Sun, 12 Jan 2014 22:46:37 -0800 X-Google-Sender-Auth: xTRBBpdxT3Wrpj-sMWDFp2W99f4 Message-ID: Subject: Re: VirtualBox 4.3.6 + FreeBSD 10 + clang, [SUCCESS] From: Craig Rodrigues To: Miguel Clara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: "freebsd-emulation@freebsd.org" , FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jan 2014 06:46:40 -0000 On Sun, Jan 12, 2014 at 5:36 PM, Miguel Clara wrote: > I tried this approach and still get errors: > ******************** > kmk: *** > [/tmp/tmp/xy/jkim/emulators/virtualbox-ose/work/VirtualBox-4.3.6/out/freebsd.amd64/release/obj/VBoxSVC/src-server/ApplianceImpl.o] > I tried the following on a second machine running 10.0-RC5 and it worked for me so you might want to try. (1) Delete some ports before starting: pkg delete virtualbox-ose pkg delete virtualbox-ose-kmod pkg delete gsoap (2) Make sure ports tree is updated: portsnap fetch portsnap extract (3) Remove a few directories: rm -fr /usr/ports/devel/gsoap rm -fr /usr/ports/emulators/virtualbox-ose* (4) Check out jkim's tree from redports: mkdir -p /tmp/xy cd /tmp/xy svn co https://svn.redports.org/jkim (5) Copy a few of jkim's ports into port tree: (cd /tmp/xy/jkim/emulators && tar -c -v -f - . ) | ( cd /usr/ports/emulators && tar -x -v -f - ) mkdir -p /usr/ports/devel/gsoap (cd /tmp/xy/jkim/devel/gsoap && tar -c -v -f - . ) | ( cd /usr/ports/devel/gsoap && tar -x -v -f - ) (6) Build: cd /usr/ports/devel/gsoap make make install cd /usr/ports/emulators/virtualbox-ose-kmod make make install /usr/ports/emulators/virtualbox-ose make make install As Bernard mentioned, give a pointer to the full build log if there is an error, not just an extract of the error message. -- Craig