Opened 14 years ago

Closed 14 years ago

#26531 closed defect (fixed)

Perl dependency problem upgradind coreutils

Reported by: ClintO (Clint O) Owned by: ghosthound
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: perl5.8, perl5.10

Description

I thought I had fixed these collisions with Perl 5.8. I have 5.10 installed and I would as much as possible like to avoid having anything 5.8 installed due to this kind of problem:

Change History (6)

comment:1 Changed 14 years ago by ClintO (Clint O)

Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2p is being used by the active perl5.10 port.  Please deactivate this port first, or use 'port -f activate perl5.8' to force the activation.
Log for perl5.8 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log
Error: Problem while installing perl5.8
To report a bug, see <http://guide.macports.org/#project.tickets>
poly:Downloads clint$ less /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun@… added
Owner: changed from macports-tickets@… to ricci@…
Port: perl5.8 perl5.10 added

comment:3 Changed 14 years ago by jmroot (Joshua Root)

You haven't indicated what command you actually ran, so it's not at all clear whether there is even a bug here. Coreutils doesn't appear to depend on perl at all.

comment:4 Changed 14 years ago by ClintO (Clint O)

I ran port upgrade outdated. One of these ports must be requesting perl5.8?

gtk-nodoka-engine              @0.7.5          x11/gtk-nodoka-engine
libcroco                       @0.6.2          gnome/libcroco
py25-gobject                   @2.21.5         python/py25-gobject
py26-gobject                   @2.21.5         python/py26-gobject

I don't know the port commands all that well to help diagnose what's going on here:

poly:Downloads clint$ sudo port upgrade outdated
--->  Computing dependencies for perl5.8
--->  Installing perl5.8 @5.8.9_3
--->  Activating perl5.8 @5.8.9_3
Error: Target org.macports.activate returned: Image error: /opt/local/bin/a2p is being used by the active perl5.10 port.  Please deactivate this port first, or use 'port -f activate perl5.8' to force the activation.
Log for perl5.8 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_perl5.8/main.log
Error: Problem while installing perl5.8

comment:5 Changed 14 years ago by ClintO (Clint O)

I messed around with the ports. It seems that for perl5 the perl5_10 variant was not installed. I'm not sure how that happened. I noticed that gettext had a dependency to perl5 which then pointed to 5.8.9. I uninstalled this and then installed the variant that agreed with all the other perl's I have installed and things seem to be working:

$ port installed | grep perl
  perl5 @5.10.1_0
  perl5 @5.10.1_0+perl5_10 (active)
  perl5.10 @5.10.1_1+darwin (active)

So, I guess this is resolved? Does this look right to you?

Thanks,

-Clint

comment:6 Changed 14 years ago by ghosthound

Resolution: fixed
Status: newclosed

Likely to be resolved in r76485, please re-open if it is not.

Note: See TracTickets for help on using tickets.