Package Details: capstone-git 20190702.4335.626bd6ab-1

Git Clone URL: https://aur.archlinux.org/capstone-git.git (read-only, click to copy)
Package Base: capstone-git
Description: A lightweight multi-platform, multi-architecture disassembly framework.
Upstream URL: http://www.capstone-engine.org/
Licenses: BSD
Conflicts: capstone
Provides: capstone
Submitter: l0gic
Maintainer: l0gic
Last Packager: l0gic
Votes: 3
Popularity: 0.000000
First Submitted: 2014-03-05 23:23 (UTC)
Last Updated: 2019-07-02 20:01 (UTC)

Dependencies (3)

Required by (38)

Sources (1)

Latest Comments

l0gic commented on 2020-02-17 20:06 (UTC)

I can't reproduce this error. It builds fine with commit 74136cab65230a3e198745db1c1dbdcdea1daca5 for me.

$ makepkg                                                                                                                                                                        
==> Making package: capstone-git 20190702.4335.626bd6ab-1 (Mon 17 Feb 2020 09:02:59 PM CET)
==> Starting build()...                                                                                                                                                                                             
  CC      cs.o
[...]
  GEN     capstone.pc
  LINK    libcapstone.so.5
  AR      libcapstone.a
ar: creating ./libcapstone.a
  CC      cstool.o
[...]
==> Finished making: capstone-git 20200217.4355.74136cab-1 (Mon 17 Feb 2020 09:03:04 PM CET)

QuartzDragon commented on 2020-02-17 05:39 (UTC) (edited on 2020-02-17 05:40 (UTC) by QuartzDragon)

Hi, I'm getting this bewildering error:

  GEN     capstone.pc
  LINK    libcapstone.so.5
  AR      libcapstone.a
ar: creating /tmp/makepkg/libcapstone.a
make[1]: Entering directory '/tmp/makepkg/capstone-git/src/capstone-git/cstool'
make[1]: *** No rule to make target '../libcapstone.a', needed by 'cstool'.  Stop.
make[1]: Leaving directory '/tmp/makepkg/capstone-git/src/capstone-git/cstool'
make: *** [Makefile:408: all] Error 2

yrlf commented on 2019-07-02 16:02 (UTC)

The include directory fix in capstone.pc is no longer needed as of https://github.com/aquynh/capstone/commit/02e33f8b92366a168701d69d763685fc8b43dc8e

removing the "sed" line in the PKGBUILD fixes the package

xiretza commented on 2017-08-05 14:18 (UTC)

test.py was renamed to test_basic.py (it's usually commented out in check() anyway, no biggie) https://github.com/aquynh/capstone/commit/ce3f0d093548f2a04b9d5a021c983a53492ae740#diff-5e35ef2f4151cd9e3a99b76910e67ba6

roblabla commented on 2017-03-17 18:16 (UTC)

This currently doesn't compile. It fails when linking cstool with : /usr/bin/ld: cannot find -lcapstone I believe the problem comes from the fact that cstool doesn't behave properly when BUILDDIR is set. In the main makefile[0], we can see that the library is built in BUILDDIR. However, the cstool makefile[1] looks for the library in the ../ folder. This is a bug in upstream's makefiles. [0]: https://github.com/aquynh/capstone/blob/next/Makefile#L64 [1]: https://github.com/aquynh/capstone/blob/next/cstool/Makefile

l0gic commented on 2016-01-26 18:41 (UTC)

If you mean /bin/sh: line 2: ./tests/test.static: No such file or directory FAILED I think it's safe to ignore. The tests simply do not exist, and thus are failing. If it bothers you, notify upstream.

dummys commented on 2016-01-26 09:03 (UTC)

Hello l0gic, You are right it seems to be a yaourt fail :( With makepkg it works. Test is still not working.

l0gic commented on 2016-01-22 19:57 (UTC)

I could not reproduce your error, and suspect it's caused by yaourt. Please try building it manually with makepkg. There was another issue with the tests, though.

dummys commented on 2016-01-22 10:51 (UTC)

pkgbuild is broken: LINK test_xcore.static make[1]: Leaving directory '/tmp/yaourt-tmp-mofo/aur-capstone-git/src/capstone-git/tests' install -m0644 /tmp/yaourt-tmp-mofo/aur-capstone-git/libcapstone.so /tmp/yaourt-tmp-mofo/aur-capstone-git/tests/ ==> Starting check()... Check test ... /bin/sh: line 2: ./tests/test: No such file or directory FAILED Check test_detail ... /bin/sh: line 2: ./tests/test_detail: No such file or directory FAILED Check test_arm ... /bin/sh: line 2: ./tests/test_arm: No such file or directory FAILED Check test_arm64 ... /bin/sh: line 2: ./tests/test_arm64: No such file or directory FAILED Check test_m68k ... /bin/sh: line 2: ./tests/test_m68k: No such file or directory FAILED Check test_mips ... /bin/sh: line 2: ./tests/test_mips: No such file or directory FAILED Check test_ppc ... /bin/sh: line 2: ./tests/test_ppc: No such file or directory FAILED Check test_sparc ... /bin/sh: line 2: ./tests/test_sparc: No such file or directory FAILED Check test_systemz ... /bin/sh: line 2: ./tests/test_systemz: No such file or directory FAILED Check test_x86 ... /bin/sh: line 2: ./tests/test_x86: No such file or directory FAILED Check test_xcore ... /bin/sh: line 2: ./tests/test_xcore: No such file or directory FAILED Check test_iter ... /bin/sh: line 2: ./tests/test_iter: No such file or directory FAILED Check test.static ... /bin/sh: line 2: ./tests/test.static: No such file or directory FAILED Check test_detail.static ... /bin/sh: line 2: ./tests/test_detail.static: No such file or directory FAILED Check test_arm.static ... /bin/sh: line 2: ./tests/test_arm.static: No such file or directory FAILED Check test_arm64.static ... /bin/sh: line 2: ./tests/test_arm64.static: No such file or directory FAILED Check test_m68k.static ... /bin/sh: line 2: ./tests/test_m68k.static: No such file or directory FAILED Check test_mips.static ... /bin/sh: line 2: ./tests/test_mips.static: No such file or directory FAILED Check test_ppc.static ... /bin/sh: line 2: ./tests/test_ppc.static: No such file or directory FAILED Check test_sparc.static ... /bin/sh: line 2: ./tests/test_sparc.static: No such file or directory FAILED Check test_systemz.static ... /bin/sh: line 2: ./tests/test_systemz.static: No such file or directory FAILED Check test_x86.static ... /bin/sh: line 2: ./tests/test_x86.static: No such file or directory FAILED Check test_xcore.static ... /bin/sh: line 2: ./tests/test_xcore.static: No such file or directory FAILED Check test_skipdata ... /bin/sh: line 2: ./tests/test_skipdata: No such file or directory FAILED Check test_skipdata.static ... /bin/sh: line 2: ./tests/test_skipdata.static: No such file or directory FAILED Check test_iter.static ... /bin/sh: line 2: ./tests/test_iter.static: No such file or directory FAILED ==> Entering fakeroot environment... ==> Starting package()... sed: can't read capstone.pc: No such file or directory

tchebb commented on 2015-12-18 06:08 (UTC)

The installation command in this PKGBUILD shouldn't contain 'LIBDIR="${pkgdir}/usr/lib"'. The library installation directory is already covered by DESTDIR, and the extra LIBDIR specifier makes it so the built package tries to install files in your home directory (or wherever you ran makepkg from).