Package Details: castxml-git r331.90d4abc-1

Git Clone URL: (read-only)
Package Base: castxml-git
Description: C-family abstract syntax tree XML output tool.
Upstream URL:
Keywords: gccxml
Licenses: Apache
Conflicts: castxml
Provides: castxml
Submitter: jgmdev
Maintainer: jgmdev
Last Packager: jgmdev
Votes: 4
Popularity: 0.902962
First Submitted: 2015-11-26 05:27
Last Updated: 2018-01-20 13:56

Latest Comments

LeonardK commented on 2018-01-22 14:56

At least I need to hint the Clang or the LLVM dir to CMake, eg. like this:


Otherwise LLVM_INCLUDE_DIRS only contains //include for some reason.

jgmdev commented on 2018-01-20 13:53

@Kniyl Thanks again, I was developing a php binding generator and was going to use castxml to parse c++ header files but I haven't worked on that project for a long time, so I haven't tested this PKGBUILD except for today to implement the fix that you described on github. I added a sed -i removal for the offending ${llvm_libs} as you found on github, Now that aur supports co-maintainers would you like to be one? You may have more time than me to lookup issues on this package.

Kniyl commented on 2018-01-18 13:26

@jgmdev Do you happen to still get a working castxml binary using the current PKGBUILD? What's your take on ? Should we add a patch in the PKGBUILD, should we raise the issue to LLVM?

jgmdev commented on 2018-01-16 04:44

@Kniyl Added clang-tools-extra, thank you!

Kniyl commented on 2018-01-12 11:02

I found the /usr/lib/libclangApplyReplacements.a file in the clang-tools-extra package, you may add it as a build dependency.

Kniyl commented on 2018-01-12 10:36

Build fail with the following error, do I miss a dependency or something?

==> Lancement de prepare()...
-- The C compiler identification is GNU 7.2.1
-- The CXX compiler identification is GNU 7.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.15.1") 
CMake Error at /usr/lib/cmake/clang/ClangTargets.cmake:456 (message):
  The imported target "clangApplyReplacements" references the file


  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained


  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib64/cmake/clang/ClangConfig.cmake:18 (include)
  CMakeLists.txt:87 (find_package)

-- Configuring incomplete, errors occurred!

jgmdev commented on 2016-01-25 16:10

@yan12125 Thanks, and fixed.

yan12125 commented on 2016-01-20 19:11

Could you change pkgver() to:

pkgver() {
cd "${srcdir}/${_gitname}"
( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short EAD)"

The result would be r243.f57109f instead of f57109f, or yaourt keeps asking me to upgrade:

==> Software upgrade (new version) :
aur/castxml-git f57109f-1 -> 552dd69-1