[MacPorts] #62640: Qemu Failed to patch Hunk #1 FAILED at 879

MacPorts noreply at macports.org
Tue Apr 6 02:11:40 UTC 2021


#62640: Qemu Failed to patch Hunk #1 FAILED at 879
--------------------------+--------------------
 Reporter:  stealer05172  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.4
 Keywords:                |       Port:  qemu
--------------------------+--------------------
 Attempting to compile Qemu on my 2008 BlackBook running 10.5 I get the
 following error:

 {{{
 --->  Applying patches to qemu
 Error: Failed to patch qemu: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/main.log
 for details.
 }}}
 Inside that log file:
 {{{
 :info:patch patching file Makefile
 :info:patch Hunk #1 FAILED at 879.
 :info:patch 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
 :info:patch Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-5.2.0"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/emulators/qemu/files
 /patch-Makefile-legacy-mktemp-to-coreutils.diff'
 :info:patch Exit code: 1
 :error:patch Failed to patch qemu: command execution failed
 :debug:patch Error code: CHILDSTATUS 66535 1
 :debug:patch Backtrace: command execution failed
 :debug:patch     while executing
 :debug:patch "system {*}$notty {*}$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"
 }}}

 I have never used ports before this week so I have no idea what I'm doing,
 so some hand holding may be necessary to investigate further.

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


More information about the macports-tickets mailing list