[MacPorts] #17304: Activating perl5 5.8.8_0 failed
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@yahoo.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ When trying to install the port lablgtk2, I get the following error message: {{{ ---> Cleaning lablgtk2 ---> Activating perl5 5.8.8_0+darwin_9 Error: Activating perl5 5.8.8_0 failed: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. }}} -- Ticket URL: <http://trac.macports.org/ticket/17304> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Changes (by mcalhoun@…): * owner: macports-tickets@… => mcalhoun@… * status: new => assigned Comment: Without more information, it is difficult to know why two per5.8 packages tried to install.[[BR]] By any chance, did you upgrade to Leopard without reinstalling MacPorts?[[BR]] Otherwise, I am not sure why one has the darwin_9 variant and the other does not. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by daviwak-macports@…): Replying to [comment:1 mcalhoun@…]:
By any chance, did you upgrade to Leopard without reinstalling MacPorts?[[BR]]
I have just made a fresh installation, after deleting a previous installation as explained in Section 2.3.4 of the guide: [http://guide.macports.org/#installing.macports] Then, the first port I tried to install was lablgtk2, and I got this error message. I get it too when I try to install some of the other ports. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by mcalhoun@…): This is very strange. I would suggest uninstalling perl5.8 completely, reinstalling it, and trying again.[[BR]] Since you probably now have two perls installed, you need to use the uninstall with version number:[[BR]] {{{ port installed perl5.8 }}} You will probably see two lines.[[BR]] For each line, run the command {{{ port uninstall perl5.8 @ ... }}} where ... is the full version number (without the "(active)"). Now run {{{ port selfupdate port clean perl5.8 port install perl5.8 port install lablgtk2 }}} Let me know if this solves the problem. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by blb@…): Replying to [comment:1 mcalhoun@…]:
Without more information, it is difficult to know why two per5.8 packages tried to install.[[BR]]
It would appear to be a perl5 vs. perl5.8 problem, considering '''/opt/local/bin/a2p is being used by the active perl5.8''' and '''Activating perl5'''. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by mcalhoun@…): Replying to [comment:4 blb@…]:
It would appear to be a perl5 vs. perl5.8 problem, considering '''/opt/local/bin/a2p is being used by the active perl5.8''' and '''Activating perl5'''.
You are absolutely right.[[BR]] I don't know how I missed that. Forget all my previous advice. {{{ port uninstall perl5 port install lablgtk2 }}} Should fix the problem. It is what happened in #17115. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by daviwak-macports@…): Replying to [comment:5 mcalhoun@…]:
Should fix the problem.
It doesn't work. Although Perl5 in not active, there are other ports which depend on it! {{{ $ port installed perl5 The following ports are currently installed: perl5 @5.8.8_0+darwin_9 $ port installed perl5.8 The following ports are currently installed: perl5.8 @5.8.8_3+darwin_9 (active) $ port uninstall perl5 ---> Unable to uninstall perl5 5.8.8_0+darwin_9, the following ports depend on it: ---> intltool ---> icon-naming-utils ---> help2man ---> autoconf ---> gtk-doc ---> ghostscript ---> texi2html Error: port uninstall failed: Please uninstall the ports that depend on perl5 first. }}} I have tried to upgrade them in the hope that they would use per5.8 but I get the following result: {{{ $ sudo port upgrade help2man ---> Activating perl5 5.8.8_0+darwin_9 Error: Activating perl5 5.8.8_0 failed: Image error: /opt/local/bin/a2p is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. }}} -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by mcalhoun@…): Unfortunately, I am not an expert in the dependency tracking part of the MacPorts code,[[BR]] but there are two more things we can try: We might be running into a know [ProblemHotlist#Inactiveportcantberemovedeventhoughanewerversionisinstalled problem] in MacPorts 1.6.[[BR]] If this is the case, then we try their solution {{{ port -f uninstall perl5 port install lablgtk2 }}} If you get sick of trying these things, the brute force solution is to reinstall MacPorts, install perl5.8, and then install lablgtk2. The essence of this problem is that we are trying to transition from perl5 to perl5.8 to install /opt/local/bin/perl, and there have been a few problems along the way.[[BR]] See ##16830 for more details. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by daviwak-macports@…): Replying to [comment:7 mcalhoun@…]:
We might be running into a know
[ProblemHotlist#Inactiveportcantberemovedeventhoughanewerversionisinstalled problem] in MacPorts 1.6.[[BR]] Indeed it might be related. But I am a bit scared by the option -f. Hopefully my problem will be solved when I upgrade to version 1.7.0. Anyway my installation is working fine in spite of this error message that occurs from time to time. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ---------------------------------------+------------------------------------ Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: activating | Port: perl5 ---------------------------------------+------------------------------------ Comment(by mcalhoun@…): I am glad your installation remains functional.[[BR]] I am sorry I couldn't be more help. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ----------------------------------------+----------------------------------- Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: activating Port: perl5 | ----------------------------------------+----------------------------------- Changes (by mcalhoun@…): * status: assigned => closed * resolution: => wontfix Comment: I will close this ticked since these issues should be resolved when MacPorts 1.7.0 comes out. -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ----------------------------------------+----------------------------------- Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: activating Port: perl5 | ----------------------------------------+----------------------------------- Comment(by jeremyhu@…): I think the perl5 port should atleast add a perl5->perl5.8 symlink for now... -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ----------------------------------------+----------------------------------- Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: activating Port: perl5 | ----------------------------------------+----------------------------------- Comment(by mcalhoun@…): Replying to [comment:11 jeremyhu@…]:
I think the perl5 port should atleast add a perl5->perl5.8 symlink for now...
That is easy enough to do, and perl5 will provide ${prefix}/bin/perl5.[[BR]] Is there any particular reason to do so now? -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17304: Activating perl5 5.8.8_0 failed ----------------------------------------+----------------------------------- Reporter: daviwak-macports@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: wontfix | Keywords: activating Port: perl5 | ----------------------------------------+----------------------------------- Comment(by jeremyhu@…): Yeah, I think we should now. I'm seeing it used in some existing scripts: $ grep perl5$ /opt/local/bin/* /opt/local/bin/c_rehash:#!/opt/local/bin/perl5 -- Ticket URL: <http://trac.macports.org/ticket/17304#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts