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

Karli Sjöberg karli.sjoberg at gmail.com
Fri Feb 3 06:28:08 UTC 2017


Hello!

(Sent this mail out yesterday but saw that our exchange server had
base64 encoded it, so trying again with my gmail account.)

This is concerning PR 212420. I want to test making new ports for
rubygems sinatra, rack-protection and mustermann, where the existing
ports have lower versions, and I´d like to have them with a higher
version number. Kind of like 'ruby22' vs. 'ruby23'.

I have taken copies of the existing ports, modified them to match the
new versions and made sure to edit to size and hash in their 'distinfo'
files.

'rubygem-mustermann1' and 'rubygem-rack-protection2' (as I have called
them) both build OK but 'rubygem-sinatra2' does not, and I can´t figure
out what the problem is. This is what the error looks like building
with poudriere:
=======================<phase: run-
depends    >============================
===>   rubygem-sinatra2-2.0.0.beta2 depends on package: rubygem-
rack>=2.0 - not found
===>   Installing existing package /packages/All/rubygem-rack-
2.0.1,3.txz
[release103amd64-default-job-01] Installing rubygem-rack-2.0.1,3...
[release103amd64-default-job-01] Extracting rubygem-rack-2.0.1,3:
.......... done
===>   rubygem-sinatra2-2.0.0.beta2 depends on package: rubygem-
rack>=2.0 - found
===>   Returning to build of rubygem-sinatra2-2.0.0.beta2
===>   rubygem-sinatra2-2.0.0.beta2 depends on executable: rubygem-
rack-protection2 - not found
===>   Installing existing package /packages/All/rubygem-rack-
protection2-2.0.0.beta2.txz
[release103amd64-default-job-01] Installing rubygem-rack-protection2-
2.0.0.beta2...
[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

Stop.

This is what my 'rubygem-sinatra2' Makefile looks like:
######################################################################
PORTNAME=       sinatra
PORTVERSION=    2.0.0.beta2
CATEGORIES=     www rubygems
MASTER_SITES=   RG
PKGNAMESUFFIX=  2

MAINTAINER=     ruby at FreeBSD.org
COMMENT=        Classy web development framework in ruby

LICENSE=        MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    rubygem-rack>=2.0:www/rubygem-rack \
                rubygem-rack-protection2:www/rubygem-rack-protection2 \
                mustermann:devel/rubygem-mustermann1 \
                rubygem-tilt>=2.0:devel/rubygem-tilt

NO_ARCH=        yes
USE_RUBY=       yes
USES=           gem

.include <bsd.port.mk>
######################################################################

The other ports are made in a similar fashion. This is my first attempt
at making ports so please excuse my ignorance, but I believe I have
studied how other "suffix" packages look like, "rubygem-rack1{4,5,6}
e.g. and it feels like this should work. I have tried several different
formats to it's RUN_DEPENDS, like:
rubygem-rack-protection2:www/rubygem-rack-protection2
rubygem-rack-protection:www/rubygem-rack-protection2
rack-protection2:www/rubygem-rack-protection2
rack-protection:www/rubygem-rack-protection2

The error is always the same.

What am I missing here? Why does it find and install the package I´ve
made, and still won´t accept it´s there?

PS. Please make sure to CC me directly as I´m not registered to this
list.

Best Regards
Karli Sjöberg


More information about the freebsd-ports mailing list