All of lore.kernel.org
 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

* Re: python error when building various packages
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Damian, Alexandru @ 2012-07-12  8:56 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

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

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@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)
>
>

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

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

* Re: python error when building various packages
  2012-07-12  8:56 ` Damian, Alexandru
@ 2012-07-12  9:34   ` Paul Eggleton
  2012-07-12 13:47     ` Damian, Alexandru
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Eggleton @ 2012-07-12  9:34 UTC (permalink / raw)
  To: Damian, Alexandru; +Cc: openembedded-core

On Thursday 12 July 2012 11:56:16 Damian, Alexandru wrote:
> Solved by do_clean on the packages.
> 
> Still Alex doesn't know what triggers the error.

I'm not sure either, but would you mind filing a bug for this?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



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

* Re: python error when building various packages
  2012-07-12  9:34   ` Paul Eggleton
@ 2012-07-12 13:47     ` Damian, Alexandru
  2012-07-12 18:47       ` Randy MacLeod
  0 siblings, 1 reply; 5+ messages in thread
From: Damian, Alexandru @ 2012-07-12 13:47 UTC (permalink / raw)
  To: Paul Eggleton; +Cc: openembedded-core

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

Done https://bugzilla.yoctoproject.org/show_bug.cgi?id=2752

Alex

On Thu, Jul 12, 2012 at 12:34 PM, Paul Eggleton <
paul.eggleton@linux.intel.com> wrote:

> On Thursday 12 July 2012 11:56:16 Damian, Alexandru wrote:
> > Solved by do_clean on the packages.
> >
> > Still Alex doesn't know what triggers the error.
>
> I'm not sure either, but would you mind filing a bug for this?
>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre
>

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

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

* Re: python error when building various packages
  2012-07-12 13:47     ` Damian, Alexandru
@ 2012-07-12 18:47       ` Randy MacLeod
  0 siblings, 0 replies; 5+ messages in thread
From: Randy MacLeod @ 2012-07-12 18:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer
  Cc: Morgan Little, Paul Eggleton

On 12-07-12 09:47 AM, Damian, Alexandru wrote:
> Done https://bugzilla.yoctoproject.org/show_bug.cgi?id=2752
>
> Alex
>
> On Thu, Jul 12, 2012 at 12:34 PM, Paul Eggleton
> <paul.eggleton@linux.intel.com <mailto:paul.eggleton@linux.intel.com>>
> wrote:
>
>     On Thursday 12 July 2012 11:56:16 Damian, Alexandru wrote:
>      > Solved by do_clean on the packages.
>      >
>      > Still Alex doesn't know what triggers the error.

This might be related to the installation of python-native.
We (Wind River) have a fix for that problem that we're testing now
and will post to oe-core for review soon. It follows the:
    meta/classes/perlnative.bbclass
fix as RP suggested.

---

Btw, I added the text above to the bugzilla logs.

// Randy

>
>     I'm not sure either, but would you mind filing a bug for this?
>
>     Cheers,
>     Paul
>
>     --
>
>     Paul Eggleton
>     Intel Open Source Technology Centre
>
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>


-- 
# Randy MacLeod. MTS, Linux, Wind River
Direct: 613.963.1350





^ 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 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.