[Rock-dev] base/orogen/std fail in orogen phase
Steffen Planthaber
Steffen.Planthaber at dfki.de
Wed Sep 20 15:56:19 CEST 2017
Hi,
Just resolved this issue for another checkout of your buildconf:
Your tools/utilrb is pinned to a specific commit in your overrides.d folder.
When you upgrade tools/utilrb it resolves the error.
Best, Steffen
Am 18.09.2017 um 18:47 schrieb Sylvain Joyeux:
> The error is in gccxml.rb because typelib is using castxml's gccxml
> output (i.e. same XML representation). The bugs related to the
> selection of castxml should be fixed on both master and RC.
>
> The relevant change in typelib in orogen is that this method now
> passes the rawflags to the underlying preprocessor. Might be a bug
> around this. Could you edit the gccxml.rb file and check the content
> of 'rawflags' ?
>
> From the place where the error happens, it looks like a problem with
> the flags that get passed to typelib. Since this happens this early
> during the build, one place to start would be to check if it happens
> even if you get a "clean" rock-core install (i.e. without the plugins
> you're currently using, modelExport and cpp_proxies).
>
> Thanks,
> Sylvain
>
> On Fri, Sep 15, 2017 at 1:01 PM, Steffen Planthaber
> <Steffen.Planthaber at dfki.de> wrote:
>> Hi,
>>
>> What does the env.sh say about the TYPELIB_CXX_LOADER variable?
>>
>> If not "castxml":
>> $> autoproj envsh
>> $> source env.sh
>>
>> Best, Steffen
>>
>> Am 15.09.2017 um 16:31 schrieb Leif Christensen:
>>> Am 11.09.2017 um 10:55 schrieb Steffen Planthaber:
>>>> Hi,
>>>>
>>>> On 16.04 castxml should be used, not gccxml, could be an error somewhere
>>>> in your overrides for osdeps.
>>>>
>>>>
>>>> https://github.com/orocos-toolchain/autoproj/blob/master/orocos.osdeps
>>>>
>>>> clearly marks gccxml "nonexistent" for your system.
>>>>
>>>>
>>>> There is also a bug in the selection mechanism, which should be solved
>>>> by this:
>>>>
>>>> https://github.com/orocos-toolchain/autoproj/pull/28
>>>>
>>>>
>>>> In between when bootstrapping with autoproj v2, and a gccxml error,
>>>> please run "autoproj reconfigure".
>>>>
>>>> When this was sccessful, the castxml selection is saved in the
>>>> .autoproj/config.yml file.
>>>
>>> I just had a look, my .autoproj/config.yml file already has the correct
>>> entry:
>>>
>>> typelib_cxx_loader: castxml
>>>
>>> So I guess no overrides conflict or selection mechanism bug here, no?
>>>
>>> Best,
>>> Leif
>>>
>>>
>>>>
>>>>
>>>> Best, Steffen
>>>>
>>>>
>>>>
>>>> Am 08.09.2017 um 13:27 schrieb Leif Christensen:
>>>>> Hi,
>>>>>
>>>>> sorry for double-posting, I already posted this error to rock-users, but
>>>>> maybe that was the wrong list.
>>>>>
>>>>> Am 05.09.2017 um 17:43 schrieb Leif Christensen:
>>>>>> Hi again,
>>>>>>
>>>>>> recently my system (16.04 Ubuntu, fresh bootstrap) does not like
>>>>>> base/orogen/std any more. Both the master branch and the rock-rc branch.
>>>>>> Since there aren't any recent changes, I guess it is some compatibility
>>>>>> issue on my side?
>>>>>>
>>>>>>> 2017-09-05 17:32:28 +0200: running
>>>>>>> /usr/bin/ruby2.3 -S /home/leifole/dev/rock/tta-sources/tools/orogen/bin/orogen --corba --extensions=cpp_proxies,modelExport --no-rtt-scripting --parallel-build=4 --transports=corba,mqueue,typelib --type-export-policy=used std.orogen
>>>>>>> in directory /home/leifole/dev/rock/tta-sources/base/orogen/std
>>>>>>> ===== Internal error =======
>>>>>>> Please report the following error to the orogen developers
>>>>>>> /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/gccxml.rb:1051:in `popen': no implicit conversion of nil into String (TypeError)
>>>>>>> from /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/gccxml.rb:1051:in `popen'
>>>>>>> from /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/gccxml.rb:1051:in `block in preprocess'
>>>>>>> from /usr/lib/ruby/2.3.0/tempfile.rb:295:in `open'
>>>>>>> from /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/gccxml.rb:1039:in `preprocess'
>>>>>>> from /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/gccxml.rb:1069:in `preprocess'
>>>>>>> from /home/leifole/dev/rock/tta-sources/install/lib/ruby/2.3.0/typelib/cxx.rb:121:in `preprocess'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:1412:in `resolve_toplevel_include_mapping'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:1509:in `perform_pending_loads'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:816:in `rescue in find_type'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:784:in `find_type'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:677:in `block in export_types'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:677:in `map'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/typekit.rb:677:in `export_types'
>>>>>>> from std.orogen:31
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/project.rb:946:in `instance_eval'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/project.rb:946:in `typekit'
>>>>>>> from std.orogen:7
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/gen/project.rb:1373:in `load'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/bin/orogen:170:in `block in <main>'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/lib/orogen/base.rb:67:in `beautify_loading_errors'
>>>>>>> from /home/leifole/dev/rock/tta-sources/tools/orogen/bin/orogen:160:in `<main>'
>>>>>
>>>>> I tried master and all above up to the release candidate, non of them
>>>>> worked. Any ideas would be very much appriciated.
>>>>>
>>>>> Best,
>>>>> Leif
>>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Steffen Planthaber
>> Weltraumrobotik
>>
>> 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-4125
>> Zentrale: +49 421 178 45-0
>> Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
>> E-Mail: Steffen.Planthaber 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
--
Steffen Planthaber
Weltraumrobotik
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-4125
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: Steffen.Planthaber 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
-----------------------------------------------------------------------
More information about the Rock-dev
mailing list