Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64989 closed defect (fixed)

py39-pyobjc @8.4.1_0: error: code will never be executed [-Werror,-Wunreachable-code]

Reported by: macdeport Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: mascguy (Christopher Nielsen)
Port: py-pyobjc

Description

:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 528, in run
:info:build     raise CalledProcessError(retcode, process.args,
:info:build subprocess.CalledProcessError: Command '['/opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9', '-m', 'build', '--wheel', '--no-isolation', '--outdir', '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/work']' returned non-zero exit status 1.
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/work/pyobjc-8.4.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/python/py-pyobjc/files/multibuild.py 8 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/work 
:info:build Exit code: 1
:error:build Failed to build py39-pyobjc: command execution failed
:debug:build Error code: CHILDSTATUS 66836 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-pyobjc/py39-pyobjc/main.log for details.

Attachments (1)

main.log.zip (49.1 KB) - added by macdeport 3 years ago.
I've attached the main.log file

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by macdeport

Attachment: main.log.zip added

I've attached the main.log file

comment:1 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added
Owner: set to danchr
Status: newassigned

Yes, this port is failing to build for some macOS releases. And initial discussion has occurred via comments on the commit:

https://github.com/macports/macports-ports/commit/638d346d666c176ee9c60a4ef956d46ebcfc148c#commitcomment-70933539

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

And thank you for creating this ticket! We'll continue our discussion here, as we make progress.

comment:3 Changed 3 years ago by macdeport

Thank you and @danchr for making a solution emerge from the pleasure of your informed dialogue.

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: py39-pyobjc @8.4.1_0: Failed to buildpy39-pyobjc @8.4.1_0: error: code will never be executed [-Werror,-Wunreachable-code]

comment:5 Changed 3 years ago by danchr (Dan Villiom Podlaski Christiansen)

Resolution: fixed
Status: assignedclosed

In c54715f8f27864fd2e41dcb8488c72ac90b03884/macports-ports (master):

py-pyobjc: reinstate missing patches

This reinstates patches accidentally deleted in the recent upgrade. Of
note, this reinstates the changes to suppress -Werror, hopefully
fixing the build on older platforms.

Closes: #64579
Closes: #64948
Closes: #64989
Closes: #65000

comment:6 Changed 3 years ago by macdeport

Thanks to everyone for this bouquet of "closed tickets".

Note: See TracTickets for help on using tickets.