Opened 10 years ago

Closed 10 years ago

#44775 closed defect (fixed)

p5.16-class-load @0.220.0_0 needs p5.16-namespace-clean

Reported by: andreas.kahari@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: p5-class-load

Description

The current incarnation of p5.16-class-load must depend on p5.16-namespace-clean:

$ perl -MClass::Load -e 1
Can't locate namespace/clean.pm in @INC (@INC contains: ... ) at /opt/local/lib/perl5/vendor_perl/5.16.3/Class/Load.pm line 19.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.16.3/Class/Load.pm line 19.
Compilation failed in require.
BEGIN failed--compilation aborted.

$ sudo port install p5.16-namespace-clean
Password:
--->  Computing dependencies for p5.16-namespace-clean
--->  Fetching archive for p5.16-namespace-clean
--->  Attempting to fetch p5.16-namespace-clean-0.250.0_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.16-namespace-clean
--->  Attempting to fetch p5.16-namespace-clean-0.250.0_0.darwin_13.noarch.tbz2.rmd160 from http://mse.uk.packages.macports.org/sites/packages.macports.org/p5.16-namespace-clean
--->  Installing p5.16-namespace-clean @0.250.0_0
--->  Activating p5.16-namespace-clean @0.250.0_0
--->  Cleaning p5.16-namespace-clean
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.

$ perl -MClass::Load -e 1

$

Found when noticing that Moose stopped working...

Change History (2)

comment:1 Changed 10 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned

Looks like p5-namespace-clean is declared as a build dependency when it should be a library dependency.

comment:2 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

Fixed in r124606. Thanks for the ticket.

Note: See TracTickets for help on using tickets.