[oe] [PATCH] cacaoh: patches to get do_install do its work

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Tue Oct 26 09:01:20 UTC 2010


Khem Raj <raj.khem at gmail.com> writes:

>>>>> -    install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
>>>>> +    install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}
>>
>> * libtool creates sometimes a wrapper script for executables (e.g. when
>>   they are linked against local libraries) and places the real executable
>>   in .libs/.  Manually installing one of them is error prone and it might
>>   break with other linker flags or libtool versions.
>
> the binary in .libs do not exist so the link is final in this case.

Really?  The author of the original recipe had an environment where the
executable was in .libs/.  Are you really sure that such an environment
does not exist anymore? Or will the recipe now silently fail by installing
the shell wrapper sometimes?


> but in any case If you can come up with a patch to install it using
> libtool that would be nice.

Sorry; providing a patch means testing it (regardless whether it is
trivial).  Here, I am not sure whether 'libtool' or the platform
prefixed '<arch>-libtool' is required and how to express
'<arch>-libtool' in oe.

I gave my comment to a patch which fixed a broken recipe by replacing it
with another broken recipe.  So I expect that the author of this patch
fixes and tests his work.

For completeness; install command should be

| libtool --mode=install install -m 0755 src/cacaoh/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV}



Enrico




More information about the Openembedded-devel mailing list