Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 09:11:39 +0300
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        Mathieu Arnold <mat@FreeBSD.org>, Ruslan Makhmatkhanov <rm@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r474415 - in head/sysutils: . reggae
Message-ID:  <f8914c0a-d18a-26d5-19d0-504b18862900@FreeBSD.org>
In-Reply-To: <20180710223008.t4c2rqh45s2244xg@atuin.in.mat.cc>
References:  <201807102220.w6AMKbGk045380@repo.freebsd.org> <20180710223008.t4c2rqh45s2244xg@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
Mathieu Arnold wrote on 07/11/2018 01:30:
> On Tue, Jul 10, 2018 at 10:20:37PM +0000, Ruslan Makhmatkhanov wrote:
>> +RUN_DEPENDS=	${LOCALBASE}/bin/cbsd:sysutils/cbsd \
> 
> I could not find a cbsd executable in the base system, any reason you
> added `${LOCALBASE}/bin/` here?  Or maybe the software requires that
> file to be present, not to execute it but to use in some other way?
> 

LOCALBASE has nothing to do with a base system, but cbsd executable 
installs into bin/cbsd under LOCALBASE. The reasoning of this change is 
explained in commit message and PR follow-ups. For some reason 
dependency line from original submission doesn't work in poudriere:

RUN_DEPENDS=	cbsd:sysutils/cbsd

fails with

=======================<phase: stage          >============================
===>  Staging for reggae-0.0.10
===>   reggae-0.0.10 depends on executable: cbsd - not found
===>   Installing existing package /packages/All/cbsd-11.2.0.txz
pkg-static: Insufficient privileges to add packages
*** Error code 77

and changing it to

RUN_DEPENDS=	${LOCALBASE}/bin/cbsd:sysutils/cbsd

helped. I googled for it and it seems like dependency problem indeed. If 
I comment off cbsd dependency at all, everything is work as expected. 
But I failed to realize what's wrong with cbsd dependency and used this 
as workaround.

-- 
Regards,
Ruslan

T.O.S. Of Reality



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8914c0a-d18a-26d5-19d0-504b18862900>