<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1135</bug_id>
          
          <creation_ts>2011-06-01 14:11:37 +0000</creation_ts>
          <short_desc>python_2.6.6 do_install fails on a build host running 3.0.0-rc1 Linux kernel</short_desc>
          <delta_ts>2011-08-18 08:37:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Nitin Kamble">nitin.a.kamble</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>14126</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-01 14:11:37 +0000</bug_when>
    <thetext>A portion of the log.do_install includes the following:

| *** WARNING: renaming &quot;_codecs_iso2022&quot; since importing it failed: build/lib.linux-x86_64-2.6/_codecs_iso2022.so: wrong ELF class: ELFCLASS32
| *** WARNING: renaming &quot;_multiprocessing&quot; since importing it failed: build/lib.linux-x86_64-2.6/_multiprocessing.so: wrong ELF class: ELFCLASS32
| *** WARNING: renaming &quot;_ctypes&quot; since importing it failed: build/lib.linux-x86_64-2.6/_ctypes.so: wrong ELF class: ELFCLASS32
| 
| Failed to find the necessary bits to build these modules:
| _bsddb             _tkinter           bsddb185
| dbm                dl                 imageop
| linuxaudiodev      ossaudiodev        sunaudiodev
| To find the necessary bits, look in setup.py in detect_modules() for the module&apos;s name.
| 
| 
| Failed to build these modules:
| _bisect            _bytesio           _codecs_cn
| _codecs_hk         _codecs_iso2022    _codecs_jp
| _codecs_kr         _codecs_tw         _collections
| _csv               _ctypes            _ctypes_test
| _curses            _curses_panel      _elementtree
| _fileio            _functools         _hashlib
| _heapq             _hotshot           _json
| _locale            _lsprof            _multibytecodec
| _multiprocessing   _random            _socket
| _sqlite3           _ssl               _struct
| _testcapi          _weakref           array
| audioop            binascii           bz2
| cmath              cPickle            crypt
| cStringIO          datetime           fcntl
| future_builtins    gdbm               grp
| itertools          math               mmap
| nis                operator           parser
| pyexpat            readline           resource
| select             spwd               strop
| syslog             termios            time
| unicodedata        zlib
| 
| mkdir ./Lib/plat-linux3
| cp ./Lib/plat-generic/regen ./Lib/plat-linux3/regen
| export PATH; PATH=&quot;`pwd`:$PATH&quot;; \
|       export PYTHONPATH; PYTHONPATH=&quot;`pwd`/Lib&quot;; \
|       export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH=&quot;`pwd`&quot;; \
|       export EXE; EXE=&quot;&quot;; \
|       cd ./Lib/plat-linux3; LD_LIBRARY_PATH=/build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/Python-2.6.6:/build/poky/tmp/beagleboard/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib:/build/poky/tmp/beagleboard/tmp/sysroots/x86_64-linux/usr/bin/../lib/pseudo/lib64 ./regen
| python$EXE ../../Tools/scripts/h2py.py -i &apos;(u_long)&apos; /usr/include/netinet/in.h
| ./regen: line 3: /build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/Python-2.6.6/python: cannot execute binary file
| make: *** [Lib/plat-linux3] Error 126
| ERROR: oe_runmake failed
| ERROR: Function &apos;do_install&apos; failed (see /build/poky/tmp/beagleboard/tmp/work/armv7a-poky-linux-gnueabi/python-2.6.6-nk1.3/temp/log.do_install.23559 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14300</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-06-15 18:48:29 +0000</bug_when>
    <thetext>Could you pls. assign it to other guy, as I&apos;m not python owner. Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14450</commentid>
    <comment_count>2</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-06-28 11:42:50 +0000</bug_when>
    <thetext>Darren, What is the recipe to get working to 3.0.0-rc1 Linux kernel in poky ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14451</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-06-28 12:16:08 +0000</bug_when>
    <thetext>This isn&apos;t about building a 3.0 kernel with poky. This is about trying to build poky on a system that is running a 3.0 kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15527</commentid>
    <comment_count>4</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-08-17 09:59:01 +0000</bug_when>
    <thetext>I am getting 3.1 rc kernel from fedora rawhide to test this. I hope that should help reproduce this issue.
Nitin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15537</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-08-17 17:33:35 +0000</bug_when>
    <thetext>I just tried to reproduce this on 3.1 fedora rawhide kernel. And install of python was successful.


$ uname -a
Linux nbuild1 3.1.0-0.rc2.git0.1.fc17.x86_64 #1 SMP Mon Aug 15 14:18:14 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15555</commentid>
    <comment_count>6</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2011-08-18 08:37:05 +0000</bug_when>
    <thetext>This issue is no more present. I am not seeing any failure in python building on a host running 3.1 kernel. If it is still issue then please reopen it with more information.
Nitin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>