===> $1 depends on executable: $1 - not found

Matthew Seaman matthew at FreeBSD.org
Fri Feb 3 08:27:03 UTC 2017


On 03/02/2017 06:28, Karli Sjöberg wrote:

This error:

> [release103amd64-default-job-01] Extracting rubygem-rack-protection2-
> 2.0.0.beta2: .......... done
> ===>   rubygem-sinatra2-2.0.0.beta2 depends on executable: rubygem-
> rack-protection2 - not found
> *** Error code 1

derives from this RUN_DEPENDS line:

> RUN_DEPENDS=    rubygem-rack>=2.0:www/rubygem-rack \
>                 rubygem-rack-protection2:www/rubygem-rack-protection2 \
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

The left hand side of a *_DEPENDS line is not always a package name.
Without any comparison to a version number or any fully qualified path,
it means that the ports should look for an executable
'rubygem-rack-protection2' on your path.  That doesn't exist, obviously.

To force the comparison to use the package name try:

RUN_DEPENDS= rubygem-rack>=2.0:www/rubygem-rack \
             rubygem-rack-protection2>0:www/rubygem-rack-protection2 ...

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170203/3ec9c580/attachment.sig>


More information about the freebsd-ports mailing list