I want to upgrade to python24 @2.4.4_1, but I get the following error: prunille:~> sudo port -v -d upgrade python24 DEBUG: Found port in file:///Users/vinc17/software/dports/lang/python24 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate_dports/lang/python24 ---> Activating python24 2.4.4_0+darwin_8 DEBUG: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active. while executing "portimage::activate $portname $version_installed$variant $optionslist" Error: Activating python24 2.4.4_0 failed: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active. Adding @2.4.4_1 doesn't change anything. Anyone knows what's wrong? A bug in "port upgrade"? FYI: prunille:~> port installed python24 The following ports are currently installed: python24 @2.4.3_1+darwin_8 (active) python24 @2.4.4_0+darwin_8 prunille:~> port info python24 Warning: Found 2 port python24 definitions, displaying first one. python24 2.4.4, Revision 1, lang/python24 (Variants: universal, puredarwin, darwin_8) http://www.python.org/ Python is an interpreted, interactive, object-oriented programming language. Library Dependencies: gettext Platforms: darwin Maintainers: mww@macports.org prunille:~> port version Version: 1.442 The PortIndex file is up-to-date. -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
2.4.4_1 has a modified patch for setup.py so that the _locale module gets built. This was a bug of revision 0. But even if there was no change in the port at all you should still be able to upgrade. So probably this doesn't have anything to do with the python port. Jann Vincent Lefevre wrote:
I want to upgrade to python24 @2.4.4_1, but I get the following error:
prunille:~> sudo port -v -d upgrade python24 DEBUG: Found port in file:///Users/vinc17/software/dports/lang/python24 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate_dports/lang/python24 ---> Activating python24 2.4.4_0+darwin_8 DEBUG: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active. while executing "portimage::activate $portname $version_installed$variant $optionslist" Error: Activating python24 2.4.4_0 failed: Image error: Another version of this port (python24 @2.4.3_1+darwin_8) is already active.
Adding @2.4.4_1 doesn't change anything. Anyone knows what's wrong? A bug in "port upgrade"?
FYI:
prunille:~> port installed python24 The following ports are currently installed: python24 @2.4.3_1+darwin_8 (active) python24 @2.4.4_0+darwin_8 prunille:~> port info python24 Warning: Found 2 port python24 definitions, displaying first one. python24 2.4.4, Revision 1, lang/python24 (Variants: universal, puredarwin, darwin_8) http://www.python.org/
Python is an interpreted, interactive, object-oriented programming language.
Library Dependencies: gettext Platforms: darwin Maintainers: mww@macports.org prunille:~> port version Version: 1.442
The PortIndex file is up-to-date.
On 2007-05-21 15:39:41 -0700, Jann Röder wrote:
2.4.4_1 has a modified patch for setup.py so that the _locale module gets built. This was a bug of revision 0. But even if there was no change in the port at all you should still be able to upgrade. So probably this doesn't have anything to do with the python port.
It seems to be a bug in "port". I've reported it here: http://trac.macports.org/projects/macports/ticket/12013 -- Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
On May 21, 2007, at 3:19 AM, Vincent Lefevre wrote:
I want to upgrade to python24 @2.4.4_1, but I get the following error:
so do I, but I get a different error: . . . DEBUG: Adding link to file_map: /opt/local/Library/Frameworks/ Python.framework/Versions/2.4/bin/smtpd.py for: python24 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/ Python.framework/Versions/2.4/bin/smtpd2.4.py for: python24 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/ Python.framework/Versions/2.4/include/python2.4/Python-ast.h for: python24 Error: Target com.apple.install returned: Not a directory Warning: the following items did not execute (for python24): com.apple.install Error: Status 1 encountered during processing. There's a symlink in /opt/local/Library/Frameworks/Python.framework/ Versions/2.4/include/python2.4 that points to /opt/local/include/ python2.4 which I don't appear to have on my system (although that might not be the problem). Anyone else see this? There have been a bunch of recent changes to the python24 port lately, so I'm not sure what change may have caused this. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
I don't get this error, but regarding this link you were talking about, have a look at this ticket: http://trac.macports.org/projects/macports/ticket/11996 . For now I just removed the code for the link to the include directory, since it was not working anyway. So at the moment there are two include/python2.4 directories. One in the framework and one in /opt/local/include, this is the same as for the site-packages. See this post: http://article.gmane.org/gmane.os.apple.macports.user/3053 I think that modules shouldn't install anything inside the python framework. Jann Daniel J. Luke wrote:
On May 21, 2007, at 3:19 AM, Vincent Lefevre wrote:
I want to upgrade to python24 @2.4.4_1, but I get the following error:
so do I, but I get a different error:
. . . DEBUG: Adding link to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/smtpd.py for: python24 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/smtpd2.4.py for: python24 DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/Python-ast.h for: python24 Error: Target com.apple.install returned: Not a directory Warning: the following items did not execute (for python24): com.apple.install Error: Status 1 encountered during processing.
There's a symlink in /opt/local/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4 that points to /opt/local/include/python2.4 which I don't appear to have on my system (although that might not be the problem).
Anyone else see this? There have been a bunch of recent changes to the python24 port lately, so I'm not sure what change may have caused this.
-- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
participants (3)
-
Daniel J. Luke
-
Jann Röder
-
Vincent Lefevre