Openembedded Core Discussions
 help / color / mirror / Atom feed
* python error when building various packages
@ 2012-07-06 14:44 Damian, Alexandru
  2012-07-12  8:56 ` Damian, Alexandru
  0 siblings, 1 reply; 5+ messages in thread
From: Damian, Alexandru @ 2012-07-06 14:44 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 2191 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 2560 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-12 18:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-06 14:44 python error when building various packages Damian, Alexandru
2012-07-12  8:56 ` Damian, Alexandru
2012-07-12  9:34   ` Paul Eggleton
2012-07-12 13:47     ` Damian, Alexandru
2012-07-12 18:47       ` Randy MacLeod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox