Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23281 closed defect (invalid)

Unable to activate port python26

Reported by: pbfuddle@… Owned by: blb@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), nox@…
Port: python26

Description (last modified by blb@…)

It seemed to dl dependences forever, then I got the following:

sudo port install -d scite 
--->  Computing dependencies for scite
--->  Activating python26 @2.6.4_0+darwin
Error: The following dependencies failed to build: gtk2 atk gtk-doc gnome-doc-utils py26-libxml2 python26 rarian getopt intltool gnome-common p5-getopt-long p5-pathtools p5-scalar-list-utils cairo libpixman libpng jasper jpeg pango shared-mime-info tiff xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto
Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Attachments (1)

SciTEdebug.doc (166.0 KB) - added by pbfuddle@… 15 years ago.
I finally got the -d in the right place

Download all attachments as: .zip

Change History (19)

Changed 15 years ago by pbfuddle@…

Attachment: SciTEdebug.doc added

I finally got the -d in the right place

comment:1 Changed 15 years ago by pbfuddle@…

I installed Xcode 3.1.3 last night, so I anticipate that it is current and all necessary files are present. PBF

comment:2 Changed 15 years ago by pbfuddle@…

AND I had installed SciTE and had it running. I thought that there was something wrong, first ticket submitted. All the above started when I tried to port it again. pbf~

comment:3 Changed 15 years ago by blb@…

Description: modified (diff)
Owner: changed from macports-tickets@… to nox@…
Port: scite added

For 10.5, the latest Xcode is actually 3.1.4 though I doubt that's the issue here.

What is the output from the following?

$ port installed python26

comment:4 in reply to:  3 ; Changed 15 years ago by pbfuddle@…

I had a heck of a time finding 3.1.3, where is 3.1.4? OUTPUT IS: Last login: Wed Jan 13 19:42:00 on ttys000 c-98-198-70-150:~ trav$ port installed python26 The following ports are currently installed:

python26 @2.6.4_0+darwin

Replying to blb@…:

For 10.5, the latest Xcode is actually 3.1.4 though I doubt that's the issue here.

What is the output from the following?

$ port installed python26

comment:5 in reply to:  4 ; Changed 15 years ago by blb@…

Replying to pbfuddle@…:

I had a heck of a time finding 3.1.3, where is 3.1.4?

Have a look at the FAQ entry on upgrading Xcode, see if that helps.

OUTPUT IS: Last login: Wed Jan 13 19:42:00 on ttys000 c-98-198-70-150:~ trav$ port installed python26 The following ports are currently installed:

python26 @2.6.4_0+darwin

That's what I was suspecting; how about this?

$ sudo port -d activate python26

comment:6 in reply to:  5 ; Changed 15 years ago by pbfuddle@…

Here is what I got. So is python26 the root cause of all this?

---> Activating python26 DEBUG: Image error: /Applications/MacPorts/Python 2.6/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python26.

while executing

"_activate_contents $name $imagefiles $imagedir"

(procedure "portimage::activate" line 56) invoked from within

"portimage::activate $portname [composite_version $portversion [array get variations]] [array get options]" Error: port activate failed: Image error: /Applications/MacPorts/Python 2.6/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python26. ==

Replying to blb@…:

OUTPUT IS: Last login: Wed Jan 13 19:42:00 on ttys000 c-98-198-70-150:~ trav$ port installed python26 The following ports are currently installed:

python26 @2.6.4_0+darwin

That's what I was suspecting; how about this?

$ sudo port -d activate python26

comment:7 Changed 15 years ago by pbfuddle@…

I ran locate python26, and got a long scrolling screen of text.

== For Example: ==

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26/files/python26

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26/work

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/Portfile

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files/patch-Lib-cgi.py.diff

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files/patch-Makefile.pre.in.diff

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files/patch-Misc-setuid-prog.c.diff

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files/patch-Modules-posixmodule.c.diff

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/python26-doc/files/patch-setup.py.diff

/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-wxpython26

/opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py-wxpython26/Portfile

comment:8 Changed 15 years ago by nox@…

Cc: mcalhoun@… nox@… added
Owner: changed from nox@… to blb@…
Port: python26 added; scite removed
Summary: Port of SciTE not workingUnable to activate port python26
Version: 1.8.2

comment:9 Changed 15 years ago by pbfuddle@…

Is there anything I can do, such as, finding and deleting everything that has to do with the port of Scite and restarting?

comment:10 Changed 15 years ago by nox@…

This bug has nothing to do with scite.

comment:11 in reply to:  6 ; Changed 15 years ago by blb@…

Replying to pbfuddle@…:

Here is what I got. So is python26 the root cause of all this?

---> Activating python26

DEBUG: Image error: /Applications/MacPorts/Python 2.6/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python26.

This usually happens when you try to remove all of MacPorts but don't include the stuff in /Applications/MacPorts (the guide covers all bits to remove if you're curious). If that's the case then you should be able to just rm -rf "/Applications/MacPorts/Python 2.6" then do the activate again.

comment:12 Changed 15 years ago by pbfuddle@…

For what is worth, I tried the uninstall Scite before I started this ticket. Does it not uninstall the dependencies (I had a concern about that)? I did notice that there was a " uninstall --follow-dependents" statement in the uninstall help. Was I supposed to add the --follow-dependents to the uninstall command?

comment:13 Changed 15 years ago by pbfuddle@…

Also, when I ran locate "Python 2.6", I found it at: /opt/local/var/macports/software/python26/2.6.4_0+darwin/Applications/MacPorts/Python 2.6/Python Launcher.app/Contents/MacOS Do I need to run a similar remove? Many thanks for your help, DN~

comment:14 Changed 15 years ago by pbfuddle@…

I completed running the Weekly Maintenance cleanup. The '/Applications. . .' is indeed gone, however the path

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/destroot/Applications/MacPorts/Python 2.6

and

/opt/local/var/macports/software/python26/2.6.4_0+darwin/Applications/MacPorts/Python 2.6

fills the terminal page.

comment:15 in reply to:  11 ; Changed 15 years ago by pbfuddle@…

I am sorry, I missed the part about running activate again, and posted more comments; however; I just did so and it appears that it worked this time:

activating file: /Applications/MacPorts/Python 2.6/Python Launcher.app/Contents/Resources/PythonSource.icns or activating directory:. . . etc. for a whole page worth of similar statements. I did not see any errors.

Do I continue with the scite install now?

Replying to blb@…:

Replying to pbfuddle@…:

Here is what I got. So is python26 the root cause of all this?

---> Activating python26

DEBUG: Image error: /Applications/MacPorts/Python 2.6/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python26.

This usually happens when you try to remove all of MacPorts but don't include the stuff in /Applications/MacPorts (the guide covers all bits to remove if you're curious). If that's the case then you should be able to just rm -rf "/Applications/MacPorts/Python 2.6" then do the activate again.

comment:16 Changed 15 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

comment:17 in reply to:  15 Changed 15 years ago by pbfuddle@…

Replying to pbfuddle@…:

I am sorry, I missed the part about running activate again, and posted more comments; however; I just did so and it appears that it worked this time:

activating file: /Applications/MacPorts/Python 2.6/Python Launcher.app/Contents/Resources/PythonSource.icns or activating directory:. . . etc. for a whole page worth of similar statements. I did not see any errors.

Do I continue with the scite install now?

Replying to blb@…:

Replying to pbfuddle@…:

Here is what I got. So is python26 the root cause of all this?

It did install, after a while. However, scite is very slow to open and I can't tell if it does much. The help function doesn't.

---> Activating python26

DEBUG: Image error: /Applications/MacPorts/Python 2.6/Build Applet.app/Contents/Info.plist already exists and does not belong to a registered port. Unable to activate port python26.

This usually happens when you try to remove all of MacPorts but don't include the stuff in /Applications/MacPorts (the guide covers all bits to remove if you're curious). If that's the case then you should be able to just rm -rf "/Applications/MacPorts/Python 2.6" then do the activate again.

comment:18 Changed 15 years ago by pbfuddle@…

Question, do I go to the SciTE site to ask questions about it?

Thanks,

trav

Note: See TracTickets for help on using tickets.