Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 May 2014 22:32:26 +0200 (CEST)
From:      Melvyn Sopacua <melvyn@magemana.nl>
To:        =?ISO-8859-15?Q?Bernhard_Fr=F6hlich?= <decke@bluelife.at>
Cc:        ports <freebsd-ports@freebsd.org>, Melvyn Sopacua <melvyn@magemana.nl>
Subject:   Re: Make loosing a variable (emulators/virtualbox-ose-additions)
Message-ID:  <alpine.BSF.2.00.1405042204270.52469@fire.magemana.nl>
In-Reply-To: <CAE-m3X2q8xLYtEkHZ5dGoxjLGwveFyX-ZVLY=-LuF-sP5MPFzw@mail.gmail.com>
References:  <alpine.BSF.2.00.1405042040050.79927@fire.magemana.nl> <CAE-m3X2q8xLYtEkHZ5dGoxjLGwveFyX-ZVLY=-LuF-sP5MPFzw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Bernhard,

On Sun, 4 May 2014, Bernhard Fröhlich wrote:

> Am 04.05.2014 20:44 schrieb "Melvyn Sopacua" <melvyn@magemana.nl>:
>>
>> Hi,
>>
>> emulators/virtualbox-ose-additions always fails for me in the stage
>> installation, so today I looked a bit further:
>>
>> Bad:
>> install  -o root -g wheel -m 444
>>
> /usr/obj/ports/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.3.10/out/freebsd.amd64/release/bin/additions/vboxvideo_drv_.so
>>
> /usr/obj/ports/usr/ports/emulators/virtualbox-ose-additions/work/stage/usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
>>
>> Good:
>> install  -o root -g wheel -m 444
>>
> /usr/obj/ports/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-4.3.10/out/freebsd.amd64/release/bin/additions/vboxvideo_drv_17.so
>>
> /usr/obj/ports/usr/ports/emulators/virtualbox-ose-additions/work/stage/usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
>>
>> The difference between bad and good are the 17 missing in the shared
>> object name. The bad line is created in a clean build and the good line
>> if one invokes the install target immediately after that failed one.
>>
>> Is make really loosing a variable here or could this be a parallelization
> issue in the upstream build system?
>
> That command is part of the port makefile so it's for sure not an upstream
> bug. Sounds like the xserver version that is used there is not read
> properly in some case.

I see and makes sense (Mk/bsd.xorg.mk):
.if exists(${LOCALBASE}/bin/X)
XSERVER_VER!=   ${LOCALBASE}/bin/X -version 2>&1 | sed -n 's;^X\.Org X
Server \([^ ]*\).*;\1;p'
.endif

${LOCALBASE}/bin/X won't exist when this is evaluated, unless you cut up
the build stages into a separate make depends followed by make install.

I believe setting a default that is in sync with x11-servers/xorg-server
in bsd.xorg.mk will fix all cases, since if it doesn't exist the
dependency installed will be provided by that port and if it does, you
got the one that was installed by the user.
From owner-freebsd-ports@FreeBSD.ORG  Sun May  4 20:38:32 2014
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
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 557DC6E9;
 Sun,  4 May 2014 20:38:32 +0000 (UTC)
Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com
 [IPv6:2a00:1450:400c:c00::234])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id C3F9D1BB1;
 Sun,  4 May 2014 20:38:31 +0000 (UTC)
Received: by mail-wg0-f52.google.com with SMTP id l18so5669926wgh.11
 for <multiple recipients>; Sun, 04 May 2014 13:38:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:cc:content-type;
 bh=V3ZH7hIkX+yDh9NFdJsSajUzmFhDkjA5YtRovNEOG0E=;
 b=gJ/NLjr+p/QtMs7XqX2smr7iHpdfSquQm+3PHgRynMJSjTSJERKDh6zJG6bA9/8K9d
 LRPiUXZc71Apo/xrSncjwJcA/bsBquaOq6ihliJ7yslXyzMAuD8/3yba03gKQgeV7aUW
 djMCds21JwB1zexduZ3wad3kEjDgL6nZyoKWMgRSFhg/G/I3kUi1PaKkLqFA6m1oFhH5
 0WEjXuoHsm74i/DSwCemDrJUC3NwnqfMRnn8tGwFxYCifwjbogUSl1lwmUAArHYcHo0T
 C2W1JaJs8zqqoULMNAqvMBavth2XC1GEqh71pMS+PrSKytYgoFJy24j64GWMcu45LpB3
 mYLg==
MIME-Version: 1.0
X-Received: by 10.194.63.196 with SMTP id i4mr136298wjs.50.1399235909947; Sun,
 04 May 2014 13:38:29 -0700 (PDT)
Received: by 10.216.38.9 with HTTP; Sun, 4 May 2014 13:38:29 -0700 (PDT)
Date: Sun, 4 May 2014 22:38:29 +0200
Message-ID: <CAJ_iqtaXBmDHaRRSpK7yj94P06g=gSuma4F9HfYg19dDe1SGkg@mail.gmail.com>
Subject: Are there plans for updating OpenOCD to version 0.8.0?
From: Torfinn Ingolfsen <tingox@gmail.com>
To: FreeBSD Ports ML <freebsd-ports@freebsd.org>
Content-Type: text/plain; charset=UTF-8
Cc: skreuzer@FreeBSD.org
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/>;
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
 <mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 04 May 2014 20:38:32 -0000

Hello,
Are there plans for updating devel/openocd to version 0.8.0?

Have a nice day.
-- 
Regards,
Torfinn Ingolfsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1405042204270.52469>