From owner-freebsd-ports@freebsd.org Mon Aug 1 12:25:29 2016 Return-Path: Delivered-To: freebsd-ports@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 2A32ABA70AB for ; Mon, 1 Aug 2016 12:25:29 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ua0-x22e.google.com (mail-ua0-x22e.google.com [IPv6:2607:f8b0:400c:c08::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E22D911F9 for ; Mon, 1 Aug 2016 12:25:28 +0000 (UTC) (envelope-from decke@bluelife.at) Received: by mail-ua0-x22e.google.com with SMTP id j59so104731078uaj.3 for ; Mon, 01 Aug 2016 05:25:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=rSdlFyj9Tvr4rI8yWVsL9LVBubkvNYMVXrE8Gs9eAhE=; b=f59YHpomm3GWlauT7E2yN7CGu1q5wIlGGlr6lTVJPJPA0sS24WULXXPW0yKiv+0UDj F7VLTpr0epHFV1Dh2MGK/Df69jptEeouGtorbSSWf5yrx2MYFqqBQZsjavVbG7sa0/mS dsIFtt99aeoNwk34GTCgysdDVoUvIFyoVdwPg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=rSdlFyj9Tvr4rI8yWVsL9LVBubkvNYMVXrE8Gs9eAhE=; b=Mr/SdSvhXbg1SaXW9/PlB/8zH2pV6va/zMZg8pijofgsFBiR3Y6fu7kHknNLdKUsES sP9DWw0JINS0CtiOhUmqa3MLAszxgGvnflgF/kfIsXKR3RzxvLDZPQC99z32vWbQmZ8e LvD8tPfoHViQsd/zlApeoxF91oEd3Qi1zIKvDW/V4JEmbIzx4I72HzrKcTwhOWCAMih7 a2FbGJOnwni11zBjDWIMohyYwnoDlTXMPbrNyhq8taAjKDliPOExsXf8Wu6j2ciVhVcc yy/ba2LJG1xA/DkyXJV10nFFTqdUrB8Pn8ZPjDsDVVhyl3eXHYVbRaN9mFzpJeJKX1zY F6MA== X-Gm-Message-State: AEkoouvZl64JfCk6R0z0AlWTeIVTPa0EmqfUgZIzwA7deAYj1HqbldQOz8nYzC1wM1wkALK4abOIl6+T4CBCTA== X-Received: by 10.159.36.15 with SMTP id 15mr21386795uaq.79.1470054327599; Mon, 01 Aug 2016 05:25:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.55.169 with HTTP; Mon, 1 Aug 2016 05:25:27 -0700 (PDT) X-Originating-IP: [2001:470:701f::1] In-Reply-To: <7f7c15dd-4259-3037-0b20-15e9a5d2b206@petermann-it.de> References: <7f7c15dd-4259-3037-0b20-15e9a5d2b206@petermann-it.de> From: =?UTF-8?Q?Bernhard_Fr=C3=B6hlich?= Date: Mon, 1 Aug 2016 14:25:27 +0200 Message-ID: Subject: Re: emulators/virtualbox-ose build failure To: "Matthias Petermann (Business)" Cc: ports , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Aug 2016 12:25:29 -0000 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 err= or last night for FreeBSD 10.3. Since about a year the port uses a mixture of clang and gcc because clang d= oes 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. --=20 Bernhard Fr=C3=B6hlich http://www.bluelife.at/