Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#58068 closed defect (fixed)

capstone upgrade to 4.0.1 breaks qemu

Reported by: mopihopi Owned by: l2dy (Zero King)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: l2dy (Zero King), aquynh@…, raimue (Rainer Müller)
Port: qemu

Description

Upgrading capstone to @4.0.1 breaks qemu @3.0.0_0+cocoa+target_arm+target_i386+target_mips+target_ppc+target_x86_64+usb, and qemu fails to rebuild with the new capstone:

--->  Scanning binaries for linking errors
--->  Found 14 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: qemu @3.0.0+cocoa+target_arm+target_i386+target_mips+target_ppc+target_x86_64+usb
Continue? [Y/n]: y
--->  Computing dependencies for qemu
--->  Cleaning qemu
--->  Scanning binaries for linking errors
--->  Found 14 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
--->  Rebuilding in order
     qemu @3.0.0 +cocoa+target_arm+target_i386+target_mips+target_ppc+target_x86_64+usb
--->  Computing dependencies for qemu
--->  Fetching distfiles for qemu
--->  Verifying checksums for qemu
--->  Extracting qemu
--->  Applying patches to qemu
--->  Configuring qemu
--->  Building qemu
Error: Failed to build 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.
Error: rev-upgrade failed: Error rebuilding qemu
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

The log file contains the error:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_qemu/qemu/work/qemu-3.0.0/include/disas/capstone.h:6:10: error: 'capstone.h' file not found with <angled> include; use "quotes" instead
:info:build #include <capstone.h>
:info:build          ^~~~~~~~~~~~
:info:build          "capstone.h"

macOS 10.12.6 16G1710 Xcode 9.2 9C40b

Attachments (1)

qemu-main.log (2.4 MB) - added by mopihopi 6 years ago.

Change History (3)

Changed 6 years ago by mopihopi

Attachment: qemu-main.log added

comment:1 Changed 6 years ago by l2dy (Zero King)

Owner: set to l2dy
Resolution: fixed
Status: newclosed

In 2df55b85692a45608a2fe769f815e620c601f77a/macports-ports (master):

qemu: disable capstone to avoid stealth linking

Fixes: #58068

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Port: capstone removed
Note: See TracTickets for help on using tickets.