Opened 3 years ago

Closed 3 years ago

#63143 closed defect (fixed)

meson @0.55.3_1: Patch fails to apply on 10.4.11

Reported by: evanmiller (Evan Miller) Owned by: SoapZA
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: meson

Description

While attempting to install meson on 10.4.11, I receive an error and see this in the logs:

:info:patch --->  Applying patch-meson-clang-unknown-optimization-error.diff
:debug:patch Environment:
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Developer'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.4'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/work/meson-0.55.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/meson/files/patch-meson-clang-unknown-optimization-error.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/work/meson-0.55.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/meson/files/patch-meson-clang-unknown-optimization-error.diff'
:info:patch patching file mesonbuild/compilers/mixins/clang.py
:info:patch Hunk #1 FAILED at 81.
:info:patch 1 out of 1 hunk FAILED -- saving rejects to file mesonbuild/compilers/mixins/clang.py.rej
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/work/meson-0.55.3" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/meson/files/patch-meson-clang-unknown-optimization-error.diff'
:info:patch Exit code: 1
:error:patch Failed to patch meson: command execution failed
:debug:patch Error code: CHILDSTATUS 21612 1
:debug:patch Backtrace: command execution failed
:debug:patch     while executing
:debug:patch "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:patch     invoked from within
:debug:patch "command_exec patch "" "< '$patch'""
:debug:patch     (procedure "portpatch::patch_main" line 41)
:debug:patch     invoked from within
:debug:patch "$procedure $targetname"
:error:patch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_meson/meson/main.log for details.

System info from the same log:

:debug:clean Starting logging for meson @0.55.3_1
:debug:sysinfo Mac OS X 10.4.11 (darwin/8.11.0) arch powerpc
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 2.5
:debug:sysinfo SDK 10.4
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.4

I have not tried to install on other systems, and cannot say whether the issue is OS or architecture specific. Complete log attached.

Attachments (1)

main.log (639.6 KB) - added by evanmiller (Evan Miller) 3 years ago.
Meson build log

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by evanmiller (Evan Miller)

Attachment: main.log added

Meson build log

comment:1 Changed 3 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

In 5ab4685b92271e57e8d977ef81216904a2e71514/macports-ports (master):

meson: work around non-applying patch on 8

closes: #63143

Note: See TracTickets for help on using tickets.