From owner-freebsd-questions@freebsd.org Tue Aug 2 07:42:24 2016 Return-Path: Delivered-To: freebsd-questions@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 1FFFFBAC521; Tue, 2 Aug 2016 07:42:24 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from d2ux.org (d2ux.org [5.9.151.140]) by mx1.freebsd.org (Postfix) with ESMTP id A60DA1705; Tue, 2 Aug 2016 07:42:23 +0000 (UTC) (envelope-from matthias@petermann-it.de) Received: from d2ux.org (unknown [10.0.0.4]) by d2ux.org (Postfix) with ESMTP id 8C80C66D20; Tue, 2 Aug 2016 09:42:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at d2ux.org Received: from d2ux.org ([10.0.0.4]) by d2ux.org (d2ux.org [10.0.0.4]) (amavisd-new, port 10024) with ESMTP id S9VNmiCHGMT0; Tue, 2 Aug 2016 09:42:21 +0200 (CEST) Received: from x220.local (p54B7F63C.dip0.t-ipconnect.de [84.183.246.60]) by d2ux.org (Postfix) with ESMTPSA id E964766D1B; Tue, 2 Aug 2016 09:42:20 +0200 (CEST) Subject: Re: emulators/virtualbox-ose build failure To: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= References: <7f7c15dd-4259-3037-0b20-15e9a5d2b206@petermann-it.de> Cc: ports , freebsd-questions@freebsd.org From: "Matthias Petermann (Business)" Message-ID: Date: Tue, 2 Aug 2016 09:42:17 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 07:42:24 -0000 Hello Bernhard, On 01.08.2016 14:25, Bernhard Fröhlich wrote: > On Mon, Aug 1, 2016 at 1:47 PM, Matthias Petermann (Business) > wrote: >> Hello, >> >> during the last build of my custom package repository I did experience a >> strange issue. I am using Synth, the build host is running FreeBSD >> 10.3/amd64. For the last build run, I receive an error: >> >> In file included from >> /construction/xports/emulators/virtualbox-ose/work/VirtualBox-5.0.26/src/recompiler/cpu-exec.c:30: >> /construction/xports/emulators/virtualbox-ose/work/VirtualBox-5.0.26/src/recompiler/target-i386/exec.h:41:30: >> error: global register variables are not supported >> register struct CPUX86State *env asm(AREG0); >> ^ >> (the full log is available in (1)). The closest I could find is stated >> in a posting from 2012 (2) where a similiar issue from seems to occur >> when Virtualbox is compiled with clang and not gcc. Not sure is this >> still applies today but Makefile seems still to refer --with-gcc. >> >> Some observations: >> * the build issue started when I included multimedia/kdenlive to the >> to-be-built port list >> * both ports (kdenlive and virtualbox-ose) share the Qt4 dependency >> * synth is building each port in a clean chroot, builds dependencies >> first and does a pkg install for them in the clean chroot where >> virtualbox-ose is built >> * kdenlive is built in order before virtualbox-ose, so Qt4 dependency >> build seems to be triggered from kdenlive >> >> Has anyone on this list an idea what is going wrong here? >> >> Thanks in advance & best regards, >> Matthias >> >> >> (1) https://dev.petermann-it.de/nextcloud/index.php/s/RpnDYYiyYSCjenb >> (2) http://osdir.com/ml/freebsd-emulation/2012-04/msg00108.html > The automated FreeBSD package building with poudriere produced the same error > last night for FreeBSD 10.3. > > Since about a year the port uses a mixture of clang and gcc because clang does > not support global register variables. On the other side building all > ports with clang > but only vbox with gcc created issues in KDE. > > The result are a couple of patches from jkim which are not supported > at all but use > both compilers in a mix. Might be they need to be fixed after the > update to vbox 5.0. > Thanks for the clarification. Looks like there is a temporary fix in place now: (from devel/kBuild): 01 Aug 2016 17:25:27 Revision:419443 jkim Re-add USE_GCC=any for now to fix emulators/virtualbox-ose build. Just started my builder again... Best regards, Matthias -- Matthias Petermann | www.petermann-it.de Innovative IT-Lösungen, Systemintegration, FreeBSD/Unix-Suppport Wildparkring 13, 01458 Ottendorf-Okrilla | Mobil: (0178) 523 42 22 GnuPG: 0x5C3E6D75 | 5930 86EF 7965 2BBA 6572 C3D7 7B1D A3C3 5C3E 6D75