[MacPorts] #60397: ld64-127 install fails at applying patch stage

MacPorts noreply at macports.org
Sat Apr 25 22:43:07 UTC 2020


#60397: ld64-127 install fails at applying patch stage
-----------------------------+----------------------------
 Reporter:  programmingkidx  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:  MacPorts 2.6.3
Component:  ports            |    Version:  2.6.2
 Keywords:  ld64-127 patch   |       Port:
-----------------------------+----------------------------
 When installing ld64-127, the install fails when trying to apply a patch.
 Here is the message:

 --->  Applying patches to ld64-127
 Error: reinplace: couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/MachOWriterExecutable.hpp":
 no such file or directory
 Error: Failed to patch ld64-127: reinplace sed(1) failed

 Here is more information on the error:

 :info:patch Hunk #1 succeeded at 810 (offset 185 lines).
 :debug:patch Executing proc-post-org.macports.patch-patch-0
 :info:patch --->  Patching Options.cpp: s|@@VERSION@@|127.2|g
 :debug:patch Executing reinplace: /usr/bin/sed s|@@VERSION@@|127.2|g
 </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/Options.cpp
 >@file10
 :debug:patch euid/egid changed to: 0/0
 :debug:patch chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/Options.cpp
 to macports
 :debug:patch euid/egid changed to: 502/500
 :debug:patch euid/egid changed to: 0/0
 :debug:patch setting attributes on
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/Options.cpp
 :debug:patch euid/egid changed to: 502/500
 :info:patch --->  Patching MachOWriterExecutable.hpp:
 s:<CommonCrypto/CommonDigest.h>:<openssl/md5.h>:
 :debug:patch Executing reinplace: /usr/bin/sed
 s:<CommonCrypto/CommonDigest.h>:<openssl/md5.h>:
 </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/MachOWriterExecutable.hpp
 >@file10
 :debug:patch couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/MachOWriterExecutable.hpp":
 no such file or directory
 :debug:patch     while executing
 :debug:patch "exec -ignorestderr -- {*}$cmdline"
 :error:patch reinplace: couldn't read file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/work/ld64-127.2/src/ld/MachOWriterExecutable.hpp":
 no such file or directory
 :error:patch Failed to patch ld64-127: reinplace sed(1) failed
 :debug:patch Error code: NONE
 :debug:patch Backtrace: reinplace sed(1) failed
 :debug:patch     while executing
 :debug:patch "$post $targetname"
 :error:patch See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ld64/ld64-127/main.log
 for details.


 OS: Mac OS 10.4.11 Server (x86)

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


More information about the macports-tickets mailing list