[oe] problems building openldap and libtool

Khem Raj raj.khem at gmail.com
Wed Nov 3 23:48:00 UTC 2010


On Wed, Nov 3, 2010 at 4:36 PM, J. L. <vwyodapink at gmail.com> wrote:
> On Wed, Nov 3, 2010 at 4:24 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Wed, Nov 3, 2010 at 3:55 PM, J. L. <vwyodapink at gmail.com> wrote:
>>> I am having an issue of how libtool is building on my machine. I am
>>> running Ubuntu 10.10 64bit Kernel 2.6.35-23-generic bitbake 1.10.1
>>> overo branch. Here is what happens when building:
>>>
>>> Error for openldap
>>> NOTE: package openldap-2.4.23-r2: task do_configure: Started
>>> ERROR: Function do_configure failed
>>> NOTE: Task failed: ('function do_configure failed',
>>> '/home/vdubhack/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openldap-2.4.23-r2/temp/log.do_configure.12815')
>>> ERROR: Logfile of failure stored in:
>>> /home/vdubhack/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openldap-2.4.23-r2/temp/log.do_configure.12815
>>> Log data follows:
>>> | cp: cannot stat
>>> `/home/vdubhack/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/libtool/ltmain.sh':
>>> No such file or directory
>>
>> can you add DEPENDS += "libtool" to openldap_2.4.23.bb and retry ?
>
> Still getting this error and I cleaned and rebuilt both recipes

try this patch and remove that DEPENDS

diff --git a/recipes/openldap/openldap_2.4.23.bb
b/recipes/openldap/openldap_2.4.23.bb
index 3ac15f6..8afd951 100644
--- a/recipes/openldap/openldap_2.4.23.bb
+++ b/recipes/openldap/openldap_2.4.23.bb
@@ -188,7 +188,7 @@ DEPENDS      += "${OPENLDAP_DEPENDS}"
 CPPFLAGS_append = " -D_GNU_SOURCE"

 do_configure() {
-       cp ${STAGING_DATADIR}/libtool/config/ltmain.sh ${S}/build
+       cp ${STAGING_ETCDIR_NATIVE}/libtool/config/ltmain.sh ${S}/build
        rm -f ${S}/libtool
        aclocal
        libtoolize --force --copy


>
> ERROR: Logfile of failure stored in:
> /home/vdubhack/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/openldap-2.4.23-r2/temp/log.do_configure.2783
> Log data follows:
> | cp: cannot stat
> `/home/vdubhack/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/libtool/ltmain.sh':
> No such file or directory
> | ERROR: Function do_configure failed
> NOTE: package openldap-2.4.23-r2: task do_configure: Failed
>
>
> libtool does not build to this location
> /home/vdubhack/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/libtool/
> it builds to here
> tmp/sysroots/armv7a-angstrom-linux-gnueabi/home/vdubhack/overo-oe/tmp/sysroots/x86_64-linux/usr/share/libtool/
>
> It seems to put home/vdubhack/overo-oe/tmp the incorrect way. instead
> of being in front of the tmp/sysroot like most things
>
> same with aclocal and aclocal-1.11
>
> Thanks
>
> JL
>>
>>
>> -khem
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list