#65642 closed defect (fixed)

py-distlib @0.3.5 build fails

Reported by: rlhamil Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: rdbisme (Ruben Di Battista), mascguy (Christopher Nielsen)
Port: py-distlib

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-distlib/py36-distlib/work/distlib-0.3.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build -j16 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-distlib/py36-distlib/work/distlib-0.3.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build -j16 
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'setup.py': [Errno 2] No such file or directory
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-distlib/py36-distlib/work/distlib-0.3.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 setup.py --no-user-cfg build -j16 
Exit code: 2
Error: Failed to build py36-distlib: command execution failed

Attachments (1)

main.log_py36-distlib.txt (7.9 KB) - added by rlhamil 21 months ago.
log file

Download all attachments as: .zip

Change History (12)

Changed 21 months ago by rlhamil

Attachment: main.log_py36-distlib.txt added

log file

comment:1 Changed 21 months ago by jmroot (Joshua Root)

Cc: rdbisme added
Owner: set to reneeotten
Port: py-distlib added; py36-distlib removed
Status: newassigned
Summary: py36-distlib @0.3.5 build failed on Catalina and Mojavepy-distlib @0.3.5 build fails

comment:2 Changed 21 months ago by jmroot (Joshua Root)

The subports for < 36 can't use pep517 and will need to be reverted to 0.3.4.

comment:4 Changed 21 months ago by mf2k (Frank Schima)

I am not able to install py310-distlib. Same reason.

:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_mports_macports-ports_python_py-distlib/py310-distlib/work/distlib-0.3.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j12 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_mports_macports-ports_python_py-distlib/py310-distlib/work/distlib-0.3.5" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 setup.py --no-user-cfg build -j12 
:info:build /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10: can't open file '/opt/local/var/macports/build/_opt_mports_macports-ports_python_py-distlib/py310-distlib/work/distlib-0.3.5/setup.py': [Errno 2] No such file or directory

comment:5 Changed 21 months ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:6 Changed 21 months ago by mascguy (Christopher Nielsen)

Confirmed, I'm seeing the same issue.

comment:7 Changed 21 months ago by Christopher Nielsen <mascguy@…>

In ab5c31c163210133b8465c5cafd72bd20d28b64a/macports-ports (master):

py-distlib: revert to 0.3.4
See: #65642

comment:8 Changed 21 months ago by mascguy (Christopher Nielsen)

Renee, do any of these build for you locally?

comment:9 in reply to:  3 Changed 21 months ago by jmroot (Joshua Root)

Replying to pedrohdz:

Broke after the following was applied:

Yes, apologies if that implication wasn't clear from comment:2. The python <= 35 subports need to stay at 0.3.4, and the >= 36 ones need to set python.pep517 yes, because distlib 0.3.5 removed setup.py.

Last edited 21 months ago by jmroot (Joshua Root) (previous) (diff)

comment:10 Changed 21 months ago by reneeotten (Renee Otten)

Yeah… sorry, I did mess this up and will fix it tonight.

Of course there was no need to add an “epoch” when reverting to the earlier versions since nothing had build, but okay we’re now stuck with that. Also there was IMHO no urgency to do so, this could have easily remained “broken” (in the sense that the newer version didn’t install, but 0.34 was still happily there) for a day or so…

comment:11 Changed 21 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In c4ed5bbab8dfc58da04afee095b2b193cc51bf8a/macports-ports (master):

py-distlib: update to 0.3.5

Closes: #65642

Note: See TracTickets for help on using tickets.