Bug with multiple port: dependencies in depends_lib ?

Rainer Müller raimue at macports.org
Thu Jul 3 14:39:30 PDT 2008


Olivier Croquette wrote:
> While working on my Portfile, I made the following strange observation 
> with depends_lib and multiple ports.
> 
> If I have:
> 
>    depends_lib         port:test-qt4-mac port:git-core
> 
> Then I get:
>    Error: Dependency 'test-qt4-mac' not found.
> So far, so good.
> 
> But if I switch the ports:
> 
>    depends_lib         port:git-core port:test-qt4-mac
> 
> There is no error! It just starts fetching and building my port.
> Apparently, only the first port: is taken into consideration.
> 
> 
> According to the doc:
> http://guide.macports.org/#reference.dependencies.types
> multiple ports are allowed.
> 
> Am I doing something wrong or is there a bug?

I remember this bug. It was already fixed on trunk.

See <http://trac.macports.org/ticket/10768>

> @Rainer: this is the reason why I didn't catch the problem with "qt4" in 
> <http://trac.macports.org/ticket/15820> . Does your installation catch 
> the problem!?

I am using trunk, so it detected the non-existing dependency correctly 
on my installation.

Rainer


More information about the macports-users mailing list