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

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

Details

Description:
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: https://github.com/aquynh/capstone/issues/1339

Additional info:
* package version: 4.0.1-1


Steps to reproduce:
> git clone https://git.qemu.org/git/qemu.git
> 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

Closed by  freswa (frederik)
Monday, 14 September 2020, 12:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  capstone 4.0.2-1
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.
Comment by loqs (loqs) - Sunday, 13 September 2020, 11:55 GMT

Loading...