Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#61507 - [capstone] Pull inclusion fix from upstream.

Attached to Project: Community Packages
Opened by Shahab (shahab) - Wednesday, 23 January 2019, 11:55 GMT
Task Type Bug Report
Category Upstream Bugs
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No


Source codes using "#include <capstone.h>" and building with "make" cannot be compiled anymore. QEMU is one example. Using "#include <capstone/capstone.h>" works though. This is due to an issue already fixed in upstream:

Additional info:
* package version: 4.0.1-1

Steps to reproduce:
> git clone
> cd qemu
> ./configure
> make
In file included from qemu/disas.c:9:
qemu/include/disas/capstone.h:6:10: fatal error: capstone.h: No such file or directory
#include <capstone.h>
This task depends upon

Comment by Shahab (shahab) - Tuesday, 26 November 2019, 11:09 GMT
the problem has resurfaced again:

In file included from /data/work/repos/qemu/disas.c:9:
/data/work/repos/qemu/include/disas/capstone.h:6:10: fatal error: capstone.h: No such file or directory
6 | #include <capstone.h>
Comment by Shahab (shahab) - Tuesday, 26 November 2019, 11:32 GMT
I just noticed this was never fixed, I had the "pc" file adjusted manually on my system which got overwritten with the latest package update. as long as v4.0.1 is used, the problem persists.
Comment by Shahab (shahab) - Thursday, 28 November 2019, 11:07 GMT
This is the fix needed for v4.0.1 inclusion problem.