[MacPorts] #63143: meson @0.55.3_1: Patch fails to apply on 10.4.11

MacPorts noreply at macports.org
Sat Jun 26 20:42:46 UTC 2021


#63143: meson @0.55.3_1: Patch fails to apply on 10.4.11
------------------------+----------------------
 Reporter:  evanmiller  |      Owner:  SoapZA
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.1
 Keywords:              |       Port:  meson
------------------------+----------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/63143>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list