From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH v2 3/7] libldb: add new recipe
Date: Tue, 18 Aug 2015 12:41:55 +0200 [thread overview]
Message-ID: <20150818104155.GB13732@jama> (raw)
In-Reply-To: <30DC4EDFD798C94083F3E083754532CC011C1F4DD3@G08CNEXMBPEKD03.g08.fujitsu.local>
[-- Attachment #1: Type: text/plain, Size: 31313 bytes --]
On Thu, Aug 06, 2015 at 06:57:08AM +0000, Bian, Naimeng wrote:
> > -----Original Message-----
> > From: openembedded-devel-bounces@lists.openembedded.org
> > [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of
> > Martin Jansa
> > Sent: Monday, August 03, 2015 5:40 PM
> > To: openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb: add new recipe
> >
> > On Mon, Aug 03, 2015 at 08:58:04AM +0000, Bian, Naimeng wrote:
> > > Hi Martin
> > >
> > > Thanks a lot for your help.
> > > The patchset has been removed from master-next, does it mean I should re-send
> > it again.
> > > If not, would you telling me what should I do at the next-step.
> >
> > It was still failing with updated libldb and samba, so I've moved it from
> > master-next to contrib/jansa/master-next-unresolved-review and I'm waiting
> > for updated version.
> >
>
> I have pushed the updated patch to my git-hub tree.
> Because I just updated the patch of libldb and samba, so please rebase them from there.
>
> - libldb
> https://github.com/bendaaron/meta-oe-dev/commit/972123f0722033ddc7d1c8feb2eb0479ea774edb
>
> - samba
> https://github.com/bendaaron/meta-oe-dev/commit/c14b4b8ef8827d305bdd680cb0e8a00e08b8fba0
>
> If you think that it's better to re-send patcheset to this ML, I will do it.
I've taken all 7 commits before c14b4b8ef8827d305bdd680cb0e8a00e08b8fba0
to master-next, lets see if it helps.
Please work with Koen to compare your implementations and find good
version which works for all.
http://lists.openembedded.org/pipermail/openembedded-devel/2015-August/102624.html
>
> Thanks
> Bian
>
> > > Thanks
> > > Bian
> > >
> > > > -----Original Message-----
> > > > From: openembedded-devel-bounces@lists.openembedded.org
> > > > [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf
> > > > Of Bian, Naimeng
> > > > Sent: Friday, July 17, 2015 3:40 PM
> > > > To: openembedded-devel@lists.openembedded.org
> > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb: add new recipe
> > > >
> > > > Thanks for your help.
> > > >
> > > > Please rebase the patch of libldb and samba from here.
> > > > - libldb
> > > >
> > > > https://github.com/bendaaron/meta-oe-dev/commit/f7a7d49164c8f5a4e8b1
> > > > 2ccdc9
> > > > 2e08d73952a97c
> > > >
> > > > - samba
> > > >
> > > > https://github.com/bendaaron/meta-oe-dev/commit/db03404a4b6fed975345
> > > > 7055fe
> > > > c88b523ceeda3c
> > > >
> > > > Thanks
> > > > Bian
> > > >
> > > > > -----Original Message-----
> > > > > From: openembedded-devel-bounces@lists.openembedded.org
> > > > > [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> > > > > Behalf Of Martin Jansa
> > > > > Sent: Tuesday, July 14, 2015 12:17 AM
> > > > > To: openembedded-devel@lists.openembedded.org
> > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb: add new recipe
> > > > >
> > > > > On Fri, Jul 10, 2015 at 03:49:02AM +0000, Bian, Naimeng wrote:
> > > > > > > -----Original Message-----
> > > > > > > From: openembedded-devel-bounces@lists.openembedded.org
> > > > > > > [mailto:openembedded-devel-bounces@lists.openembedded.org] On
> > > > > > > Behalf Of Martin Jansa
> > > > > > > Sent: Thursday, July 09, 2015 11:54 PM
> > > > > > > To: openembedded-devel@lists.openembedded.org
> > > > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb: add new
> > > > > > > recipe
> > > > > > >
> > > > > > > On Thu, Jul 09, 2015 at 12:30:42AM +0000, Bian, Naimeng wrote:
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: openembedded-devel-bounces@lists.openembedded.org
> > > > > > > > > [mailto:openembedded-devel-bounces@lists.openembedded.org]
> > > > > > > > > On Behalf Of Martin Jansa
> > > > > > > > > Sent: Wednesday, July 08, 2015 7:59 PM
> > > > > > > > > To: openembedded-devel@lists.openembedded.org
> > > > > > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb: add new
> > > > > > > > > recipe
> > > > > > > > >
> > > > > > > > > On Wed, Jul 08, 2015 at 12:32:37PM +0200, Martin Jansa wrote:
> > > > > > > > > > On Thu, Jul 02, 2015 at 09:01:14AM +0000, Bian, Naimeng wrote:
> > > > > > > > > > > Hi Martin,
> > > > > > > > > > >
> > > > > > > > > > > I think I have fixed them and pushed them to github,
> > > > > > > > > > > please cherry-pick
> > > > > > > > > them.
> > > > > > > > > > >
> > > > > > > > > > > - libldb
> > > > > > > > > > >
> > > > > > > > > > > https://github.com/bendaaron/meta-oe-dev/commit/c6cade
> > > > > > > > > > > 4236
> > > > > > > > > > > 22
> > > > > > > > > > > 6646
> > > > > > > > > > > fde9
> > > > > > > > > > > 9611c20fe3fcc6612e7a
> > > > > > > > > >
> > > > > > > > > > Hi Bian,
> > > > > > > > > >
> > > > > > > > > > it's still failing with this patch. I'll try to build it
> > > > > > > > > > manually and provide more details.
> > > > > > > > >
> > > > > > > > > find /usr/lib/python* -name \*tdb\* =nothing=
> > > > > > > > >
> > > > > > > > > ldb and tdb workdirs are here:
> > > > > > > > > http://logs.nslu2-linux.org/buildlogs/oe/world/libldb.tar.
> > > > > > > > > bz2
> > > > > > > > > http://logs.nslu2-linux.org/buildlogs/oe/world/libtdb.tar.
> > > > > > > > > bz2
> > > > > > > > >
> > > > > > > >
> > > > > > > > Thank you very much.
> > > > > > > > I confirmed that tdb.so is exists in
> > > > > > > > ${D}/usr/lib/python2.7/site-packages
> > > > > > > of libtdb.
> > > > > > > >
> > > > > > > > Would you helping me check whether does tdb.so exist in
> > > > > > > > ${STAGING_DIR_HOST}/${PYTHON_SITEPACKAGES_DIR}
> > > > > > > > after building libtdb.
> > > > > > > > # find
> > > > > > > > /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-6
> > > > > > > > 4/us r/ lib/ python2.7/site-packages -name \*tdb\*
> > > > > > >
> > > > > > > that server is already buiding domething else and tmpfs is
> > > > > > > gone, but in the archive I've sent you we can see that it's in
> > > > > > > sysroot-destdir directory so I believe it was also in
> > > > > > > /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/
> > > > > > > usr/
> > > > > > > li
> > > > > > > b/pyth
> > > > > > > on2.7/site-packages
> > > > > > >
> > > > > > > jenkins@aruba:~/oe/world/shr-core$ find libtdb/ -name tdb.so
> > > > > > > libtdb/1.3.0-r0/image/usr/lib/python2.7/site-packages/tdb.so
> > > > > > > libtdb/1.3.0-r0/package/usr/lib/python2.7/site-packages/.debug
> > > > > > > /tdb
> > > > > > > .s o
> > > > > > > libtdb/1.3.0-r0/package/usr/lib/python2.7/site-packages/tdb.so
> > > > > > > libtdb/1.3.0-r0/packages-split/python-tdb/usr/lib/python2.7/si
> > > > > > > te-p
> > > > > > > ac
> > > > > > > kages/
> > > > > > > tdb.so
> > > > > > > libtdb/1.3.0-r0/packages-split/python-tdb-dbg/usr/lib/python2.
> > > > > > > 7/si
> > > > > > > te
> > > > > > > -packa
> > > > > > > ges/.debug/tdb.so
> > > > > > >
> > libtdb/1.3.0-r0/sysroot-destdir/usr/lib/python2.7/site-packages/tdb.
> > > > > > > so libtdb/1.3.0-r0/tdb-1.3.0/bin/python/tdb.so
> > > > > > >
> > > > > >
> > > > > > Thanks for your time.
> > > > > >
> > > > > > I'm sorry for that, but would you mind to apply this patch which
> > > > > > is based on master-next, and then build libldb again to catch
> > > > > > more information
> > > > > for me.
> > > > > > https://github.com/bendaaron/meta-oe-dev/commit/e1f5e847e197cf0a
> > > > > > bad5
> > > > > > 78
> > > > > > e74d9f7b8f1c3ff951
> > > > >
> > > > > | Checking for
> > > > > getgrouplist :
> > ok
> > > > > | Checking for system tdb >=
> > > > > 1.2.13 : yes
> > > > > | module[/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux8
> > > > > | 6-64 /u sr/lib/python2.7/site-packages/tdb.so] exists in
> > > > > | [/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-64/u
> > > > > | sr/l
> > > > > | ib
> > > > > | /python2.7/site-packages] Cross
> > > > > |
> > > > > module[/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-
> > > > > 64/u sr/l ib/python2.7/site-packages/tdb.so] can not be loaded.
> > > > > | Close
> > > > > module[/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemux86-
> > > > > 64/u sr/l ib/python2.7/site-packages/tdb.so]. Note: maybe some
> > > > > exception was caught!
> > > > > | ERROR: Python module pytdb of version 1.2.13 not found, and
> > > > > | bundling disabled
> > > > > | WARNING: exit code 1 from a shell command.
> > > > > | ERROR: Function failed: do_configure (log file is located at
> > > > > | /home/jenkins/oe/world/shr-core/tmp-glibc/work/core2-64-oe-linux
> > > > > | /lib
> > > > > | ld
> > > > > | b/1.1.17-r0/temp/log.do_configure.15453)
> > > > > NOTE: recipe libldb-1.1.17-r0: task do_configure: Failed
> > > > >
> > > > > >
> > > > > > Thanks
> > > > > > Bian
> > > > > >
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > > Bian
> > > > > > > >
> > > > > > > > > > > - samba
> > > > > > > > > > >
> > > > > > > > > > > https://github.com/bendaaron/meta-oe-dev/commit/25430e
> > > > > > > > > > > e92b
> > > > > > > > > > > bb
> > > > > > > > > > > 2820
> > > > > > > > > > > 294c
> > > > > > > > > > > b9ce239d9d4dccc492ea
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > > Bian
> > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From:
> > > > > > > > > > > > openembedded-devel-bounces@lists.openembedded.org
> > > > > > > > > > > > [mailto:openembedded-devel-bounces@lists.openembedde
> > > > > > > > > > > > d.or g] On Behalf Of Bian, Naimeng
> > > > > > > > > > > > Sent: Wednesday, June 24, 2015 3:05 PM
> > > > > > > > > > > > To: openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb:
> > > > > > > > > > > > add new recipe
> > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From:
> > > > > > > > > > > > > openembedded-devel-bounces@lists.openembedded.org
> > > > > > > > > > > > > [mailto:openembedded-devel-bounces@lists.openembedded.
> > > > > > > > > > > > > or g] On Behalf Of Martin Jansa
> > > > > > > > > > > > > Sent: Tuesday, June 23, 2015 4:05 PM
> > > > > > > > > > > > > To: openembedded-devel
> > > > > > > > > > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb:
> > > > > > > > > > > > > add new recipe
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't have access to that build anymore (because
> > > > > > > > > > > > > it's jenkins job using tmpfs for TMPDIR, so after
> > > > > > > > > > > > > the build the TMPDIR is gone), but it's failing
> > > > > > > > > > > > > only in
> > > > > > > > > > > > > qemux86-64 builds, so I assume that it's finding
> > > > > > > > > > > > > host tdb or python directories, because it's
> > > > > > > > > > > > > running on
> > > > > > > > > > > > > 12.04 Ubuntu
> > > > > x86-64.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Try to install tdb on your build host if it allows
> > > > > > > > > > > > > you to reproduce the issue, otherwise I'll try to
> > > > > > > > > > > > > reproduce it again in some
> > > > > > > > > next jenkins build.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > My host is CentOS6.5 x86-64, and although I
> > > > > > > > > > > > installed tdb.so into my host, i still cannot reproduce
> > it.
> > > > > > > > > > > >
> > > > > > > > > > > > And, I have exported
> > > > > > > > > > > > PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_
> > > > > > > > > > > > DIR} in waf-samba.bbclasss which is inherited by
> > > > > > > > > > > > libldb. IMO, it should find modules in PYTHONPATH
> > > > > > > > > > > > firstly.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > > Bian
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > On Tue, Jun 23, 2015 at 7:47 AM, Bian, Naimeng
> > > > > > > > > > > > > <biannm@cn.fujitsu.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From:
> > > > > > > > > > > > > > > openembedded-devel-bounces@lists.openembedded.
> > > > > > > > > > > > > > > org
> > > > > > > > > > > > > > > [mailto:openembedded-devel-bounces@lists.opene
> > > > > > > > > > > > > > > mbed de d.or g] On Behalf Of Martin Jansa
> > > > > > > > > > > > > > > Sent: Friday, June 19, 2015 11:57 PM
> > > > > > > > > > > > > > > To: openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > > > > Subject: Re: [oe] [meta-oe][PATCH v2 3/7] libldb:
> > > > > > > > > > > > > > > add new recipe
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Jun 17, 2015 at 03:49:09PM +0800, Bian
> > > > > > > > > > > > > > > Naimeng
> > > > wrote:
> > > > > > > > > > > > > > > > libldb is required by samba4
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Signed-off-by: Bian Naimeng
> > > > > > > > > > > > > > > > <biannm@cn.fujitsu.com>
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > .../do-not-import-target-module-in-configure
> > > > > > > > > > > > > > > > .pat
> > > > > > > > > > > > > > > > ch
> > > > > > > > > > > > > > > > |
> > > > > > > > > > > > > > > > 32
> > > > > > > > > > > > > > +++++++++++++++
> > > > > > > > > > > > > > > > meta-oe/recipes-support/libldb/libldb_1.1.17.bb
> > |
> > > > > 45
> > > > > > > > > > > > > > > ++++++++++++++++++++++
> > > > > > > > > > > > > > > > 2 files changed, 77 insertions(+) create
> > > > > > > > > > > > > > > > mode
> > > > > > > > > > > > > > > > 100644
> > > > > > > > > > > > > > > > meta-oe/recipes-support/libldb/libldb/do-not
> > > > > > > > > > > > > > > > -imp
> > > > > > > > > > > > > > > > or
> > > > > > > > > > > > > > > > t-ta
> > > > > > > > > > > > > > > > rget
> > > > > > > > > > > > > > > > -modul
> > > > > > > > > > > > > > > > e- in-c onfigure.patch create mode 100644
> > > > > > > > > > > > > > > > meta-oe/recipes-support/libldb/libldb_1.1.17
> > > > > > > > > > > > > > > > .bb
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Fails to build in bitbake world:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > | Checking for system tdb >=
> > > > > > > > > > > > > > >
> > 1.2.13 :
> > > > > yes
> > > > > > > > > > > > > > > | ERROR: Python module pytdb of version 1.2.13
> > > > > > > > > > > > > > > | not found, and bundling disabled
> > > > > > > > > > > > > > > | WARNING: exit code 1 from a shell command.
> > > > > > > > > > > > > > > | ERROR: Function failed: do_configure (log
> > > > > > > > > > > > > > > | file is located at
> > > > > > > > > > > > > > > | /home/jenkins/oe/world/shr-core/tmp-glibc/wo
> > > > > > > > > > > > > > > | rk/c
> > > > > > > > > > > > > > > | or
> > > > > > > > > > > > > > > | e2-6
> > > > > > > > > > > > > > > | 4-oe
> > > > > > > > > > > > > > > | -linux
> > > > > > > > > > > > > > > | /l
> > > > > > > > > > > > > > > | ibld
> > > > > > > > > > > > > > > | b/1.1.17-r0/temp/log.do_configure.22697)
> > > > > > > > > > > > > > > NOTE: recipe libldb-1.1.17-r0: task do_configure:
> > > > > > > > > > > > > > > Failed
> > > > > > > > > > > > > > > ERROR: Task 25505
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > (/home/jenkins/oe/world/shr-core/meta-openembedd
> > > > > > > > > > > > > > ed/m
> > > > > > > > > > > > > > et
> > > > > > > > > > > > > > a-oe
> > > > > > > > > > > > > > /rec
> > > > > > > > > > > > > > ipes-s
> > > > > > > > > > > > > > up
> > > > > > > > > > > > > > port
> > > > > > > > > > > > > > > /libldb/libldb_1.1.17.bb, do_configure) failed
> > > > > > > > > > > > > > > with exit code
> > > > > > > '1'
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > tdb.so is provided by libtdb which is DEPEND-ed
> > > > > > > > > > > > > > by libldb, I think it should be installed into
> > > > > > > > > STAGING_DIR_HOST/PYTHON_SITEPACKAGES_DIR.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Because I could not reproduce it in my building,
> > > > > > > > > > > > > > would you mind telling me whether does tdb.so
> > > > > > > > > > > > > > exist in
> > > > > > > > > > > > > > STAGING_DIR_HOST/PYTHON_SITEPACKAGES_DIR/ while
> > > > > > > > > > > > > > this error was
> > > > > > > caught.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > Bian
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > diff --git
> > > > > > > > > > > > > > > > a/meta-oe/recipes-support/libldb/libldb/do-n
> > > > > > > > > > > > > > > > ot-i
> > > > > > > > > > > > > > > > mp
> > > > > > > > > > > > > > > > ort-
> > > > > > > > > > > > > > > > targ
> > > > > > > > > > > > > > > > et-mod
> > > > > > > > > > > > > > > > ul
> > > > > > > > > > > > > > > > e-in
> > > > > > > > > > > > > > > > -configure.patch
> > > > > > > > > > > > > > > > b/meta-oe/recipes-support/libldb/libldb/do-n
> > > > > > > > > > > > > > > > ot-i
> > > > > > > > > > > > > > > > mp
> > > > > > > > > > > > > > > > ort-
> > > > > > > > > > > > > > > > targ
> > > > > > > > > > > > > > > > et-mod
> > > > > > > > > > > > > > > > ul
> > > > > > > > > > > > > > > > e-in
> > > > > > > > > > > > > > > > -configure.patch new file mode 100644 index
> > > > > > > > > > > > > > > > 0000000..b4d522a
> > > > > > > > > > > > > > > > --- /dev/null
> > > > > > > > > > > > > > > > +++ b/meta-oe/recipes-support/libldb/libldb/
> > > > > > > > > > > > > > > > +++ do-n
> > > > > > > > > > > > > > > > +++ ot
> > > > > > > > > > > > > > > > +++ -imp
> > > > > > > > > > > > > > > > +++ ort-
> > > > > > > > > > > > > > > > +++ target
> > > > > > > > > > > > > > > > +++ -m
> > > > > > > > > > > > > > > > +++ odul
> > > > > > > > > > > > > > > > +++ e-in-configure.patch
> > > > > > > > > > > > > > > > @@ -0,0 +1,32 @@
> > > > > > > > > > > > > > > > +Some module can be loaded while cross
> > > > > > > > > > > > > > > > +compile, we jst check whether the module
> > > > > > > > > > > > > > > > +exist
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +Signed-off-by: Bian Naimeng
> > > > > > > > > > > > > > > > +<biannm@cn.fujitsu.com>
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +---
> > > > > > > > > > > > > > > > +ldb-1.1.17.orig/buildtools/wafsamba/samba_b
> > > > > > > > > > > > > > > > +undl
> > > > > > > > > > > > > > > > +ed
> > > > > > > > > > > > > > > > +.py
> > > > > > > > > > > > 2014-05-05
> > > > > > > > > > > > > > > 17:00:41.000000000 +0900
> > > > > > > > > > > > > > > > ++++ ldb-1.1.17/buildtools/wafsamba/samba_bundled.
> > > > > > > > > > > > > > > > ++++ py
> > > > > > > > > > > > 2015-06-15
> > > > > > > > > > > > > > > 10:09:50.210000217 +0900
> > > > > > > > > > > > > > > > +@@ -1,7 +1,7 @@ # functions to support
> > > > > > > > > > > > > > > > +bundled libraries
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > + from Configure import conf -import sys,
> > > > > > > > > > > > > > > > + Logs
> > > > > > > > > > > > > > > > ++import sys, Logs, imp
> > > > > > > > > > > > > > > > + from samba_utils import *
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > + def PRIVATE_NAME(bld, name,
> > > > > > > > > > > > > > > > + private_extension,
> > > > > > > private_library):
> > > > > > > > > > > > > > > > +@@ -222,6 +222,16 @@ def
> > > > > > > > > > > > > > > > +CHECK_BUNDLED_SYSTEM_PYTHON(conf,
> > > > > > > li
> > > > > > > > > > > > > > > > + m = __import__(modulename)
> > > > > > > > > > > > > > > > + except ImportError:
> > > > > > > > > > > > > > > > + found = False
> > > > > > > > > > > > > > > > ++
> > > > > > > > > > > > > > > > ++ build_arch = os.environ["BUILD_ARCH"]
> > > > > > > > > > > > > > > > ++ host_arch = os.environ["HOST_ARCH"]
> > > > > > > > > > > > > > > > ++ if build_arch != host_arch:
> > > > > > > > > > > > > > > > ++ # Some modules maybe can not
> > > > > > > > > > > > > > > > ++ be imported while cross
> > > > > > > > > > > > > > compile
> > > > > > > > > > > > > > > > ++ # We just check whether the module
> > exist
> > > > > > > > > > > > > > > > ++ stuff =
> > > > > > > > > > > > > > > > ++ imp.find_module(modulename,
> > > > > > > > > > > > > > > [os.environ["PYTHONPATH"]])
> > > > > > > > > > > > > > > > ++ if stuff != None:
> > > > > > > > > > > > > > > > ++ Logs.warn('Cross
> > > > > > > > > > > > > > > > ++ module[%s] has been found, but can
> > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > be loaded.' % (stuff[1]))
> > > > > > > > > > > > > > > > ++ found = True
> > > > > > > > > > > > > > > > + else:
> > > > > > > > > > > > > > > > + try:
> > > > > > > > > > > > > > > > + version = m.__version__
> > > > > > > > > > > > > > > > diff --git
> > > > > > > > > > > > > > > > a/meta-oe/recipes-support/libldb/libldb_1.1.
> > > > > > > > > > > > > > > > 17.b
> > > > > > > > > > > > > > > > b
> > > > > > > > > > > > > > > > b/meta-oe/recipes-support/libldb/libldb_1.1.
> > > > > > > > > > > > > > > > 17.b b new file mode 100644 index
> > > > > > > > > > > > > > > > 0000000..17607f7
> > > > > > > > > > > > > > > > --- /dev/null
> > > > > > > > > > > > > > > > +++ b/meta-oe/recipes-support/libldb/libldb_1.1.
> > > > > > > > > > > > > > > > +++ 17
> > > > > > > > > > > > > > > > +++ .bb
> > > > > > > > > > > > > > > > @@ -0,0 +1,45 @@
> > > > > > > > > > > > > > > > +SUMMARY = "Hierarchical, reference counted
> > > > > > > > > > > > > > > > +memory pool system with
> > > > > > > > > > > > > > > destructors"
> > > > > > > > > > > > > > > > +HOMEPAGE = "http://ldb.samba.org"
> > > > > > > > > > > > > > > > +SECTION = "libs"
> > > > > > > > > > > > > > > > +LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +DEPENDS += "libtdb talloc libtevent libtdb"
> > > > > > > > > > > > > > > > +RDEPENDS_${PN} += "libtevent popt libtalloc"
> > > > > > > > > > > > > > > > +RDEPENDS_pyldb += "python libtdb libtalloc"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +SRC_URI =
> > > > > > > > > > > > > > > > +"http://samba.org/ftp/ldb/ldb-${PV}.tar.gz
> > > > > > > > > > > > > > > > +\
> > > > > > > > > > > > > > > > +
> > > > > > > > > file://do-not-import-target-module-in-configure.patch"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +LIC_FILES_CHKSUM =
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > "file://${COREBASE}/meta/files/common-licenses/LGPL-3.
> > > > > > > > > > > > > > 0;md
> > > > > > > > > > > > > > 5=bf
> > > > > > > > > > > > > > ccfe95
> > > > > > > > > > > > > > 22
> > > > > > > > > > > > > > 69ff
> > > > > > > > > > > > > > > f2b407dd11f2f3083b \
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > file://${COREBASE}/meta/files/common-licenses/LG
> > > > > > > > > > > > > > PL-2
> > > > > > > > > > > > > > .1
> > > > > > > > > > > > > > ;md5
> > > > > > > > > > > > > > =1a6
> > > > > > > > > > > > > > d268fd
> > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > 8675
> > > > > > > > > > > > > > > ffea8be556788b780 \
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > file://${COREBASE}/meta/files/common-licenses/GPL-3.
> > > > > > > > > > > > > > 0;
> > > > > > > > > > > > > > md5=
> > > > > > > > > > > > > > c79f
> > > > > > > > > > > > > > f39f19
> > > > > > > > > > > > > > df
> > > > > > > > > > > > > > ec6d
> > > > > > > > > > > > > > > 293b95dea7b07891"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +SRC_URI[md5sum] = "7c2ab4e3f2a4186493aa06eabbc61cc0"
> > > > > > > > > > > > > > > > +SRC_URI[sha256sum] =
> > > > > > > > > > > > > > >
> > > > > > > > >
> > "b9a312aad19e9463716d257d8f2529fd7fc1a5ef24f6dcdc0c4a1930d7bdb6e6"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +inherit waf-samba
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +S = "${WORKDIR}/ldb-${PV}"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +EXTRA_OECONF += "--disable-rpath \
> > > > > > > > > > > > > > > > + --disable-rpath-install \
> > > > > > > > > > > > > > > > + --bundled-libraries=NONE \
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +--builtin-libraries=replace \
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +--with-modulesdir=${libdir}/ldb/modules
> > > > > > > \
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > + --with-privatelibdir=${libdir}/ldb \
> > > > > > > > > > > > > > > > +
> > > > > > > --with-libiconv=${STAGING_DIR_HOST}${prefix}\
> > > > > > > > > > > > > > > > + "
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +PACKAGES += "pyldb pyldb-dbg pyldb-dev"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +FILES_${PN} += "${libdir}/ldb/*"
> > > > > > > > > > > > > > > > +FILES_${PN}-dbg += "${libdir}/ldb/.debug/* \
> > > > > > > > > > > > > > > > +
> > ${libdir}/ldb/modules/ldb/.debug/*"
> > > > > > > > > > > > > > > > +
> > > > > > > > > > > > > > > > +FILES_pyldb =
> > > > > > > > > > > > > > > > +"${libdir}/python${PYTHON_BASEVERSION}/site
> > > > > > > > > > > > > > > > +-pac
> > > > > > > > > > > > > > > > +ka
> > > > > > > > > > > > > > > > +ges/
> > > > > > > > > > > > > > > > +*
> > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > + ${libdir}/libpyldb-util.so.1 \
> > > > > > > > > > > > > > > > + ${libdir}/libpyldb-util.so.1.1.17
> > \
> > > > > > > > > > > > > > > > + "
> > > > > > > > > > > > > > > > +FILES_pyldb-dbg =
> > > > > > > > > > > > > > > "${libdir}/python${PYTHON_BASEVERSION}/site-pa
> > > > > > > > > > > > > > > ckag
> > > > > > > > > > > > > > > es
> > > > > > > > > > > > > > > /.de
> > > > > > > > > > > > > > > bug
> > > > > > > > > > > > > > > \
> > > > > > > > > > > > > > > > +
> > > > > ${libdir}/.debug/libpyldb-util.so.1.1.17"
> > > > > > > > > > > > > > > > +FILES_pyldb-dev = "${libdir}/libpyldb-util.so"
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > 1.9.1
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ____________________________________________
> > > > > > > > > > > > > > > > ___ Openembedded-devel mailing list
> > > > > > > > > > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > > > > > http://lists.openembedded.org/mailman/listin
> > > > > > > > > > > > > > > > fo/o
> > > > > > > > > > > > > > > > pe
> > > > > > > > > > > > > > > > nemb
> > > > > > > > > > > > > > > > edde
> > > > > > > > > > > > > > > > d-deve
> > > > > > > > > > > > > > > > l
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > > Openembedded-devel mailing list
> > > > > > > > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > > > http://lists.openembedded.org/mailman/listinfo/o
> > > > > > > > > > > > > > pene
> > > > > > > > > > > > > > mb
> > > > > > > > > > > > > > edde
> > > > > > > > > > > > > > d-de
> > > > > > > > > > > > > > vel
> > > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > > Openembedded-devel mailing list
> > > > > > > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > > http://lists.openembedded.org/mailman/listinfo/ope
> > > > > > > > > > > > > nemb
> > > > > > > > > > > > > ed
> > > > > > > > > > > > > ded-
> > > > > > > > > > > > > deve
> > > > > > > > > > > > > l
> > > > > > > > > > > > --
> > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > Openembedded-devel mailing list
> > > > > > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > > > > > http://lists.openembedded.org/mailman/listinfo/opene
> > > > > > > > > > > > mbed
> > > > > > > > > > > > de
> > > > > > > > > > > > d-de
> > > > > > > > > > > > vel
> > > > > > > > > > > --
> > > > > > > > > > > _______________________________________________
> > > > > > > > > > > Openembedded-devel mailing list
> > > > > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > > > > http://lists.openembedded.org/mailman/listinfo/openemb
> > > > > > > > > > > edde
> > > > > > > > > > > d-
> > > > > > > > > > > deve
> > > > > > > > > > > l
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > > > > > > > --
> > > > > > > > _______________________________________________
> > > > > > > > Openembedded-devel mailing list
> > > > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-
> > > > > > > > deve
> > > > > > > > l
> > > > > > >
> > > > > > > --
> > > > > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > > > > > --
> > > > > > _______________________________________________
> > > > > > Openembedded-devel mailing list
> > > > > > Openembedded-devel@lists.openembedded.org
> > > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-deve
> > > > > > l
> > > > >
> > > > > --
> > > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> > --
> > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2015-08-18 10:41 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-17 7:49 [meta-oe][PATCH v2 0/7] add samba4 and required recipe Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 1/7] waf-samba: add new class Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 2/7] ctdb: add new recipe Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 3/7] libldb: " Bian Naimeng
2015-06-19 15:56 ` Martin Jansa
2015-06-23 5:47 ` Bian, Naimeng
2015-06-23 8:05 ` Martin Jansa
2015-06-24 7:04 ` Bian, Naimeng
2015-07-02 9:01 ` Bian, Naimeng
2015-07-08 10:32 ` Martin Jansa
2015-07-08 11:59 ` Martin Jansa
2015-07-09 0:30 ` Bian, Naimeng
2015-07-09 15:54 ` Martin Jansa
2015-07-10 3:49 ` Bian, Naimeng
2015-07-13 16:17 ` Martin Jansa
2015-07-17 7:39 ` Bian, Naimeng
2015-08-03 8:58 ` Bian, Naimeng
2015-08-03 9:39 ` Martin Jansa
2015-08-06 6:57 ` Bian, Naimeng
2015-08-18 10:41 ` Martin Jansa [this message]
2015-06-17 7:49 ` [meta-oe][PATCH v2 4/7] libtdb: " Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 5/7] libtevent: " Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 6/7] talloc: upgrade to 2.1.1 Bian Naimeng
2015-06-17 7:49 ` [meta-oe][PATCH v2 7/7] samba: upgrade to 4.1.12 Bian Naimeng
2015-06-17 20:36 ` Martin Jansa
2015-06-18 0:59 ` Bian, Naimeng
2015-06-18 15:31 ` Martin Jansa
2015-06-19 3:16 ` Bian, Naimeng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150818104155.GB13732@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.