[OE-core] python error when building various packages
Damian, Alexandru
alexandru.damian at intel.com
Thu Jul 12 08:56:16 UTC 2012
Solved by do_clean on the packages.
Still Alex doesn't know what triggers the error.
-
On Fri, Jul 6, 2012 at 5:44 PM, Damian, Alexandru <
alexandru.damian at intel.com> wrote:
> Hi guys,
>
> I started to see this error today, anybody seen this before ?
>
> Cheers,
> Alex
>
> NOTE: Creating RPM package for python-man
> | DEBUG: Python function write_specfile finished
> | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
> 'common-linux', 'common-glibc', 'i586-linux', 'common']
> | DEBUG: Executing shell function BUILDSPEC
> | Building target platforms: i586-poky-linux
> | Processing files: libpython2.7-1.0-2.7.3-r0.0.i586
> | Traceback (most recent call last):
> | File "/usr/lib/python2.7/site.py", line 562, in <module>
> | main()
> | File "/usr/lib/python2.7/site.py", line 544, in main
> | known_paths = addusersitepackages(known_paths)
> | File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
> | user_site = getusersitepackages()
> | File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
> | user_base = getuserbase() # this will also set USER_BASE
> | File "/usr/lib/python2.7/site.py", line 236, in getuserbase
> | USER_BASE = get_config_var('userbase')
> | File "/usr/lib/python2.7/sysconfig.py", line 577, in get_config_var
> | return get_config_vars().get(name)
> | File "/usr/lib/python2.7/sysconfig.py", line 476, in get_config_vars
> | _init_posix(_CONFIG_VARS)
> | File "/usr/lib/python2.7/sysconfig.py", line 337, in _init_posix
> | makefile = _get_makefile_filename()
> | File "/usr/lib/python2.7/sysconfig.py", line 331, in
> _get_makefile_filename
> | return
> os.path.join(get_path('platstdlib').replace("/usr/local","/usr",1),
> "config" + (sys.pydebug and "_d" or ""), "Makefile")
> | AttributeError: 'module' object has no attribute 'pydebug'
> | error: Command
> "/home/ddalex/ssd/yocto/build/tmp/work/i586-poky-linux/python-2.7.3-r0.0/python.provides"
> failed, exit(1)
> | Finding Provides:
> /home/ddalex/ssd/yocto/build/tmp/work/i586-poky-linux/python-2.7.3-r0.0/python.provides
> | error: Failed to find Provides:
> | Requires(interp): /bin/sh
> | Requires(post): /bin/sh
> | Requires(interp): /bin/sh
> | Requires(post): /bin/sh
> |
> |
> | RPM build errors:
> | Command
> "/home/ddalex/ssd/yocto/build/tmp/work/i586-poky-linux/python-2.7.3-r0.0/python.provides"
> failed, exit(1)
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120712/96259bce/attachment-0002.html>
More information about the Openembedded-core
mailing list