Opened 8 years ago

Closed 6 years ago

#50244 closed defect (duplicate)

port upgrade outdated is unable to upgrade py34-setuptools

Reported by: port@… Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: py-setuptools

Description (last modified by mf2k (Frank Schima))

$ port upgrade outdated
--->  Computing dependencies for py34-setuptools
--->  Building py34-setuptools
Error: org.macports.build for port py34-setuptools returned: command execution failed

Attachments (3)

main.log (6.3 KB) - added by port@… 8 years ago.
py34-setuptools/main.log
upgrade_outdated_debug.txt (68.2 KB) - added by port@… 8 years ago.
port -d upgrade outdated
macports.conf (8.1 KB) - added by port@… 8 years ago.

Download all attachments as: .zip

Change History (12)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: jmr@… openmaintainer@… removed
Owner: changed from macports-tickets@… to jmr@…
Port: py-setuptools added; py34-setuptools removed

Please do not Cc openmaintainer@… because it is not a valid email address.

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

In the future, please use WikiFormatting.

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

This is an incomplete log, please clean and generate a complete one.

Changed 8 years ago by port@…

Attachment: main.log added

py34-setuptools/main.log

Changed 8 years ago by port@…

Attachment: upgrade_outdated_debug.txt added

port -d upgrade outdated

comment:4 Changed 8 years ago by port@…

Apparently this is not an issue on py-* port or others but a misconfiguration known and reported in #49101
The solution described worked for me :

% sudo mkdir -p /opt/local/var/macports/home
% sudo chown macports:macports /opt/local/var/macports/home
Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Some of the log looks like your prefix is /usr/local/opt/mports but other parts look like it is /opt/mports. Which is your actual prefix? (And where is the other one coming from?)

comment:6 in reply to:  5 Changed 8 years ago by port@…

Replying to jmr@…:

Some of the log looks like your prefix is /usr/local/opt/mports but other parts look like it is /opt/mports. Which is your actual prefix? (And where is the other one coming from?)

This is because I've installed from source and somewhere PATHS were wrongly written. Also I've changed permissions. Recently I reinstalled (from source) with this new /opt/local/var/macports/home directory and all works fine. My configuration prefix is /opt/mports but opt is a symlink to /usr/local/opt which is the actual directory of my scripts. There is still a mistmatch in my PATH to /usr/local/opt/mports/share/man, I guess this is what you see in main.log

comment:7 Changed 8 years ago by jmroot (Joshua Root)

Could you attach your actual macports.conf?

Changed 8 years ago by port@…

Attachment: macports.conf added

comment:8 Changed 8 years ago by jmroot (Joshua Root)

The actual problems appears to be

sh: /opt/mports/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4: No such file or directory

i.e. the executable that should be provided by python34 is apparently missing.

comment:9 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Not entirely sure I'm convinced this is a dupe, but closing as per comment:4.

Note: See TracTickets for help on using tickets.