autoproj/manifest: rtt_typelib is neither a package nor a source

Is it possible that autoproj does not allow underscores in package names ?

It refuses to see that rtt_typelib is a package on gitorious...

Peter

autoproj/manifest: rtt_typelib is neither a package nor a source

On Thursday 16 June 2011 22:32:04 Peter Soetens wrote:
> Is it possible that autoproj does not allow underscores in package names ?
>
> It refuses to see that rtt_typelib is a package on gitorious...

It was caused by a missing cmake_package 'rtt_typelib' line in
orocos.autobuild. The error message was confusing.

Peter

autoproj/manifest: rtt_typelib is neither a package nor a source

On 06/16/2011 10:47 PM, Peter Soetens wrote:
> On Thursday 16 June 2011 22:32:04 Peter Soetens wrote:
>> Is it possible that autoproj does not allow underscores in package names ?
>>
>> It refuses to see that rtt_typelib is a package on gitorious...
> It was caused by a missing cmake_package 'rtt_typelib' line in
> orocos.autobuild. The error message was confusing.
What was the error message, and how did you interpret it ?

Sylvain

autoproj/manifest: rtt_typelib is neither a package nor a source

On Mon, Jun 20, 2011 at 9:31 AM, Sylvain Joyeux <sylvain [dot] joyeux [..] ...> wrote:
> On 06/16/2011 10:47 PM, Peter Soetens wrote:
>>
>> On Thursday 16 June 2011 22:32:04 Peter Soetens wrote:
>>>
>>> Is it possible that autoproj does not allow underscores in package names
>>> ?
>>>
>>> It refuses to see that rtt_typelib is a package on gitorious...
>>
>> It was caused by a missing cmake_package 'rtt_typelib' line in
>> orocos.autobuild. The error message was confusing.
>
> What was the error message, and how did you interpret it ?

You can mimick the error I get by removing the cmake_package(
rtt_typelib ) line from orocos.autobuild.

The error was: "autoproj/manifest: rtt_typelib is neither a package
nor a source" So I thought it was picking up the layout in the
manifest file (as it suggests) but could not map it to a source.yaml
file, ie, that it didn't know the package was on gitorious. it should
have said: "I found this package, but I don't know how to build it.
See orocos.autobuild."

>
> Sylvain
>

Peter

autoproj/manifest: rtt_typelib is neither a package nor a source

On 06/20/2011 11:36 AM, Peter Soetens wrote:
>> What was the error message, and how did you interpret it ?
> You can mimick the error I get by removing the cmake_package(
> rtt_typelib ) line from orocos.autobuild.
>
> The error was: "autoproj/manifest: rtt_typelib is neither a package
> nor a source" So I thought it was picking up the layout in the
> manifest file (as it suggests) but could not map it to a source.yaml
> file, ie, that it didn't know the package was on gitorious. it should
> have said: "I found this package, but I don't know how to build it.
> See orocos.autobuild."
Well, it should actually say that the package is not defined in any
autobuild file.

autoproj has no way to know that you expect it to be in orocos.autobuild

Sylvain

autoproj/manifest: rtt_typelib is neither a package nor a source

On 20/06/2011 12:59, Sylvain Joyeux wrote:
> On 06/20/2011 11:36 AM, Peter Soetens wrote:
>>> What was the error message, and how did you interpret it ?
>> You can mimick the error I get by removing the cmake_package(
>> rtt_typelib ) line from orocos.autobuild.
>>
>> The error was: "autoproj/manifest: rtt_typelib is neither a package
>> nor a source" So I thought it was picking up the layout in the
>> manifest file (as it suggests) but could not map it to a source.yaml
>> file, ie, that it didn't know the package was on gitorious. it should
>> have said: "I found this package, but I don't know how to build it.
>> See orocos.autobuild."
> Well, it should actually say that the package is not defined in any
> autobuild file.
>
> autoproj has no way to know that you expect it to be in orocos.autobuild
>
> Sylvain
The current error message sounds clear to me actually (because I already
encountered it a few times ;)).

Instead of modifying it, the best would be to have a FAQ somewhere on
the Orocos wiki (or Rock's one) such that people can find what's the
message really means and how to solve it!

Charles.

autoproj/manifest: rtt_typelib is neither a package nor a source

On Thu, 16 Jun 2011 22:32:04 +0200, Peter Soetens wrote:
> Is it possible that autoproj does not allow underscores in package
> names ?
>
> It refuses to see that rtt_typelib is a package on gitorious...
>
> Peter

rtt_typelib is not defined as a package on the orocos.autobuild file of
autoproj/ (at least on master).

It is where you have to define the available packages and the way they
will be built (as a cmake_package I guess).

Charles.

autoproj/manifest: rtt_typelib is neither a package nor a source

On Thu, 16 Jun 2011 22:25:55 +0200, Charles Lesire-Cabaniols wrote:
> On Thu, 16 Jun 2011 22:32:04 +0200, Peter Soetens wrote:
>> Is it possible that autoproj does not allow underscores in package
>> names ?
>>
>> It refuses to see that rtt_typelib is a package on gitorious...
>>
>> Peter
>
> rtt_typelib is not defined as a package on the orocos.autobuild file
> of
> autoproj/ (at least on master).

To be clearer, this file is on the autoproj/remotes/orocos.toolchain/
folder of your autoproj tree, that corresponds to the 'autoproj' git
repository of the Orocos Toolchain project.

>
> It is where you have to define the available packages and the way
> they
> will be built (as a cmake_package I guess).
>
> Charles.

autoproj/manifest: rtt_typelib is neither a package nor a source

On Thursday 16 June 2011 22:31:30 Charles Lesire-Cabaniols wrote:
> On Thu, 16 Jun 2011 22:25:55 +0200, Charles Lesire-Cabaniols wrote:
> > On Thu, 16 Jun 2011 22:32:04 +0200, Peter Soetens wrote:
> >> Is it possible that autoproj does not allow underscores in package
> >> names ?
> >>
> >> It refuses to see that rtt_typelib is a package on gitorious...
> >>
> >> Peter
> >
> > rtt_typelib is not defined as a package on the orocos.autobuild file
> > of
> > autoproj/ (at least on master).
>
> To be clearer, this file is on the autoproj/remotes/orocos.toolchain/
> folder of your autoproj tree, that corresponds to the 'autoproj' git
> repository of the Orocos Toolchain project.
>
> > It is where you have to define the available packages and the way
> > they
> > will be built (as a cmake_package I guess).
> >
> > Charles.

Thanks :-)

Peter