Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11469 closed defect (fixed)

BUG: py-ldap uses depends_lib instead of depends_lib-append, throwing away python24 dependency

Reported by: ludwig@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version:
Keywords: python py-ldap Cc: ludwig@…
Port:

Description

py-ldap depends on python24, but does not state so in its portfile:

castellio:~ cludwig$ port deps py-ldap
py-ldap has library dependencies on:
        openldap
        openssl
        cyrus-sasl2

The only indication in the portfile that python24 is required is the PortGroup entry:

castellio:~ cludwig$ port cat py-ldap | grep 'python24'
PortGroup python24 1.0

Change History (10)

comment:1 Changed 17 years ago by pipping@…

Priority: ExpectedNice to have
Version: 1.3.21.4

every port that's in PortGroup python24 depends on python2.4 as can be seen in the groupfile:

http://svn.macports.org/repository/macports/trunk/base/src/port1.0/resources/group/python24-1.0.tcl

set python.bin ${prefix}/bin/python2.4 depends_lib path:${python.bin}:python24

'port deps' should probably indicate that, though

comment:2 Changed 17 years ago by pipping@…

Milestone: Available Ports

comment:3 Changed 17 years ago by pipping@…

Component: portsbase
Milestone: Available PortsMacPorts 1.5
Priority: Nice to haveExpected
Resolution: wontfix
severity: NormalOther
Status: newclosed

comment:4 Changed 17 years ago by jmpp@…

Milestone: MacPorts 1.5Available Ports
Priority: ExpectedNice to have
Resolution: wontfix
Status: closedreopened
Summary: missing dependency on python24 in py-ldap"port deps" should list dependencies implied by corresponding PortGroup's

comment:5 Changed 17 years ago by jmpp@…

Milestone: Available PortsNeeds developer review

comment:6 Changed 17 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: reopenedclosed

This was actually a problem with the py-ldap port itself - it was using depends_lib instead of depends_lib-append so it was blowing away the python24 dependency.

Fixed in r26037.

comment:7 Changed 17 years ago by jmpp@…

Milestone: Needs developer reviewMacPorts base bugs

Milestone Needs developer review deleted

comment:8 Changed 17 years ago by nox@…

Priority: Nice to haveLow
Summary: "port deps" should list dependencies implied by corresponding PortGroup'sBUG: "port deps" should list dependencies implied by corresponding PortGroup's

comment:9 Changed 17 years ago by nox@…

Component: baseports
Milestone: MacPorts base bugsPort Bugs
Summary: BUG: "port deps" should list dependencies implied by corresponding PortGroup'sBUG: py-ldap uses depends_lib instead of depends_lib-append, throwing away python24 dependency
Version: 1.4

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.