Discussion:
[Rock-dev] Dependency to gccxml not explicitly set?
Leif Christensen
2014-09-03 09:37:51 UTC
Permalink
Hi,

bulding of base/orogen/std failed on my fresh installed ubuntu 14.04
system because of an popen call to gccxml in
tools/orogen/lib/orogen/gen/typekit.rb, which was not installed.

Were we a little bit too fast in removing the dependencies to gccxml in
our struggle to move to clang?

LG,
Leif

===== Internal error =======
Please report the following error to the orogen developers
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen': No such file or directory - gccxml (Errno::EN
OENT)
from /home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen'


=============================
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406



def resolve_toplevel_include_mapping(toplevel_files, options)
includes = options[:include].map { |v| "-I#{v}" }
defines = options[:define].map { |v| "-D#{v}" }

preprocessed = Tempfile.open('orogen_gccxml_input') do |io|
toplevel_files.each do |path|
io.puts "#include <#{path}>"
end
io.flush
result = IO.popen(["gccxml", "--preprocess",
*includes, *defines, io.path]) do |io|
io.read
end
if !$?.success?
raise ArgumentError, "failed to preprocess
#{toplevel_files.join(" ")}"
end
result
end

--
Leif Christensen

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany

Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen at dfki.de

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
-----------------------------------------------------------------------
Janosch Machowinski
2014-09-03 09:39:48 UTC
Permalink
Nothing clang related was pushed on the master branches.
Does the rock1408_rc1 branch work for you ?
Greetings
Janosch
Post by Leif Christensen
Hi,
bulding of base/orogen/std failed on my fresh installed ubuntu 14.04
system because of an popen call to gccxml in
tools/orogen/lib/orogen/gen/typekit.rb, which was not installed.
Were we a little bit too fast in removing the dependencies to gccxml in
our struggle to move to clang?
LG,
Leif
===== Internal error =======
Please report the following error to the orogen developers
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen': No such file or directory - gccxml (Errno::EN
OENT)
from /home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406:in
`popen'
=============================
/home/magneto/dev/tools/orogen/lib/orogen/gen/typekit.rb:1406
def resolve_toplevel_include_mapping(toplevel_files, options)
includes = options[:include].map { |v| "-I#{v}" }
defines = options[:define].map { |v| "-D#{v}" }
preprocessed = Tempfile.open('orogen_gccxml_input') do |io|
toplevel_files.each do |path|
io.puts "#include <#{path}>"
end
io.flush
result = IO.popen(["gccxml", "--preprocess",
*includes, *defines, io.path]) do |io|
io.read
end
if !$?.success?
raise ArgumentError, "failed to preprocess
#{toplevel_files.join(" ")}"
end
result
end
--
Leif Christensen
DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany
Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen at dfki.de
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
Rock-dev at dfki.de
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Dipl. Inf. Janosch Machowinski
SAR- & Sicherheitsrobotik

Universit?t Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Stra?e 1
28359 Bremen, Germany

Zentrale: +49 421 178 45-6611

Besuchsadresse der Nebengesch?ftstelle:
Robert-Hooke-Stra?e 5
28359 Bremen, Germany

Tel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: jmachowinski at informatik.uni-bremen.de

Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
Leif Christensen
2014-09-03 09:45:32 UTC
Permalink
Post by Janosch Machowinski
Nothing clang related was pushed on the master branches.
Does the rock1408_rc1 branch work for you ?
I already installed gccxml manually, so it worked then. But I will
remove it again, do autoproj update and rebuild again and see if the
dependencies are correctly resolved (gccxml is named in the manifest of
tools/typekit and typekit is in the orogen manifest, so it should have
worked. I will report back.
Post by Janosch Machowinski
Greetings
Janosch
--
Leif Christensen

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Stra?e 5
28359 Bremen, Germany

Phone: +49 (0)421 17845-4149
Fax: +49 (0)421 17845-4150
E-Mail: leif.christensen at dfki.de

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
-----------------------------------------------------------------------
Loading...