Hey, the latest stable version of castxml that does not trigger this error is: 9d7a46d639ce921b8ddd36ecaa23c567d003294a - so I will temporally pin castxml to that version. Culprit seems to be 917c646ed9e29ca57fd53791a9b3f5f97e86d8b9 -- only reverting this commit seems to work as well.
@Alex: what in particular did you patch in orogen -- can you sent me the patch? Best Thomas > Alexander Duda <[email protected]> hat am 6. Mai 2016 um 17:07 > geschrieben: > > > Hi Thomas, > > on Mac OS X I had to set the following environment variables to get it to > work. > LLVM_DIR —> "/usr/local/Cellar/llvm/3.6.2/share/llvm/cmake/" > CLANG_RESOURCE_DIR —> "/usr/local/Cellar/llvm/3.6.2/„ > > In addition I had to patch orogen to use the right include paths > /usr/local/Celluar/llvm/inc... > > Maybe this helps. > > Best > Alex > > > > Am 06.05.2016 um 07:35 schrieb Thomas Roehr <[email protected]>: > > > > Hey Sylvain, > > > > I am trying to build the debian packages for rock-core on Ubuntu 16.04, > > but I am hitting the following error when building base-orogen-std. > > As you mentioned you are using the toolchain on Ubuntu 16.04 already, I > > might have missed something in the setup. > > > > - LLVM 3.7 is in use > > - TYPELIB_CXX_LOADER has been set to castxml > > > > The error is the following: > > > > PATH=/opt/rock/master/bin:/usr/sbin:/usr/bin:/sbin:/bin > > RUBYLIB=/opt/rock/master/lib/ruby/2.3.0:/opt/rock/master/lib/x86_64-linux-gnu/ruby/2.3.0:/opt/rock/master/lib/ruby/vendor_ruby/standard/:/opt/rock/master/lib/ruby/vendor_ruby/core/:/opt/rock/master/lib/ruby/vendor_ruby: > > Rock_DIR=/opt/rock/master/share/rock/cmake > > PKG_CONFIG_PATH=/opt/rock/master/lib/pkgconfig: > > LD_LIBRARY_PATH=/opt/rock/master/lib: > > OROGEN_PLUGIN_PATH=/opt/rock/master/share/orogen/plugins > > CMAKE_PREFIX_PATH=/opt/rock/master:/usr/share/llvm-3.7 > > orogen --no-rtt-scripting --no-rtt-scripting --extensions=metadata_support > > --corba --transports=corba,mqueue,typelib --type-export-policy=used > > std.orogen > > castxml: /usr/lib/llvm-3.7/include/clang/AST/Decl.h:169: llvm::StringRef > > clang::NamedDecl::getName() const: Assertion `Name.isIdentifier() && "Name > > is not a simple identifier"' failed. > > std.orogen:31: cannot load one of the header files > > /opt/rock/master/include/orogen_metadata/Metadata.hpp: gccxml returned an > > error while parsing /opt/rock/master/include/orogen_metadata/Metadata.hpp > > with call > > castxml --castxml-gccxml -x c++ -DOROCOS_TARGET=gnulinux -D__orogen2 > > -I/tmp/buildd/rock-master-base-orogen-std-0.20160506 > > -I/tmp/buildd/rock-master-base-orogen-std-0.20160506/.orogen/typekit/types > > -I/opt/rock/master/include > > -I/tmp/buildd/rock-master-base-orogen-std-0.20160506/.orogen/typekit/types > > (OroGen::ConfigError) > > > > > > There seem to be some related issues for LLVM 3.8 > > https://llvm.org/bugs/show_bug.cgi?id=27422, > > https://llvm.org/bugs/show_bug.cgi?id=24872 > > However, how does your working setup looks like. > > As a sidenote: I had to explicitely add /usr/share/llvm-3.7 to > > CMAKE_PREFIX_PATH to get until this point?! > > > > Best > > Thomas > > > > -- > > Thomas Röhr (M.Sc.) > > Space Robotics > > > > Besuchsadresse der Nebengeschäftstelle: > > DFKI GmbH > > Robotics Innovation Center > > Robert-Hooke-Straße 5 > > 28359 Bremen, Germany > > > > Postadresse der Hauptgeschäftsstelle Standort Bremen: > > DFKI GmbH > > Robotics Innovation Center > > Robert-Hooke-Straße 1 > > 28359 Bremen, Germany > > > > Tel.: +49 421 178 45-4151 > > Zentrale: +49 421 178 45-0 > > Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen) > > E-Mail: [email protected] > > > > Weitere Informationen: http://www.dfki.de/robotik > > ----------------------------------------------------------------------- > > Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH > > Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern > > Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster > > (Vorsitzender) Dr. Walter Olthoff > > Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes > > Amtsgericht Kaiserslautern, HRB 2313 > > Sitz der Gesellschaft: Kaiserslautern (HRB 2313) > > USt-Id.Nr.: DE 148646973 > > Steuernummer: 19/673/0060/3 > > ----------------------------------------------------------------------- > > > > _______________________________________________ > > Rock-dev mailing list > > [email protected] > > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev > > -- > Dipl.-Ing. Alexander Duda > Unterwasserrobotik > Robotics Innovation Center > > Hauptgeschäftsstelle Standort Bremen: > DFKI GmbH > Robotics Innovation Center > Robert-Hooke-Straße 1 > 28359 Bremen, Germany > > Tel.: +49 421 178 45-6620 > Zentrale: +49 421 178 45-0 > Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen) > E-Mail: [email protected] <mailto:[email protected]> > > Weitere Informationen: http://www.dfki.de/robotik <http://www.dfki.de/robotik> > ----------------------------------------------------------------------- > Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH > Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern > Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster > (Vorsitzender) Dr. Walter Olthoff > Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes > Amtsgericht Kaiserslautern, HRB 2313 > Sitz der Gesellschaft: Kaiserslautern (HRB 2313) > USt-Id.Nr.: DE 148646973 > Steuernummer: 19/673/0060/3 > _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
