I installed MacPorts-1.5.0.pkg, did a self-update, then did port install firefox-x11 After installing several ports, it aborted with: ---> Activating p5-pathtools 3.25_0 Error: Target org.macports.activate returned: Image error: /opt/local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. Error: The following dependencies failed to build: gnome-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-test-simple p5-test-harness p5-xml-namespacesupport p5-xml-sax p5-xml-parser gnome-vfs dbus docbook-xml-4.1.2 xmlcatmgr libxml2 xmlto docbook-xml-4.2 docbook-xsl getopt libxslt dbus-glib gconf gtk2 atk gtk-doc scrollkeeper docbook-xml docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 jpeg pango Xft2 xorg-xproto xorg-util-macros tiff intltool orbit2 libidl gnome-mime-data howl neon openssl zip Error: Status 1 encountered during processing. Presumably this should not happen. There was no /opt/local before I started, so it can't be some stale port. -- Richard
On 12.12.2007, at 13:21, Richard Tobin wrote:
I installed MacPorts-1.5.0.pkg, did a self-update, then did
port install firefox-x11
After installing several ports, it aborted with:
---> Activating p5-pathtools 3.25_0 Error: Target org.macports.activate returned: Image error: /opt/ local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation. Error: The following dependencies failed to build: gnome-icon-theme icon-naming-utils p5-getopt-long p5-pathtools p5-xml-simple p5-test- simple p5-test-harness p5-xml-namespacesupport p5-xml-sax p5-xml- parser gnome-vfs dbus docbook-xml-4.1.2 xmlcatmgr libxml2 xmlto docbook-xml-4.2 docbook-xsl getopt libxslt dbus-glib gconf gtk2 atk gtk-doc scrollkeeper docbook-xml docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 jpeg pango Xft2 xorg-xproto xorg-util-macros tiff intltool orbit2 libidl gnome-mime-data howl neon openssl zip Error: Status 1 encountered during processing.
Presumably this should not happen.
There was no /opt/local before I started, so it can't be some stale port.
Then it probably is a bug -- I've cc'ed Daniel, he probably knows best what this could be as he is the maintainer of "p5-pathtools". Regards, -Markus --- Dipl. Inf. (FH) Markus W. Weissmann http://www.mweissmann.de/ http://www.macports.org/
On Dec 12, 2007, at 7:26 AM, Weissmann Markus wrote:
After installing several ports, it aborted with:
---> Activating p5-pathtools 3.25_0 Error: Target org.macports.activate returned: Image error: /opt/ local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
Then it probably is a bug -- I've cc'ed Daniel, he probably knows best what this could be as he is the maintainer of "p5-pathtools".
The p5-pathtools needs to overwrite the older pathtools that come with perl5.8 in order to be found (perl searches the vendor location last by default, and the perl community consensus is that this is the appropriate way to upgrade modules that ship with perl). To that end, p5-pathtools would have printed out: "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port" You can run `sudo port -f install p5-pathtools` and then try installing firefox-x11 again and it should work. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Dec 12, 2007, at 08:23, Daniel J. Luke wrote:
On Dec 12, 2007, at 7:26 AM, Weissmann Markus wrote:
After installing several ports, it aborted with:
---> Activating p5-pathtools 3.25_0 Error: Target org.macports.activate returned: Image error: /opt/ local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used by the active perl5.8 port. Please deactivate this port first, or use the -f flag to force the activation.
Then it probably is a bug -- I've cc'ed Daniel, he probably knows best what this could be as he is the maintainer of "p5-pathtools".
The p5-pathtools needs to overwrite the older pathtools that come with perl5.8 in order to be found (perl searches the vendor location last by default, and the perl community consensus is that this is the appropriate way to upgrade modules that ship with perl).
To that end, p5-pathtools would have printed out:
"You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port"
You can run `sudo port -f install p5-pathtools` and then try installing firefox-x11 again and it should work.
So that this doesn't force a rebuild of perl5.8 as well, you should recommend sudo port -nf install p5-pathtools instead.
On Dec 12, 2007, at 6:08 PM, Ryan Schmidt wrote:
You can run `sudo port -f install p5-pathtools` and then try installing firefox-x11 again and it should work.
So that this doesn't force a rebuild of perl5.8 as well, you should recommend
sudo port -nf install p5-pathtools
instead.
That's not correct. Running sudo port -f install p5-pathtools will not force a rebuild of an already installed perl5.8 port (I just tested it to verify). -n is only valid for the upgrade target, anyway (and is documented as such in the manpage). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
On Dec 12, 2007, at 21:04, Daniel J. Luke wrote:
On Dec 12, 2007, at 6:08 PM, Ryan Schmidt wrote:
You can run `sudo port -f install p5-pathtools` and then try installing firefox-x11 again and it should work.
So that this doesn't force a rebuild of perl5.8 as well, you should recommend
sudo port -nf install p5-pathtools
instead.
That's not correct.
Running sudo port -f install p5-pathtools will not force a rebuild of an already installed perl5.8 port (I just tested it to verify).
-n is only valid for the upgrade target, anyway (and is documented as such in the manpage).
Oop, you're right, I was remembering this bug http://trac.macports.org/projects/macports/ticket/12989 incorrectly. Sorry for the false alarm.
participants (4)
-
Daniel J. Luke
-
Richard Tobin
-
Ryan Schmidt
-
Weissmann Markus