svn commit: r474415 - in head/sysutils: . reggae

Ruslan Makhmatkhanov rm at FreeBSD.org
Wed Jul 11 06:13:49 UTC 2018


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


More information about the svn-ports-all mailing list