#62640 closed defect (fixed)
Qemu Failed to patch Hunk #1 FAILED at 879
Reported by: | stealer05172 | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | raimue (Rainer Müller) | |
Port: | qemu |
Description
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.
Attachments (1)
Change History (3)
Changed 4 years ago by stealer05172
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | raimue added |
---|
It looks like although the developers of qemu state that it can be used on Mac OS X 10.5 and later, it requires a much newer macOS in order to be built. They say you need one of the two most recent macOS versions to build — Catalina (10.15) or Big Sur (11). In fact it appears to build fine in MacPorts on Sierra (10.12) and later, but unfortunately not on earlier versions. Sorry.
Note: See
TracTickets for help on using
tickets.
In 6185971a397e6609373d00be673832f7a8f019f4/macports-ports (master):