Opened 9 years ago

Closed 9 years ago

#46300 closed defect (fixed)

p5.*-test-simple conflicts with p5.*-test-tester, p5.*-test-use-ok

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: dbevans (David B. Evans), kenyon@…
Port: p5-test-simple, p5-test-tester

Description

The following ports are currently installed:
  p5.16-test-simple @1.1.11_0 platform='darwin 14' archs='noarch'
  p5.16-test-tester @0.109.0_0 (active) platform='darwin 14' archs='noarch'
--->  Activating p5.16-test-simple @1.1.11_0
Error: Failed to activate p5.16-test-simple: Image error: /opt/local/lib/perl5/vendor_perl/5.16.3/Test/Tester.pm is being used by the active p5.16-test-tester port.  Please deactivate this port first, or use 'port -f activate p5.16-test-simple' to force the activation.

Change History (7)

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

Both p5-test-tester and p5-test-use-ok have been integrated into p5-test-simple as of version 1.001010. All previous dependents have been updated to use p5-test-simple instead so p5-test-tester and p5-test-use-ok can be marked obsolete replaced by p5-test-simple.

Last edited 9 years ago by dbevans (David B. Evans) (previous) (diff)

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

Summary: p5.*-test-simple conflicts with p5.*-test-testerp5.*-test-simple conflicts with p5.*-test-tester, p5.*-test-use-ok

comment:3 Changed 9 years ago by neverpanic (Clemens Lang)

The replacements need the deactivate hack in this case.

comment:4 Changed 9 years ago by kenyon@…

Cc: kenyon@… added

Cc Me!

comment:5 in reply to:  3 ; Changed 9 years ago by jmroot (Joshua Root)

Replying to cal@…:

The replacements need the deactivate hack in this case.

They actually don’t. Replaced ports are automatically deactivated if a file conflict occurs when activating the replacement.

comment:6 Changed 9 years ago by dbevans (David B. Evans)

p5-test-tester, p5-test-use-ok marked obsolete replaced by p5-test-simple in r129916.

comment:7 in reply to:  5 Changed 9 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

Replying to jmr@…:

Replying to cal@…:

The replacements need the deactivate hack in this case.

They actually don’t. Replaced ports are automatically deactivated if a file conflict occurs when activating the replacement.

Testing confirms that p5-test-tester and p5-test-use-ok are automatically deactivated when p5-test-simple is upgraded without using the hack. Thanks for pointing this out.

Note: See TracTickets for help on using tickets.