Python part of bb recipe doesn't do what's expected(split packages)
GNUtoo at no-log.org
GNUtoo at no-log.org
Thu Jan 8 21:37:18 UTC 2009
Hello,
I've been trying for a very long time to make the boost_1.36.bb recipe
work on my computer.
(I've modified things to the recipe,added patches etc...)
The recipe seems to work fine...not on my computer but on woglinde's
So the problem is on my configuration.
The attached boost recipe doesn't seem to execute that part:
python split_pkg () {
boost_libdir = bb.data.expand('${libdir}', d)
bb.msg.note(1, None, "qwerty")
do_split_packages(d, boost_libdir, '^libbboost_(.*)\.so$',
'boost-%s', '%s is part of the boost package', extra_depends='')
do_split_packages(d, boost_libdir, '^libboost_(.*)\.la$',
'boost-%s-dev', '%s is part od the boost package')
}
the logs says:
NOTE: Running task 352 of 488 (ID: 16,
/home/gnutoo/dev/embedded/oe/local_repository/packages/boost/boost_1.36.0.bb,
do_split_pkg)
DEBUG: Parsing
/home/gnutoo/dev/embedded/oe/local_repository/packages/boost/boost_1.36.0.bb
(full)
DEBUG: BB
/home/gnutoo/dev/embedded/oe/local_repository/packages/boost/boost_1.36.0.bb:
handle(data)
DEBUG: CONF
/home/gnutoo/dev/embedded/oe/local_repository/packages/boost/boost_1.36.0.bb:1:
including boost-36.inc
DEBUG: BB boost-36.inc: handle(data, include)
DEBUG: update_data()
DEBUG: update_data()
NOTE: package boost-1.36.0: started
DEBUG: Executing task do_split_pkg
DEBUG: update_data()
NOTE: package boost-1.36.0-r4: task do_split_pkg: started
NOTE: package boost-1.36.0-r4: task do_split_pkg: completed
DEBUG: mkdirhier(/home/gnutoo/oetmp/stamps/armv4t-angstrom-linux-gnueabi)
NOTE: package boost-1.36.0: completed
DEBUG: Marking task 15
(/home/gnutoo/dev/embedded/oe/local_repository/packages/boost/boost_1.36.0.bb,
do_package) as buildable
DEBUG: Stampfile
/home/gnutoo/oetmp/stamps/armv4t-angstrom-linux-gnueabi/boost-1.36.0-r4.do_package
not available
The result on my system is that everything is packaged into the -dev package
I've tried to make my system(gentoo) less a mess and removed python 2.3
and 2.4 and migrated gentoo's boost(according to the wiki it was needed
for oe/bitbake) to python 2.5
I've also updated to the lastest oe trunk and had bitbake up to
date(lastest svn revision)
but the problem persists
ps: the recipe has the part that split the files into multiple packages
changed because the one that was in the package that is in tree didn't
work either on my computer so I tried something else.
Strangely the abiword-plugins_2.4.6.bb that is in the tree worked
Mabe i should re-try it...
Thanks a lot in advance for your help.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost-36.inc
Type: application/octet-stream
Size: 2329 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0012.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boost_1.36.0.bb
Type: application/octet-stream
Size: 469 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0013.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-intrinsics.patch
Type: application/octet-stream
Size: 1691 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0014.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-long-double-math.patch
Type: application/octet-stream
Size: 724 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0015.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: math_tools_config.patch
Type: application/octet-stream
Size: 563 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0016.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-disable-long-double.patch
Type: application/octet-stream
Size: 1515 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20090108/60cf5793/attachment-0017.obj>
More information about the Openembedded-users
mailing list