rpm-native problem?
Hi,
I just did a pull this morning and am getting this failure when parsing BitBake files:
NOTE: Handling BitBake files: \ (0697/6606) [10 %]__builtin__:6:
DeprecationWarning: raising a string exception is deprecated
NOTE: No Python in STAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
${@python_dir(d)} /home/roth/dev/OE/bitbake/lib/bb/data_smart.py:93: DeprecationWarning:
raising a string exception is deprecated
raise
NOTE: No Python in STAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
--with-python --with-python-incdir=${STAGING_INCDIR}/${PYTHON_DIR}
--with-python-libdir=${libdir}/${PYTHON_DIR} --without-apidocs
--without-selinux --without-lua --without-dmalloc
--without-efence ${MUTEX}
ERROR: Error in executing:/home/roth/dev/OE/openembedded/recipes/rpm/rpm-native_4.4.2.3.bb
ERROR: Exception:No Python in STAGING_INCDIR. Forgot to build python-native ? Message:None
ERROR: Printing the environment of the function
ERROR: 0002: import bb
ERROR: 0003: from bb import __version__
ERROR: 0004: base_after_parse(d)
ERROR: 0005:
ERROR: 0006: # Remove this for bitbake 1.8.12
ERROR: 0007: try:
ERROR: 0008: from distutils.version import LooseVersion
ERROR: 0009: except ImportError:
ERROR: 0010: def LooseVersion(v): print "WARNING: sanity.bbclass
can't compare versions without python-distutils"; return 1 /home/roth/dev/OE/bitbake/lib/bb/utils.py:191: DeprecationWarning: raising a string exception is deprecated
raise
Traceback (most recent call last):
File "/home/roth/dev/OE/bitbake/bin/bitbake", line 143, in <module>
main()
File "/home/roth/dev/OE/bitbake/bin/bitbake", line 140, in main
cooker.cook()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 617, in cook
self.updateCache()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 587, in
updateCache
self.parse_bbfiles(filelist, masked, self.myProgressCallback)
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 717, inparse_bbfiles
def parse_bbfiles(self, filelist, masked, progressCallback = None):
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 766, inparse_bbfiles
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 726, inparse_bbfiles
fromCache, skip = self.bb_cache.loadData(f, self.configuration.data)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 168, in loadData
bb_data, skipped = self.load_bbfile(fn, cfgData)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 413, inload_bbfile
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 405, inload_bbfile
bb_data = parse.handle(bbfile, bb_data) # read .bb data
File "/home/roth/dev/OE/bitbake/lib/bb/parse/__init__.py", line 75, in
handle
return h['handle'](fn, data, include)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 184, in handle
finalise(fn, d)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 92, in finalise
build.exec_func("__anonfunc", d) File "/home/roth/dev/OE/bitbake/lib/bb/build.py", line 113, in exec_func
exec_func_python(func, d)
File "/home/roth/dev/OE/bitbake/lib/bb/build.py", line 136, inexec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/roth/dev/OE/bitbake/lib/bb/utils.py", line 171, inbetter_exec
exec code in context
File "__anonfunc", line 76, in <module>
File "__anonfunc", line 74, in __anonfunc
File "<bb>", line 5, in gettext_after_parse
File "/home/roth/dev/OE/bitbake/lib/bb/data.py", line 97, in getVar
return d.getVar(var,exp)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 84, in
expand
s = __expand_var_regexp__.sub(var_sub, s)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 61, invar_sub
var = self.getVar(key, 1)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
return self.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 85, in
expand
s = __expand_python_regexp__.sub(python_sub, s)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 71, inpython_sub
s = eval(code)
File "<string>", line 1, in <module>
File "<bb>", line 6, in python_dir
No Python in STAGING_INCDIR. Forgot to build python-native ?
Is this problem related to the following patch?
Author: Marcin Juszkiewicz <[email protected]> 2008-11-19 03:12:37
Committer: Marcin Juszkiewicz <[email protected]> 2009-03-19 12:22:34
Parent: 47bb0f5ca3d62205703973398d79ed553bed8a4f (linux-msm7xxx: bump htcraphael SRCREV to a version that boots)
Child: cabcbfe980d379e03589be3ed4bd0a4fc006e770 (beecrypt: get patch from Poky to fix building on 64bit machines)
Branches: org.openembedded.dev, remotes/origin/org.openembedded.dev, ts7800
Follows: mv-packages-to-recipes-post
Precedes:
rpm/rpm-native: Add recipe for 4.4.2.3 (from Poky)
Squashed set of changes from Poky:
svn r5069 - rpm/rpm-native: Add recipe for 4.4.2.3
svn r5085 - rpm: Patch out some Makefile strangeness causing build
failures
svn r5093 - rpm: Enable python extensions and improve cross compiling
patches
svn r5103 - rpm: Tweak patches to remove popt problem
svn r5113 - rpm: Add recommends support from suse rpm patches svn r5132 - rpm-native: Set varprefix to get the rpm database in a
sane location
svn r5152 - rpm: Handle PYTHONVER differently in EXTRA_OECONF to stop
gettext/uclibc failures during parsing
svn r5154 - rpm: Add missing patches
svn r5423 - rpm: Add python module packaging
OE changes:
rpm-native: add Python 2.6 support
rpm: use distutils-base to get Python version
rpm: use sed instead of ed - it is present in our metadata
rpm: set ARM_INSTRUCTION_SET as it fails to build for thumb
| /tmp/ccYO91se.s: Assembler messages:
| /tmp/ccYO91se.s:71: Error: selected processor does not support `swpb
r2,r3,[r4]'
| /tmp/ccYO91se.s:72: Error: unshifted register required -- `eor
r2,r2,#1'
Thanks for any help.
Ted Roth
Dnia czwartek, 19 marca 2009 o 23:30:29 Theodore A. Roth napisał(a):
Quoted 9 lines
I just did a pull this morning and am getting this failure when parsing BitBake files:
NOTE: Handling BitBake files: \ (0697/6606) [10 %]__builtin__:6:
DeprecationWarning: raising a string exception is deprecated
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?Is this problem related to the following patch?
Show me your local.conf - I think that you have python-native in ASSUME_PROVIDED which is wrong.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 10 lines · Marcin Juszkiewicz
Dnia czwartek, 19 marca 2009 o 23:30:29 Theodore A. Roth napisał(a):
Quoted 7 lines
I just did a pull this morning and am getting this failure when parsing BitBake files:
NOTE: Handling BitBake files: \ (0697/6606) [10 %]__builtin__:6:
DeprecationWarning: raising a string exception is deprecated
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?
Quoted 4 lines
Quoted 1 line
Is this problem related to the following patch?
Show me your local.conf - I think that you have python-native in
ASSUME_PROVIDEDwhich is wrong.
I don't see it set.
roth@dorkboy:~/dev/OE/build/conf$ grep -v '^#' local.conf | grep -v '^$'
DL_DIR = "${OEBASE}/sources"
BBFILES := "${OEBASE}/build/recipes/*/*.bb
${OEBASE}/openembedded/recipes/*/*.bb"
BBMASK = ""
TMPDIR = "${OEBASE}/tmp"
MACHINE = "ts7800"
DISTRO = "angstrom-2008.1"
ANGSTROMLIBC = "uclibc"
BUSYBOX_ENABLE_CTTYHACK = "yes"
BUSYBOX_DISABLE_INITRD = "yes"
IMAGE_FSTYPES = "tar.bz2"
BBINCLUDELOGS = "yes"I have attached the patches which show all the changes I have made to the dev branch. I'm not touching/using anything python related.
My TMPDIR is completely empty.
I am trying to build a custom initramfs image. All of my setup files and out of tree recipes can be found here:
http://github.com/troth/oe-setup/tree/master
Ted Roth
From 7d666352ea28dc07c34ceb288042a958b6175bc3 Mon Sep 17 00:00:00 2001
From: Theodore A. Roth <[email protected]>
Date: Thu, 12 Feb 2009 15:50:54 -0800
Subject: [PATCH] Add support for building Anstrom for a ts7800.
--- conf/machine/ts7800.conf | 18 + packages/linux/linux-2.6.28/ts7800/defconfig | 1926 ++++++++++++++++++++++++++ packages/linux/linux_2.6.28.bb | 1 + 3 files changed, 1945 insertions(+), 0 deletions(-) create mode 100644 conf/machine/ts7800.conf create mode 100644 packages/linux/linux-2.6.28/ts7800/defconfig
conf/machine/ts7800.conf new file +18 -0
@@ -0,0 +1,18 @@ +#@TYPE: Machine +#@Name: Technologic Systems TS-7800 SBC +#@DESCRIPTION: Machine configuration for Technologic Systems TS-7800 SBC + +TARGET_ARCH = "arm" + +PREFERRED_PROVIDER_virtual/kernel = "linux" +PREFERRED_VERSION_linux = "2.6.28" + +MACHINE_FEATURES = "kernel26 ext2 usbhost" + +SERIAL_CONSOLE = "115200 ttyS0" +USE_VT = "0" +CMDLINE = "root=/dev/ram0 rw lpj=1662976 init=/linuxrc console=ttyS0,115200n8" + +require conf/machine/include/tune-arm926ejs.inc + +ARM_KEEP_OABI_ts7800 = "1"
packages/linux/linux-2.6.28/ts7800/defconfig new file +1926 -0
1,926 lines not on this page · raw message
packages/linux/linux_2.6.28.bb +1 -0
@@ -9,6 +9,7 @@ DEFAULT_PREFERENCE_at91sam9263ek = "28" DEFAULT_PREFERENCE_ronetix-pm9263 = "28" DEFAULT_PREFERENCE_stb225 = "28" DEFAULT_PREFERENCE_collie = "1" +DEFAULT_PREFERENCE_ts7800 = "28" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2 \ file://defconfig"
Signature · 1 line
1.5.4.3
From 71957b22a7144fe13acf23560e84d872230ba749 Mon Sep 17 00:00:00 2001
From: Theodore A. Roth <[email protected]>
Date: Fri, 20 Feb 2009 17:05:17 -0800
Subject: [PATCH] Force uClibc to build as ARM instead of THUMB to work around gcc bug.
--- packages/uclibc/uclibc.inc | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
packages/uclibc/uclibc.inc +4 -0
@@ -54,6 +54,10 @@ FILES_uclibc-gconv = "${libdir}/gconv" FILES_uclibc-thread-db = "/lib/libthread_db*" RPROVIDES_uclibc-dev += "libc-dev virtual-libc-dev" +# Force lib to be build with arm instead of thumb. +# RE: http://article.gmane.org/gmane.comp.handhelds.openembedded/20416/match=arm_instruction_set +ARM_INSTRUCTION_SET = "arm" + # # This locale file gets copied into uClibc-${PV}/extra/locale/ prior to # build, it does not need to be unpacked, but we can't inhibit the unpacking
Signature · 1 line
1.5.4.3
From 10833bcf4ae0ae3ccc0184c8352055dcd67958a1 Mon Sep 17 00:00:00 2001
From: Theodore A. Roth <[email protected]>
Date: Fri, 20 Feb 2009 17:09:02 -0800
Subject: [PATCH] Allow tweaking of busybox config from local.conf.
Add BUSYBOX_ENABLE_CTTYHACK variable.
Add BUSYBOX_DISABLE_INITRD variable.
--- packages/busybox/busybox_1.13.2.bb | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
packages/busybox/busybox_1.13.2.bb +6 -0
@@ -37,6 +37,12 @@ do_configure () { if [ "${TARGET_ARCH}" = "avr32" ] ; then sed -i s:CONFIG_FEATURE_OSF_LABEL=y:CONFIG_FEATURE_OSF_LABEL=n: ${S}/.config fi + if [ "${BUSYBOX_ENABLE_CTTYHACK}" = "yes" ] ; then + sed -i -e 's:# CONFIG_CTTYHACK is not set:CONFIG_CTTYHACK=y:' ${S}/.config + fi + if [ "${BUSYBOX_DISABLE_INITRD}" = "yes" ] ; then + sed -i -e 's:CONFIG_FEATURE_INITRD=y:# CONFIG_FEATURE_INITRD is not set:' ${S}/.config + fi cml1_do_configure }
Signature · 1 line
1.5.4.3
From 55b653a6e8c677a2f6a9e019d763c8eed4bac347 Mon Sep 17 00:00:00 2001
From: Theodore A. Roth <[email protected]>
Date: Fri, 20 Feb 2009 17:11:55 -0800
Subject: [PATCH] Add missing B921600.patch file.
--- .../busybox/busybox-static-1.11.3/B921600.patch | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 packages/busybox/busybox-static-1.11.3/B921600.patch
packages/busybox/busybox-static-1.11.3/B921600.patch new file +13 -0
@@ -0,0 +1,13 @@ +diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c +--- busybox-1.7.2/libbb/speed_table.c 2007-09-03 13:48:41.000000000 +0200 ++++ busybox-1.7.2-921600/libbb/speed_table.c 2008-10-09 16:23:26.269592899 +0200 +@@ -52,6 +52,9 @@ static const struct speed_map speeds[] = + #ifdef B460800 + {B460800, 460800/256 + 0x8000U}, + #endif ++#ifdef B921600 ++ {B921600, 921600/256 + 0x8000U}, ++#endif + }; + + enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
Signature · 1 line
1.5.4.3
Quoted 103 lines · On Thursday 19 March 2009 15:30:29 Theodore A. Roth wrote:
Hi,
I just did a pull this morning and am getting this failure when parsing BitBake files:
NOTE: Handling BitBake files: \ (0697/6606) [10 %]__builtin__:6:
DeprecationWarning: raising a string exception is deprecated
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
${@python_dir(d)}/home/roth/dev/OE/bitbake/lib/bb/data_smart.py:93: DeprecationWarning:
raising a string exception is deprecated
raise
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
--with-python --with-python-incdir=${STAGING_INCDIR}/${PYTHON_DIR}
--with-python-libdir=${libdir}/${PYTHON_DIR} --without-apidocs
--without-selinux --without-lua --without-dmalloc
--without-efence ${MUTEX}
ERROR: Error in executing:/home/roth/dev/OE/openembedded/recipes/rpm/rpm-native_4.4.2.3.bb
ERROR: Exception:No Python inSTAGING_INCDIR. Forgot to build python-native ? Message:None
ERROR: Printing the environment of the function
ERROR: 0002: import bb
ERROR: 0003: from bb import__version__
ERROR: 0004:base_after_parse(d)
ERROR: 0005:
ERROR: 0006: # Remove this for bitbake 1.8.12
ERROR: 0007: try:
ERROR: 0008: from distutils.version import LooseVersion
ERROR: 0009: except ImportError:
ERROR: 0010: def LooseVersion(v): print "WARNING: sanity.bbclass
can't compare versions without python-distutils"; return 1/home/roth/dev/OE/bitbake/lib/bb/utils.py:191: DeprecationWarning: raising a string exception is deprecated
raise
Traceback (most recent call last):
File "/home/roth/dev/OE/bitbake/bin/bitbake", line 143, in <module>main()File "
/home/roth/dev/OE/bitbake/bin/bitbake", line 140, in main
cooker.cook()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 617, in cook
self.updateCache()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 587, in
updateCache
self.parse_bbfiles(filelist, masked, self.myProgressCallback)
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 717, inparse_bbfiles
defparse_bbfiles(self, filelist, masked, progressCallback = None):
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 766, inparse_bbfiles
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 726, inparse_bbfiles
fromCache, skip =self.bb_cache.loadData(f, self.configuration.data)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 168, in loadData
bb_data, skipped =self.load_bbfile(fn, cfgData)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 413, inload_bbfile
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 405, inload_bbfile
bb_data=parse.handle(bbfile, bb_data)# read .bb data
File "/home/roth/dev/OE/bitbake/lib/bb/parse/__init__.py", line 75, in
handle
return h['handle'](fn, data, include)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 184, in handle
finalise(fn, d)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 92, in finalisebuild.exec_func("__anonfunc", d)File "
/home/roth/dev/OE/bitbake/lib/bb/build.py", line 113, inexec_func
exec_func_python(func, d)
File "/home/roth/dev/OE/bitbake/lib/bb/build.py", line 136, inexec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/roth/dev/OE/bitbake/lib/bb/utils.py", line 171, inbetter_exec
exec code in context
File "__anonfunc", line 76, in <module>
File "__anonfunc", line 74, in__anonfunc
File "<bb>", line 5, ingettext_after_parse
File "/home/roth/dev/OE/bitbake/lib/bb/data.py", line 97, in getVar
returnd.getVar(var,exp)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
returnself.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 84, in
expands = __expand_var_regexp__.sub(var_sub, s)File "
/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 61, invar_sub
var =self.getVar(key, 1)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
returnself.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 85, in
expand
Quoted 8 lines
s = __expand_python_regexp__.sub(python_sub, s)File "
/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 71, inpython_sub
s = eval(code)
File "<string>", line 1, in <module>
File "<bb>", line 6, inpython_dir
No Python inSTAGING_INCDIR. Forgot to build python-native ?
FWIW I am seeing same error on ubuntu 8.08 box (python 2.5.2 on box) . I do not see this error on ubuntu 9.04 which has python 2.6.1 on box.
Quoted 59 lines
Is this problem related to the following patch?
Author: Marcin Juszkiewicz <[email protected]> 2008-11-19 03:12:37
Committer: Marcin Juszkiewicz <[email protected]> 2009-03-19 12:22:34
Parent:47bb0f5ca3d62205703973398d79ed553bed8a4f(linux-msm7xxx: bump htcraphael SRCREV to a version that boots)
Child:cabcbfe980d379e03589be3ed4bd0a4fc006e770(beecrypt: get patch from Poky to fix building on 64bit machines)
Branches: org.openembedded.dev, remotes/origin/org.openembedded.dev, ts7800
Follows: mv-packages-to-recipes-post
Precedes:rpm/rpm-native: Add recipe for 4.4.2.3 (from Poky)
Squashed set of changes from Poky:
svn r5069 - rpm/rpm-native: Add recipe for 4.4.2.3
svn r5085 - rpm: Patch out someMakefilestrangeness causing build
failures
svn r5093 - rpm: Enable python extensions and improve cross compiling
patches
svn r5103 - rpm: Tweak patches to remove popt problem
svn r5113 - rpm: Add recommends support from suse rpm patches svn r5132 - rpm-native: Set varprefix to get the rpm database in a
sane location
svn r5152 - rpm: Handle PYTHONVER differently inEXTRA_OECONFto stop
gettext/uclibc failures during parsing
svn r5154 - rpm: Add missing patches
svn r5423 - rpm: Add python module packagingOE changes:
rpm-native: add Python 2.6 support
rpm: use distutils-base to get Python version
rpm: use sed instead of ed - it is present in our metadata
rpm: setARM_INSTRUCTION_SETas it fails to build for thumb|
/tmp/ccYO91se.s: Assembler messages:
|/tmp/ccYO91se.s:71: Error: selected processor does not support `swpb
r2,r3,[r4]'
|/tmp/ccYO91se.s:72: Error: unshifted register required -- `eor
r2,r2,#1'Thanks for any help.
Ted Roth
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Khem Raj
Quoted 113 lines · On Friday 20 March 2009 19:06:53 Khem Raj wrote:
Quoted 103 lines · On Thursday 19 March 2009 15:30:29 Theodore A. Roth wrote:
Hi,
I just did a pull this morning and am getting this failure when parsing BitBake files:
NOTE: Handling BitBake files: \ (0697/6606) [10 %]__builtin__:6:
DeprecationWarning: raising a string exception is deprecated
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
${@python_dir(d)}/home/roth/dev/OE/bitbake/lib/bb/data_smart.py:93: DeprecationWarning:
raising a string exception is deprecated
raise
NOTE: No Python inSTAGING_INCDIR. Forgot to build python-native ?:None while evaluating:
--with-python --with-python-incdir=${STAGING_INCDIR}/${PYTHON_DIR}
--with-python-libdir=${libdir}/${PYTHON_DIR} --without-apidocs
--without-selinux --without-lua --without-dmalloc
--without-efence ${MUTEX}
ERROR: Error in executing:/home/roth/dev/OE/openembedded/recipes/rpm/rpm-native_4.4.2.3.bb
ERROR: Exception:No Python inSTAGING_INCDIR. Forgot to build python-native ? Message:None
ERROR: Printing the environment of the function
ERROR: 0002: import bb
ERROR: 0003: from bb import__version__
ERROR: 0004:base_after_parse(d)
ERROR: 0005:
ERROR: 0006: # Remove this for bitbake 1.8.12
ERROR: 0007: try:
ERROR: 0008: from distutils.version import LooseVersion
ERROR: 0009: except ImportError:
ERROR: 0010: def LooseVersion(v): print "WARNING: sanity.bbclass
can't compare versions without python-distutils"; return 1/home/roth/dev/OE/bitbake/lib/bb/utils.py:191: DeprecationWarning: raising a string exception is deprecated
raise
Traceback (most recent call last):
File "/home/roth/dev/OE/bitbake/bin/bitbake", line 143, in <module>main()File "
/home/roth/dev/OE/bitbake/bin/bitbake", line 140, in main
cooker.cook()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 617, in cook
self.updateCache()
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 587, in
updateCache
self.parse_bbfiles(filelist, masked, self.myProgressCallback)
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 717, inparse_bbfiles
defparse_bbfiles(self, filelist, masked, progressCallback = None):
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 766, inparse_bbfiles
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cooker.py", line 726, inparse_bbfiles
fromCache, skip =self.bb_cache.loadData(f, self.configuration.data)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 168, in loadData
bb_data, skipped =self.load_bbfile(fn, cfgData)
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 413, inload_bbfile
raise
File "/home/roth/dev/OE/bitbake/lib/bb/cache.py", line 405, inload_bbfile
bb_data=parse.handle(bbfile, bb_data)# read .bb data
File "/home/roth/dev/OE/bitbake/lib/bb/parse/__init__.py", line 75, in
handle
return h['handle'](fn, data, include)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 184, in handle
finalise(fn, d)
File "/home/roth/dev/OE/bitbake/lib/bb/parse/parse_py/BBHandler.py",
line 92, in finalisebuild.exec_func("__anonfunc", d)File "
/home/roth/dev/OE/bitbake/lib/bb/build.py", line 113, inexec_func
exec_func_python(func, d)
File "/home/roth/dev/OE/bitbake/lib/bb/build.py", line 136, inexec_func_python
utils.better_exec(comp, g, tmp, bbfile)
File "/home/roth/dev/OE/bitbake/lib/bb/utils.py", line 171, inbetter_exec
exec code in context
File "__anonfunc", line 76, in <module>
File "__anonfunc", line 74, in__anonfunc
File "<bb>", line 5, ingettext_after_parse
File "/home/roth/dev/OE/bitbake/lib/bb/data.py", line 97, in getVar
returnd.getVar(var,exp)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
returnself.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 84, in
expands = __expand_var_regexp__.sub(var_sub, s)File "
/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 61, invar_sub
var =self.getVar(key, 1)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 167, in
getVar
returnself.expand(value,var)
File "/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 85, in
expandQuoted 8 lines
s = __expand_python_regexp__.sub(python_sub, s)File "
/home/roth/dev/OE/bitbake/lib/bb/data_smart.py", line 71, inpython_sub
s = eval(code)
File "<string>", line 1, in <module>
File "<bb>", line 6, inpython_dir
No Python inSTAGING_INCDIR. Forgot to build python-native ?
Quoted 1 line
FWIW I am seeing same error on ubuntu 8.08 box (python 2.5.2 on box) . I do not see this error on ubuntu 9.04 which has python 2.6.1 on box.
and it happens only when I chose ANGSTROMLIBC=uclibc works well if I set it to eglibc or glibc.
Quoted 61 lines
Quoted 60 lines
Is this problem related to the following patch?
Author: Marcin Juszkiewicz <[email protected]> 2008-11-19 03:12:37
Committer: Marcin Juszkiewicz <[email protected]> 2009-03-19 12:22:34
Parent:47bb0f5ca3d62205703973398d79ed553bed8a4f(linux-msm7xxx: bump htcraphael SRCREV to a version that boots)
Child:cabcbfe980d379e03589be3ed4bd0a4fc006e770(beecrypt: get patch from Poky to fix building on 64bit machines)
Branches: org.openembedded.dev, remotes/origin/org.openembedded.dev, ts7800
Follows: mv-packages-to-recipes-post
Precedes:rpm/rpm-native: Add recipe for 4.4.2.3 (from Poky)
Squashed set of changes from Poky:
svn r5069 - rpm/rpm-native: Add recipe for 4.4.2.3
svn r5085 - rpm: Patch out someMakefilestrangeness causing build
failures
svn r5093 - rpm: Enable python extensions and improve cross compiling
patches
svn r5103 - rpm: Tweak patches to remove popt problem
svn r5113 - rpm: Add recommends support from suse rpm patches svn r5132 - rpm-native: Set varprefix to get the rpm database in a
sane location
svn r5152 - rpm: Handle PYTHONVER differently inEXTRA_OECONFto stop
gettext/uclibc failures during parsing
svn r5154 - rpm: Add missing patches
svn r5423 - rpm: Add python module packagingOE changes:
rpm-native: add Python 2.6 support
rpm: use distutils-base to get Python version
rpm: use sed instead of ed - it is present in our metadata
rpm: setARM_INSTRUCTION_SETas it fails to build for thumb|
/tmp/ccYO91se.s: Assembler messages:
|/tmp/ccYO91se.s:71: Error: selected processor does not support `swpb
r2,r3,[r4]'
|/tmp/ccYO91se.s:72: Error: unshifted register required -- `eor
r2,r2,#1'Thanks for any help.
Ted Roth
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Khem Raj