All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/24] Add python3 recipes
@ 2013-06-28 21:59 Khem Raj
  2013-06-28 22:03 ` [PATCH 01/24] generate-manifest-3.3.py: Add script to generate python 3.3 manifests Khem Raj
                   ` (25 more replies)
  0 siblings, 26 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 21:59 UTC (permalink / raw)
  To: openembedded-core


This patchset adds python3 recipes to metadata in such a way
that they can coexist with python2. The patchset has been
tested quite well and I think is ready for review.

At times it will adjust existing python2 recipes to make
room for itself in a compatible way

To add them to your images

add
       python3 
       python3-modules 
       python3-misc 

to IMAGE_INSTALL


The following changes since commit ff65497cd9a96d5ab49b16ba1f7e30a216ff4a42:

  classes/insane: remove la2 check which no longer exists from ERROR_QA (2013-06-28 16:33:05 +0100)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib kraj/python3
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/python3

Khem Raj (24):
  generate-manifest-3.3.py: Add script to generate python 3.3 manifests
  python3native.bbclass: Add python3 abstraction class
  package_rpm.bbclass:Make the regexp less greedy
  classes/distutils: Introduce PYTHON_PN
  classes: Add distutils for python3
  setuptools.bbclass: Use python-distribute instead of
    python-setuptools
  distutils3.bbclass: Port the distutils class fix to handle filenames
    with spaces
  setuptools3.bbclass: Remove useless multiline comment
  distutils: Introduce PYTHON_ABI variable
  distutils3: Do build_ext as separate step during compile
  python-3.3-manifest: Add python3 manifest file
  python3: Add recipes
  python3: Add native recipe
  python_2.7.3.bb: Inherit python-dir
  ipython: Add recipes for ipython2 and ipython3
  python-distribute: Add recipes for python2 and python3
  zeromq: Add recipe
  pyzmq: Add recipes using python3
  python3-pycurl: Add recipe
  python3-docutils: Add recipe
  python3-jinja: Recipe for python3 templating system
  python3-nose: Testing tools for python
  python3-sphinx: New recipe for documentation system
  python3: Upgrade to 3.3.2

 meta/classes/distutils-base.bbclass                |    5 +-
 meta/classes/distutils-native-base.bbclass         |    4 +-
 meta/classes/distutils-tools.bbclass               |   77 +++
 meta/classes/distutils.bbclass                     |   24 +-
 meta/classes/distutils3-base.bbclass               |    8 +
 meta/classes/distutils3-native-base.bbclass        |    4 +
 meta/classes/distutils3.bbclass                    |   82 +++
 meta/classes/package_rpm.bbclass                   |    2 +-
 meta/classes/python-dir.bbclass                    |    2 +
 meta/classes/python3native.bbclass                 |    7 +
 meta/classes/pythonnative.bbclass                  |    9 +-
 meta/classes/setuptools.bbclass                    |    3 +-
 meta/classes/setuptools3.bbclass                   |    8 +
 .../ipython/001-completer-across-raw-types.patch   |  562 ++++++++++++++++++++
 .../ipython3/001-completer-across-raw-types.patch  |  562 ++++++++++++++++++++
 meta/recipes-devtools/python/ipython3_0.13.1.bb    |   71 +++
 meta/recipes-devtools/python/ipython_0.13.1.bb     |   48 ++
 .../python/python-3.3-manifest.inc                 |  260 +++++++++
 .../python/python-distribute_0.6.32.bb             |   47 ++
 .../python/python3-distribute_0.6.32.bb            |   46 ++
 .../python/python3-docutils_0.10.bb                |   37 ++
 meta/recipes-devtools/python/python3-jinja_1.2.bb  |   37 ++
 .../python/python3-native_3.3.2.bb                 |   67 +++
 meta/recipes-devtools/python/python3-nose_1.2.1.bb |   34 ++
 .../python/python3-pycurl/no-static-link.patch     |   16 +
 .../python/python3-pycurl_7.19.0.bb                |   35 ++
 .../0001-Fixed-just-zmq-detection.patch            |   56 ++
 .../python/python3-pyzmq_13.0.0.bb                 |   46 ++
 .../python/python3-sphinx_1.1.3.bb                 |   39 ++
 .../python/python3/000-cross-compile.patch         |   76 +++
 ...sue-13032-where-it-fails-with-UnicodeDeco.patch |   37 ++
 .../python3/020-dont-compile-python-files.patch    |   31 ++
 .../python/python3/03-fix-tkinter-detection.patch  |   42 ++
 .../python/python3/030-fixup-include-dirs.patch    |   27 +
 .../python/python3/04-default-is-optimized.patch   |   58 ++
 .../python3/06-ctypes-libffi-fix-configure.patch   |   44 ++
 .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
 .../python3/080-distutils-dont_adjust_files.patch  |   86 +++
 .../python/python3/110-enable-zlib.patch           |   15 +
 .../python/python3/130-readline-setup.patch        |   49 ++
 .../python/python3/150-fix-setupterm.patch         |   11 +
 .../python3/avoid_warning_about_tkinter.patch      |   25 +
 meta/recipes-devtools/python/python3/cgi_py.patch  |   23 +
 .../python3/fix_for_using_different_libdir.patch   |   54 ++
 .../python3/host_include_contamination.patch       |   28 +
 .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++
 .../python/python3/remove_sqlite_rpath.patch       |   19 +
 .../python/python3/setuptweaks.patch               |   57 ++
 .../python/python3/shutil-follow-symlink-fix.patch |   11 +
 .../python/python3/sitecustomize.py                |   37 ++
 .../sys_platform_is_now_always_linux2.patch        |   29 +
 meta/recipes-devtools/python/python3_3.3.2.bb      |  202 +++++++
 meta/recipes-devtools/python/python_2.7.3.bb       |    2 +-
 meta/recipes-devtools/python/zeromq_3.2.2.bb       |   24 +
 scripts/contrib/python/generate-manifest-3.3.py    |  376 +++++++++++++
 55 files changed, 3916 insertions(+), 23 deletions(-)
 create mode 100644 meta/classes/distutils-tools.bbclass
 create mode 100644 meta/classes/distutils3-base.bbclass
 create mode 100644 meta/classes/distutils3-native-base.bbclass
 create mode 100644 meta/classes/distutils3.bbclass
 create mode 100644 meta/classes/python3native.bbclass
 create mode 100644 meta/classes/setuptools3.bbclass
 create mode 100644 meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch
 create mode 100644 meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch
 create mode 100644 meta/recipes-devtools/python/ipython3_0.13.1.bb
 create mode 100644 meta/recipes-devtools/python/ipython_0.13.1.bb
 create mode 100644 meta/recipes-devtools/python/python-3.3-manifest.inc
 create mode 100644 meta/recipes-devtools/python/python-distribute_0.6.32.bb
 create mode 100644 meta/recipes-devtools/python/python3-distribute_0.6.32.bb
 create mode 100644 meta/recipes-devtools/python/python3-docutils_0.10.bb
 create mode 100644 meta/recipes-devtools/python/python3-jinja_1.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-native_3.3.2.bb
 create mode 100644 meta/recipes-devtools/python/python3-nose_1.2.1.bb
 create mode 100644 meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
 create mode 100644 meta/recipes-devtools/python/python3-pycurl_7.19.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.patch
 create mode 100644 meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb
 create mode 100644 meta/recipes-devtools/python/python3-sphinx_1.1.3.bb
 create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
 create mode 100644 meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch
 create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
 create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
 create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
 create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
 create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
 create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
 create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
 create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
 create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
 create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
 create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
 create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
 create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
 create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
 create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
 create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
 create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
 create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
 create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
 create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
 create mode 100644 meta/recipes-devtools/python/python3_3.3.2.bb
 create mode 100644 meta/recipes-devtools/python/zeromq_3.2.2.bb
 create mode 100755 scripts/contrib/python/generate-manifest-3.3.py

-- 
1.7.9.5



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

* [PATCH 01/24] generate-manifest-3.3.py: Add script to generate python 3.3 manifests
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 02/24] python3native.bbclass: Add python3 abstraction class Khem Raj
                   ` (24 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Bases on python 2.7.x generator

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 scripts/contrib/python/generate-manifest-3.3.py |  376 +++++++++++++++++++++++
 1 file changed, 376 insertions(+)
 create mode 100755 scripts/contrib/python/generate-manifest-3.3.py

diff --git a/scripts/contrib/python/generate-manifest-3.3.py b/scripts/contrib/python/generate-manifest-3.3.py
new file mode 100755
index 0000000..b5ebb91
--- /dev/null
+++ b/scripts/contrib/python/generate-manifest-3.3.py
@@ -0,0 +1,376 @@
+#!/usr/bin/env python
+
+# generate Python Manifest for the OpenEmbedded build system
+# (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# (C) 2007 Jeremy Laine
+# licensed under MIT, see COPYING.MIT
+#
+# June 22, 2011 -- Mark Hatle <mark.hatle@windriver.com>
+#  * Updated to no longer generate special -dbg package, instead use the
+#    single system -dbg
+#  * Update version with ".1" to indicate this change
+
+import os
+import sys
+import time
+
+VERSION = "3.3.0"
+
+__author__ = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>"
+__version__ = "20121010"
+
+class MakefileMaker:
+
+    def __init__( self, outfile ):
+        """initialize"""
+        self.packages = {}
+        self.targetPrefix = "${libdir}/python%s/" % VERSION[:3]
+        self.output = outfile
+        self.out( """
+# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
+# Generator: '%s' Version %s (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
+""" % ( sys.argv[0], __version__ ) )
+
+    #
+    # helper functions
+    #
+
+    def out( self, data ):
+        """print a line to the output file"""
+        self.output.write( "%s\n" % data )
+
+    def setPrefix( self, targetPrefix ):
+        """set a file prefix for addPackage files"""
+        self.targetPrefix = targetPrefix
+
+    def doProlog( self ):
+        self.out( """ """ )
+        self.out( "" )
+
+    def addPackage( self, name, description, dependencies, filenames ):
+        """add a package to the Makefile"""
+        if type( filenames ) == type( "" ):
+            filenames = filenames.split()
+        fullFilenames = []
+        for filename in filenames:
+            if filename[0] != "$":
+                fullFilenames.append( "%s%s" % ( self.targetPrefix, filename ) )
+            else:
+                fullFilenames.append( filename )
+        self.packages[name] = description, dependencies, fullFilenames
+
+    def doBody( self ):
+        """generate body of Makefile"""
+
+        global VERSION
+
+        #
+        # generate provides line
+        #
+
+        provideLine = 'PROVIDES+="'
+        for name in sorted(self.packages):
+            provideLine += "%s " % name
+        provideLine += '"'
+
+        self.out( provideLine )
+        self.out( "" )
+
+        #
+        # generate package line
+        #
+
+        packageLine = 'PACKAGES="${PN}-dbg '
+        for name in sorted(self.packages):
+            if name.startswith("${PN}-distutils"):
+                if name == "${PN}-distutils":
+                    packageLine += "%s-staticdev %s " % (name, name)
+            elif name != '${PN}-dbg':
+                packageLine += "%s " % name
+        packageLine += '${PN}-modules"'
+
+        self.out( packageLine )
+        self.out( "" )
+
+        #
+        # generate package variables
+        #
+
+        for name, data in sorted(self.packages.iteritems()):
+            desc, deps, files = data
+
+            #
+            # write out the description, revision and dependencies
+            #
+            self.out( 'DESCRIPTION_%s="%s"' % ( name, desc ) )
+            self.out( 'RDEPENDS_%s="%s"' % ( name, deps ) )
+
+            line = 'FILES_%s="' % name
+
+            #
+            # check which directories to make in the temporary directory
+            #
+
+            dirset = {} # if python had a set-datatype this would be sufficient. for now, we're using a dict instead.
+            for target in files:
+                dirset[os.path.dirname( target )] = True
+
+            #
+            # generate which files to copy for the target (-dfR because whole directories are also allowed)
+            #
+
+            for target in files:
+                line += "%s " % target
+
+            line += '"'
+            self.out( line )
+            self.out( "" )
+
+        self.out( 'DESCRIPTION_${PN}-modules="All Python modules"' )
+        line = 'RDEPENDS_${PN}-modules="'
+
+        for name, data in sorted(self.packages.iteritems()):
+            if name not in ['${PN}-dev', '${PN}-distutils-staticdev']:
+                line += "%s " % name
+
+        self.out( "%s \"" % line )
+        self.out( 'ALLOW_EMPTY_${PN}-modules = "1"' )
+
+    def doEpilog( self ):
+        self.out( """""" )
+        self.out( "" )
+
+    def make( self ):
+        self.doProlog()
+        self.doBody()
+        self.doEpilog()
+
+if __name__ == "__main__":
+
+    if len( sys.argv ) > 1:
+        try:
+            os.unlink(sys.argv[1])
+        except Exception:
+            sys.exc_clear()
+        outfile = file( sys.argv[1], "w" )
+    else:
+        outfile = sys.stdout
+
+    m = MakefileMaker( outfile )
+
+    # Add packages here. Only specify dlopen-style library dependencies here, no ldd-style dependencies!
+    # Parameters: revision, name, description, dependencies, filenames
+    #
+
+    m.addPackage( "${PN}-core", "Python Interpreter and core modules (needed!)", "${PN}-lang ${PN}-re",
+    "__future__.* _abcoll.* abc.* copy.* copy_reg.* ConfigParser.* " +
+    "genericpath.* getopt.* linecache.* new.* " +
+    "os.* posixpath.* struct.* " +
+    "warnings.* site.* stat.* " +
+    "UserDict.* UserList.* UserString.* " +
+    "lib-dynload/binascii.*.so lib-dynload/_struct.*.so lib-dynload/time.*.so " +
+    "lib-dynload/xreadlines.*.so types.* platform.* ${bindir}/python* "  + 
+    "_weakrefset.* sysconfig.* config/Makefile " +
+    "${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h " +
+    "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py ")
+
+    m.addPackage( "${PN}-dev", "Python Development Package", "${PN}-core",
+    "${includedir} " +
+    "${libdir}/lib*${SOLIBSDEV} " +
+    "${libdir}/*.la " +
+    "${libdir}/*.a " +
+    "${libdir}/*.o " +
+    "${libdir}/pkgconfig " +
+    "${base_libdir}/*.a " +
+    "${base_libdir}/*.o " +
+    "${datadir}/aclocal " +
+    "${datadir}/pkgconfig " )
+
+    m.addPackage( "${PN}-2to3", "Python Automated Python 2 to 3 code translation", "${PN}-core",
+    "${bindir}/2to3 lib2to3" ) # package
+
+    m.addPackage( "${PN}-idle", "Python Integrated Development Environment", "${PN}-core ${PN}-tkinter",
+    "${bindir}/idle idlelib" ) # package
+
+    m.addPackage( "${PN}-pydoc", "Python Interactive Help Support", "${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re",
+    "${bindir}/pydoc pydoc.* pydoc_data" )
+
+    m.addPackage( "${PN}-smtpd", "Python Simple Mail Transport Daemon", "${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime",
+    "${bindir}/smtpd.* smtpd.*" )
+
+    m.addPackage( "${PN}-audio", "Python Audio Handling", "${PN}-core",
+    "wave.* chunk.* sndhdr.* lib-dynload/ossaudiodev.*.so lib-dynload/audioop.*.so audiodev.* sunaudio.* sunau.* toaiff.*" )
+
+    m.addPackage( "${PN}-codecs", "Python Codecs, Encodings & i18n Support", "${PN}-core ${PN}-lang",
+    "codecs.* encodings gettext.* locale.* lib-dynload/_locale.*.so lib-dynload/_codecs* lib-dynload/_multibytecodec.*.so lib-dynload/unicodedata.*.so stringprep.* xdrlib.*" )
+
+    m.addPackage( "${PN}-compile", "Python Bytecode Compilation Support", "${PN}-core",
+    "py_compile.* compileall.*" )
+
+    m.addPackage( "${PN}-compression", "Python High Level Compression Support", "${PN}-core ${PN}-codecs",
+    "gzip.* zipfile.* tarfile.* lib-dynload/bz2.*.so" )
+
+    m.addPackage( "${PN}-crypt", "Python Basic Cryptographic and Hashing Support", "${PN}-core",
+    "hashlib.* md5.* sha.* lib-dynload/crypt.*.so lib-dynload/_hashlib.*.so lib-dynload/_sha256.*.so lib-dynload/_sha512.*.so" )
+
+    m.addPackage( "${PN}-textutils", "Python Option Parsing, Text Wrapping and Comma-Separated-Value Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-stringold",
+    "lib-dynload/_csv.*.so csv.* optparse.* textwrap.*" )
+
+    m.addPackage( "${PN}-curses", "Python Curses Support", "${PN}-core",
+    "curses lib-dynload/_curses.*.so lib-dynload/_curses_panel.*.so" ) # directory + low level module
+
+    m.addPackage( "${PN}-ctypes", "Python C Types Support", "${PN}-core",
+    "ctypes lib-dynload/_ctypes.*.so lib-dynload/_ctypes_test.*.so" ) # directory + low level module
+
+    m.addPackage( "${PN}-datetime", "Python Calendar and Time support", "${PN}-core ${PN}-codecs",
+    "_strptime.* calendar.* lib-dynload/datetime.*.so" )
+
+    m.addPackage( "${PN}-db", "Python File-Based Database Support", "${PN}-core",
+    "anydbm.* dumbdbm.* whichdb.* dbm lib-dynload/_dbm.*.so" )
+
+    m.addPackage( "${PN}-debugger", "Python Debugger", "${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint",
+    "bdb.* pdb.*" )
+
+    m.addPackage( "${PN}-difflib", "Python helpers for computing deltas between objects.", "${PN}-lang ${PN}-re",
+    "difflib.*" )
+
+    m.addPackage( "${PN}-distutils-staticdev", "Python Distribution Utilities (Static Libraries)", "${PN}-distutils",
+    "config/lib*.a" ) # package
+
+    m.addPackage( "${PN}-distutils", "Python Distribution Utilities", "${PN}-core",
+    "config distutils" ) # package
+
+    m.addPackage( "${PN}-doctest", "Python framework for running examples in docstrings.", "${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib",
+    "doctest.*" )
+
+    # FIXME consider adding to some higher level package
+    m.addPackage( "${PN}-elementtree", "Python elementree", "${PN}-core",
+    "lib-dynload/_elementtree.*.so" )
+
+    m.addPackage( "${PN}-email", "Python Email Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient",
+    "imaplib.* email" ) # package
+
+    m.addPackage( "${PN}-fcntl", "Python's fcntl Interface", "${PN}-core",
+    "lib-dynload/fcntl.*.so" )
+
+    m.addPackage( "${PN}-html", "Python HTML Processing", "${PN}-core",
+    "formatter.* htmlentitydefs.* htmllib.* markupbase.* sgmllib.* HTMLParser.* " )
+
+    m.addPackage( "${PN}-gdbm", "Python GNU Database Support", "${PN}-core",
+    "lib-dynload/_gdbm.*.so" )
+
+    m.addPackage( "${PN}-image", "Python Graphical Image Handling", "${PN}-core",
+    "colorsys.* imghdr.* lib-dynload/imageop.*.so lib-dynload/rgbimg.*.so" )
+
+    m.addPackage( "${PN}-io", "Python Low-Level I/O", "${PN}-core ${PN}-math",
+    "lib-dynload/_socket.*.so lib-dynload/_io.*.so lib-dynload/_ssl.*.so lib-dynload/select.*.so lib-dynload/termios.*.so lib-dynload/cStringIO.*.so " +
+    "pipes.* socket.* ssl.* tempfile.* StringIO.* io.* _pyio.*" )
+
+    m.addPackage( "${PN}-json", "Python JSON Support", "${PN}-core ${PN}-math ${PN}-re",
+    "json lib-dynload/_json.*.so" ) # package
+
+    m.addPackage( "${PN}-lang", "Python Low-Level Language Support", "${PN}-core",
+    "lib-dynload/_bisect.*.so lib-dynload/_collections.*.so lib-dynload/_heapq.*.so lib-dynload/_weakref.*.so lib-dynload/_functools.*.so " +
+    "lib-dynload/array.*.so lib-dynload/itertools.*.so lib-dynload/operator.*.so lib-dynload/parser.*.so " +
+    "atexit.* bisect.* code.* codeop.* collections.* dis.* functools.* heapq.* inspect.* keyword.* opcode.* symbol.* repr.* token.* " +
+    "tokenize.* traceback.* weakref.*" )
+
+    m.addPackage( "${PN}-logging", "Python Logging Support", "${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold",
+    "logging" ) # package
+
+    m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime",
+    "mailbox.*" )
+
+    m.addPackage( "${PN}-math", "Python Math Support", "${PN}-core",
+    "lib-dynload/cmath.*.so lib-dynload/math.*.so lib-dynload/_random.*.so random.* sets.*" )
+
+    m.addPackage( "${PN}-mime", "Python MIME Handling APIs", "${PN}-core ${PN}-io",
+    "mimetools.* uu.* quopri.* rfc822.* MimeWriter.*" )
+
+    m.addPackage( "${PN}-mmap", "Python Memory-Mapped-File Support", "${PN}-core ${PN}-io",
+    "lib-dynload/mmap.*.so " )
+
+    m.addPackage( "${PN}-multiprocessing", "Python Multiprocessing Support", "${PN}-core ${PN}-io ${PN}-lang",
+    "lib-dynload/_multiprocessing.*.so multiprocessing" ) # package
+
+    m.addPackage( "${PN}-netclient", "Python Internet Protocol Clients", "${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime",
+    "*Cookie*.* " +
+    "base64.* cookielib.* ftplib.* gopherlib.* hmac.* httplib.* mimetypes.* nntplib.* poplib.* smtplib.* telnetlib.* urllib.* urllib2.* urlparse.* uuid.* rfc822.* mimetools.*" )
+
+    m.addPackage( "${PN}-netserver", "Python Internet Protocol Servers", "${PN}-core ${PN}-netclient",
+    "cgi.* *HTTPServer.* SocketServer.*" )
+
+    m.addPackage( "${PN}-numbers", "Python Number APIs", "${PN}-core ${PN}-lang ${PN}-re",
+    "decimal.* numbers.*" )
+
+    m.addPackage( "${PN}-pickle", "Python Persistence Support", "${PN}-core ${PN}-codecs ${PN}-io ${PN}-re",
+    "pickle.* shelve.* lib-dynload/cPickle.*.so pickletools.*" )
+
+    m.addPackage( "${PN}-pkgutil", "Python Package Extension Utility Support", "${PN}-core",
+    "pkgutil.*")
+
+    m.addPackage( "${PN}-pprint", "Python Pretty-Print Support", "${PN}-core",
+    "pprint.*" )
+
+    m.addPackage( "${PN}-profile", "Python Basic Profiling Support", "${PN}-core ${PN}-textutils",
+    "profile.* pstats.* cProfile.* lib-dynload/_lsprof.*.so" )
+
+    m.addPackage( "${PN}-re", "Python Regular Expression APIs", "${PN}-core",
+    "re.* sre.* sre_compile.* sre_constants* sre_parse.*" ) # _sre is builtin
+
+    m.addPackage( "${PN}-readline", "Python Readline Support", "${PN}-core",
+    "lib-dynload/readline.*.so rlcompleter.*" )
+
+    m.addPackage( "${PN}-resource", "Python Resource Control Interface", "${PN}-core",
+    "lib-dynload/resource.*.so" )
+
+    m.addPackage( "${PN}-shell", "Python Shell-Like Functionality", "${PN}-core ${PN}-re",
+    "cmd.* commands.* dircache.* fnmatch.* glob.* popen2.* shlex.* shutil.*" )
+
+    m.addPackage( "${PN}-robotparser", "Python robots.txt parser", "${PN}-core ${PN}-netclient",
+    "urllib/robotparser.*")
+
+    m.addPackage( "${PN}-subprocess", "Python Subprocess Support", "${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle",
+    "subprocess.*" )
+
+    m.addPackage( "${PN}-sqlite3", "Python Sqlite3 Database Support", "${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading",
+    "lib-dynload/_sqlite3.*.so sqlite3/dbapi2.* sqlite3/__init__.* sqlite3/dump.*" )
+
+    m.addPackage( "${PN}-sqlite3-tests", "Python Sqlite3 Database Support Tests", "${PN}-core ${PN}-sqlite3",
+    "sqlite3/test" )
+
+    m.addPackage( "${PN}-stringold", "Python String APIs [deprecated]", "${PN}-core ${PN}-re",
+    "lib-dynload/strop.*.so string.* stringold.*" )
+
+    m.addPackage( "${PN}-syslog", "Python Syslog Interface", "${PN}-core",
+    "lib-dynload/syslog.*.so" )
+
+    m.addPackage( "${PN}-terminal", "Python Terminal Controlling Support", "${PN}-core ${PN}-io",
+    "pty.* tty.*" )
+
+    m.addPackage( "${PN}-tests", "Python Tests", "${PN}-core",
+    "test" ) # package
+
+    m.addPackage( "${PN}-threading", "Python Threading & Synchronization Support", "${PN}-core ${PN}-lang",
+    "_threading_local.* dummy_thread.* dummy_threading.* mutex.* threading.* Queue.*" )
+
+    m.addPackage( "${PN}-tkinter", "Python Tcl/Tk Bindings", "${PN}-core",
+    "lib-dynload/_tkinter.*.so lib-tk tkinter" ) # package
+
+    m.addPackage( "${PN}-unittest", "Python Unit Testing Framework", "${PN}-core ${PN}-stringold ${PN}-lang",
+    "unittest/" )
+
+    m.addPackage( "${PN}-unixadmin", "Python Unix Administration Support", "${PN}-core",
+    "lib-dynload/nis.*.so lib-dynload/grp.*.so lib-dynload/pwd.*.so getpass.*" )
+
+    m.addPackage( "${PN}-xml", "Python basic XML support.", "${PN}-core ${PN}-elementtree ${PN}-re",
+    "lib-dynload/pyexpat.*.so xml xmllib.*" ) # package
+
+    m.addPackage( "${PN}-xmlrpc", "Python XMLRPC Support", "${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang",
+    "xmlrpclib.* SimpleXMLRPCServer.* DocXMLRPCServer.* xmlrpc" )
+
+    m.addPackage( "${PN}-mailbox", "Python Mailbox Format Support", "${PN}-core ${PN}-mime",
+    "mailbox.*" )
+
+    m.make()
-- 
1.7.9.5



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

* [PATCH 02/24] python3native.bbclass: Add python3 abstraction class
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
  2013-06-28 22:03 ` [PATCH 01/24] generate-manifest-3.3.py: Add script to generate python 3.3 manifests Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 03/24] package_rpm.bbclass:Make the regexp less greedy Khem Raj
                   ` (23 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/python3native.bbclass |    7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 meta/classes/python3native.bbclass

diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
new file mode 100644
index 0000000..f86374f
--- /dev/null
+++ b/meta/classes/python3native.bbclass
@@ -0,0 +1,7 @@
+PYTHON_BASEVERSION = "3.3"
+
+inherit python-dir
+
+PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
+EXTRANATIVEPATH += "${PYTHON_PN}-native"
+DEPENDS += " ${PYTHON_PN}-native "
-- 
1.7.9.5



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

* [PATCH 03/24] package_rpm.bbclass:Make the regexp less greedy
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
  2013-06-28 22:03 ` [PATCH 01/24] generate-manifest-3.3.py: Add script to generate python 3.3 manifests Khem Raj
  2013-06-28 22:03 ` [PATCH 02/24] python3native.bbclass: Add python3 abstraction class Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 04/24] classes/distutils: Introduce PYTHON_PN Khem Raj
                   ` (22 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

This causes issues when postinstalls have ERROR keywords
its interpreted as error and image build is cancelled

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/package_rpm.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index c654cdb..eb618b4 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -60,7 +60,7 @@ rpm_log_check() {
 	lf_txt="`cat $lf_path`"
 	for keyword_die in "unpacking of archive failed" "Cannot find package" "exit 1" ERR Fail
 	do
-		if (echo "$lf_txt" | grep -v log_check | grep "$keyword_die") >/dev/null 2>&1
+		if (echo "$lf_txt" | grep -v log_check | grep "\<$keyword_die\>") >/dev/null 2>&1
 		then
 			echo "log_check: There were error messages in the logfile"
 			printf "log_check: Matched keyword: [$keyword_die]\n\n"
-- 
1.7.9.5



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

* [PATCH 04/24] classes/distutils: Introduce PYTHON_PN
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (2 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 03/24] package_rpm.bbclass:Make the regexp less greedy Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-29  5:29   ` Martin Jansa
  2013-06-28 22:03 ` [PATCH 05/24] classes: Add distutils for python3 Khem Raj
                   ` (21 subsequent siblings)
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

This is needed to accomodate python3 alongside
python2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/distutils-base.bbclass        |    5 ++---
 meta/classes/distutils-native-base.bbclass |    4 ++--
 meta/classes/distutils.bbclass             |   24 +++++++++++++-----------
 meta/classes/python-dir.bbclass            |    1 +
 meta/classes/pythonnative.bbclass          |    9 ++++++---
 5 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
index 3b43e76..aa18e8b 100644
--- a/meta/classes/distutils-base.bbclass
+++ b/meta/classes/distutils-base.bbclass
@@ -1,5 +1,4 @@
-DEPENDS  += "${@["python-native python", ""][(d.getVar('PACKAGES', True) == '')]}"
-RDEPENDS_${PN} += "${@['', 'python-core']['${CLASSOVERRIDE}' == 'class-target']}"
+DEPENDS  += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
+RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
 
 inherit distutils-common-base pythonnative
-
diff --git a/meta/classes/distutils-native-base.bbclass b/meta/classes/distutils-native-base.bbclass
index ceda512..509cb95 100644
--- a/meta/classes/distutils-native-base.bbclass
+++ b/meta/classes/distutils-native-base.bbclass
@@ -1,3 +1,3 @@
-DEPENDS  += "${@["python-native", ""][(d.getVar('PACKAGES', True) == '')]}"
-
 inherit distutils-common-base
+
+DEPENDS  += "${@["${PYTHON_PN}-native", ""][(d.getVar('PACKAGES', True) == '')]}"
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index a0e1f50..f99959d 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -1,4 +1,5 @@
 inherit distutils-base
+#distutils-tools
 
 DISTUTILS_BUILD_ARGS ?= ""
 DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
@@ -11,15 +12,15 @@ distutils_do_compile() {
          STAGING_INCDIR=${STAGING_INCDIR} \
          STAGING_LIBDIR=${STAGING_LIBDIR} \
          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-         ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
-         bbfatal "python setup.py build_ext execution failed."
+         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         bbfatal "${PYTHON_PN} setup.py build_ext execution failed."
 }
 
 distutils_stage_headers() {
         install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
-        bbfatal "python setup.py install_headers execution failed."
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install_headers execution failed."
 }
 
 distutils_stage_all() {
@@ -28,21 +29,22 @@ distutils_stage_all() {
         install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
         PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
-        bbfatal "python setup.py install (stage) execution failed."
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install (stage) execution failed."
 }
 
 distutils_do_install() {
         install -d ${D}${PYTHON_SITEPACKAGES_DIR}
         STAGING_INCDIR=${STAGING_INCDIR} \
         STAGING_LIBDIR=${STAGING_LIBDIR} \
-        PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
+        PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
-        bbfatal "python setup.py install execution failed."
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install execution failed."
 
-        for i in `find ${D} -name "*.py"` ; do \
-            sed -i -e s:${D}::g $i
+        # support filenames with *spaces*
+        find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
+            sed -i -e s:${D}::g "$i"
         done
 
         if test -e ${D}${bindir} ; then	
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
index 0b6a33c..b4b5ab0 100644
--- a/meta/classes/python-dir.bbclass
+++ b/meta/classes/python-dir.bbclass
@@ -1,3 +1,4 @@
 PYTHON_BASEVERSION ?= "2.7"
 PYTHON_DIR = "python${PYTHON_BASEVERSION}"
+PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
 PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
index 7886207..fdd22bb 100644
--- a/meta/classes/pythonnative.bbclass
+++ b/meta/classes/pythonnative.bbclass
@@ -1,3 +1,6 @@
-PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
-EXTRANATIVEPATH += "python-native"
-DEPENDS += " python-native "
+
+inherit python-dir
+
+PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
+EXTRANATIVEPATH += "${PYTHON_PN}-native"
+DEPENDS += " ${PYTHON_PN}-native "
-- 
1.7.9.5



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

* [PATCH 05/24] classes: Add distutils for python3
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (3 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 04/24] classes/distutils: Introduce PYTHON_PN Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 06/24] setuptools.bbclass: Use python-distribute instead of python-setuptools Khem Raj
                   ` (20 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

In line with python2 add distutils and setuptools
classes for handing python3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/distutils-tools.bbclass        |   77 +++++++++++++++++++++++
 meta/classes/distutils3-base.bbclass        |    5 ++
 meta/classes/distutils3-native-base.bbclass |    3 +
 meta/classes/distutils3.bbclass             |   90 +++++++++++++++++++++++++++
 meta/classes/setuptools3.bbclass            |   10 +++
 5 files changed, 185 insertions(+)
 create mode 100644 meta/classes/distutils-tools.bbclass
 create mode 100644 meta/classes/distutils3-base.bbclass
 create mode 100644 meta/classes/distutils3-native-base.bbclass
 create mode 100644 meta/classes/distutils3.bbclass
 create mode 100644 meta/classes/setuptools3.bbclass

diff --git a/meta/classes/distutils-tools.bbclass b/meta/classes/distutils-tools.bbclass
new file mode 100644
index 0000000..f43450e
--- /dev/null
+++ b/meta/classes/distutils-tools.bbclass
@@ -0,0 +1,77 @@
+DISTUTILS_BUILD_ARGS ?= ""
+DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
+DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \
+    --install-data=${STAGING_DATADIR}"
+DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \
+    --install-data=${D}/${datadir}"
+
+distutils_do_compile() {
+         STAGING_INCDIR=${STAGING_INCDIR} \
+         STAGING_LIBDIR=${STAGING_LIBDIR} \
+         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         bbfatal "${PYTHON_PN} setup.py build_ext execution failed."
+}
+
+distutils_stage_headers() {
+        install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install_headers execution failed."
+}
+
+distutils_stage_all() {
+        STAGING_INCDIR=${STAGING_INCDIR} \
+        STAGING_LIBDIR=${STAGING_LIBDIR} \
+        install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
+        PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install (stage) execution failed."
+}
+
+distutils_do_install() {
+        echo "Beginning ${PN} Install ..."
+        install -d ${D}${PYTHON_SITEPACKAGES_DIR}
+        echo "Step 2 of ${PN} Install ..."
+        STAGING_INCDIR=${STAGING_INCDIR} \
+        STAGING_LIBDIR=${STAGING_LIBDIR} \
+        PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install execution failed."
+
+        echo "Step 3 of ${PN} Install ..."
+        # support filenames with *spaces*
+        find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
+            sed -i -e s:${D}::g $i
+        done
+
+        echo "Step 4 of ${PN} Install ..."
+        if test -e ${D}${bindir} ; then	
+            for i in ${D}${bindir}/* ; do \
+                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
+            done
+        fi
+
+        echo "Step 4 of ${PN} Install ..."
+        if test -e ${D}${sbindir}; then
+            for i in ${D}${sbindir}/* ; do \
+                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
+            done
+        fi
+
+        echo "Step 5 of ${PN} Install ..."
+        rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
+        
+        #
+        # FIXME: Bandaid against wrong datadir computation
+        #
+        if test -e ${D}${datadir}/share; then
+            mv -f ${D}${datadir}/share/* ${D}${datadir}/
+        fi
+}
+
+#EXPORT_FUNCTIONS do_compile do_install
+
+export LDSHARED="${CCLD} -shared"
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
new file mode 100644
index 0000000..82ab6a3
--- /dev/null
+++ b/meta/classes/distutils3-base.bbclass
@@ -0,0 +1,5 @@
+DEPENDS  += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
+RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
+
+inherit distutils-common-base python3native
+
diff --git a/meta/classes/distutils3-native-base.bbclass b/meta/classes/distutils3-native-base.bbclass
new file mode 100644
index 0000000..b4a333f
--- /dev/null
+++ b/meta/classes/distutils3-native-base.bbclass
@@ -0,0 +1,3 @@
+PYTHON_BASEVERSION = "3.3"
+
+inherit distutils-native-base
diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
new file mode 100644
index 0000000..3738b14
--- /dev/null
+++ b/meta/classes/distutils3.bbclass
@@ -0,0 +1,90 @@
+
+PYTHON_BASEVERSION = "3.3"
+
+inherit distutils3-base 
+#distutils-tools
+
+DISTUTILS_BUILD_ARGS ?= ""
+DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
+DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \
+    --install-data=${STAGING_DATADIR}"
+DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \
+    --install-data=${D}/${datadir}"
+
+distutils3_do_compile() {
+         STAGING_INCDIR=${STAGING_INCDIR} \
+         STAGING_LIBDIR=${STAGING_LIBDIR} \
+         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         bbfatal "${PYTHON_PN} setup.py build_ext execution failed."
+}
+
+distutils3_stage_headers() {
+        install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install_headers execution failed."
+}
+
+distutils3_stage_all() {
+        STAGING_INCDIR=${STAGING_INCDIR} \
+        STAGING_LIBDIR=${STAGING_LIBDIR} \
+        install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
+        PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install (stage) execution failed."
+}
+
+distutils3_do_install() {
+        echo "Beginning ${PN} Install ..."
+        install -d ${D}${PYTHON_SITEPACKAGES_DIR}
+
+        echo "Step 2 of ${PN} Install ..."
+        STAGING_INCDIR=${STAGING_INCDIR} \
+        STAGING_LIBDIR=${STAGING_LIBDIR} \
+        PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
+        BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
+        bbfatal "${PYTHON_PN} setup.py install execution failed."
+
+        echo "Step 3 of ${PN} Install ..."
+        # support filenames with *spaces*
+        find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
+            sed -i -e s:${D}::g $i
+        done
+
+        echo "Step 4 of ${PN} Install ..."
+        if test -e ${D}${bindir} ; then	
+            for i in ${D}${bindir}/* ; do \
+                echo "Processing " $i; \
+                sed -i \
+                    -e s:${STAGING_BINDIR_NATIVE}/python3-native:${bindir}:g \
+                    $i
+            done
+        fi
+
+        echo "Step 4 of ${PN} Install ..."
+        if test -e ${D}${sbindir}; then
+            for i in ${D}${sbindir}/* ; do \
+                echo "Processing " $i; \
+                sed -i \
+                    -e s:${STAGING_BINDIR_NATIVE}/python3-native:${bindir}:g \
+                    $i
+            done
+        fi
+
+        echo "Step 5 of ${PN} Install ..."
+        rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
+        
+        #
+        # FIXME: Bandaid against wrong datadir computation
+        #
+        if test -e ${D}${datadir}/share; then
+            mv -f ${D}${datadir}/share/* ${D}${datadir}/
+        fi
+}
+
+EXPORT_FUNCTIONS do_compile do_install
+
+export LDSHARED="${CCLD} -shared"
diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass
new file mode 100644
index 0000000..601c0f6
--- /dev/null
+++ b/meta/classes/setuptools3.bbclass
@@ -0,0 +1,10 @@
+inherit distutils3
+
+DEPENDS += "python3-distribute-native"
+
+DISTUTILS_INSTALL_ARGS = "--root=${D} \
+    --prefix=${prefix} \
+    --install-lib=${PYTHON_SITEPACKAGES_DIR} \
+    --install-data=${datadir}"
+
+#    --single-version-externally-managed \
-- 
1.7.9.5



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

* [PATCH 06/24] setuptools.bbclass: Use python-distribute instead of python-setuptools
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (4 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 05/24] classes: Add distutils for python3 Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 07/24] distutils3.bbclass: Port the distutils class fix to handle filenames with spaces Khem Raj
                   ` (19 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Remove --single-version-externally-managed since its setuptools
specific and we dont use it anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/setuptools.bbclass |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/setuptools.bbclass b/meta/classes/setuptools.bbclass
index ba9cf13..56343b1 100644
--- a/meta/classes/setuptools.bbclass
+++ b/meta/classes/setuptools.bbclass
@@ -1,9 +1,8 @@
 inherit distutils
 
-DEPENDS += "python-setuptools-native"
+DEPENDS += "python-distribute-native"
 
 DISTUTILS_INSTALL_ARGS = "--root=${D} \
-    --single-version-externally-managed \
     --prefix=${prefix} \
     --install-lib=${PYTHON_SITEPACKAGES_DIR} \
     --install-data=${datadir}"
-- 
1.7.9.5



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

* [PATCH 07/24] distutils3.bbclass: Port the distutils class fix to handle filenames with spaces
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (5 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 06/24] setuptools.bbclass: Use python-distribute instead of python-setuptools Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 08/24] setuptools3.bbclass: Remove useless multiline comment Khem Raj
                   ` (18 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/distutils3.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index 3738b14..602ce48 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -51,7 +51,7 @@ distutils3_do_install() {
         echo "Step 3 of ${PN} Install ..."
         # support filenames with *spaces*
         find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
-            sed -i -e s:${D}::g $i
+            sed -i -e s:${D}::g "$i"
         done
 
         echo "Step 4 of ${PN} Install ..."
-- 
1.7.9.5



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

* [PATCH 08/24] setuptools3.bbclass: Remove useless multiline comment
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (6 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 07/24] distutils3.bbclass: Port the distutils class fix to handle filenames with spaces Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 09/24] distutils: Introduce PYTHON_ABI variable Khem Raj
                   ` (17 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/setuptools3.bbclass |    2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/classes/setuptools3.bbclass b/meta/classes/setuptools3.bbclass
index 601c0f6..40c18c8 100644
--- a/meta/classes/setuptools3.bbclass
+++ b/meta/classes/setuptools3.bbclass
@@ -6,5 +6,3 @@ DISTUTILS_INSTALL_ARGS = "--root=${D} \
     --prefix=${prefix} \
     --install-lib=${PYTHON_SITEPACKAGES_DIR} \
     --install-data=${datadir}"
-
-#    --single-version-externally-managed \
-- 
1.7.9.5



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

* [PATCH 09/24] distutils: Introduce PYTHON_ABI variable
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (7 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 08/24] setuptools3.bbclass: Remove useless multiline comment Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 10/24] distutils3: Do build_ext as separate step during compile Khem Raj
                   ` (16 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

In python3 this has to be taken care of, it defines a variable to
denote ABI currently its at 'm' and it uses this to construct
the directory names for installing the python headers and library
names in sysroot. e.g. it will be something like ../python3.3m/...

We need this information when we are using distutils to cross build
python extentions and want to know the locations of python headers
and libraries install locations

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/distutils3-base.bbclass        |    3 +++
 meta/classes/distutils3-native-base.bbclass |    1 +
 meta/classes/python-dir.bbclass             |    1 +
 3 files changed, 5 insertions(+)

diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
index 82ab6a3..d4d25dc 100644
--- a/meta/classes/distutils3-base.bbclass
+++ b/meta/classes/distutils3-base.bbclass
@@ -1,5 +1,8 @@
 DEPENDS  += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
 RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
 
+PYTHON_BASEVERSION = "3.3"
+PYTHON_ABI = "m"
+
 inherit distutils-common-base python3native
 
diff --git a/meta/classes/distutils3-native-base.bbclass b/meta/classes/distutils3-native-base.bbclass
index b4a333f..ed3fe54 100644
--- a/meta/classes/distutils3-native-base.bbclass
+++ b/meta/classes/distutils3-native-base.bbclass
@@ -1,3 +1,4 @@
 PYTHON_BASEVERSION = "3.3"
+PYTHON_ABI = "m"
 
 inherit distutils-native-base
diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
index b4b5ab0..ebfa4b3 100644
--- a/meta/classes/python-dir.bbclass
+++ b/meta/classes/python-dir.bbclass
@@ -1,4 +1,5 @@
 PYTHON_BASEVERSION ?= "2.7"
+PYTHON_ABI ?= ""
 PYTHON_DIR = "python${PYTHON_BASEVERSION}"
 PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
 PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
-- 
1.7.9.5



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

* [PATCH 10/24] distutils3: Do build_ext as separate step during compile
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (8 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 09/24] distutils: Introduce PYTHON_ABI variable Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 11/24] python-3.3-manifest: Add python3 manifest file Khem Raj
                   ` (15 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Remove PYTHON_BASEVERSION its moved to distutils3-base class

Add DISTUTILS_BUILD_EXT_ARGS for modules to pass flags to build_ext step
in setup.py

Add build_ext as sepate step during compile and add
the cross sysrooted library and headers since we are cross
compiling

Use ${PYTHON_PN} in place of hardcoding python name

Remove the /etc/share if its empty

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/distutils3.bbclass |   36 ++++++++++++++----------------------
 1 file changed, 14 insertions(+), 22 deletions(-)

diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index 602ce48..f118fa0 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -1,10 +1,7 @@
-
-PYTHON_BASEVERSION = "3.3"
-
-inherit distutils3-base 
-#distutils-tools
+inherit distutils3-base
 
 DISTUTILS_BUILD_ARGS ?= ""
+DISTUTILS_BUILD_EXT_ARGS ?= ""
 DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
 DISTUTILS_STAGE_ALL_ARGS ?= "--prefix=${STAGING_DIR_HOST}${prefix} \
     --install-data=${STAGING_DATADIR}"
@@ -15,7 +12,12 @@ distutils3_do_compile() {
          STAGING_INCDIR=${STAGING_INCDIR} \
          STAGING_LIBDIR=${STAGING_LIBDIR} \
          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
+         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py \
+         build_ext --include-dirs ${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \
+         --library-dirs ${STAGING_LIBCDIR}/${PYTHON_DIR} \
+         ${DISTUTILS_BUILD_EXT_ARGS} \
+         build ${DISTUTILS_BUILD_ARGS} || \
+         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build_ext ${DISTUTILS_BUILD_ARGS} || \
          bbfatal "${PYTHON_PN} setup.py build_ext execution failed."
 }
 
@@ -37,44 +39,33 @@ distutils3_stage_all() {
 }
 
 distutils3_do_install() {
-        echo "Beginning ${PN} Install ..."
         install -d ${D}${PYTHON_SITEPACKAGES_DIR}
-
-        echo "Step 2 of ${PN} Install ..."
         STAGING_INCDIR=${STAGING_INCDIR} \
         STAGING_LIBDIR=${STAGING_LIBDIR} \
         PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
         BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
+        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
         bbfatal "${PYTHON_PN} setup.py install execution failed."
 
-        echo "Step 3 of ${PN} Install ..."
         # support filenames with *spaces*
         find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
             sed -i -e s:${D}::g "$i"
         done
 
-        echo "Step 4 of ${PN} Install ..."
         if test -e ${D}${bindir} ; then	
             for i in ${D}${bindir}/* ; do \
-                echo "Processing " $i; \
-                sed -i \
-                    -e s:${STAGING_BINDIR_NATIVE}/python3-native:${bindir}:g \
-                    $i
+                sed -i -e s:${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}:${bindir}/env\ ${PYTHON_PN}:g $i
+                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
             done
         fi
 
-        echo "Step 4 of ${PN} Install ..."
         if test -e ${D}${sbindir}; then
             for i in ${D}${sbindir}/* ; do \
-                echo "Processing " $i; \
-                sed -i \
-                    -e s:${STAGING_BINDIR_NATIVE}/python3-native:${bindir}:g \
-                    $i
+                sed -i -e s:${STAGING_BINDIR_NATIVE}/python-${PYTHON_PN}/${PYTHON_PN}:${bindir}/env\ ${PYTHON_PN}:g $i
+                sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
             done
         fi
 
-        echo "Step 5 of ${PN} Install ..."
         rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/easy-install.pth
         
         #
@@ -82,6 +73,7 @@ distutils3_do_install() {
         #
         if test -e ${D}${datadir}/share; then
             mv -f ${D}${datadir}/share/* ${D}${datadir}/
+            rmdir ${D}${datadir}/share
         fi
 }
 
-- 
1.7.9.5



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

* [PATCH 11/24] python-3.3-manifest: Add python3 manifest file
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (9 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 10/24] distutils3: Do build_ext as separate step during compile Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 12/24] python3: Add recipes Khem Raj
                   ` (14 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python-3.3-manifest.inc                 |  260 ++++++++++++++++++++
 1 file changed, 260 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-3.3-manifest.inc

diff --git a/meta/recipes-devtools/python/python-3.3-manifest.inc b/meta/recipes-devtools/python/python-3.3-manifest.inc
new file mode 100644
index 0000000..ad270c0
--- /dev/null
+++ b/meta/recipes-devtools/python/python-3.3-manifest.inc
@@ -0,0 +1,260 @@
+
+# WARNING: This file is AUTO GENERATED: Manual edits will be lost next time I regenerate the file.
+# Generator: '../../../scripts/contrib/python/generate-manifest-3.3.py' Version 20121010 (C) 2002-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# Visit the Python for Embedded Systems Site => http://www.Vanille.de/projects/python.spy
+
+ 
+
+PROVIDES+="${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils ${PN}-distutils-staticdev ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc "
+
+PACKAGES="${PN}-dbg ${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-dev ${PN}-difflib ${PN}-distutils-staticdev ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc ${PN}-modules"
+
+DESCRIPTION_${PN}-2to3="Python Automated Python 2 to 3 code translation"
+RDEPENDS_${PN}-2to3="${PN}-core"
+FILES_${PN}-2to3="${bindir}/2to3 ${libdir}/python3.3/lib2to3 "
+
+DESCRIPTION_${PN}-audio="Python Audio Handling"
+RDEPENDS_${PN}-audio="${PN}-core"
+FILES_${PN}-audio="${libdir}/python3.3/wave.* ${libdir}/python3.3/chunk.* ${libdir}/python3.3/sndhdr.* ${libdir}/python3.3/lib-dynload/ossaudiodev.*.so ${libdir}/python3.3/lib-dynload/audioop.*.so ${libdir}/python3.3/audiodev.* ${libdir}/python3.3/sunaudio.* ${libdir}/python3.3/sunau.* ${libdir}/python3.3/toaiff.* "
+
+DESCRIPTION_${PN}-codecs="Python Codecs, Encodings & i18n Support"
+RDEPENDS_${PN}-codecs="${PN}-core ${PN}-lang"
+FILES_${PN}-codecs="${libdir}/python3.3/codecs.* ${libdir}/python3.3/encodings ${libdir}/python3.3/gettext.* ${libdir}/python3.3/locale.* ${libdir}/python3.3/lib-dynload/_locale.*.so ${libdir}/python3.3/lib-dynload/_codecs* ${libdir}/python3.3/lib-dynload/_multibytecodec.*.so ${libdir}/python3.3/lib-dynload/unicodedata.*.so ${libdir}/python3.3/stringprep.* ${libdir}/python3.3/xdrlib.* "
+
+DESCRIPTION_${PN}-compile="Python Bytecode Compilation Support"
+RDEPENDS_${PN}-compile="${PN}-core"
+FILES_${PN}-compile="${libdir}/python3.3/py_compile.* ${libdir}/python3.3/compileall.* "
+
+DESCRIPTION_${PN}-compression="Python High Level Compression Support"
+RDEPENDS_${PN}-compression="${PN}-core ${PN}-codecs"
+FILES_${PN}-compression="${libdir}/python3.3/gzip.* ${libdir}/python3.3/zipfile.* ${libdir}/python3.3/tarfile.* ${libdir}/python3.3/lib-dynload/bz2.*.so "
+
+DESCRIPTION_${PN}-core="Python Interpreter and core modules (needed!)"
+RDEPENDS_${PN}-core="${PN}-lang ${PN}-re"
+FILES_${PN}-core="${libdir}/python3.3/__future__.* ${libdir}/python3.3/_abcoll.* ${libdir}/python3.3/abc.* ${libdir}/python3.3/copy.* ${libdir}/python3.3/copy_reg.* ${libdir}/python3.3/ConfigParser.* ${libdir}/python3.3/genericpath.* ${libdir}/python3.3/getopt.* ${libdir}/python3.3/linecache.* ${libdir}/python3.3/new.* ${libdir}/python3.3/os.* ${libdir}/python3.3/posixpath.* ${libdir}/python3.3/struct.* ${libdir}/python3.3/warnings.* ${libdir}/python3.3/site.* ${libdir}/python3.3/stat.* ${libdir}/python3.3/UserDict.* ${libdir}/python3.3/UserList.* ${libdir}/python3.3/UserString.* ${libdir}/python3.3/lib-dynload/binascii.*.so ${libdir}/python3.3/lib-dynload/_struct.*.so ${libdir}/python3.3/lib-dynload/time.*.so ${libdir}/python3.3/lib-dynload/xreadlines.*.so ${libdir}/python3.3/types.* ${libdir}/python3.3/platform.* ${bindir}/python* ${libdir}/python3.3/_weakrefset.* ${libdir}/python3.3/sysconfig.* ${libdir}/python3.3/config/Makefile ${includedir}/python${PYTHON_MAJMIN}/pyconfig*.h ${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py "
+
+DESCRIPTION_${PN}-crypt="Python Basic Cryptographic and Hashing Support"
+RDEPENDS_${PN}-crypt="${PN}-core"
+FILES_${PN}-crypt="${libdir}/python3.3/hashlib.* ${libdir}/python3.3/md5.* ${libdir}/python3.3/sha.* ${libdir}/python3.3/lib-dynload/crypt.*.so ${libdir}/python3.3/lib-dynload/_hashlib.*.so ${libdir}/python3.3/lib-dynload/_sha256.*.so ${libdir}/python3.3/lib-dynload/_sha512.*.so "
+
+DESCRIPTION_${PN}-ctypes="Python C Types Support"
+RDEPENDS_${PN}-ctypes="${PN}-core"
+FILES_${PN}-ctypes="${libdir}/python3.3/ctypes ${libdir}/python3.3/lib-dynload/_ctypes.*.so ${libdir}/python3.3/lib-dynload/_ctypes_test.*.so "
+
+DESCRIPTION_${PN}-curses="Python Curses Support"
+RDEPENDS_${PN}-curses="${PN}-core"
+FILES_${PN}-curses="${libdir}/python3.3/curses ${libdir}/python3.3/lib-dynload/_curses.*.so ${libdir}/python3.3/lib-dynload/_curses_panel.*.so "
+
+DESCRIPTION_${PN}-datetime="Python Calendar and Time support"
+RDEPENDS_${PN}-datetime="${PN}-core ${PN}-codecs"
+FILES_${PN}-datetime="${libdir}/python3.3/_strptime.* ${libdir}/python3.3/calendar.* ${libdir}/python3.3/lib-dynload/datetime.*.so "
+
+DESCRIPTION_${PN}-db="Python File-Based Database Support"
+RDEPENDS_${PN}-db="${PN}-core"
+FILES_${PN}-db="${libdir}/python3.3/anydbm.* ${libdir}/python3.3/dumbdbm.* ${libdir}/python3.3/whichdb.* ${libdir}/python3.3/dbm ${libdir}/python3.3/lib-dynload/_dbm.*.so "
+
+DESCRIPTION_${PN}-debugger="Python Debugger"
+RDEPENDS_${PN}-debugger="${PN}-core ${PN}-io ${PN}-lang ${PN}-re ${PN}-stringold ${PN}-shell ${PN}-pprint"
+FILES_${PN}-debugger="${libdir}/python3.3/bdb.* ${libdir}/python3.3/pdb.* "
+
+DESCRIPTION_${PN}-dev="Python Development Package"
+RDEPENDS_${PN}-dev="${PN}-core"
+FILES_${PN}-dev="${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal ${datadir}/pkgconfig "
+
+DESCRIPTION_${PN}-difflib="Python helpers for computing deltas between objects."
+RDEPENDS_${PN}-difflib="${PN}-lang ${PN}-re"
+FILES_${PN}-difflib="${libdir}/python3.3/difflib.* "
+
+DESCRIPTION_${PN}-distutils="Python Distribution Utilities"
+RDEPENDS_${PN}-distutils="${PN}-core"
+FILES_${PN}-distutils="${libdir}/python3.3/config ${libdir}/python3.3/distutils "
+
+DESCRIPTION_${PN}-distutils-staticdev="Python Distribution Utilities (Static Libraries)"
+RDEPENDS_${PN}-distutils-staticdev="${PN}-distutils"
+FILES_${PN}-distutils-staticdev="${libdir}/python3.3/config/lib*.a "
+
+DESCRIPTION_${PN}-doctest="Python framework for running examples in docstrings."
+RDEPENDS_${PN}-doctest="${PN}-core ${PN}-lang ${PN}-io ${PN}-re ${PN}-unittest ${PN}-debugger ${PN}-difflib"
+FILES_${PN}-doctest="${libdir}/python3.3/doctest.* "
+
+DESCRIPTION_${PN}-elementtree="Python elementree"
+RDEPENDS_${PN}-elementtree="${PN}-core"
+FILES_${PN}-elementtree="${libdir}/python3.3/lib-dynload/_elementtree.*.so "
+
+DESCRIPTION_${PN}-email="Python Email Support"
+RDEPENDS_${PN}-email="${PN}-core ${PN}-io ${PN}-re ${PN}-mime ${PN}-audio ${PN}-image ${PN}-netclient"
+FILES_${PN}-email="${libdir}/python3.3/imaplib.* ${libdir}/python3.3/email "
+
+DESCRIPTION_${PN}-fcntl="Python's fcntl Interface"
+RDEPENDS_${PN}-fcntl="${PN}-core"
+FILES_${PN}-fcntl="${libdir}/python3.3/lib-dynload/fcntl.*.so "
+
+DESCRIPTION_${PN}-gdbm="Python GNU Database Support"
+RDEPENDS_${PN}-gdbm="${PN}-core"
+FILES_${PN}-gdbm="${libdir}/python3.3/lib-dynload/_gdbm.*.so "
+
+DESCRIPTION_${PN}-html="Python HTML Processing"
+RDEPENDS_${PN}-html="${PN}-core"
+FILES_${PN}-html="${libdir}/python3.3/formatter.* ${libdir}/python3.3/htmlentitydefs.* ${libdir}/python3.3/htmllib.* ${libdir}/python3.3/markupbase.* ${libdir}/python3.3/sgmllib.* ${libdir}/python3.3/HTMLParser.* "
+
+DESCRIPTION_${PN}-idle="Python Integrated Development Environment"
+RDEPENDS_${PN}-idle="${PN}-core ${PN}-tkinter"
+FILES_${PN}-idle="${bindir}/idle ${libdir}/python3.3/idlelib "
+
+DESCRIPTION_${PN}-image="Python Graphical Image Handling"
+RDEPENDS_${PN}-image="${PN}-core"
+FILES_${PN}-image="${libdir}/python3.3/colorsys.* ${libdir}/python3.3/imghdr.* ${libdir}/python3.3/lib-dynload/imageop.*.so ${libdir}/python3.3/lib-dynload/rgbimg.*.so "
+
+DESCRIPTION_${PN}-io="Python Low-Level I/O"
+RDEPENDS_${PN}-io="${PN}-core ${PN}-math"
+FILES_${PN}-io="${libdir}/python3.3/lib-dynload/_socket.*.so ${libdir}/python3.3/lib-dynload/_io.*.so ${libdir}/python3.3/lib-dynload/_ssl.*.so ${libdir}/python3.3/lib-dynload/select.*.so ${libdir}/python3.3/lib-dynload/termios.*.so ${libdir}/python3.3/lib-dynload/cStringIO.*.so ${libdir}/python3.3/pipes.* ${libdir}/python3.3/socket.* ${libdir}/python3.3/ssl.* ${libdir}/python3.3/tempfile.* ${libdir}/python3.3/StringIO.* ${libdir}/python3.3/io.* ${libdir}/python3.3/_pyio.* "
+
+DESCRIPTION_${PN}-json="Python JSON Support"
+RDEPENDS_${PN}-json="${PN}-core ${PN}-math ${PN}-re"
+FILES_${PN}-json="${libdir}/python3.3/json ${libdir}/python3.3/lib-dynload/_json.*.so "
+
+DESCRIPTION_${PN}-lang="Python Low-Level Language Support"
+RDEPENDS_${PN}-lang="${PN}-core"
+FILES_${PN}-lang="${libdir}/python3.3/lib-dynload/_bisect.*.so ${libdir}/python3.3/lib-dynload/_collections.*.so ${libdir}/python3.3/lib-dynload/_heapq.*.so ${libdir}/python3.3/lib-dynload/_weakref.*.so ${libdir}/python3.3/lib-dynload/_functools.*.so ${libdir}/python3.3/lib-dynload/array.*.so ${libdir}/python3.3/lib-dynload/itertools.*.so ${libdir}/python3.3/lib-dynload/operator.*.so ${libdir}/python3.3/lib-dynload/parser.*.so ${libdir}/python3.3/atexit.* ${libdir}/python3.3/bisect.* ${libdir}/python3.3/code.* ${libdir}/python3.3/codeop.* ${libdir}/python3.3/collections.* ${libdir}/python3.3/dis.* ${libdir}/python3.3/functools.* ${libdir}/python3.3/heapq.* ${libdir}/python3.3/inspect.* ${libdir}/python3.3/keyword.* ${libdir}/python3.3/opcode.* ${libdir}/python3.3/symbol.* ${libdir}/python3.3/repr.* ${libdir}/python3.3/token.* ${libdir}/python3.3/tokenize.* ${libdir}/python3.3/traceback.* ${libdir}/python3.3/weakref.* "
+
+DESCRIPTION_${PN}-logging="Python Logging Support"
+RDEPENDS_${PN}-logging="${PN}-core ${PN}-io ${PN}-lang ${PN}-pickle ${PN}-stringold"
+FILES_${PN}-logging="${libdir}/python3.3/logging "
+
+DESCRIPTION_${PN}-mailbox="Python Mailbox Format Support"
+RDEPENDS_${PN}-mailbox="${PN}-core ${PN}-mime"
+FILES_${PN}-mailbox="${libdir}/python3.3/mailbox.* "
+
+DESCRIPTION_${PN}-math="Python Math Support"
+RDEPENDS_${PN}-math="${PN}-core"
+FILES_${PN}-math="${libdir}/python3.3/lib-dynload/cmath.*.so ${libdir}/python3.3/lib-dynload/math.*.so ${libdir}/python3.3/lib-dynload/_random.*.so ${libdir}/python3.3/random.* ${libdir}/python3.3/sets.* "
+
+DESCRIPTION_${PN}-mime="Python MIME Handling APIs"
+RDEPENDS_${PN}-mime="${PN}-core ${PN}-io"
+FILES_${PN}-mime="${libdir}/python3.3/mimetools.* ${libdir}/python3.3/uu.* ${libdir}/python3.3/quopri.* ${libdir}/python3.3/rfc822.* ${libdir}/python3.3/MimeWriter.* "
+
+DESCRIPTION_${PN}-mmap="Python Memory-Mapped-File Support"
+RDEPENDS_${PN}-mmap="${PN}-core ${PN}-io"
+FILES_${PN}-mmap="${libdir}/python3.3/lib-dynload/mmap.*.so "
+
+DESCRIPTION_${PN}-multiprocessing="Python Multiprocessing Support"
+RDEPENDS_${PN}-multiprocessing="${PN}-core ${PN}-io ${PN}-lang"
+FILES_${PN}-multiprocessing="${libdir}/python3.3/lib-dynload/_multiprocessing.*.so ${libdir}/python3.3/multiprocessing "
+
+DESCRIPTION_${PN}-netclient="Python Internet Protocol Clients"
+RDEPENDS_${PN}-netclient="${PN}-core ${PN}-crypt ${PN}-datetime ${PN}-io ${PN}-lang ${PN}-logging ${PN}-mime"
+FILES_${PN}-netclient="${libdir}/python3.3/*Cookie*.* ${libdir}/python3.3/base64.* ${libdir}/python3.3/cookielib.* ${libdir}/python3.3/ftplib.* ${libdir}/python3.3/gopherlib.* ${libdir}/python3.3/hmac.* ${libdir}/python3.3/httplib.* ${libdir}/python3.3/mimetypes.* ${libdir}/python3.3/nntplib.* ${libdir}/python3.3/poplib.* ${libdir}/python3.3/smtplib.* ${libdir}/python3.3/telnetlib.* ${libdir}/python3.3/urllib.* ${libdir}/python3.3/urllib2.* ${libdir}/python3.3/urlparse.* ${libdir}/python3.3/uuid.* ${libdir}/python3.3/rfc822.* ${libdir}/python3.3/mimetools.* "
+
+DESCRIPTION_${PN}-netserver="Python Internet Protocol Servers"
+RDEPENDS_${PN}-netserver="${PN}-core ${PN}-netclient"
+FILES_${PN}-netserver="${libdir}/python3.3/cgi.* ${libdir}/python3.3/*HTTPServer.* ${libdir}/python3.3/SocketServer.* "
+
+DESCRIPTION_${PN}-numbers="Python Number APIs"
+RDEPENDS_${PN}-numbers="${PN}-core ${PN}-lang ${PN}-re"
+FILES_${PN}-numbers="${libdir}/python3.3/decimal.* ${libdir}/python3.3/numbers.* "
+
+DESCRIPTION_${PN}-pickle="Python Persistence Support"
+RDEPENDS_${PN}-pickle="${PN}-core ${PN}-codecs ${PN}-io ${PN}-re"
+FILES_${PN}-pickle="${libdir}/python3.3/pickle.* ${libdir}/python3.3/shelve.* ${libdir}/python3.3/lib-dynload/cPickle.*.so ${libdir}/python3.3/pickletools.* "
+
+DESCRIPTION_${PN}-pkgutil="Python Package Extension Utility Support"
+RDEPENDS_${PN}-pkgutil="${PN}-core"
+FILES_${PN}-pkgutil="${libdir}/python3.3/pkgutil.* "
+
+DESCRIPTION_${PN}-pprint="Python Pretty-Print Support"
+RDEPENDS_${PN}-pprint="${PN}-core"
+FILES_${PN}-pprint="${libdir}/python3.3/pprint.* "
+
+DESCRIPTION_${PN}-profile="Python Basic Profiling Support"
+RDEPENDS_${PN}-profile="${PN}-core ${PN}-textutils"
+FILES_${PN}-profile="${libdir}/python3.3/profile.* ${libdir}/python3.3/pstats.* ${libdir}/python3.3/cProfile.* ${libdir}/python3.3/lib-dynload/_lsprof.*.so "
+
+DESCRIPTION_${PN}-pydoc="Python Interactive Help Support"
+RDEPENDS_${PN}-pydoc="${PN}-core ${PN}-lang ${PN}-stringold ${PN}-re"
+FILES_${PN}-pydoc="${bindir}/pydoc ${libdir}/python3.3/pydoc.* ${libdir}/python3.3/pydoc_data "
+
+DESCRIPTION_${PN}-re="Python Regular Expression APIs"
+RDEPENDS_${PN}-re="${PN}-core"
+FILES_${PN}-re="${libdir}/python3.3/re.* ${libdir}/python3.3/sre.* ${libdir}/python3.3/sre_compile.* ${libdir}/python3.3/sre_constants* ${libdir}/python3.3/sre_parse.* "
+
+DESCRIPTION_${PN}-readline="Python Readline Support"
+RDEPENDS_${PN}-readline="${PN}-core"
+FILES_${PN}-readline="${libdir}/python3.3/lib-dynload/readline.*.so ${libdir}/python3.3/rlcompleter.* "
+
+DESCRIPTION_${PN}-resource="Python Resource Control Interface"
+RDEPENDS_${PN}-resource="${PN}-core"
+FILES_${PN}-resource="${libdir}/python3.3/lib-dynload/resource.*.so "
+
+DESCRIPTION_${PN}-robotparser="Python robots.txt parser"
+RDEPENDS_${PN}-robotparser="${PN}-core ${PN}-netclient"
+FILES_${PN}-robotparser="${libdir}/python3.3/urllib/robotparser.* "
+
+DESCRIPTION_${PN}-shell="Python Shell-Like Functionality"
+RDEPENDS_${PN}-shell="${PN}-core ${PN}-re"
+FILES_${PN}-shell="${libdir}/python3.3/cmd.* ${libdir}/python3.3/commands.* ${libdir}/python3.3/dircache.* ${libdir}/python3.3/fnmatch.* ${libdir}/python3.3/glob.* ${libdir}/python3.3/popen2.* ${libdir}/python3.3/shlex.* ${libdir}/python3.3/shutil.* "
+
+DESCRIPTION_${PN}-smtpd="Python Simple Mail Transport Daemon"
+RDEPENDS_${PN}-smtpd="${PN}-core ${PN}-netserver ${PN}-email ${PN}-mime"
+FILES_${PN}-smtpd="${bindir}/smtpd.* ${libdir}/python3.3/smtpd.* "
+
+DESCRIPTION_${PN}-sqlite3="Python Sqlite3 Database Support"
+RDEPENDS_${PN}-sqlite3="${PN}-core ${PN}-datetime ${PN}-lang ${PN}-crypt ${PN}-io ${PN}-threading"
+FILES_${PN}-sqlite3="${libdir}/python3.3/lib-dynload/_sqlite3.*.so ${libdir}/python3.3/sqlite3/dbapi2.* ${libdir}/python3.3/sqlite3/__init__.* ${libdir}/python3.3/sqlite3/dump.* "
+
+DESCRIPTION_${PN}-sqlite3-tests="Python Sqlite3 Database Support Tests"
+RDEPENDS_${PN}-sqlite3-tests="${PN}-core ${PN}-sqlite3"
+FILES_${PN}-sqlite3-tests="${libdir}/python3.3/sqlite3/test "
+
+DESCRIPTION_${PN}-stringold="Python String APIs [deprecated]"
+RDEPENDS_${PN}-stringold="${PN}-core ${PN}-re"
+FILES_${PN}-stringold="${libdir}/python3.3/lib-dynload/strop.*.so ${libdir}/python3.3/string.* ${libdir}/python3.3/stringold.* "
+
+DESCRIPTION_${PN}-subprocess="Python Subprocess Support"
+RDEPENDS_${PN}-subprocess="${PN}-core ${PN}-io ${PN}-re ${PN}-fcntl ${PN}-pickle"
+FILES_${PN}-subprocess="${libdir}/python3.3/subprocess.* "
+
+DESCRIPTION_${PN}-syslog="Python Syslog Interface"
+RDEPENDS_${PN}-syslog="${PN}-core"
+FILES_${PN}-syslog="${libdir}/python3.3/lib-dynload/syslog.*.so "
+
+DESCRIPTION_${PN}-terminal="Python Terminal Controlling Support"
+RDEPENDS_${PN}-terminal="${PN}-core ${PN}-io"
+FILES_${PN}-terminal="${libdir}/python3.3/pty.* ${libdir}/python3.3/tty.* "
+
+DESCRIPTION_${PN}-tests="Python Tests"
+RDEPENDS_${PN}-tests="${PN}-core"
+FILES_${PN}-tests="${libdir}/python3.3/test "
+
+DESCRIPTION_${PN}-textutils="Python Option Parsing, Text Wrapping and Comma-Separated-Value Support"
+RDEPENDS_${PN}-textutils="${PN}-core ${PN}-io ${PN}-re ${PN}-stringold"
+FILES_${PN}-textutils="${libdir}/python3.3/lib-dynload/_csv.*.so ${libdir}/python3.3/csv.* ${libdir}/python3.3/optparse.* ${libdir}/python3.3/textwrap.* "
+
+DESCRIPTION_${PN}-threading="Python Threading & Synchronization Support"
+RDEPENDS_${PN}-threading="${PN}-core ${PN}-lang"
+FILES_${PN}-threading="${libdir}/python3.3/_threading_local.* ${libdir}/python3.3/dummy_thread.* ${libdir}/python3.3/dummy_threading.* ${libdir}/python3.3/mutex.* ${libdir}/python3.3/threading.* ${libdir}/python3.3/Queue.* "
+
+DESCRIPTION_${PN}-tkinter="Python Tcl/Tk Bindings"
+RDEPENDS_${PN}-tkinter="${PN}-core"
+FILES_${PN}-tkinter="${libdir}/python3.3/lib-dynload/_tkinter.*.so ${libdir}/python3.3/lib-tk ${libdir}/python3.3/tkinter "
+
+DESCRIPTION_${PN}-unittest="Python Unit Testing Framework"
+RDEPENDS_${PN}-unittest="${PN}-core ${PN}-stringold ${PN}-lang"
+FILES_${PN}-unittest="${libdir}/python3.3/unittest/ "
+
+DESCRIPTION_${PN}-unixadmin="Python Unix Administration Support"
+RDEPENDS_${PN}-unixadmin="${PN}-core"
+FILES_${PN}-unixadmin="${libdir}/python3.3/lib-dynload/nis.*.so ${libdir}/python3.3/lib-dynload/grp.*.so ${libdir}/python3.3/lib-dynload/pwd.*.so ${libdir}/python3.3/getpass.* "
+
+DESCRIPTION_${PN}-xml="Python basic XML support."
+RDEPENDS_${PN}-xml="${PN}-core ${PN}-elementtree ${PN}-re"
+FILES_${PN}-xml="${libdir}/python3.3/lib-dynload/pyexpat.*.so ${libdir}/python3.3/xml ${libdir}/python3.3/xmllib.* "
+
+DESCRIPTION_${PN}-xmlrpc="Python XMLRPC Support"
+RDEPENDS_${PN}-xmlrpc="${PN}-core ${PN}-xml ${PN}-netserver ${PN}-lang"
+FILES_${PN}-xmlrpc="${libdir}/python3.3/xmlrpclib.* ${libdir}/python3.3/SimpleXMLRPCServer.* ${libdir}/python3.3/DocXMLRPCServer.* ${libdir}/python3.3/xmlrpc "
+
+DESCRIPTION_${PN}-modules="All Python modules"
+RDEPENDS_${PN}-modules="${PN}-2to3 ${PN}-audio ${PN}-codecs ${PN}-compile ${PN}-compression ${PN}-core ${PN}-crypt ${PN}-ctypes ${PN}-curses ${PN}-datetime ${PN}-db ${PN}-debugger ${PN}-difflib ${PN}-distutils ${PN}-doctest ${PN}-elementtree ${PN}-email ${PN}-fcntl ${PN}-gdbm ${PN}-html ${PN}-idle ${PN}-image ${PN}-io ${PN}-json ${PN}-lang ${PN}-logging ${PN}-mailbox ${PN}-math ${PN}-mime ${PN}-mmap ${PN}-multiprocessing ${PN}-netclient ${PN}-netserver ${PN}-numbers ${PN}-pickle ${PN}-pkgutil ${PN}-pprint ${PN}-profile ${PN}-pydoc ${PN}-re ${PN}-readline ${PN}-resource ${PN}-robotparser ${PN}-shell ${PN}-smtpd ${PN}-sqlite3 ${PN}-sqlite3-tests ${PN}-stringold ${PN}-subprocess ${PN}-syslog ${PN}-terminal ${PN}-tests ${PN}-textutils ${PN}-threading ${PN}-tkinter ${PN}-unittest ${PN}-unixadmin ${PN}-xml ${PN}-xmlrpc  "
+ALLOW_EMPTY_${PN}-modules = "1"
+
+
-- 
1.7.9.5



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

* [PATCH 12/24] python3: Add recipes
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (10 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 11/24] python-3.3-manifest: Add python3 manifest file Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-08-26 13:32   ` Martin Jansa
  2013-06-28 22:03 ` [PATCH 13/24] python3: Add native recipe Khem Raj
                   ` (13 subsequent siblings)
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3/000-cross-compile.patch         |   76 +++++
 .../python3/020-dont-compile-python-files.patch    |   31 ++
 .../python/python3/03-fix-tkinter-detection.patch  |   42 +++
 .../python/python3/030-fixup-include-dirs.patch    |   36 ++
 .../python/python3/04-default-is-optimized.patch   |   58 ++++
 .../python3/06-ctypes-libffi-fix-configure.patch   |   44 +++
 .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
 .../python3/080-distutils-dont_adjust_files.patch  |   86 +++++
 .../python/python3/110-enable-zlib.patch           |   15 +
 .../python/python3/130-readline-setup.patch        |   49 +++
 .../python/python3/140-verbose-sharedmods.patch    |   10 +
 .../python/python3/150-fix-setupterm.patch         |   11 +
 .../python3/avoid_warning_about_tkinter.patch      |   25 ++
 meta/recipes-devtools/python/python3/cgi_py.patch  |   23 ++
 .../python3/fix_for_using_different_libdir.patch   |   54 +++
 .../python/python3/h2py-pr13032.patch              |  185 +++++++++++
 .../python3/host_include_contamination.patch       |   28 ++
 .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++++++++++
 .../python/python3/remove_sqlite_rpath.patch       |   19 ++
 .../python/python3/setuptweaks.patch               |   57 ++++
 .../python/python3/shutil-follow-symlink-fix.patch |   11 +
 .../python/python3/sitecustomize.py                |   37 +++
 .../sys_platform_is_now_always_linux2.patch        |   29 ++
 meta/recipes-devtools/python/python3_3.3.0.bb      |  203 ++++++++++++
 24 files changed, 1507 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
 create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
 create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
 create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
 create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
 create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
 create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
 create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
 create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
 create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
 create mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
 create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
 create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
 create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
 create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
 create mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
 create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
 create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
 create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
 create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
 create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
 create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
 create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
 create mode 100644 meta/recipes-devtools/python/python3_3.3.0.bb

diff --git a/meta/recipes-devtools/python/python3/000-cross-compile.patch b/meta/recipes-devtools/python/python3/000-cross-compile.patch
new file mode 100644
index 0000000..23c1755
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/000-cross-compile.patch
@@ -0,0 +1,76 @@
+---
+ Makefile.pre.in |   25 +++++++++++++------------
+ 1 file changed, 13 insertions(+), 12 deletions(-)
+
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -193,6 +193,7 @@ LIBOBJS=	@LIBOBJS@
+ 
+ PYTHON=		python$(EXE)
+ BUILDPYTHON=	python$(BUILDEXE)
++HOSTPYTHON=	$(BUILDPYTHON)
+ 
+ PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@
+ _PYTHON_HOST_PLATFORM=@_PYTHON_HOST_PLATFORM@
+@@ -239,6 +240,7 @@ LIBFFI_INCLUDEDIR=	@LIBFFI_INCLUDEDIR@
+ ##########################################################################
+ # Parser
+ PGEN=		Parser/pgen$(EXE)
++HOSTPGEN=	$(PGEN)$(EXE)
+ 
+ PSRCS=		\
+ 		Parser/acceler.c \
+@@ -451,7 +453,7 @@ build_all_generate_profile:
+ 
+ run_profile_task:
+ 	: # FIXME: can't run for a cross build
+-	$(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK)
++	$(RUNSHARED) $(HOSTPYTHON) $(PROFILE_TASK)
+ 
+ build_all_use_profile:
+ 	$(MAKE) all CFLAGS="$(CFLAGS) -fprofile-use -fprofile-correction"
+@@ -640,7 +642,7 @@ $(IO_OBJS): $(IO_H)
+ $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGENSRCS)
+ 		@$(MKDIR_P) Include
+ 		$(MAKE) $(PGEN)
+-		$(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
++		$(HOSTPGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
+ $(GRAMMAR_C): $(GRAMMAR_H) $(GRAMMAR_INPUT) $(PGENSRCS)
+ 		$(MAKE) $(GRAMMAR_H)
+ 		touch $(GRAMMAR_C)
+@@ -820,7 +822,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/pytho
+ ######################################################################
+ 
+ TESTOPTS=	$(EXTRATESTOPTS)
+-TESTPYTHON=	$(RUNSHARED) ./$(BUILDPYTHON) $(TESTPYTHONOPTS)
++TESTPYTHON=	$(RUNSHARED) $(HOSTPYTHON) $(TESTPYTHONOPTS)
+ TESTRUNNER=	$(TESTPYTHON) $(srcdir)/Tools/scripts/run_tests.py
+ TESTTIMEOUT=	3600
+ 
+@@ -1229,7 +1231,7 @@ frameworkinstallstructure:	$(LDLIBRARY)
+ 		fi; \
+ 	done
+ 	$(LN) -fsn include/python$(LDVERSION) $(DESTDIR)$(prefix)/Headers
+-	sed 's/%VERSION%/'"`$(RUNSHARED) ./$(BUILDPYTHON) -c 'import platform; print(platform.python_version())'`"'/g' < $(RESSRCDIR)/Info.plist > $(DESTDIR)$(prefix)/Resources/Info.plist
++	sed 's/%VERSION%/'"`$(RUNSHARED) $(HOSTPYTHON) -c 'import platform; print(platform.python_version())'`"'/g' < $(RESSRCDIR)/Info.plist > $(DESTDIR)$(prefix)/Resources/Info.plist
+ 	$(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Current
+ 	$(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/$(PYTHONFRAMEWORK)
+ 	$(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Headers
+@@ -1288,7 +1290,7 @@ config.status:	$(srcdir)/configure
+ 
+ # Run reindent on the library
+ reindent:
+-	./$(BUILDPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
++	$(HOSTPYTHON) $(srcdir)/Tools/scripts/reindent.py -r $(srcdir)/Lib
+ 
+ # Rerun configure with the same options as it was run last time,
+ # provided the config.status script exists
+@@ -1414,7 +1416,7 @@ funny:
+ 
+ # Perform some verification checks on any modified files.
+ patchcheck:
+-	$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
++	$(RUNSHARED) $(HOSTPYTHON) $(srcdir)/Tools/scripts/patchcheck.py
+ 
+ # Dependencies
+ 
diff --git a/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch b/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
new file mode 100644
index 0000000..07a906e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
@@ -0,0 +1,31 @@
+---
+ Makefile.pre.in |   16 ----------------
+ 1 file changed, 16 deletions(-)
+
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -1078,24 +1078,6 @@ libinstall:	build_all $(srcdir)/Lib/$(PL
+ 		$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
+ 			$(DESTDIR)$(LIBDEST)/distutils/tests ; \
+ 	fi
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
+-		$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
+-		-d $(LIBDEST) -f \
+-		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+-		$(DESTDIR)$(LIBDEST)
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+-		$(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
+-		-d $(LIBDEST) -f \
+-		-x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
+-		$(DESTDIR)$(LIBDEST)
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST)  $(RUNSHARED) \
+-		$(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
+-		-d $(LIBDEST)/site-packages -f \
+-		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+-		$(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \
+-		-d $(LIBDEST)/site-packages -f \
+-		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+ 	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ 		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
+ 	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
diff --git a/meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch b/meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
new file mode 100644
index 0000000..fddfd2b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
@@ -0,0 +1,42 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+# We need to supply STAGING_INCDIR here, otherwise the Tk headers
+# will not be found.
+# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille.de>
+
+Index: Python-3.3.0rc2/setup.py
+===================================================================
+--- Python-3.3.0rc2.orig/setup.py	2012-09-20 15:24:14.009124003 -0700
++++ Python-3.3.0rc2/setup.py	2012-09-20 15:25:08.449124963 -0700
+@@ -1620,7 +1620,7 @@
+                 dotversion = dotversion[:-1] + '.' + dotversion[-1]
+             tcl_include_sub = []
+             tk_include_sub = []
+-            for dir in inc_dirs:
++            for dir in [os.getenv("STAGING_INCDIR")]:
+                 tcl_include_sub += [dir + os.sep + "tcl" + dotversion]
+                 tk_include_sub += [dir + os.sep + "tk" + dotversion]
+             tk_include_sub += tcl_include_sub
+@@ -1639,22 +1639,6 @@
+             if dir not in include_dirs:
+                 include_dirs.append(dir)
+ 
+-        # Check for various platform-specific directories
+-        if host_platform == 'sunos5':
+-            include_dirs.append('/usr/openwin/include')
+-            added_lib_dirs.append('/usr/openwin/lib')
+-        elif os.path.exists('/usr/X11R6/include'):
+-            include_dirs.append('/usr/X11R6/include')
+-            added_lib_dirs.append('/usr/X11R6/lib64')
+-            added_lib_dirs.append('/usr/X11R6/lib')
+-        elif os.path.exists('/usr/X11R5/include'):
+-            include_dirs.append('/usr/X11R5/include')
+-            added_lib_dirs.append('/usr/X11R5/lib')
+-        else:
+-            # Assume default location for X11
+-            include_dirs.append('/usr/X11/include')
+-            added_lib_dirs.append('/usr/X11/lib')
+-
+         # If Cygwin, then verify that X is installed before proceeding
+         if host_platform == 'cygwin':
+             x11_inc = find_file('X11/Xlib.h', [], include_dirs)
diff --git a/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch b/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
new file mode 100644
index 0000000..4882118
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
@@ -0,0 +1,36 @@
+---
+ setup.py |   15 ++-------------
+ 1 file changed, 2 insertions(+), 13 deletions(-)
+
+--- a/setup.py
++++ b/setup.py
+@@ -464,7 +464,8 @@ class PyBuildExt(build_ext):
+         # only change this for cross builds for 3.3, issues on Mageia
+         if cross_compiling:
+             self.add_gcc_paths()
+-        self.add_multiarch_paths()
++        if not cross_compiling:
++            self.add_multiarch_paths()
+ 
+         # Add paths specified in the environment variables LDFLAGS and
+         # CPPFLAGS for header and library files.
+@@ -500,7 +501,7 @@ class PyBuildExt(build_ext):
+                     for directory in reversed(options.dirs):
+                         add_dir_to_list(dir_list, directory)
+ 
+-        if os.path.normpath(sys.base_prefix) != '/usr' \
++        if not cross_compiling and os.path.normpath(sys.base_prefix) != '/usr' \
+                 and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
+             # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
+             # (PYTHONFRAMEWORK is set) to avoid # linking problems when
+@@ -520,6 +521,10 @@ class PyBuildExt(build_ext):
+                 '/lib', '/usr/lib',
+                 ]
+             inc_dirs = self.compiler.include_dirs + ['/usr/include']
++        if cross_compiling:
++            lib_dirs = self.compiler.library_dirs
++            inc_dirs = self.compiler.include_dirs
++
+         exts = []
+         missing = []
+ 
diff --git a/meta/recipes-devtools/python/python3/04-default-is-optimized.patch b/meta/recipes-devtools/python/python3/04-default-is-optimized.patch
new file mode 100644
index 0000000..d5afd40
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/04-default-is-optimized.patch
@@ -0,0 +1,58 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+Updated original patch for python 2.7.3
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+2012/05/01
+
+
+# when compiling for an embedded system, we need every bit of
+# performance we can get. default to optimized with the option
+# of opt-out.
+# Signed-Off: Michael 'Mickey' Lauer <mickey@vanille-media.de>
+
+Index: Python-3.2.3/Python/compile.c
+===================================================================
+--- Python-3.2.3.orig/Python/compile.c	2012-04-10 23:54:08.000000000 -0700
++++ Python-3.2.3/Python/compile.c	2012-09-19 15:58:46.649123998 -0700
+@@ -30,7 +30,7 @@
+ #include "symtable.h"
+ #include "opcode.h"
+ 
+-int Py_OptimizeFlag = 0;
++int Py_OptimizeFlag = 1;
+ 
+ #define DEFAULT_BLOCK_SIZE 16
+ #define DEFAULT_BLOCKS 8
+Index: Python-3.2.3/Modules/main.c
+===================================================================
+--- Python-3.2.3.orig/Modules/main.c	2012-04-10 23:54:07.000000000 -0700
++++ Python-3.2.3/Modules/main.c	2012-09-19 16:00:32.153124053 -0700
+@@ -46,7 +46,7 @@
+ static int  orig_argc;
+ 
+ /* command line options */
+-#define BASE_OPTS L"bBc:dEhiJm:OqRsStuvVW:xX:?"
++#define BASE_OPTS L"bBc:dEhiJm:NOqRsStuvVW:xX:?"
+ 
+ #define PROGRAM_OPTS BASE_OPTS
+ 
+@@ -71,6 +71,7 @@
+ -m mod : run library module as a script (terminates option list)\n\
+ -O     : optimize generated bytecode slightly; also PYTHONOPTIMIZE=x\n\
+ -OO    : remove doc-strings in addition to the -O optimizations\n\
++-N     : do NOT optimize generated bytecode\n\
+ -q     : don't print version and copyright messages on interactive startup\n\
+ -R     : use a pseudo-random salt to make hash() values of various types be\n\
+          unpredictable between separate invocations of the interpreter, as\n\
+@@ -407,8 +408,8 @@
+ 
+         /* case 'J': reserved for Jython */
+ 
+-        case 'O':
+-            Py_OptimizeFlag++;
++        case 'N':
++            Py_OptimizeFlag=0;
+             break;
+ 
+         case 'B':
diff --git a/meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch b/meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
new file mode 100644
index 0000000..abd63d2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
@@ -0,0 +1,44 @@
+This fixes configure issues with recent autoconf, e.g:
+  autoreconf: Entering directory `Modules/_ctypes/libffi'
+  autoreconf: configure.ac: not using Gettext
+  autoreconf: running: aclocal --force
+  configure.ac:26: error: m4_copy: won't overwrite defined macro: _AC_ARG_VAR_PRECIOUS
+  configure.ac:26: the top level
+
+The problem is still present in python-2.6.5 but fixed in python-svn.
+
+Upstream-Status: Accepted [python-svn]
+
+Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
+Acked-by: Martin Jansa <Martin.Jansa@gmail.com>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+
+2011/09/29
+Rebased for python 2.7.2
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+
+
+Index: Python-2.7.2/Modules/_ctypes/libffi/Makefile.am
+===================================================================
+--- Python-2.7.2.orig/Modules/_ctypes/libffi/Makefile.am
++++ Python-2.7.2/Modules/_ctypes/libffi/Makefile.am
+@@ -2,7 +2,7 @@
+ 
+ AUTOMAKE_OPTIONS = foreign subdir-objects
+ 
+-SUBDIRS = include testsuite man
++SUBDIRS = include
+ 
+ EXTRA_DIST = LICENSE ChangeLog.v1 ChangeLog.libgcj configure.host \
+ 	src/alpha/ffi.c src/alpha/osf.S src/alpha/ffitarget.h \
+@@ -34,8 +34,6 @@ EXTRA_DIST = LICENSE ChangeLog.v1 Change
+ 	libtool-version ChangeLog.libffi m4/libtool.m4 \
+ 	m4/lt~obsolete.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4
+ 
+-info_TEXINFOS = doc/libffi.texi
+-
+ ## ################################################################
+ 
+ ##
diff --git a/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch b/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
new file mode 100644
index 0000000..2ac85d9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
@@ -0,0 +1,30 @@
+---
+ Makefile.pre.in |    6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -1306,8 +1306,8 @@ touch:
+ # Sanitation targets -- clean leaves libraries, executables and tags
+ # files, which clobber removes as well
+ pycremoval:
+-	-find $(srcdir) -depth -name '__pycache__' -exec rm -rf {} ';'
+-	-find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
++	-find $(srcdir) ! -path './ipkg-install/*' -depth -name '__pycache__' -exec rm -rf {} ';'
++	-find $(srcdir) ! -path './ipkg-install/*' -name '*.py[co]' -exec rm -f {} ';'
+ 
+ rmtestturds:
+ 	-rm -f *BAD *GOOD *SKIPPED
+@@ -1321,9 +1321,9 @@ docclean:
+ 	-rm -rf Doc/tools/sphinx Doc/tools/pygments Doc/tools/docutils
+ 
+ clean: pycremoval
+-	find . -name '*.[oa]' -exec rm -f {} ';'
+-	find . -name '*.s[ol]' -exec rm -f {} ';'
+-	find . -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
++	find . ! -path './ipkg-install/*' -name '*.[oa]' -exec rm -f {} ';'
++	find . ! -path './ipkg-install/*' -name '*.s[ol]' -exec rm -f {} ';'
++	find . ! -path './ipkg-install/*' -name '*.so.[0-9]*.[0-9]*' -exec rm -f {} ';'
+ 	find build -name 'fficonfig.h' -exec rm -f {} ';' || true
+ 	find build -name 'fficonfig.py' -exec rm -f {} ';' || true
+ 	-rm -f Lib/lib2to3/*Grammar*.pickle
diff --git a/meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch b/meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
new file mode 100644
index 0000000..ac5450b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
@@ -0,0 +1,86 @@
+---
+ Lib/distutils/command/build_scripts.py |   43 +++------------------------------
+ 1 file changed, 4 insertions(+), 39 deletions(-)
+
+--- a/Lib/distutils/command/build_scripts.py
++++ b/Lib/distutils/command/build_scripts.py
+@@ -51,10 +51,7 @@ class build_scripts(Command):
+ 
+ 
+     def copy_scripts(self):
+-        """Copy each script listed in 'self.scripts'; if it's marked as a
+-        Python script in the Unix way (first line matches 'first_line_re',
+-        ie. starts with "\#!" and contains "python"), then adjust the first
+-        line to refer to the current Python interpreter as we copy.
++        """Copy each script listed in 'self.scripts'
+         """
+         self.mkpath(self.build_dir)
+         outfiles = []
+@@ -78,64 +75,10 @@ class build_scripts(Command):
+                 if not self.dry_run:
+                     raise
+                 f = None
+-            else:
+-                encoding, lines = tokenize.detect_encoding(f.readline)
+-                f.seek(0)
+-                first_line = f.readline()
+-                if not first_line:
+-                    self.warn("%s is an empty file (skipping)" % script)
+-                    continue
+-
+-                match = first_line_re.match(first_line)
+-                if match:
+-                    adjust = True
+-                    post_interp = match.group(1) or b''
+-
+-            if adjust:
+-                log.info("copying and adjusting %s -> %s", script,
+-                         self.build_dir)
+-                updated_files.append(outfile)
+-                if not self.dry_run:
+-                    if not sysconfig.python_build:
+-                        executable = self.executable
+-                    else:
+-                        executable = os.path.join(
+-                            sysconfig.get_config_var("BINDIR"),
+-                           "python%s%s" % (sysconfig.get_config_var("VERSION"),
+-                                           sysconfig.get_config_var("EXE")))
+-                    executable = os.fsencode(executable)
+-                    shebang = b"#!" + executable + post_interp + b"\n"
+-                    # Python parser starts to read a script using UTF-8 until
+-                    # it gets a #coding:xxx cookie. The shebang has to be the
+-                    # first line of a file, the #coding:xxx cookie cannot be
+-                    # written before. So the shebang has to be decodable from
+-                    # UTF-8.
+-                    try:
+-                        shebang.decode('utf-8')
+-                    except UnicodeDecodeError:
+-                        raise ValueError(
+-                            "The shebang ({!r}) is not decodable "
+-                            "from utf-8".format(shebang))
+-                    # If the script is encoded to a custom encoding (use a
+-                    # #coding:xxx cookie), the shebang has to be decodable from
+-                    # the script encoding too.
+-                    try:
+-                        shebang.decode(encoding)
+-                    except UnicodeDecodeError:
+-                        raise ValueError(
+-                            "The shebang ({!r}) is not decodable "
+-                            "from the script encoding ({})"
+-                            .format(shebang, encoding))
+-                    with open(outfile, "wb") as outf:
+-                        outf.write(shebang)
+-                        outf.writelines(f.readlines())
+-                if f:
+-                    f.close()
+-            else:
+-                if f:
++            if f:
+                     f.close()
+-                updated_files.append(outfile)
+-                self.copy_file(script, outfile)
++            updated_files.append(outfile)
++            self.copy_file(script, outfile)
+ 
+         if os.name == 'posix':
+             for file in outfiles:
diff --git a/meta/recipes-devtools/python/python3/110-enable-zlib.patch b/meta/recipes-devtools/python/python3/110-enable-zlib.patch
new file mode 100644
index 0000000..90c364e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/110-enable-zlib.patch
@@ -0,0 +1,15 @@
+---
+ Modules/Setup.dist |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/Modules/Setup.dist
++++ b/Modules/Setup.dist
+@@ -354,7 +354,7 @@ _symtable symtablemodule.c
+ # Andrew Kuchling's zlib module.
+ # This require zlib 1.1.3 (or later).
+ # See http://www.gzip.org/zlib/
+-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
++zlib zlibmodule.c -lz
+ 
+ # Interface to the Expat XML parser
+ #
diff --git a/meta/recipes-devtools/python/python3/130-readline-setup.patch b/meta/recipes-devtools/python/python3/130-readline-setup.patch
new file mode 100644
index 0000000..3d28a19
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/130-readline-setup.patch
@@ -0,0 +1,49 @@
+--- a/setup.py
++++ b/setup.py
+@@ -666,45 +666,7 @@ class PyBuildExt(build_ext):
+         # readline
+         do_readline = self.compiler.find_library_file(lib_dirs, 'readline')
+         readline_termcap_library = ""
+-        curses_library = ""
+-        # Cannot use os.popen here in py3k.
+-        tmpfile = os.path.join(self.build_temp, 'readline_termcap_lib')
+-        if not os.path.exists(self.build_temp):
+-            os.makedirs(self.build_temp)
+-        # Determine if readline is already linked against curses or tinfo.
+-        if do_readline:
+-            if cross_compiling:
+-                ret = os.system("%s -d %s | grep '(NEEDED)' > %s" \
+-                                % (sysconfig.get_config_var('READELF'),
+-                                   do_readline, tmpfile))
+-            elif find_executable('ldd'):
+-                ret = os.system("ldd %s > %s" % (do_readline, tmpfile))
+-            else:
+-                ret = 256
+-            if ret >> 8 == 0:
+-                with open(tmpfile) as fp:
+-                    for ln in fp:
+-                        if 'curses' in ln:
+-                            readline_termcap_library = re.sub(
+-                                r'.*lib(n?cursesw?)\.so.*', r'\1', ln
+-                            ).rstrip()
+-                            break
+-                        # termcap interface split out from ncurses
+-                        if 'tinfo' in ln:
+-                            readline_termcap_library = 'tinfo'
+-                            break
+-            if os.path.exists(tmpfile):
+-                os.unlink(tmpfile)
+-        # Issue 7384: If readline is already linked against curses,
+-        # use the same library for the readline and curses modules.
+-        if 'curses' in readline_termcap_library:
+-            curses_library = readline_termcap_library
+-        elif self.compiler.find_library_file(lib_dirs, 'ncursesw'):
+-            curses_library = 'ncursesw'
+-        elif self.compiler.find_library_file(lib_dirs, 'ncurses'):
+-            curses_library = 'ncurses'
+-        elif self.compiler.find_library_file(lib_dirs, 'curses'):
+-            curses_library = 'curses'
++        curses_library = "ncurses"
+ 
+         if host_platform == 'darwin':
+             os_release = int(os.uname()[2].split('.')[0])
diff --git a/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch b/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
new file mode 100644
index 0000000..db3f124
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
@@ -0,0 +1,10 @@
+--- a/Makefile.pre.in
++++ b/Makefile.pre.in
+@@ -477,7 +477,6 @@ $(SYSCONFIGDATA): $(BUILDPYTHON)
+ 
+ # Build the shared modules
+ sharedmods: $(BUILDPYTHON) $(SYSCONFIGDATA)
+-	case $$MAKEFLAGS in *s*) quiet=-q; esac; \
+ 	$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
+ 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
+ 
diff --git a/meta/recipes-devtools/python/python3/150-fix-setupterm.patch b/meta/recipes-devtools/python/python3/150-fix-setupterm.patch
new file mode 100644
index 0000000..db53482
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/150-fix-setupterm.patch
@@ -0,0 +1,11 @@
+--- a/Modules/_cursesmodule.c
++++ b/Modules/_cursesmodule.c
+@@ -116,7 +116,7 @@ char *PyCursesVersion = "2.2";
+     #defines many common symbols (such as "lines") which breaks the
+     curses module in other ways.  So the code will just specify
+     explicit prototypes here. */
+-extern int setupterm(char *,int,int *);
++//extern int setupterm(char *,int,int *);
+ #ifdef __sgi
+ #include <term.h>
+ #endif
diff --git a/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
new file mode 100644
index 0000000..208c57c
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
@@ -0,0 +1,25 @@
+_tkinter module needs tk module along with tcl. tk is not yet integrated
+in yocto so we skip the check for this module.
+Avoid a warning by not adding this module to missing variable.
+
+Upstream-Status: Inappropriate [distribution]
+
+Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
+
+Index: Python-2.7.2/setup.py
+===================================================================
+--- Python-2.7.2.orig/setup.py	2012-04-05 23:18:38.500136647 +0300
++++ Python-2.7.2/setup.py	2012-04-05 23:19:35.888134969 +0300
+@@ -1634,8 +1634,10 @@
+         # Call the method for detecting whether _tkinter can be compiled
+         self.detect_tkinter(inc_dirs, lib_dirs)
+ 
+-        if '_tkinter' not in [e.name for e in self.extensions]:
+-            missing.append('_tkinter')
++        # tkinter module will not be avalaible as yocto
++        # doesn't have tk integrated (yet)
++        #if '_tkinter' not in [e.name for e in self.extensions]:
++        #    missing.append('_tkinter')
+ 
+         return missing
+ 
diff --git a/meta/recipes-devtools/python/python3/cgi_py.patch b/meta/recipes-devtools/python/python3/cgi_py.patch
new file mode 100644
index 0000000..de504f9
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/cgi_py.patch
@@ -0,0 +1,23 @@
+Lib/cgi.py: Update the script as mentioned in the comment
+
+Upstream-Status: Inappropriate [distribution]
+
+Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+
+--- Python-2.6.6/Lib/cgi.py.orig	2010-08-01 22:14:27.000000000 -0500
++++ Python-2.6.6/Lib/cgi.py	2011-09-21 15:28:40.478208631 -0500
+@@ -1,13 +1,4 @@
+-#! /usr/local/bin/python
+-
+-# NOTE: the above "/usr/local/bin/python" is NOT a mistake.  It is
+-# intentionally NOT "/usr/bin/env python".  On many systems
+-# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
+-# scripts, and /usr/local/bin is the default directory where Python is
+-# installed, so /usr/bin/env would be unable to find python.  Granted,
+-# binary installations by Linux vendors often install Python in
+-# /usr/bin.  So let those vendors patch cgi.py to match their choice
+-# of installation.
++#! /usr/bin/env python
+ 
+ """Support module for CGI (Common Gateway Interface) scripts.
+ 
diff --git a/meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch b/meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
new file mode 100644
index 0000000..cd1a978
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
@@ -0,0 +1,54 @@
+Upstream-Status: Inappropriate [Embedded specific]
+
+This patch fixes issuing with different libdir like lib64.
+This patch makes the native python binary modules findable
+in the install process of the host python.
+
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: 2012/03/14
+
+Updated for python 2.7.3
+Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
+Date: 2012/05/01
+
+Index: Python-3.3.0rc2/Lib/sysconfig.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/sysconfig.py	2012-09-20 22:50:11.000000000 -0700
++++ Python-3.3.0rc2/Lib/sysconfig.py	2012-09-20 22:53:01.561123396 -0700
+@@ -21,9 +21,9 @@
+ 
+ _INSTALL_SCHEMES = {
+     'posix_prefix': {
+-        'stdlib': '{installed_base}/'+sys.lib+'/python{py_version_short}',
++        'stdlib': '{base}/'+sys.lib+'/python{py_version_short}',
+         'platstdlib': '{platbase}/'+sys.lib+'/python{py_version_short}',
+-        'purelib': '{base}/lib/python{py_version_short}/site-packages',
++        'purelib': '{base}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'platlib': '{platbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include':
+             '{installed_base}/include/python{py_version_short}{abiflags}',
+@@ -83,7 +83,7 @@
+     'posix_user': {
+         'stdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
+         'platstdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
+-        'purelib': '{userbase}/lib/python{py_version_short}/site-packages',
++        'purelib': '{userbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'platlib': '{userbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include': '{userbase}/include/python{py_version_short}',
+         'scripts': '{userbase}/bin',
+Index: Python-3.3.0rc2/Makefile.pre.in
+===================================================================
+--- Python-3.3.0rc2.orig/Makefile.pre.in	2012-09-20 22:50:11.000000000 -0700
++++ Python-3.3.0rc2/Makefile.pre.in	2012-09-20 22:50:54.245123997 -0700
+@@ -1080,9 +1080,9 @@
+ 		$(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
+ 			$(DESTDIR)$(LIBDEST)/distutils/tests ; \
+ 	fi
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \
+ 		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt
+-	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
++	-PYTHONPATH=$(DESTDIR)$(LIBDEST):${CROSSPYTHONPATH} $(RUNSHARED) \
+ 		$(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt
+ 
+ # Create the PLATDIR source directory, if one wasn't distributed..
diff --git a/meta/recipes-devtools/python/python3/h2py-pr13032.patch b/meta/recipes-devtools/python/python3/h2py-pr13032.patch
new file mode 100644
index 0000000..39b845b
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/h2py-pr13032.patch
@@ -0,0 +1,185 @@
+This is backport of upstream bug
+
+http://bugs.python.org/issue13032
+
+Fixes issues like below
+
+|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 167, in <module>
+|     main()
+|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 81, in main
+|     process(fp, outfp)
+|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 108, in process
+|     line = fp.readline()
+|   File "/work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/lib/python3.3/encodings/ascii.py", line 26, in decode
+|     return codecs.ascii_decode(input, self.errors)[0]
+| UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 175: ordinal not in range(128)
+
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/Tools/scripts/h2py.py
++++ b/Tools/scripts/h2py.py
+@@ -23,55 +23,56 @@
+ 
+ import sys, re, getopt, os
+ 
+-p_define = re.compile('^[\t ]*#[\t ]*define[\t ]+([a-zA-Z0-9_]+)[\t ]+')
++p_define = re.compile(b'^[\t ]*#[\t ]*define[\t ]+([a-zA-Z0-9_]+)[\t ]+')
+ 
+ p_macro = re.compile(
+-  '^[\t ]*#[\t ]*define[\t ]+'
+-  '([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+')
++  b'^[\t ]*#[\t ]*define[\t ]+'
++  b'([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+')
+ 
+-p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
++p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
+ 
+-p_comment = re.compile(r'/\*([^*]+|\*+[^/])*(\*+/)?')
+-p_cpp_comment = re.compile('//.*')
++p_comment = re.compile(br'/\*([^*]+|\*+[^/])*(\*+/)?')
++p_cpp_comment = re.compile(b'//.*')
+ 
+ ignores = [p_comment, p_cpp_comment]
+ 
+-p_char = re.compile(r"'(\\.[^\\]*|[^\\])'")
++p_char = re.compile(br"'(\\.[^\\]*|[^\\])'")
+ 
+-p_hex = re.compile(r"0x([0-9a-fA-F]+)L?")
++p_hex = re.compile(br"0x([0-9a-fA-F]+)L?")
+ 
+ filedict = {}
+ importable = {}
+ 
+ try:
+-    searchdirs=os.environ['include'].split(';')
++    searchdirs=os.environb[b'include'].split(b';')
+ except KeyError:
+     try:
+-        searchdirs=os.environ['INCLUDE'].split(';')
++        searchdirs=os.environb[b'INCLUDE'].split(b';')
+     except KeyError:
+-        searchdirs=['/usr/include']
++        searchdirs=[b'/usr/include']
+ 
+ def main():
+     global filedict
+     opts, args = getopt.getopt(sys.argv[1:], 'i:')
+     for o, a in opts:
+         if o == '-i':
+-            ignores.append(re.compile(a))
++            ignores.append(re.compile(a.encode()))
+     if not args:
+         args = ['-']
+     for filename in args:
+         if filename == '-':
+             sys.stdout.write('# Generated by h2py from stdin\n')
+-            process(sys.stdin, sys.stdout)
++            process(sys.stdin.buffer, sys.stdout.buffer)
+         else:
+-            fp = open(filename, 'r')
++            filename = filename.encode()
++            fp = open(filename, 'rb')
+             outfile = os.path.basename(filename)
+-            i = outfile.rfind('.')
++            i = outfile.rfind(b'.')
+             if i > 0: outfile = outfile[:i]
+             modname = outfile.upper()
+-            outfile = modname + '.py'
+-            outfp = open(outfile, 'w')
+-            outfp.write('# Generated by h2py from %s\n' % filename)
++            outfile = modname + b'.py'
++            outfp = open(outfile, 'wb')
++            outfp.write(b'# Generated by h2py from ' + filename + b'\n')
+             filedict = {}
+             for dir in searchdirs:
+                 if filename[:len(dir)] == dir:
+@@ -85,9 +86,9 @@
+ def pytify(body):
+     # replace ignored patterns by spaces
+     for p in ignores:
+-        body = p.sub(' ', body)
++        body = p.sub(b' ', body)
+     # replace char literals by ord(...)
+-    body = p_char.sub("ord('\\1')", body)
++    body = p_char.sub(b"ord('\\1')", body)
+     # Compute negative hexadecimal constants
+     start = 0
+     UMAX = 2*(sys.maxsize+1)
+@@ -98,7 +99,7 @@
+         val = int(body[slice(*m.span(1))], 16)
+         if val > sys.maxsize:
+             val -= UMAX
+-            body = body[:s] + "(" + str(val) + ")" + body[e:]
++            body = body[:s] + b"(" + str(val).encode() + b")" + body[e:]
+         start = s + 1
+     return body
+ 
+@@ -111,7 +112,7 @@
+         match = p_define.match(line)
+         if match:
+             # gobble up continuation lines
+-            while line[-2:] == '\\\n':
++            while line[-2:] == b'\\\n':
+                 nextline = fp.readline()
+                 if not nextline: break
+                 lineno = lineno + 1
+@@ -120,11 +121,11 @@
+             body = line[match.end():]
+             body = pytify(body)
+             ok = 0
+-            stmt = '%s = %s\n' % (name, body.strip())
++            stmt = name + b' = ' + body.strip() + b'\n'
+             try:
+                 exec(stmt, env)
+             except:
+-                sys.stderr.write('Skipping: %s' % stmt)
++                sys.stderr.buffer.write(b'Skipping: ' + stmt)
+             else:
+                 outfp.write(stmt)
+         match = p_macro.match(line)
+@@ -132,11 +133,11 @@
+             macro, arg = match.group(1, 2)
+             body = line[match.end():]
+             body = pytify(body)
+-            stmt = 'def %s(%s): return %s\n' % (macro, arg, body)
++            stmt = b'def ' + macro + b'(' + arg + b'): return ' + body + b'\n'
+             try:
+                 exec(stmt, env)
+             except:
+-                sys.stderr.write('Skipping: %s' % stmt)
++                sys.stderr.buffer.write(b'Skipping: ' + stmt)
+             else:
+                 outfp.write(stmt)
+         match = p_include.match(line)
+@@ -145,23 +146,24 @@
+             a, b = regs[1]
+             filename = line[a:b]
+             if filename in importable:
+-                outfp.write('from %s import *\n' % importable[filename])
++                outfp.write(b'from ' + importable[filename] + b' import *\n')
+             elif filename not in filedict:
+                 filedict[filename] = None
+                 inclfp = None
+                 for dir in searchdirs:
+                     try:
+-                        inclfp = open(dir + '/' + filename)
++                        inclfp = open(dir + b'/' + filename, 'rb')
+                         break
+                     except IOError:
+                         pass
+                 if inclfp:
+                     outfp.write(
+-                            '\n# Included from %s\n' % filename)
++                            b'\n# Included from ' + filename + b'\n')
+                     process(inclfp, outfp, env)
++                    inclfp.close()
+                 else:
+-                    sys.stderr.write('Warning - could not find file %s\n' %
+-                                     filename)
++                    sys.stderr.buffer.write(b'Warning - could not find file ' +
++                                            filename + b'\n')
+ 
+ if __name__ == '__main__':
+     main()
+
diff --git a/meta/recipes-devtools/python/python3/host_include_contamination.patch b/meta/recipes-devtools/python/python3/host_include_contamination.patch
new file mode 100644
index 0000000..ef2054d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/host_include_contamination.patch
@@ -0,0 +1,28 @@
+when building python for qemux86-64 on ubuntu 11.10/64bit
+it gropes into host includes and then mixes them with cross
+includes and as a result some modules fail to compile and link
+one of the modules is python-elementtree which is then not
+found during image creation
+
+Proble is that setup.py tries to add native includes that newer
+ubuntu has introduced for multiarch support. But that should
+only happen for native builds and not cross building python
+so we add a check here.
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+Upstream-Status: Pending
+
+Index: Python-3.3.0rc2/setup.py
+===================================================================
+--- Python-3.3.0rc2.orig/setup.py	2012-09-20 21:54:50.000000000 -0700
++++ Python-3.3.0rc2/setup.py	2012-09-20 21:57:35.029123858 -0700
+@@ -402,6 +402,9 @@
+ 
+         if not find_executable('dpkg-architecture'):
+             return
++        if cross_compiling:
++            return
++
+         opt = ''
+         if cross_compiling:
+             opt = '-t' + sysconfig.get_config_var('HOST_GNU_TYPE')
diff --git a/meta/recipes-devtools/python/python3/python-3.3-multilib.patch b/meta/recipes-devtools/python/python3/python-3.3-multilib.patch
new file mode 100644
index 0000000..426e299
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/python-3.3-multilib.patch
@@ -0,0 +1,348 @@
+Index: Python-3.3.0rc2/Include/pythonrun.h
+===================================================================
+--- Python-3.3.0rc2.orig/Include/pythonrun.h	2012-09-09 02:10:55.000000000 -0700
++++ Python-3.3.0rc2/Include/pythonrun.h	2012-09-20 22:46:53.273124016 -0700
+@@ -181,6 +181,8 @@
+ /* In their own files */
+ PyAPI_FUNC(const char *) Py_GetVersion(void);
+ PyAPI_FUNC(const char *) Py_GetPlatform(void);
++PyAPI_FUNC(const char *) Py_GetArch(void);
++PyAPI_FUNC(const char *) Py_GetLib(void);
+ PyAPI_FUNC(const char *) Py_GetCopyright(void);
+ PyAPI_FUNC(const char *) Py_GetCompiler(void);
+ PyAPI_FUNC(const char *) Py_GetBuildInfo(void);
+Index: Python-3.3.0rc2/Lib/distutils/command/install.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/distutils/command/install.py	2012-09-09 02:10:56.000000000 -0700
++++ Python-3.3.0rc2/Lib/distutils/command/install.py	2012-09-20 22:46:53.273124016 -0700
+@@ -25,6 +25,8 @@
+     from site import USER_SITE
+     HAS_USER_SITE = True
+ 
++libname = sys.lib
++
+ if sys.version < "2.2":
+     WINDOWS_SCHEME = {
+         'purelib': '$base',
+@@ -45,7 +47,7 @@
+ INSTALL_SCHEMES = {
+     'unix_prefix': {
+         'purelib': '$base/lib/python$py_version_short/site-packages',
+-        'platlib': '$platbase/lib/python$py_version_short/site-packages',
++        'platlib': '$platbase/'+libname+'/python$py_version_short/site-packages',
+         'headers': '$base/include/python$py_version_short$abiflags/$dist_name',
+         'scripts': '$base/bin',
+         'data'   : '$base',
+Index: Python-3.3.0rc2/Lib/distutils/sysconfig.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/distutils/sysconfig.py	2012-09-09 02:10:56.000000000 -0700
++++ Python-3.3.0rc2/Lib/distutils/sysconfig.py	2012-09-20 22:46:53.273124016 -0700
+@@ -139,8 +139,11 @@
+             prefix = plat_specific and EXEC_PREFIX or PREFIX
+ 
+     if os.name == "posix":
+-        libpython = os.path.join(prefix,
+-                                 "lib", "python" + get_python_version())
++        if plat_specific or standard_lib:
++            lib = sys.lib
++        else:
++            lib = "lib"
++        libpython = os.path.join(prefix, lib, "python" + get_python_version())
+         if standard_lib:
+             return libpython
+         else:
+Index: Python-3.3.0rc2/Lib/pydoc.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/pydoc.py	2012-09-09 02:10:59.000000000 -0700
++++ Python-3.3.0rc2/Lib/pydoc.py	2012-09-20 22:46:53.273124016 -0700
+@@ -369,7 +369,7 @@
+ 
+         docloc = os.environ.get("PYTHONDOCS", self.PYTHONDOCS)
+ 
+-        basedir = os.path.join(sys.base_exec_prefix, "lib",
++        basedir = os.path.join(sys.base_exec_prefix, sys.lib,
+                                "python%d.%d" %  sys.version_info[:2])
+         if (isinstance(object, type(os)) and
+             (object.__name__ in ('errno', 'exceptions', 'gc', 'imp',
+Index: Python-3.3.0rc2/Lib/site.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/site.py	2012-09-09 02:10:59.000000000 -0700
++++ Python-3.3.0rc2/Lib/site.py	2012-09-20 22:46:53.273124016 -0700
+@@ -303,13 +303,19 @@
+         if sys.platform in ('os2emx', 'riscos'):
+             sitepackages.append(os.path.join(prefix, "Lib", "site-packages"))
+         elif os.sep == '/':
+-            sitepackages.append(os.path.join(prefix, "lib",
++            sitepackages.append(os.path.join(prefix, sys.lib,
+                                         "python" + sys.version[:3],
+                                         "site-packages"))
+-            sitepackages.append(os.path.join(prefix, "lib", "site-python"))
++            if sys.lib != "lib":
++                sitepackages.append(os.path.join(prefix, "lib",
++                                        "python" + sys.version[:3],
++                                        "site-packages"))
++            sitepackages.append(os.path.join(prefix, sys.lib, "site-python"))
++            if sys.lib != "lib":
++                sitepackages.append(os.path.join(prefix, "lib", "site-python"))
+         else:
+             sitepackages.append(prefix)
+-            sitepackages.append(os.path.join(prefix, "lib", "site-packages"))
++            sitepackages.append(os.path.join(prefix, sys.lib, "site-packages"))
+         if sys.platform == "darwin":
+             # for framework builds *only* we add the standard Apple
+             # locations.
+Index: Python-3.3.0rc2/Lib/trace.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/trace.py	2012-09-09 02:11:04.000000000 -0700
++++ Python-3.3.0rc2/Lib/trace.py	2012-09-20 22:46:53.273124016 -0700
+@@ -750,10 +750,10 @@
+                 # should I also call expanduser? (after all, could use $HOME)
+ 
+                 s = s.replace("$prefix",
+-                              os.path.join(sys.base_prefix, "lib",
++                              os.path.join(sys.base_prefix, sys.lib,
+                                            "python" + sys.version[:3]))
+                 s = s.replace("$exec_prefix",
+-                              os.path.join(sys.base_exec_prefix, "lib",
++                              os.path.join(sys.base_exec_prefix, sys.lib,
+                                            "python" + sys.version[:3]))
+                 s = os.path.normpath(s)
+                 ignore_dirs.append(s)
+Index: Python-3.3.0rc2/Makefile.pre.in
+===================================================================
+--- Python-3.3.0rc2.orig/Makefile.pre.in	2012-09-20 22:45:52.000000000 -0700
++++ Python-3.3.0rc2/Makefile.pre.in	2012-09-20 22:46:53.277124015 -0700
+@@ -92,6 +92,8 @@
+ 
+ # Machine-dependent subdirectories
+ MACHDEP=	@MACHDEP@
++LIB=		@LIB@
++ARCH=		@ARCH@
+ 
+ # Install prefix for architecture-independent files
+ prefix=		@prefix@
+@@ -108,7 +110,7 @@
+ MANDIR=		@mandir@
+ INCLUDEDIR=	@includedir@
+ CONFINCLUDEDIR=	$(exec_prefix)/include
+-SCRIPTDIR=	$(prefix)/lib
++SCRIPTDIR=	@libdir@
+ ABIFLAGS=	@ABIFLAGS@
+ 
+ # Detailed destination directories
+@@ -618,6 +620,7 @@
+ 		-DEXEC_PREFIX='"$(exec_prefix)"' \
+ 		-DVERSION='"$(VERSION)"' \
+ 		-DVPATH='"$(VPATH)"' \
++		-DARCH='"$(ARCH)"' -DLIB='"$(LIB)"' \
+ 		-o $@ $(srcdir)/Modules/getpath.c
+ 
+ Modules/python.o: $(srcdir)/Modules/python.c
+@@ -669,7 +672,7 @@
+ Python/compile.o Python/symtable.o Python/ast.o: $(GRAMMAR_H) $(AST_H)
+ 
+ Python/getplatform.o: $(srcdir)/Python/getplatform.c
+-		$(CC) -c $(PY_CORE_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -o $@ $(srcdir)/Python/getplatform.c
++		$(CC) -c $(PY_CORE_CFLAGS) -DPLATFORM='"$(MACHDEP)"' -DARCH='"$(ARCH)"' -DLIB='"$(LIB)"' -o $@ $(srcdir)/Python/getplatform.c
+ 
+ Python/importdl.o: $(srcdir)/Python/importdl.c
+ 		$(CC) -c $(PY_CORE_CFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
+Index: Python-3.3.0rc2/Modules/getpath.c
+===================================================================
+--- Python-3.3.0rc2.orig/Modules/getpath.c	2012-09-09 02:11:09.000000000 -0700
++++ Python-3.3.0rc2/Modules/getpath.c	2012-09-20 22:46:53.277124015 -0700
+@@ -121,9 +121,11 @@
+ #define EXEC_PREFIX PREFIX
+ #endif
+ 
++#define LIB_PYTHON LIB "/python" VERSION
++
+ #ifndef PYTHONPATH
+-#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
+-              EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
++#define PYTHONPATH PREFIX "/" LIB_PYTHON ":" \
++              EXEC_PREFIX "/" LIB_PYTHON "/lib-dynload"
+ #endif
+ 
+ #ifndef LANDMARK
+@@ -135,7 +137,7 @@
+ static wchar_t progpath[MAXPATHLEN+1];
+ static wchar_t *module_search_path = NULL;
+ static int module_search_path_malloced = 0;
+-static wchar_t *lib_python = L"lib/python" VERSION;
++static wchar_t *lib_python = L"" LIB_PYTHON;
+ 
+ static void
+ reduce(wchar_t *dir)
+Index: Python-3.3.0rc2/Python/getplatform.c
+===================================================================
+--- Python-3.3.0rc2.orig/Python/getplatform.c	2012-09-09 02:11:12.000000000 -0700
++++ Python-3.3.0rc2/Python/getplatform.c	2012-09-20 22:46:53.277124015 -0700
+@@ -10,3 +10,23 @@
+ {
+ 	return PLATFORM;
+ }
++
++#ifndef ARCH
++#define ARCH "unknown"
++#endif
++
++const char *
++Py_GetArch(void)
++{
++	return ARCH;
++}
++
++#ifndef LIB
++#define LIB "lib"
++#endif
++
++const char *
++Py_GetLib(void)
++{
++	return LIB;
++}
+Index: Python-3.3.0rc2/Python/sysmodule.c
+===================================================================
+--- Python-3.3.0rc2.orig/Python/sysmodule.c	2012-09-09 02:11:12.000000000 -0700
++++ Python-3.3.0rc2/Python/sysmodule.c	2012-09-20 22:46:53.277124015 -0700
+@@ -1612,6 +1612,10 @@
+                         PyUnicode_FromString(Py_GetCopyright()));
+     SET_SYS_FROM_STRING("platform",
+                         PyUnicode_FromString(Py_GetPlatform()));
++    SET_SYS_FROM_STRING("arch",
++                        PyUnicode_FromString(Py_GetArch()));
++    SET_SYS_FROM_STRING("lib",
++                        PyUnicode_FromString(Py_GetLib()));
+     SET_SYS_FROM_STRING("executable",
+                         PyUnicode_FromWideChar(
+                                Py_GetProgramFullPath(), -1));
+Index: Python-3.3.0rc2/setup.py
+===================================================================
+--- Python-3.3.0rc2.orig/setup.py	2012-09-20 22:45:53.000000000 -0700
++++ Python-3.3.0rc2/setup.py	2012-09-20 22:46:53.277124015 -0700
+@@ -462,7 +462,7 @@
+         # directories (i.e. '.' and 'Include') must be first.  See issue
+         # 10520.
+         if not cross_compiling:
+-            add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
++            add_dir_to_list(self.compiler.library_dirs, os.path.join('/usr/local', sys.lib))
+             add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+         # only change this for cross builds for 3.3, issues on Mageia
+         if cross_compiling:
+@@ -520,8 +520,7 @@
+         # be assumed that no additional -I,-L directives are needed.
+         if not cross_compiling:
+             lib_dirs = self.compiler.library_dirs + [
+-                '/lib64', '/usr/lib64',
+-                '/lib', '/usr/lib',
++                '/' + sys.lib, '/usr/' + sys.lib,
+                 ]
+             inc_dirs = self.compiler.include_dirs + ['/usr/include']
+         if cross_compiling:
+@@ -699,11 +698,11 @@
+             elif curses_library:
+                 readline_libs.append(curses_library)
+             elif self.compiler.find_library_file(lib_dirs +
+-                                                     ['/usr/lib/termcap'],
++                                                     ['/usr/'+sys.lib+'/termcap'],
+                                                      'termcap'):
+                 readline_libs.append('termcap')
+             exts.append( Extension('readline', ['readline.c'],
+-                                   library_dirs=['/usr/lib/termcap'],
++                                   library_dirs=['/usr/'+sys.lib+'/termcap'],
+                                    extra_link_args=readline_extra_link_args,
+                                    libraries=readline_libs) )
+         else:
+Index: Python-3.3.0rc2/Lib/sysconfig.py
+===================================================================
+--- Python-3.3.0rc2.orig/Lib/sysconfig.py	2012-09-09 02:11:00.000000000 -0700
++++ Python-3.3.0rc2/Lib/sysconfig.py	2012-09-20 22:46:53.277124015 -0700
+@@ -21,10 +21,10 @@
+ 
+ _INSTALL_SCHEMES = {
+     'posix_prefix': {
+-        'stdlib': '{installed_base}/lib/python{py_version_short}',
+-        'platstdlib': '{platbase}/lib/python{py_version_short}',
++        'stdlib': '{installed_base}/'+sys.lib+'/python{py_version_short}',
++        'platstdlib': '{platbase}/'+sys.lib+'/python{py_version_short}',
+         'purelib': '{base}/lib/python{py_version_short}/site-packages',
+-        'platlib': '{platbase}/lib/python{py_version_short}/site-packages',
++        'platlib': '{platbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include':
+             '{installed_base}/include/python{py_version_short}{abiflags}',
+         'platinclude':
+@@ -33,10 +33,10 @@
+         'data': '{base}',
+         },
+     'posix_home': {
+-        'stdlib': '{installed_base}/lib/python',
+-        'platstdlib': '{base}/lib/python',
++        'stdlib': '{installed_base}/'+sys.lib+'/python',
++        'platstdlib': '{base}/'+sys.lib+'/python',
+         'purelib': '{base}/lib/python',
+-        'platlib': '{base}/lib/python',
++        'platlib': '{base}/'+sys.lib+'/python',
+         'include': '{installed_base}/include/python',
+         'platinclude': '{installed_base}/include/python',
+         'scripts': '{base}/bin',
+@@ -81,10 +81,10 @@
+         'data': '{userbase}',
+         },
+     'posix_user': {
+-        'stdlib': '{userbase}/lib/python{py_version_short}',
+-        'platstdlib': '{userbase}/lib/python{py_version_short}',
++        'stdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
++        'platstdlib': '{userbase}/'+sys.lib+'/python{py_version_short}',
+         'purelib': '{userbase}/lib/python{py_version_short}/site-packages',
+-        'platlib': '{userbase}/lib/python{py_version_short}/site-packages',
++        'platlib': '{userbase}/'+sys.lib+'/python{py_version_short}/site-packages',
+         'include': '{userbase}/include/python{py_version_short}',
+         'scripts': '{userbase}/bin',
+         'data': '{userbase}',
+Index: Python-3.3.0b2/configure.ac
+===================================================================
+--- Python-3.3.0b2.orig/configure.ac	2012-08-11 08:54:25.000000000 +0200
++++ Python-3.3.0b2/configure.ac	2012-08-23 14:49:29.000000000 +0200
+@@ -746,6 +746,41 @@
+     esac;;
+ esac
+ 
++AC_SUBST(ARCH)
++AC_MSG_CHECKING(ARCH)
++ARCH=`uname -m`
++case $ARCH in
++i?86) ARCH=i386;;
++esac
++AC_MSG_RESULT($ARCH)
++
++AC_SUBST(LIB)
++AC_MSG_CHECKING(LIB)
++case $ac_sys_system in
++Linux*)
++  # Test if the compiler is 64bit
++  echo 'int i;' > conftest.$ac_ext
++  python_cv_cc_64bit_output=no
++  if AC_TRY_EVAL(ac_compile); then
++    case `/usr/bin/file conftest.$ac_objext` in
++    *"ELF 64"*)
++      python_cv_cc_64bit_output=yes
++      ;;
++    esac
++  fi
++  rm -rf conftest*
++  ;;
++esac
++
++case $ARCH:$python_cv_cc_64bit_output in
++ppc64:yes | powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
++  LIB="lib64"
++  ;;
++*:*)
++  LIB="lib"
++  ;;
++esac
++AC_MSG_RESULT($LIB)
+ 
+ AC_SUBST(LIBRARY)
+ AC_MSG_CHECKING(LIBRARY)
diff --git a/meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch b/meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
new file mode 100644
index 0000000..4ec627e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
@@ -0,0 +1,19 @@
+This patch removes the RPATH setting which contains a pointer to
+the target relocated sysroot, which is incorrect.
+
+Upstream-Status: Inappropriate [Embedded Specific]
+
+Signed-off-by: Saul Wold <sgw@linux.intel.com>
+
+Index: Python-2.6.6/setup.py
+===================================================================
+--- Python-2.6.6.orig/setup.py	2011-09-28 14:22:57.000000000 -0700
++++ Python-2.6.6/setup.py	2011-09-28 16:11:25.147279633 -0700
+@@ -1079,7 +1079,6 @@
+                                   include_dirs=["Modules/_sqlite",
+                                                 sqlite_incdir],
+                                   library_dirs=sqlite_libdir,
+-                                  runtime_library_dirs=sqlite_libdir,
+                                   extra_link_args=sqlite_extra_link_args,
+                                   libraries=["sqlite3",]))
+         else:
diff --git a/meta/recipes-devtools/python/python3/setuptweaks.patch b/meta/recipes-devtools/python/python3/setuptweaks.patch
new file mode 100644
index 0000000..c34ef16
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/setuptweaks.patch
@@ -0,0 +1,57 @@
+This patch removes various ways native system options can pass into the python 
+compilation and somehow break C modules.
+
+Upstream-Status: Configuration [OE Specific]
+
+RP 2012/04/23
+
+Index: Python-2.7.2/setup.py
+===================================================================
+--- Python-2.7.2.orig/setup.py	2012-04-23 20:03:47.295582553 +0000
++++ Python-2.7.2/setup.py	2012-04-23 20:03:15.000000000 +0000
+@@ -231,7 +231,13 @@
+         # compilers
+         if compiler is not None:
+             (ccshared,cflags) = sysconfig.get_config_vars('CCSHARED','CFLAGS')
+-            args['compiler_so'] = compiler + ' ' + ccshared + ' ' + cflags
++            # Need to filter out -isysroot from the flags. Ideally should 
++            # figure out target flags here.
++            flags = []
++            for f in cflags.split():
++                if not f.startswith("-isystem"):
++                    flags.append(f)
++            args['compiler_so'] = compiler + ' ' + ccshared + ' ' + ' '.join(flags)
+         self.compiler.set_executables(**args)
+ 
+         build_ext.build_extensions(self)
+@@ -393,7 +399,6 @@
+         # into configure and stored in the Makefile (issue found on OS X 10.3).
+         for env_var, arg_name, dir_list in (
+                 ('LDFLAGS', '-R', self.compiler.runtime_library_dirs),
+-                ('LDFLAGS', '-L', self.compiler.library_dirs),
+                 ('CPPFLAGS', '-I', self.compiler.include_dirs)):
+             env_val = sysconfig.get_config_var(env_var)
+             if env_val:
+@@ -419,16 +424,16 @@
+                     for directory in reversed(options.dirs):
+                         add_dir_to_list(dir_list, directory)
+ 
+-        if os.path.normpath(sys.prefix) != '/usr' \
+-                and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
++#        if os.path.normpath(sys.prefix) != '/usr' \
++#                and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
+             # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
+             # (PYTHONFRAMEWORK is set) to avoid # linking problems when
+             # building a framework with different architectures than
+             # the one that is currently installed (issue #7473)
+-            add_dir_to_list(self.compiler.library_dirs,
+-                            sysconfig.get_config_var("LIBDIR"))
+-            add_dir_to_list(self.compiler.include_dirs,
+-                            sysconfig.get_config_var("INCLUDEDIR"))
++#            add_dir_to_list(self.compiler.library_dirs,
++#                            sysconfig.get_config_var("LIBDIR"))
++#            add_dir_to_list(self.compiler.include_dirs,
++#                            sysconfig.get_config_var("INCLUDEDIR"))
+ 
+         try:
+             have_unicode = unicode
diff --git a/meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch b/meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
new file mode 100644
index 0000000..0e4680e
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
@@ -0,0 +1,11 @@
+--- a/Lib/shutil.py	2013-01-29 12:31:06.926555779 -0800
++++ b/Lib/shutil.py	2013-01-29 16:31:39.097554182 -0800
+@@ -132,7 +132,7 @@ def copymode(src, dst, *, follow_symlink
+     st = stat_func(src)
+     chmod_func(dst, stat.S_IMODE(st.st_mode))
+ 
+-if hasattr(os, 'listxattr'):
++if hasattr(os, 'listxattr') and os.listxattr in os.supports_follow_symlinks:
+     def _copyxattr(src, dst, *, follow_symlinks=True):
+         """Copy extended filesystem attributes from `src` to `dst`.
+ 
diff --git a/meta/recipes-devtools/python/python3/sitecustomize.py b/meta/recipes-devtools/python/python3/sitecustomize.py
new file mode 100644
index 0000000..4c8b5e2
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/sitecustomize.py
@@ -0,0 +1,37 @@
+# OpenEmbedded sitecustomize.py (C) 2002-2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+# GPLv2 or later
+# Version: 20081123
+# Features:
+# * set proper default encoding
+# * enable readline completion in the interactive interpreter
+# * load command line history on startup
+# * save command line history on exit 
+
+import os
+
+def __exithandler():
+    try:
+        readline.write_history_file( "%s/.python-history" % os.getenv( "HOME", "/tmp" ) )
+    except IOError:
+        pass
+
+def __registerExitHandler():
+    import atexit
+    atexit.register( __exithandler )
+
+def __enableReadlineSupport():
+    readline.set_history_length( 1000 )
+    readline.parse_and_bind( "tab: complete" )
+    try:
+        readline.read_history_file( "%s/.python-history" % os.getenv( "HOME", "/tmp" ) )
+    except IOError:
+        pass
+
+import sys
+try:
+    import rlcompleter, readline
+except ImportError:
+    pass
+else:
+    __registerExitHandler()
+    __enableReadlineSupport()
diff --git a/meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch b/meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
new file mode 100644
index 0000000..506210f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
@@ -0,0 +1,29 @@
+Upstream-Status: Accepted [http://hg.python.org/cpython/rev/c816479f6aaf/]
+Bugtracker: http://bugs.python.org/issue12326
+
+[Removed "Misc/NEWS" hunk]
+
+Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
+
+# HG changeset patch
+# User Victor Stinner <victor.stinner@haypocalc.com>
+# Date 1313841758 -7200
+# Node ID c816479f6aaf71dbd3f3fe4b239186d60c55ce48
+# Parent  3e093590ac57fdda428c7da3f72ddf0c475ecf2b
+Issue #12326: sys.platform is now always 'linux2' on Linux
+
+Even if Python is compiled on Linux 3.
+
+Index: Python-3.3.0rc2/configure.ac
+===================================================================
+--- Python-3.3.0rc2.orig/configure.ac	2012-09-09 02:11:14.000000000 -0700
++++ Python-3.3.0rc2/configure.ac	2012-09-20 00:44:03.317124001 -0700
+@@ -366,7 +366,7 @@
+     MACHDEP="$ac_md_system$ac_md_release"
+ 
+     case $MACHDEP in
+-	linux*) MACHDEP="linux";;
++	linux*) MACHDEP="linux2";;
+ 	cygwin*) MACHDEP="cygwin";;
+ 	darwin*) MACHDEP="darwin";;
+ 	irix646) MACHDEP="irix6";;
diff --git a/meta/recipes-devtools/python/python3_3.3.0.bb b/meta/recipes-devtools/python/python3_3.3.0.bb
new file mode 100644
index 0000000..081586d
--- /dev/null
+++ b/meta/recipes-devtools/python/python3_3.3.0.bb
@@ -0,0 +1,203 @@
+require recipes-devtools/python/python.inc
+
+DEPENDS = "python3-native libffi bzip2 db gdbm openssl readline sqlite3 zlib"
+PR = "${INC_PR}.0"
+PYTHON_MAJMIN = "3.3"
+PYTHON_BINABI= "${PYTHON_MAJMIN}m"
+DISTRO_SRC_URI ?= "file://sitecustomize.py"
+DISTRO_SRC_URI_linuxstdbase = ""
+SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
+file://000-cross-compile.patch \
+file://020-dont-compile-python-files.patch \
+file://030-fixup-include-dirs.patch \
+file://070-dont-clean-ipkg-install.patch \
+file://080-distutils-dont_adjust_files.patch \
+file://110-enable-zlib.patch \
+file://130-readline-setup.patch \
+file://140-verbose-sharedmods.patch \
+file://150-fix-setupterm.patch \
+file://h2py-pr13032.patch \
+${DISTRO_SRC_URI} \
+"
+
+SRC_URI += "\
+            file://03-fix-tkinter-detection.patch \
+            file://04-default-is-optimized.patch \
+            file://avoid_warning_about_tkinter.patch \
+            file://06-ctypes-libffi-fix-configure.patch \
+            file://remove_sqlite_rpath.patch \
+            file://cgi_py.patch \
+            file://host_include_contamination.patch \
+            file://python-3.3-multilib.patch \
+            file://shutil-follow-symlink-fix.patch \
+           "
+SRC_URI[md5sum] = "b3b2524f72409d919a4137826a870a8f"
+SRC_URI[sha256sum] = "15c113fd6c058712f05d31b4eff149d4d823b8e39ef5e37228dc5dc4f8716df9"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d214581529e343354f8e23025bdf582d"
+
+S = "${WORKDIR}/Python-${PV}"
+
+inherit autotools multilib_header python3native pkgconfig
+
+CONFIGUREOPTS += " --with-system-ffi "
+
+CACHED_CONFIGUREVARS = "ac_cv_have_chflags=no \
+                ac_cv_have_lchflags=no \
+                ac_cv_have_long_long_format=yes \
+                ac_cv_buggy_getaddrinfo=no \
+                ac_cv_file__dev_ptmx=yes \
+                ac_cv_file__dev_ptc=no \
+"
+# The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources
+#Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
+TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__"
+TARGET_CC_ARCH_append_armv7a = " -D__SOFTFP__"
+TARGET_CC_ARCH += "-DNDEBUG -fno-inline"
+EXTRA_OEMAKE += "CROSS_COMPILE=yes"
+
+do_configure_prepend() {
+	rm -f ${S}/Makefile.orig
+	autoreconf -Wcross --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
+}
+
+do_compile() {
+        # regenerate platform specific files, because they depend on system headers
+        cd Lib/plat-linux*
+        include=${STAGING_INCDIR} ${STAGING_BINDIR_NATIVE}/python3-native/python3 \
+                ${S}/Tools/scripts/h2py.py -i '(u_long)' \
+                ${STAGING_INCDIR}/dlfcn.h \
+                ${STAGING_INCDIR}/linux/cdrom.h \
+                ${STAGING_INCDIR}/netinet/in.h \
+                ${STAGING_INCDIR}/sys/types.h
+        sed -e 's,${STAGING_DIR_HOST},,g' -i *.py
+        cd -
+
+	#
+	# Copy config.h and an appropriate Makefile for distutils.sysconfig,
+	# which laters uses the information out of these to compile extensions
+	#
+	# The following part (until python compilation) should probably moved to an
+	# -initial recipe to handle staging better
+	#
+	install -d ${STAGING_INCDIR}/python${PYTHON_BINABI}/
+	install -d ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
+	install -m 0644 pyconfig.h ${STAGING_INCDIR}/python${PYTHON_BINABI}/
+
+	# remove hardcoded ccache, see http://bugs.openembedded.net/show_bug.cgi?id=4144
+	sed -i -e s,ccache,'$(CCACHE)', Makefile
+
+	# remove any bogus LD_LIBRARY_PATH
+	sed -i -e s,RUNSHARED=.*,RUNSHARED=, Makefile
+
+	if [ ! -f Makefile.orig ]; then
+		install -m 0644 Makefile Makefile.orig
+	fi
+	sed -i -e 's,^LDFLAGS=.*,LDFLAGS=-L. -L${STAGING_LIBDIR},g' \
+		-e 's,libdir=${libdir},libdir=${STAGING_LIBDIR},g' \
+		-e 's,libexecdir=${libexecdir},libexecdir=${STAGING_DIR_HOST}${libexecdir},g' \
+		-e 's,^LIBDIR=.*,LIBDIR=${STAGING_LIBDIR},g' \
+		-e 's,includedir=${includedir},includedir=${STAGING_INCDIR},g' \
+		-e 's,^INCLUDEDIR=.*,INCLUDE=${STAGING_INCDIR},g' \
+		-e 's,^CONFINCLUDEDIR=.*,CONFINCLUDE=${STAGING_INCDIR},g' \
+		Makefile
+	install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
+	# save copy of it now, because if we do it in do_install and 
+	# then call do_install twice we get Makefile.orig == Makefile.sysroot
+	install -m 0644 Makefile Makefile.sysroot
+
+	export CROSS_COMPILE="${TARGET_PREFIX}"
+	export PYTHONBUILDDIR="${S}"
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python3-native/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python3-native/python3 \
+		STAGING_LIBDIR=${STAGING_LIBDIR} \
+		STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
+		STAGING_INCDIR=${STAGING_INCDIR} \
+		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+		LIB=${baselib} \
+		ARCH=${TARGET_ARCH} \
+		OPT="${CFLAGS}" libpython3.so
+
+	oe_libinstall -so libpython${PYTHON_BINABI} ${STAGING_LIBDIR}
+
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native3/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native3/python3 \
+		STAGING_LIBDIR=${STAGING_LIBDIR} \
+		STAGING_INCDIR=${STAGING_INCDIR} \
+		STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
+		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+		LIB=${baselib} \
+		ARCH=${TARGET_ARCH} \
+		OPT="${CFLAGS}"
+}
+
+do_install() {
+	# make install needs the original Makefile, or otherwise the inclues would
+	# go to ${D}${STAGING...}/...
+	install -m 0644 Makefile.orig Makefile
+
+	export CROSS_COMPILE="${TARGET_PREFIX}"
+	export PYTHONBUILDDIR="${S}"
+	install -d ${D}${libdir}/pkgconfig
+	install -d ${D}${libdir}/python${PYTHON_MAJMIN}/config
+	
+	oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/python-native3/pgen \
+		HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python-native3/python3 \
+		CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
+		STAGING_LIBDIR=${STAGING_LIBDIR} \
+		STAGING_INCDIR=${STAGING_INCDIR} \
+		STAGING_BASELIBDIR=${STAGING_BASELIBDIR} \
+		BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
+		LIB=${baselib} \
+		ARCH=${TARGET_ARCH} \
+		DESTDIR=${D} LIBDIR=${libdir} install
+
+	install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
+
+	if [ -e ${WORKDIR}/sitecustomize.py ]; then
+		install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
+	fi
+
+	oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h
+}
+
+SSTATE_SCAN_FILES += "Makefile"
+PACKAGE_PREPROCESS_FUNCS += "py_package_preprocess"
+
+py_package_preprocess () {
+	# copy back the old Makefile to fix target package
+	install -m 0644 Makefile.orig ${PKGD}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
+}
+
+require python-${PYTHON_MAJMIN}-manifest.inc
+
+# manual dependency additions
+RPROVIDES_${PN}-core = "${PN}"
+RRECOMMENDS_${PN}-core = "${PN}-readline"
+RRECOMMENDS_${PN}-crypt = "openssl"
+RRECOMMENDS_${PN}-crypt_class-nativesdk = "nativesdk-openssl"
+
+FILES_${PN}-2to3 += "${bindir}/2to3-${PYTHON_MAJMIN}"
+FILES_${PN}-pydoc += "${bindir}/pydoc${PYTHON_MAJMIN} ${bindir}/pydoc3"
+FILES_${PN}-idle += "${bindir}/idle3 ${bindir}/idle${PYTHON_MAJMIN}"
+
+PACKAGES =+ "${PN}-pyvenv"
+FILES_${PN}-pyvenv += "${bindir}/pyvenv-${PYTHON_MAJMIN} ${bindir}/pyvenv"
+
+# package libpython3
+PACKAGES =+ "libpython3 libpython3-staticdev"
+FILES_libpython3 = "${libdir}/libpython*.so.*"
+FILES_libpython3-staticdev += "${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_BINABI}/libpython${PYTHON_BINABI}.a"
+
+# catch debug extensions (isn't that already in python-core-dbg?)
+FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
+
+# catch all the rest (unsorted)
+PACKAGES += "${PN}-misc"
+FILES_${PN}-misc = "${libdir}/python${PYTHON_MAJMIN}"
+
+# catch manpage
+PACKAGES += "${PN}-man"
+FILES_${PN}-man = "${datadir}/man"
+
+BBCLASSEXTEND = "nativesdk"
-- 
1.7.9.5



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

* [PATCH 13/24] python3: Add native recipe
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (11 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 12/24] python3: Add recipes Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:03 ` [PATCH 14/24] python_2.7.3.bb: Inherit python-dir Khem Raj
                   ` (12 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-native_3.3.0.bb                 |   68 ++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-native_3.3.0.bb

diff --git a/meta/recipes-devtools/python/python3-native_3.3.0.bb b/meta/recipes-devtools/python/python3-native_3.3.0.bb
new file mode 100644
index 0000000..3486ca0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-native_3.3.0.bb
@@ -0,0 +1,68 @@
+require recipes-devtools/python/python.inc
+
+PR = "${INC_PR}.0"
+PYTHON_MAJMIN = "3.3"
+DISTRO_SRC_URI ?= "file://sitecustomize.py"
+DISTRO_SRC_URI_linuxstdbase = ""
+SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.bz2 \
+file://000-cross-compile.patch \
+file://020-dont-compile-python-files.patch \
+file://030-fixup-include-dirs.patch \
+file://070-dont-clean-ipkg-install.patch \
+file://080-distutils-dont_adjust_files.patch \
+file://110-enable-zlib.patch \
+file://130-readline-setup.patch \
+file://140-verbose-sharedmods.patch \
+file://150-fix-setupterm.patch \
+file://h2py-pr13032.patch \
+file://python-3.3-multilib.patch \
+file://03-fix-tkinter-detection.patch \
+file://avoid_warning_about_tkinter.patch \
+file://06-ctypes-libffi-fix-configure.patch \
+file://shutil-follow-symlink-fix.patch \
+${DISTRO_SRC_URI} \
+"
+SRC_URI[md5sum] = "b3b2524f72409d919a4137826a870a8f"
+SRC_URI[sha256sum] = "15c113fd6c058712f05d31b4eff149d4d823b8e39ef5e37228dc5dc4f8716df9"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d214581529e343354f8e23025bdf582d"
+
+S = "${WORKDIR}/Python-${PV}"
+
+EXTRANATIVEPATH += "bzip2-native"
+DEPENDS = "openssl-native bzip2-replacement-native zlib-native readline-native sqlite3-native"
+
+inherit native
+
+RPROVIDES += "python3-distutils-native python3-compression-native python3-textutils-native python3-core-native"
+
+EXTRA_OECONF_append = " --bindir=${bindir}/${PN}"
+
+EXTRA_OEMAKE = '\
+  BUILD_SYS="" \
+  HOST_SYS="" \
+  LIBC="" \
+  STAGING_LIBDIR=${STAGING_LIBDIR_NATIVE} \
+  STAGING_INCDIR=${STAGING_INCDIR_NATIVE} \
+  LIB=${baselib} \
+  ARCH=${TARGET_ARCH} \
+'
+
+do_configure_prepend() {
+	autoreconf --verbose --install --force --exclude=autopoint Modules/_ctypes/libffi || bbnote "_ctypes failed to autoreconf"
+}
+
+do_install() {
+	install -d ${D}${libdir}/pkgconfig
+	oe_runmake 'DESTDIR=${D}' install
+	if [ -e ${WORKDIR}/sitecustomize.py ]; then
+		install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
+	fi
+	install -d ${D}${bindir}/${PN}
+	install -m 0755 Parser/pgen ${D}${bindir}/${PN}
+
+	# Make sure we use /usr/bin/env python
+	for PYTHSCRIPT in `grep -rIl ${bindir}/${PN}/python ${D}${bindir}/${PN}`; do
+		sed -i -e '1s|^#!.*|#!/usr/bin/env python|' $PYTHSCRIPT
+	done
+}
-- 
1.7.9.5



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

* [PATCH 14/24] python_2.7.3.bb: Inherit python-dir
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (12 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 13/24] python3: Add native recipe Khem Raj
@ 2013-06-28 22:03 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 15/24] ipython: Add recipes for ipython2 and ipython3 Khem Raj
                   ` (11 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:03 UTC (permalink / raw)
  To: openembedded-core

So it can get the correct python direcotries for python2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 59d189d..94d3917 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -32,7 +32,7 @@ SRC_URI += "\
 
 S = "${WORKDIR}/Python-${PV}"
 
-inherit autotools multilib_header pythonnative
+inherit autotools multilib_header python-dir pythonnative
 
 # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources
 #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
-- 
1.7.9.5



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

* [PATCH 15/24] ipython: Add recipes for ipython2 and ipython3
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (13 preceding siblings ...)
  2013-06-28 22:03 ` [PATCH 14/24] python_2.7.3.bb: Inherit python-dir Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 16/24] python-distribute: Add recipes for python2 and python3 Khem Raj
                   ` (10 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../ipython/001-completer-across-raw-types.patch   |  562 ++++++++++++++++++++
 .../ipython3/001-completer-across-raw-types.patch  |  562 ++++++++++++++++++++
 meta/recipes-devtools/python/ipython3_0.13.1.bb    |   71 +++
 meta/recipes-devtools/python/ipython_0.13.1.bb     |   48 ++
 4 files changed, 1243 insertions(+)
 create mode 100644 meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch
 create mode 100644 meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch
 create mode 100644 meta/recipes-devtools/python/ipython3_0.13.1.bb
 create mode 100644 meta/recipes-devtools/python/ipython_0.13.1.bb

diff --git a/meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch b/meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch
new file mode 100644
index 0000000..d753ca3
--- /dev/null
+++ b/meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch
@@ -0,0 +1,562 @@
+diff --git a/IPython/core/completer.py b/IPython/core/completer.py
+index 8cb2345..076e2fa 100644
+--- a/IPython/core/completer.py
++++ b/IPython/core/completer.py
+@@ -76,14 +76,18 @@ import os
+ import re
+ import shlex
+ import sys
++import types
+ 
+ from IPython.config.configurable import Configurable
+ from IPython.core.error import TryNext
+ from IPython.core.inputsplitter import ESC_MAGIC
++from IPython.core.oinspect import getargspec
+ from IPython.utils import generics
+ from IPython.utils import io
++from IPython.utils import py3compat
+ from IPython.utils.dir2 import dir2
+ from IPython.utils.process import arg_split
++from IPython.utils.py3compat import cast_unicode
+ from IPython.utils.traitlets import CBool, Enum
+ 
+ #-----------------------------------------------------------------------------
+@@ -181,6 +185,26 @@ def compress_user(path, tilde_expand, tilde_val):
+ class Bunch(object): pass
+ 
+ 
++class PostFix(object):
++    """
++    Effectively a static class which encapsulates a bunch of postfix defs.
++    
++    """
++
++    ## delimiters which support the type completers
++    DELIMS = ' \t\n`!@#$^&*=+\\|;:",<>?'
++
++    ## postfix strings for types
++    LIST = '['
++    DICT = "['"
++    CALL = '('
++    OBJ  = '.'
++
++    ## basic callable types
++    CALLABLES = [ types.FunctionType, types.LambdaType, types.MethodType, \
++                  types.BuiltinFunctionType, types.BuiltinMethodType ]
++
++
+ DELIMS = ' \t\n`!@#$^&*()=+[{]}\\|;:\'",<>?'
+ GREEDY_DELIMS = ' \r\n'
+ 
+@@ -200,6 +224,11 @@ class CompletionSplitter(object):
+ 
+     # Private interface
+ 
++    # These are the default-defaults.  They get updated when the postfix
++    # engine is engaged.
++    _preferred_delims = DELIMS
++    _preferred_greedy_delims = GREEDY_DELIMS
++
+     # A string of delimiter characters.  The default value makes sense for
+     # IPython's most typical usage patterns.
+     _delims = DELIMS
+@@ -246,6 +275,34 @@ class Completer(Configurable):
+         """
+     )
+     
++    use_postfix = CBool(False, config=True,
++        help="""Activate postfix indicator
++
++        This will enable the feature to append syntactic notation to matches
++        providing indication as to what type they are.
++
++        Append:
++            (  -  any callable item
++            [  -  any list
++            [' -  any dictionary
++        """
++    )
++
++    postfix_verbose = Enum((0,1,2), default_value=1, config=True,
++        help="""Provide verbose postfix suggestions.
++
++        This is only valid if use_postfix=True.  Verbosity is as follows:
++
++        0 - No postfix notations will be appended until you've isolate a
++            single attribute name.
++        1 - In multiple-completion cases, types deriving from list, dict and
++            functions will have "[", "['" or "(" appended respectively. Detailed
++            operations are made available once a single attribute is determined.
++        2 - Multiple-completion cases will have duplicate or triplicate entries
++            differing only by the "interface" character at the end.  This can
++            make the tab completion lists pretty long.
++        """
++    )
+ 
+     def __init__(self, namespace=None, global_namespace=None, config=None, **kwargs):
+         """Create a new completer for the command line.
+@@ -303,6 +360,289 @@ class Completer(Configurable):
+         except IndexError:
+             return None
+ 
++    def __dict_completions(self, expr, token, cruft, obj):
++        """Provide completion support for keys in a dictionary.
++        """
++        #print("Completer->__dict_completions: t=%s" % (token))
++
++        # merge the token and cruft
++        token += cruft
++        
++        # handle the basic case
++        if (cruft == ""):
++            return ["%s['%s']" % (expr, k) for k in obj.keys()]
++
++        # support the situation where the user started to type ']
++        if cruft.endswith("'"):
++            return [expr + token + cruft + "]"]
++        if cruft.endswith("']"):
++            return [expr + token + cruft]
++
++        # for valid data, match any keys...
++        return ["%s['%s']" % (expr, k) for k in obj.keys() if k.startswith(cruft)]
++
++    def __list_completions(self, expr, token, cruft, obj):
++        """Provide completion support for lists.
++        """
++        entries = len(obj) - 1
++
++        #print("Completer->__list_completions: t=%s l=%d" % (token, entries))
++
++        # if it is already complete, leave it
++        if cruft.endswith("]"):
++            return [expr + token]
++
++        # handle basic case or trash
++        if (cruft == "") or (not cruft.isdigit()):
++            return ["%s[0]" % (expr), "%s[%d]" % (expr, entries)]
++
++        # main algorithm works only if val != 0
++        if int(cruft) == 0:
++            return ["%s[0]" % (expr)]
++            
++        # generate a list of indicies whose first printed chars match
++        sim = []
++        n = 1
++        val = int(cruft)
++        while val*n <= entries:
++            # setup default end points
++            start = val*n
++            end = (val+1) * n
++
++            # account for the possibility that we don't go all the way through
++            if end > entries:
++                end = entries+1;
++
++            # append the next set of data
++            sim += range(start, end)
++                    
++            # present based on base-10
++            n *= 10
++            
++        # create the option list
++        return ["%s[%d]" % (expr, s) for s in sim ]
++
++    def __call_completions(self, expr, token, cruft, obj):
++        """Provide completion support for function calls.
++        """
++        #print("Completer->__call_completions: FIX-ME")
++        matches = []
++        if inspect.isclass(obj):
++            obj = obj.__init__
++        elif (not py3compat.PY3) and type(obj) is types.InstanceType:
++            obj = obj.__call__
++
++        try:
++            hdef = inspect.formatargspec(*getargspec(obj))
++            return cast_unicode(hdef).strip('(').strip(')').split(', ')
++        except:
++            return []
++
++    def __object_completions(self, expr, token, cruft, obj):
++        """Provide completion support for function calls.
++        """
++        #print("Completer->__object_completions:")
++        if token is None:
++            token = ''
++
++        # handle global items
++        if '.' not in expr+token:
++            #print("    global")
++            # provide options for incomplete text
++            subset = dict()
++            n = len(expr)
++            for lst in [keyword.kwlist,
++                        builtins.__dict__.keys(),
++                        self.namespace.keys(),
++                        self.global_namespace.keys()]:
++                for word in lst:
++                    if word[:n] == expr and word != "__builtins__":
++                        obj = self._global_lookup(word)
++                        #subset.append( (obj, word) )
++                        subset[word] = obj
++
++            # manage the ones we actually care about
++            matches = []
++            for k in subset.keys():
++                ss = (subset[k], k)
++                if ss[0] != None:
++                    apl = self._append_postfix(ss[0], ss[1], len(subset.keys()))
++                    for ap in apl:
++                        matches.append(ap)
++                else:
++                    matches.append(ss[1])
++
++            # true matches updated accordingly
++            return matches
++
++        else:
++            #print("    local")
++            # support overridding with __all__ attribute
++            if self.limit_to__all__ and hasattr(obj, '__all__'):
++                words = get__all__entries(obj)
++            else: 
++                words = dir2(obj)
++
++            try:
++                words = generics.complete_object(obj, words)
++            except TryNext:
++                pass
++            except Exception:
++                # Silence errors from completion function
++                #raise # dbg
++                pass
++            
++            # Build match list to return
++            n = len(cruft)
++            res = []
++            subset = []
++
++            # first create a subset -- the ones we care about
++            for w in words:
++                if w[:n] == cruft and hasattr(obj, w):
++                    val = getattr(obj, w)
++                    subset.append( (w, val) )
++
++            # now, setup tha matches
++            for ss in subset:
++                apl = self._append_postfix(ss[1],
++                                           "%s.%s" % (expr, ss[0]),
++                                           len(subset))
++                for ap in apl:
++                    res.append(ap)
++            return res
++        
++    def _append_postfix(self, val, text, total_completions=0):
++        """Figure out what postfix symbol to append.
++        """
++        #print("_append_postfix")
++        
++        # observer the request
++        if not self.use_postfix:
++            #print("    no-post-fix")
++            return [ text ]
++
++        # ignore the postfix additions as preferred
++        if total_completions > 1:
++
++            if self.postfix_verbose == 0:
++                #print("    omit-postfix (%d)" % total_completions)
++                return [ text ]
++
++            elif self.postfix_verbose == 1:
++                if isinstance( val, dict ):
++                    return [ text + PostFix.DICT ]
++                elif isinstance( val, list ):
++                    return [ text + PostFix.LIST ]
++                elif type(val) in PostFix.CALLABLES:
++                    return [ text + PostFix.CALL ]
++                else:
++                    return [ text ]
++
++            else:
++                # fall through and decode EVERYTHING
++                pass
++
++
++        # prepare multiple results
++        items = []
++
++        # handle scalars
++        if isinstance( val, int ) or isinstance( val, float ):
++            items.append( text )                    # scalar itself
++            items.append( text + PostFix.OBJ )      # object completion
++
++        # handle strings
++        elif isinstance( val, str ):
++            items.append( text )                    # scalar itself
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.LIST )     # list completion
++            
++        # handle lists
++        elif isinstance( val, list ):
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.LIST )     # list completion
++
++        # handle dicts
++        elif isinstance( val, dict ):
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.DICT )     # dict completion
++
++        # handle common callables
++        elif type(val) in PostFix.CALLABLES:
++            # skip object completion
++            items.append( text + PostFix.CALL )     # callable completion
++
++        # handle general objects
++        else:
++            # always add its "object" completion
++            items.append( text + PostFix.OBJ )
++
++            # if it is callable, then provide the functional notation
++            if callable(val):
++                items.append( text + PostFix.CALL )
++
++            # is it iterable?
++            if hasattr(val, '__getitem__'):
++                try:
++                    v = val[0]
++                    items.append( text + PostFix.LIST )  # yup, some sort of list
++                except TypeError:
++                    # wrong key type -- must be a general dictionary
++                    items.append( text + PostFix.DICT )
++                except KeyError:
++                    # invalid key -- likely a dictionary
++                    items.append( text + PostFix.DICT )
++                except IndexError:
++                    pass   # empty list -- the object notation will handle it
++
++        return items
++        
++    def _global_lookup(self, text):
++        """This routine searches the global namespace to find the object.
++        """
++        try:
++            obj = eval(text, self.namespace)
++        except:
++            try:
++                obj = eval(text, self.global_namespace)
++            except:
++                obj = None
++        return obj
++
++    def _postfix_completer(self, expr, token, cruft, ns_lookup_fn):
++        """Identify object-type completions.
++        """
++        #print("Completer->_postfix_completer")
++        #print("   e=%s t=%s c=%s" % (expr, token, cruft))
++
++        # the token can be none as a result of the parent RE.
++        if token is None:
++            token = ''
++        
++        # get the object
++        # -- this may not be possible if it is part of a global
++        obj = ns_lookup_fn(expr+token+cruft)
++        if obj:
++            # odjust the params to reflect the new object
++            expr = expr + token + cruft
++            token = ''
++            cruft = ''
++        else:
++            # look up the base item
++            obj = ns_lookup_fn(expr)
++
++        # sort them out
++        if token == PostFix.CALL:
++            return self.__call_completions(expr, token, cruft, obj)
++        elif token == PostFix.DICT:
++            return self.__dict_completions(expr, token, cruft, obj)
++        elif token == PostFix.LIST:
++            return self.__list_completions(expr, token, cruft, obj)
++
++        # treat it as a plain object
++        return self.__object_completions(expr, token, cruft, obj)
++
+     def global_matches(self, text):
+         """Compute matches when text is a simple name.
+ 
+@@ -310,18 +650,19 @@ class Completer(Configurable):
+         defined in self.namespace or self.global_namespace that match.
+ 
+         """
+-        #print 'Completer->global_matches, txt=%r' % text # dbg
+-        matches = []
+-        match_append = matches.append
+-        n = len(text)
+-        for lst in [keyword.kwlist,
+-                    __builtin__.__dict__.keys(),
+-                    self.namespace.keys(),
+-                    self.global_namespace.keys()]:
+-            for word in lst:
+-                if word[:n] == text and word != "__builtins__":
+-                    match_append(word)
+-        return matches
++        #print('Completer->global_matches, txt=%r' % text) # dbg
++
++        # sort out the components
++        m = re.match(r"(\w+)(\[\'|\[|\()?(\S*)$", text)
++        expr = m.group(1)
++        token = m.group(2)
++        cruft = m.group(3)
++
++        # catch the completions across object types
++        matches = self._postfix_completer(expr, token, cruft, self._global_lookup)
++        if matches is not None:
++            return matches
++        return []
+ 
+     def attr_matches(self, text):
+         """Compute matches when text contains a dot.
+@@ -338,44 +679,27 @@ class Completer(Configurable):
+         """
+ 
+         #io.rprint('Completer->attr_matches, txt=%r' % text) # dbg
+-        # Another option, seems to work great. Catches things like ''.<tab>
+-        m = re.match(r"(\S+(\.\w+)*)\.(\w*)$", text)
+-    
+-        if m:
+-            expr, attr = m.group(1, 3)
+-        elif self.greedy:
+-            m2 = re.match(r"(.+)\.(\w*)$", self.line_buffer)
+-            if not m2:
+-                return []
+-            expr, attr = m2.group(1,2)
+-        else:
++
++        pat = r"(\S+(\.\w+)*)(\.|\[\'|\[|\()(\S*)$"
++        m = re.match(pat, text)
++
++        if not m:
++            io.rprint("Failed to match ...")
+             return []
+-    
+-        try:
+-            obj = eval(expr, self.namespace)
+-        except:
+-            try:
+-                obj = eval(expr, self.global_namespace)
+-            except:
+-                return []
+ 
+-        if self.limit_to__all__ and hasattr(obj, '__all__'):
+-            words = get__all__entries(obj)
+-        else: 
+-            words = dir2(obj)
++        # group(0) is the whole string
++        expr = m.group(1)
++        # group(2) is always 'None'
++        token = m.group(3)
++        cruft = m.group(4)
++        #expr, attr = m.group(1, 3)
+ 
+-        try:
+-            words = generics.complete_object(obj, words)
+-        except TryNext:
+-            pass
+-        except Exception:
+-            # Silence errors from completion function
+-            #raise # dbg
+-            pass
+-        # Build match list to return
+-        n = len(attr)
+-        res = ["%s.%s" % (expr, w) for w in words if w[:n] == attr ]
+-        return res
++
++        # catch the completions across object types
++        foo = self._postfix_completer(expr, token, cruft, self._global_lookup)
++        if foo is not None:
++            return foo
++        return []
+ 
+ 
+ def get__all__entries(obj):
+@@ -393,13 +717,34 @@ class IPCompleter(Completer):
+ 
+     def _greedy_changed(self, name, old, new):
+         """update the splitter and readline delims when greedy is changed"""
++        #io.rprint("_greedy_changed: name=%s o=%d n%d" % (name, old, new))
+         if new:
+-            self.splitter.delims = GREEDY_DELIMS
++            self.splitter.delims = self.splitter._preferred_greedy_delims
+         else:
+-            self.splitter.delims = DELIMS
++            self.splitter.delims = self.splitter._preferred_delims
+ 
+         if self.readline:
+             self.readline.set_completer_delims(self.splitter.delims)
++
++    #
++    #  This is the implicit callback for applying changes to the 'use_postfix'
++    # configuration parameter.
++    #
++    def _use_postfix_changed(self, name, old, new):
++        """engage the correct delims
++        """
++        #io.rprint("_use_postfix_changed: name=%s o=%d n%d" % (name, old, new))
++        if new:
++            self.splitter._preferred_delims = PostFix.DELIMS
++        else:
++            self.splitter._preferred_delims = DELIMS
++
++        # update the parser
++        self.splitter.delims = self.splitter._preferred_delims
++
++        # update readline
++        if self.readline:
++            self.readline.set_completer_delims(self.splitter.delims)
+     
+     merge_completions = CBool(True, config=True,
+         help="""Whether to merge completion results into a single list
+@@ -643,24 +988,24 @@ class IPCompleter(Completer):
+         """Match attributes or global python names"""
+         
+         #io.rprint('Completer->python_matches, txt=%r' % text) # dbg
+-        if "." in text:
+-            try:
+-                matches = self.attr_matches(text)
+-                if text.endswith('.') and self.omit__names:
+-                    if self.omit__names == 1:
+-                        # true if txt is _not_ a __ name, false otherwise:
+-                        no__name = (lambda txt:
+-                                    re.match(r'.*\.__.*?__',txt) is None)
+-                    else:
+-                        # true if txt is _not_ a _ name, false otherwise:
+-                        no__name = (lambda txt:
+-                                    re.match(r'.*\._.*?',txt) is None)
+-                    matches = filter(no__name, matches)
+-            except NameError:
+-                # catches <undefined attributes>.<tab>
+-                matches = []
+-        else:
+-            matches = self.global_matches(text)
++        if "." not in text:
++            return self.global_matches(text)
++            
++        try:
++            matches = self.attr_matches(text)
++            if text.endswith('.') and self.omit__names:
++                if self.omit__names == 1:
++                    # true if txt is _not_ a __ name, false otherwise:
++                    no__name = (lambda txt:
++                                re.match(r'.*\.__.*?__',txt) is None)
++                else:
++                    # true if txt is _not_ a _ name, false otherwise:
++                    no__name = (lambda txt:
++                                re.match(r'.*\._.*?',txt) is None)
++                matches = filter(no__name, matches)
++        except NameError:
++            # catches <undefined attributes>.<tab>
++            matches = []
+ 
+         return matches
+ 
diff --git a/meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch b/meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch
new file mode 100644
index 0000000..d753ca3
--- /dev/null
+++ b/meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch
@@ -0,0 +1,562 @@
+diff --git a/IPython/core/completer.py b/IPython/core/completer.py
+index 8cb2345..076e2fa 100644
+--- a/IPython/core/completer.py
++++ b/IPython/core/completer.py
+@@ -76,14 +76,18 @@ import os
+ import re
+ import shlex
+ import sys
++import types
+ 
+ from IPython.config.configurable import Configurable
+ from IPython.core.error import TryNext
+ from IPython.core.inputsplitter import ESC_MAGIC
++from IPython.core.oinspect import getargspec
+ from IPython.utils import generics
+ from IPython.utils import io
++from IPython.utils import py3compat
+ from IPython.utils.dir2 import dir2
+ from IPython.utils.process import arg_split
++from IPython.utils.py3compat import cast_unicode
+ from IPython.utils.traitlets import CBool, Enum
+ 
+ #-----------------------------------------------------------------------------
+@@ -181,6 +185,26 @@ def compress_user(path, tilde_expand, tilde_val):
+ class Bunch(object): pass
+ 
+ 
++class PostFix(object):
++    """
++    Effectively a static class which encapsulates a bunch of postfix defs.
++    
++    """
++
++    ## delimiters which support the type completers
++    DELIMS = ' \t\n`!@#$^&*=+\\|;:",<>?'
++
++    ## postfix strings for types
++    LIST = '['
++    DICT = "['"
++    CALL = '('
++    OBJ  = '.'
++
++    ## basic callable types
++    CALLABLES = [ types.FunctionType, types.LambdaType, types.MethodType, \
++                  types.BuiltinFunctionType, types.BuiltinMethodType ]
++
++
+ DELIMS = ' \t\n`!@#$^&*()=+[{]}\\|;:\'",<>?'
+ GREEDY_DELIMS = ' \r\n'
+ 
+@@ -200,6 +224,11 @@ class CompletionSplitter(object):
+ 
+     # Private interface
+ 
++    # These are the default-defaults.  They get updated when the postfix
++    # engine is engaged.
++    _preferred_delims = DELIMS
++    _preferred_greedy_delims = GREEDY_DELIMS
++
+     # A string of delimiter characters.  The default value makes sense for
+     # IPython's most typical usage patterns.
+     _delims = DELIMS
+@@ -246,6 +275,34 @@ class Completer(Configurable):
+         """
+     )
+     
++    use_postfix = CBool(False, config=True,
++        help="""Activate postfix indicator
++
++        This will enable the feature to append syntactic notation to matches
++        providing indication as to what type they are.
++
++        Append:
++            (  -  any callable item
++            [  -  any list
++            [' -  any dictionary
++        """
++    )
++
++    postfix_verbose = Enum((0,1,2), default_value=1, config=True,
++        help="""Provide verbose postfix suggestions.
++
++        This is only valid if use_postfix=True.  Verbosity is as follows:
++
++        0 - No postfix notations will be appended until you've isolate a
++            single attribute name.
++        1 - In multiple-completion cases, types deriving from list, dict and
++            functions will have "[", "['" or "(" appended respectively. Detailed
++            operations are made available once a single attribute is determined.
++        2 - Multiple-completion cases will have duplicate or triplicate entries
++            differing only by the "interface" character at the end.  This can
++            make the tab completion lists pretty long.
++        """
++    )
+ 
+     def __init__(self, namespace=None, global_namespace=None, config=None, **kwargs):
+         """Create a new completer for the command line.
+@@ -303,6 +360,289 @@ class Completer(Configurable):
+         except IndexError:
+             return None
+ 
++    def __dict_completions(self, expr, token, cruft, obj):
++        """Provide completion support for keys in a dictionary.
++        """
++        #print("Completer->__dict_completions: t=%s" % (token))
++
++        # merge the token and cruft
++        token += cruft
++        
++        # handle the basic case
++        if (cruft == ""):
++            return ["%s['%s']" % (expr, k) for k in obj.keys()]
++
++        # support the situation where the user started to type ']
++        if cruft.endswith("'"):
++            return [expr + token + cruft + "]"]
++        if cruft.endswith("']"):
++            return [expr + token + cruft]
++
++        # for valid data, match any keys...
++        return ["%s['%s']" % (expr, k) for k in obj.keys() if k.startswith(cruft)]
++
++    def __list_completions(self, expr, token, cruft, obj):
++        """Provide completion support for lists.
++        """
++        entries = len(obj) - 1
++
++        #print("Completer->__list_completions: t=%s l=%d" % (token, entries))
++
++        # if it is already complete, leave it
++        if cruft.endswith("]"):
++            return [expr + token]
++
++        # handle basic case or trash
++        if (cruft == "") or (not cruft.isdigit()):
++            return ["%s[0]" % (expr), "%s[%d]" % (expr, entries)]
++
++        # main algorithm works only if val != 0
++        if int(cruft) == 0:
++            return ["%s[0]" % (expr)]
++            
++        # generate a list of indicies whose first printed chars match
++        sim = []
++        n = 1
++        val = int(cruft)
++        while val*n <= entries:
++            # setup default end points
++            start = val*n
++            end = (val+1) * n
++
++            # account for the possibility that we don't go all the way through
++            if end > entries:
++                end = entries+1;
++
++            # append the next set of data
++            sim += range(start, end)
++                    
++            # present based on base-10
++            n *= 10
++            
++        # create the option list
++        return ["%s[%d]" % (expr, s) for s in sim ]
++
++    def __call_completions(self, expr, token, cruft, obj):
++        """Provide completion support for function calls.
++        """
++        #print("Completer->__call_completions: FIX-ME")
++        matches = []
++        if inspect.isclass(obj):
++            obj = obj.__init__
++        elif (not py3compat.PY3) and type(obj) is types.InstanceType:
++            obj = obj.__call__
++
++        try:
++            hdef = inspect.formatargspec(*getargspec(obj))
++            return cast_unicode(hdef).strip('(').strip(')').split(', ')
++        except:
++            return []
++
++    def __object_completions(self, expr, token, cruft, obj):
++        """Provide completion support for function calls.
++        """
++        #print("Completer->__object_completions:")
++        if token is None:
++            token = ''
++
++        # handle global items
++        if '.' not in expr+token:
++            #print("    global")
++            # provide options for incomplete text
++            subset = dict()
++            n = len(expr)
++            for lst in [keyword.kwlist,
++                        builtins.__dict__.keys(),
++                        self.namespace.keys(),
++                        self.global_namespace.keys()]:
++                for word in lst:
++                    if word[:n] == expr and word != "__builtins__":
++                        obj = self._global_lookup(word)
++                        #subset.append( (obj, word) )
++                        subset[word] = obj
++
++            # manage the ones we actually care about
++            matches = []
++            for k in subset.keys():
++                ss = (subset[k], k)
++                if ss[0] != None:
++                    apl = self._append_postfix(ss[0], ss[1], len(subset.keys()))
++                    for ap in apl:
++                        matches.append(ap)
++                else:
++                    matches.append(ss[1])
++
++            # true matches updated accordingly
++            return matches
++
++        else:
++            #print("    local")
++            # support overridding with __all__ attribute
++            if self.limit_to__all__ and hasattr(obj, '__all__'):
++                words = get__all__entries(obj)
++            else: 
++                words = dir2(obj)
++
++            try:
++                words = generics.complete_object(obj, words)
++            except TryNext:
++                pass
++            except Exception:
++                # Silence errors from completion function
++                #raise # dbg
++                pass
++            
++            # Build match list to return
++            n = len(cruft)
++            res = []
++            subset = []
++
++            # first create a subset -- the ones we care about
++            for w in words:
++                if w[:n] == cruft and hasattr(obj, w):
++                    val = getattr(obj, w)
++                    subset.append( (w, val) )
++
++            # now, setup tha matches
++            for ss in subset:
++                apl = self._append_postfix(ss[1],
++                                           "%s.%s" % (expr, ss[0]),
++                                           len(subset))
++                for ap in apl:
++                    res.append(ap)
++            return res
++        
++    def _append_postfix(self, val, text, total_completions=0):
++        """Figure out what postfix symbol to append.
++        """
++        #print("_append_postfix")
++        
++        # observer the request
++        if not self.use_postfix:
++            #print("    no-post-fix")
++            return [ text ]
++
++        # ignore the postfix additions as preferred
++        if total_completions > 1:
++
++            if self.postfix_verbose == 0:
++                #print("    omit-postfix (%d)" % total_completions)
++                return [ text ]
++
++            elif self.postfix_verbose == 1:
++                if isinstance( val, dict ):
++                    return [ text + PostFix.DICT ]
++                elif isinstance( val, list ):
++                    return [ text + PostFix.LIST ]
++                elif type(val) in PostFix.CALLABLES:
++                    return [ text + PostFix.CALL ]
++                else:
++                    return [ text ]
++
++            else:
++                # fall through and decode EVERYTHING
++                pass
++
++
++        # prepare multiple results
++        items = []
++
++        # handle scalars
++        if isinstance( val, int ) or isinstance( val, float ):
++            items.append( text )                    # scalar itself
++            items.append( text + PostFix.OBJ )      # object completion
++
++        # handle strings
++        elif isinstance( val, str ):
++            items.append( text )                    # scalar itself
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.LIST )     # list completion
++            
++        # handle lists
++        elif isinstance( val, list ):
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.LIST )     # list completion
++
++        # handle dicts
++        elif isinstance( val, dict ):
++            items.append( text + PostFix.OBJ )      # object completion
++            items.append( text + PostFix.DICT )     # dict completion
++
++        # handle common callables
++        elif type(val) in PostFix.CALLABLES:
++            # skip object completion
++            items.append( text + PostFix.CALL )     # callable completion
++
++        # handle general objects
++        else:
++            # always add its "object" completion
++            items.append( text + PostFix.OBJ )
++
++            # if it is callable, then provide the functional notation
++            if callable(val):
++                items.append( text + PostFix.CALL )
++
++            # is it iterable?
++            if hasattr(val, '__getitem__'):
++                try:
++                    v = val[0]
++                    items.append( text + PostFix.LIST )  # yup, some sort of list
++                except TypeError:
++                    # wrong key type -- must be a general dictionary
++                    items.append( text + PostFix.DICT )
++                except KeyError:
++                    # invalid key -- likely a dictionary
++                    items.append( text + PostFix.DICT )
++                except IndexError:
++                    pass   # empty list -- the object notation will handle it
++
++        return items
++        
++    def _global_lookup(self, text):
++        """This routine searches the global namespace to find the object.
++        """
++        try:
++            obj = eval(text, self.namespace)
++        except:
++            try:
++                obj = eval(text, self.global_namespace)
++            except:
++                obj = None
++        return obj
++
++    def _postfix_completer(self, expr, token, cruft, ns_lookup_fn):
++        """Identify object-type completions.
++        """
++        #print("Completer->_postfix_completer")
++        #print("   e=%s t=%s c=%s" % (expr, token, cruft))
++
++        # the token can be none as a result of the parent RE.
++        if token is None:
++            token = ''
++        
++        # get the object
++        # -- this may not be possible if it is part of a global
++        obj = ns_lookup_fn(expr+token+cruft)
++        if obj:
++            # odjust the params to reflect the new object
++            expr = expr + token + cruft
++            token = ''
++            cruft = ''
++        else:
++            # look up the base item
++            obj = ns_lookup_fn(expr)
++
++        # sort them out
++        if token == PostFix.CALL:
++            return self.__call_completions(expr, token, cruft, obj)
++        elif token == PostFix.DICT:
++            return self.__dict_completions(expr, token, cruft, obj)
++        elif token == PostFix.LIST:
++            return self.__list_completions(expr, token, cruft, obj)
++
++        # treat it as a plain object
++        return self.__object_completions(expr, token, cruft, obj)
++
+     def global_matches(self, text):
+         """Compute matches when text is a simple name.
+ 
+@@ -310,18 +650,19 @@ class Completer(Configurable):
+         defined in self.namespace or self.global_namespace that match.
+ 
+         """
+-        #print 'Completer->global_matches, txt=%r' % text # dbg
+-        matches = []
+-        match_append = matches.append
+-        n = len(text)
+-        for lst in [keyword.kwlist,
+-                    __builtin__.__dict__.keys(),
+-                    self.namespace.keys(),
+-                    self.global_namespace.keys()]:
+-            for word in lst:
+-                if word[:n] == text and word != "__builtins__":
+-                    match_append(word)
+-        return matches
++        #print('Completer->global_matches, txt=%r' % text) # dbg
++
++        # sort out the components
++        m = re.match(r"(\w+)(\[\'|\[|\()?(\S*)$", text)
++        expr = m.group(1)
++        token = m.group(2)
++        cruft = m.group(3)
++
++        # catch the completions across object types
++        matches = self._postfix_completer(expr, token, cruft, self._global_lookup)
++        if matches is not None:
++            return matches
++        return []
+ 
+     def attr_matches(self, text):
+         """Compute matches when text contains a dot.
+@@ -338,44 +679,27 @@ class Completer(Configurable):
+         """
+ 
+         #io.rprint('Completer->attr_matches, txt=%r' % text) # dbg
+-        # Another option, seems to work great. Catches things like ''.<tab>
+-        m = re.match(r"(\S+(\.\w+)*)\.(\w*)$", text)
+-    
+-        if m:
+-            expr, attr = m.group(1, 3)
+-        elif self.greedy:
+-            m2 = re.match(r"(.+)\.(\w*)$", self.line_buffer)
+-            if not m2:
+-                return []
+-            expr, attr = m2.group(1,2)
+-        else:
++
++        pat = r"(\S+(\.\w+)*)(\.|\[\'|\[|\()(\S*)$"
++        m = re.match(pat, text)
++
++        if not m:
++            io.rprint("Failed to match ...")
+             return []
+-    
+-        try:
+-            obj = eval(expr, self.namespace)
+-        except:
+-            try:
+-                obj = eval(expr, self.global_namespace)
+-            except:
+-                return []
+ 
+-        if self.limit_to__all__ and hasattr(obj, '__all__'):
+-            words = get__all__entries(obj)
+-        else: 
+-            words = dir2(obj)
++        # group(0) is the whole string
++        expr = m.group(1)
++        # group(2) is always 'None'
++        token = m.group(3)
++        cruft = m.group(4)
++        #expr, attr = m.group(1, 3)
+ 
+-        try:
+-            words = generics.complete_object(obj, words)
+-        except TryNext:
+-            pass
+-        except Exception:
+-            # Silence errors from completion function
+-            #raise # dbg
+-            pass
+-        # Build match list to return
+-        n = len(attr)
+-        res = ["%s.%s" % (expr, w) for w in words if w[:n] == attr ]
+-        return res
++
++        # catch the completions across object types
++        foo = self._postfix_completer(expr, token, cruft, self._global_lookup)
++        if foo is not None:
++            return foo
++        return []
+ 
+ 
+ def get__all__entries(obj):
+@@ -393,13 +717,34 @@ class IPCompleter(Completer):
+ 
+     def _greedy_changed(self, name, old, new):
+         """update the splitter and readline delims when greedy is changed"""
++        #io.rprint("_greedy_changed: name=%s o=%d n%d" % (name, old, new))
+         if new:
+-            self.splitter.delims = GREEDY_DELIMS
++            self.splitter.delims = self.splitter._preferred_greedy_delims
+         else:
+-            self.splitter.delims = DELIMS
++            self.splitter.delims = self.splitter._preferred_delims
+ 
+         if self.readline:
+             self.readline.set_completer_delims(self.splitter.delims)
++
++    #
++    #  This is the implicit callback for applying changes to the 'use_postfix'
++    # configuration parameter.
++    #
++    def _use_postfix_changed(self, name, old, new):
++        """engage the correct delims
++        """
++        #io.rprint("_use_postfix_changed: name=%s o=%d n%d" % (name, old, new))
++        if new:
++            self.splitter._preferred_delims = PostFix.DELIMS
++        else:
++            self.splitter._preferred_delims = DELIMS
++
++        # update the parser
++        self.splitter.delims = self.splitter._preferred_delims
++
++        # update readline
++        if self.readline:
++            self.readline.set_completer_delims(self.splitter.delims)
+     
+     merge_completions = CBool(True, config=True,
+         help="""Whether to merge completion results into a single list
+@@ -643,24 +988,24 @@ class IPCompleter(Completer):
+         """Match attributes or global python names"""
+         
+         #io.rprint('Completer->python_matches, txt=%r' % text) # dbg
+-        if "." in text:
+-            try:
+-                matches = self.attr_matches(text)
+-                if text.endswith('.') and self.omit__names:
+-                    if self.omit__names == 1:
+-                        # true if txt is _not_ a __ name, false otherwise:
+-                        no__name = (lambda txt:
+-                                    re.match(r'.*\.__.*?__',txt) is None)
+-                    else:
+-                        # true if txt is _not_ a _ name, false otherwise:
+-                        no__name = (lambda txt:
+-                                    re.match(r'.*\._.*?',txt) is None)
+-                    matches = filter(no__name, matches)
+-            except NameError:
+-                # catches <undefined attributes>.<tab>
+-                matches = []
+-        else:
+-            matches = self.global_matches(text)
++        if "." not in text:
++            return self.global_matches(text)
++            
++        try:
++            matches = self.attr_matches(text)
++            if text.endswith('.') and self.omit__names:
++                if self.omit__names == 1:
++                    # true if txt is _not_ a __ name, false otherwise:
++                    no__name = (lambda txt:
++                                re.match(r'.*\.__.*?__',txt) is None)
++                else:
++                    # true if txt is _not_ a _ name, false otherwise:
++                    no__name = (lambda txt:
++                                re.match(r'.*\._.*?',txt) is None)
++                matches = filter(no__name, matches)
++        except NameError:
++            # catches <undefined attributes>.<tab>
++            matches = []
+ 
+         return matches
+ 
diff --git a/meta/recipes-devtools/python/ipython3_0.13.1.bb b/meta/recipes-devtools/python/ipython3_0.13.1.bb
new file mode 100644
index 0000000..33b1461
--- /dev/null
+++ b/meta/recipes-devtools/python/ipython3_0.13.1.bb
@@ -0,0 +1,71 @@
+SUMMARY = "Enhanced Python Shell - Python3"
+DESCRIPTION = "Enhanced Python3 Shell -- A really great shell."
+HOMEPAGE = "http://ipython.org/"
+SECTION = "devel/python"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://docs/source/about/license_and_copyright.txt;md5=3311a509e946df2ddf84507563e7b504"
+
+SRCNAME = "ipython"
+RPROVIDES_${PN} = "ipython3"
+DEPENDS = "less"
+RDEPENDS_${PN} = " \
+                  python3-compression \
+                  python3-core \
+                  python3-codecs \
+                  python3-ctypes \
+                  python3-crypt \
+                  python3-datetime \
+                  python3-debugger \
+                  python3-distribute \
+                  python3-distutils \
+                  python3-doctest \
+                  python3-io \
+                  python3-json \
+                  python3-lang \
+                  python3-logging \
+                  python3-math \
+                  python3-misc \
+                  python3-modules \
+                  python3-netclient \
+                  python3-pickle \
+                  python3-pkgutil \
+                  python3-pprint \
+                  python3-pydoc \
+                  python3-re \
+                  python3-readline \
+                  python3-resource \
+                  python3-shell \
+                  python3-stringold \
+                  python3-subprocess \
+                  python3-terminal \
+                  python3-textutils \
+                  python3-threading \
+                  python3-unittest \
+                  python3-unixadmin \
+                "
+RRECOMMENDS_${PN} = " \
+                  python3-nose \
+                  python3-pyzmq \
+                  "
+
+SRC_URI = "http://archive.ipython.org/release/${PV}/ipython-${PV}.tar.gz \
+           file://001-completer-across-raw-types.patch \
+          "
+
+# pick up the v3 toolset
+inherit setuptools3
+
+FILES_${PN} = "/"
+
+SRC_URI[md5sum] = "ca7e75f7c802afc6aaa0a1ea59846420"
+SRC_URI[sha256sum] = "3bbf1095c4fd1fbf0a0871d9e26571a1ce3c4113d83ee3b688fa58e7e917f8c0"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+#do_unpackpost() {
+#  echo "PYTHON_BASEVERSION is " ${PYTHON_BASEVERSION}
+#  mv ${S}/../ipython-${PV}/* ${S}
+#}
+
+#addtask unpackpost after do_unpack before do_patch
diff --git a/meta/recipes-devtools/python/ipython_0.13.1.bb b/meta/recipes-devtools/python/ipython_0.13.1.bb
new file mode 100644
index 0000000..7ee8862
--- /dev/null
+++ b/meta/recipes-devtools/python/ipython_0.13.1.bb
@@ -0,0 +1,48 @@
+SUMMARY = "Enhanced Python Shell"
+DESCRIPTION = "Enhanced Python Shell -- A really great shell."
+HOMEPAGE = "http://ipython.org/"
+SECTION = "devel/python"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://docs/source/about/license_and_copyright.txt;md5=3311a509e946df2ddf84507563e7b504"
+
+RPROVIDES_${PN} = "ipython"
+DEPENDS = "less"
+RDEPENDS_${PN} = " \
+                  python-core \
+                  python-codecs \
+                  python-crypt \
+                  python-datetime \
+                  python-debugger \
+                  python-distribute \
+                  python-distutils \
+                  python-io \
+                  python-json \
+                  python-lang \
+                  python-misc \
+                  python-modules \
+                  python-netclient \
+                  python-pickle \
+                  python-pkgutil \
+                  python-pprint \
+                  python-pydoc \
+                  python-resource \
+                  python-shell \
+                  python-stringold \
+                  python-subprocess \
+                  python-terminal \
+                  python-textutils \
+                  python-threading \
+                  python-unixadmin \
+                "
+
+SRC_URI = "http://archive.ipython.org/release/${PV}/ipython-${PV}.tar.gz \
+           file://001-completer-across-raw-types.patch \
+          "
+
+inherit setuptools
+
+FILES_${PN} = "/"
+
+SRC_URI[md5sum] = "ca7e75f7c802afc6aaa0a1ea59846420"
+SRC_URI[sha256sum] = "3bbf1095c4fd1fbf0a0871d9e26571a1ce3c4113d83ee3b688fa58e7e917f8c0"
-- 
1.7.9.5



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

* [PATCH 16/24] python-distribute: Add recipes for python2 and python3
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (14 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 15/24] ipython: Add recipes for ipython2 and ipython3 Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-07-08 10:49   ` Martin Jansa
  2013-06-28 22:04 ` [PATCH 17/24] zeromq: Add recipe Khem Raj
                   ` (9 subsequent siblings)
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python-distribute_0.6.32.bb             |   47 ++++++++++++++++++++
 .../python/python3-distribute_0.6.32.bb            |   46 +++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-distribute_0.6.32.bb
 create mode 100644 meta/recipes-devtools/python/python3-distribute_0.6.32.bb

diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
new file mode 100644
index 0000000..86ac871
--- /dev/null
+++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
@@ -0,0 +1,47 @@
+DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
+HOMEPAGE = "http://packages.python.org/distribute"
+SECTION = "devel/python"
+LICENSE = "PSF"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=234;endline=234;md5=26f6b02022b737126d3c88838782dddb"
+
+SRCNAME = "distribute"
+PR = "ml5"
+DEPENDS += "python"
+DEPENDS_virtclass-native += "python-native"
+
+SRC_URI = " \
+  http://pypi.python.org/packages/source/d/distribute/${SRCNAME}-${PV}.tar.gz \
+"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+#  http://python-distribute.org/distribute_setup.py 
+
+# force the selection of python3
+#PYTHON_BASEVERSION = "3.3"
+#PYTHON_MAJMIN = "3.3"
+
+inherit distutils
+
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
+
+do_install_prepend() {
+    install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
+}
+
+#
+#  The installer puts the wrong path in the setuptools.pth file.  Correct it.
+#
+do_install_append() {
+    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
+    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
+}
+
+RDEPENDS_${PN} = "\
+  python-distutils \
+  python-compression \
+"
+
+SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
+SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
+
+BBCLASSEXTEND = "native"
diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
new file mode 100644
index 0000000..e0415d5
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
@@ -0,0 +1,46 @@
+DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
+HOMEPAGE = "http://packages.python.org/distribute"
+SECTION = "devel/python"
+LICENSE = "PSF"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=234;endline=234;md5=26f6b02022b737126d3c88838782dddb"
+
+SRCNAME = "distribute"
+PR = "ml5"
+DEPENDS += "python3"
+DEPENDS_virtclass-native += "python3-native"
+
+SRC_URI = " \
+  http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+#  http://python-distribute.org/distribute_setup.py 
+
+# force the selection of python3
+#PYTHON_BASEVERSION = "3.3"
+#PYTHON_MAJMIN = "3.3"
+
+inherit distutils3
+
+DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
+
+do_install_prepend() {
+    install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
+}
+#
+#  The installer puts the wrong path in the setuptools.pth file.  Correct it.
+#
+do_install_append() {
+    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
+    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
+}
+
+RDEPENDS_${PN} = "\
+  python3-distutils \
+  python3-compression \
+"
+
+SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
+SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
+
+BBCLASSEXTEND = "native"
-- 
1.7.9.5



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

* [PATCH 17/24] zeromq: Add recipe
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (15 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 16/24] python-distribute: Add recipes for python2 and python3 Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 18/24] pyzmq: Add recipes using python3 Khem Raj
                   ` (8 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/zeromq_3.2.2.bb |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/python/zeromq_3.2.2.bb

diff --git a/meta/recipes-devtools/python/zeromq_3.2.2.bb b/meta/recipes-devtools/python/zeromq_3.2.2.bb
new file mode 100644
index 0000000..4929bba
--- /dev/null
+++ b/meta/recipes-devtools/python/zeromq_3.2.2.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "ZeroMQ - Intelligent Transport Layer"
+HOMEPAGE = " http://github.com/zeromq/pyzmq/"
+SECTION = "devel/python"
+LICENSE = "LGPL-3.0 + EXCEPTION"
+LIC_FILES_CHKSUM = " \
+                    file://COPYING.LESSER;md5=ad8c3bd15d88ea9d4509fc89bebc915c \
+                   "
+#
+# libpthread  --  libc
+# libuuid     --  util-linux
+#
+DEPENDS = "util-linux "
+RDEPENDS_${PN} = "util-linux "
+
+PR = "r1"
+
+SRC_URI = " \
+  http://download.zeromq.org/${PN}-${PV}.tar.gz \
+"
+SRC_URI[md5sum] = "df68431d9300da84a1a5f9a2784e33de"
+SRC_URI[sha256sum] = "2b4eeda60fe47a9fa0804d53d76f656665c5f84dab7e63a1d496d9430b554f99"
+
+inherit autotools binconfig pkgconfig
+
-- 
1.7.9.5



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

* [PATCH 18/24] pyzmq: Add recipes using python3
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (16 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 17/24] zeromq: Add recipe Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 19/24] python3-pycurl: Add recipe Khem Raj
                   ` (7 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../0001-Fixed-just-zmq-detection.patch            |   56 ++++++++++++++++++++
 .../python/python3-pyzmq_13.0.0.bb                 |   46 ++++++++++++++++
 2 files changed, 102 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.patch
 create mode 100644 meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb

diff --git a/meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.patch b/meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.patch
new file mode 100644
index 0000000..edbfd74
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.patch
@@ -0,0 +1,56 @@
+From a249b31be7e3e66b81feacfc7537f11c0c1dabda Mon Sep 17 00:00:00 2001
+From: xantares <xantares@fujitsu-l64.(none)>
+Date: Sun, 24 Feb 2013 15:49:36 +0100
+Subject: [PATCH] Fixed just zmq detection
+
+---
+ buildutils/detect.py |    6 ++++++
+ setup.py             |    8 ++++++--
+ 2 files changed, 12 insertions(+), 2 deletions(-)
+
+diff --git a/buildutils/detect.py b/buildutils/detect.py
+index f95cba3..6b6ccb9 100644
+--- a/buildutils/detect.py
++++ b/buildutils/detect.py
+@@ -110,6 +110,12 @@ def detect_zmq(basedir, compiler=None, **compiler_attrs):
+     cfile = pjoin(basedir, 'vers.c')
+     shutil.copy(pjoin(os.path.dirname(__file__), 'vers.c'), cfile)
+     
++    # check if we need to link against Realtime Extensions library
++    if sys.platform.startswith('linux'):
++        cc = ccompiler.new_compiler(compiler=compiler)
++        if not cc.has_function('timer_create'):
++            compiler_attrs['libraries'].append('rt')
++            
+     efile = test_compilation(cfile, compiler=compiler, **compiler_attrs)
+     
+     result = Popen(efile, stdout=PIPE, stderr=PIPE)
+diff --git a/setup.py b/setup.py
+index b646673..005757e 100755
+--- a/setup.py
++++ b/setup.py
+@@ -41,6 +41,7 @@ if sys.version_info < (2,6):
+ import distutils
+ from distutils.core import setup, Command
+ from distutils.ccompiler import get_default_compiler
++from distutils.ccompiler import new_compiler
+ from distutils.extension import Extension
+ from distutils.errors import CompileError, LinkError
+ from distutils.command.build import build
+@@ -408,8 +409,11 @@ class Configure(build_ext):
+             ext.libraries.extend(['rpcrt4', 'ws2_32', 'advapi32'])
+         elif not sys.platform.startswith(('darwin', 'freebsd')):
+             ext.include_dirs.append(bundledir)
+-
+-            ext.libraries.append('rt')
++            
++            # check if we need to link against Realtime Extensions library
++            cc = new_compiler(compiler=self.compiler_type)
++            if not cc.has_function('timer_create'):
++                ext.libraries.append('rt')
+         
+         # insert the extension:
+         self.distribution.ext_modules.insert(0, ext)
+-- 
+1.7.9.5
+
diff --git a/meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb b/meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb
new file mode 100644
index 0000000..8ca5440
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb
@@ -0,0 +1,46 @@
+DESCRIPTION = "Python Bindings for ZeroMQ."
+HOMEPAGE = " http://github.com/zeromq/pyzmq/"
+SECTION = "devel/python"
+LICENSE = "BSD LGPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING.BSD;md5=11c65680f637c3df7f58bbc8d133e96e \
+                    file://COPYING.LESSER;md5=a9339599829a9d0eb1b314ef43365ab5 \
+                   "
+
+DEPENDS = "python3 zeromq"
+RDEPENDS_${PN} = " \
+                   python3-codecs \
+                   python3-core \
+                   python3-ctypes \
+                   python3-datetime \
+                   python3-fcntl \
+                   python3-io \
+                   python3-logging \
+                   python3-math \
+                   python3-netclient \
+                   python3-threading \
+                   zeromq \
+                 "
+SRCNAME = "pyzmq"
+
+SRC_URI = "\
+  http://pypi.python.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+  file://0001-Fixed-just-zmq-detection.patch \
+"
+SRC_URI[md5sum] = "1325ab6819f7a087eee84aaa951b6f0c"
+SRC_URI[sha256sum] = "31d8ededdb707f97ffe22963d3f9a721c2330e50904a647cb8d97ec38db43476"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools3
+# using linux-${TARGET_ARCH} is wrong here since TARGET_ARCH does not tranlate to
+# whatever setup.py expects but we only need to differentiate here between cross and
+# native case, and its correct linux-x86_64 for native case so all failed matches will mean
+# cross compile which is fine in our case
+DISTUTILS_BUILD_ARGS += "--zmq=${STAGING_EXECPREFIXDIR}"
+
+do_compile_prepend () {
+        echo "[bdist_egg]" > ${S}/setup.cfg
+        echo "plat-name = linux-${TARGET_ARCH}" >> ${S}/setup.cfg
+        echo "[global]" >> ${S}/setup.cfg
+        echo "skip_check_zmq = True" >> ${S}/setup.cfg
+}
-- 
1.7.9.5



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

* [PATCH 19/24] python3-pycurl: Add recipe
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (17 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 18/24] pyzmq: Add recipes using python3 Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-07-08 10:44   ` Martin Jansa
  2013-06-28 22:04 ` [PATCH 20/24] python3-docutils: " Khem Raj
                   ` (6 subsequent siblings)
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-pycurl/no-static-link.patch     |   16 +++++++++
 .../python/python3-pycurl_7.19.0.bb                |   35 ++++++++++++++++++++
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
 create mode 100644 meta/recipes-devtools/python/python3-pycurl_7.19.0.bb

diff --git a/meta/recipes-devtools/python/python3-pycurl/no-static-link.patch b/meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
new file mode 100644
index 0000000..c97f5dc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
@@ -0,0 +1,16 @@
+Upstream-Status: Pending
+
+Index: pycurl-7.18.2/setup.py
+===================================================================
+--- pycurl-7.18.2.orig/setup.py
++++ pycurl-7.18.2/setup.py
+@@ -97,8 +97,7 @@ else:
+         else:
+             extra_compile_args.append(e)
+     libs = split_quoted(
+-        os.popen("'%s' --libs" % CURL_CONFIG).read()+\
+-        os.popen("'%s' --static-libs" % CURL_CONFIG).read())
++        os.popen("'%s' --libs" % CURL_CONFIG).read())
+     for e in libs:
+         if e[:2] == "-l":
+             libraries.append(e[2:])
diff --git a/meta/recipes-devtools/python/python3-pycurl_7.19.0.bb b/meta/recipes-devtools/python/python3-pycurl_7.19.0.bb
new file mode 100644
index 0000000..122e1bd
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-pycurl_7.19.0.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "libcurl python bindings."
+HOMEPAGE = "http://pycurl.sourceforge.net/"
+SECTION = "devel/python"
+LICENSE = "LGPLv2.1+ | MIT"
+LIC_FILES_CHKSUM = "file://README;endline=13;md5=fbfe545b1869617123a08c0983ef17b2 \
+                    file://COPYING;md5=3579a9fd0221d49a237aaa33492f988c \
+                    file://COPYING2;md5=ffaa1e283b7f9bf5aafd8d45db6f7518"
+
+DEPENDS = "curl python"
+RDEPENDS_${PN} = "python-core curl"
+SRCNAME = "pycurl"
+PR = "r3"
+
+SRC_URI = "\
+  http://${SRCNAME}.sourceforge.net/download/${SRCNAME}-${PV}.tar.gz;name=archive \
+  file://no-static-link.patch \
+"
+
+SRC_URI[archive.md5sum] = "919d58fe37e69fe87ce4534d8b6a1c7b"
+SRC_URI[archive.sha256sum] = "eb782dfcc5a7c023539a077462b83c167e178128ee9f7201665b9fbb1a8b0642"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils
+
+# need to export these variables for python-config to work
+export BUILD_SYS
+export HOST_SYS
+export STAGING_INCDIR
+export STAGING_LIBDIR
+
+BBCLASSEXTEND = "native"
+
+do_install_append() {
+	rm -rf ${D}${datadir}/share
+}
-- 
1.7.9.5



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

* [PATCH 20/24] python3-docutils: Add recipe
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (18 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 19/24] python3-pycurl: Add recipe Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 21/24] python3-jinja: Recipe for python3 templating system Khem Raj
                   ` (5 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-docutils_0.10.bb                |   37 ++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-docutils_0.10.bb

diff --git a/meta/recipes-devtools/python/python3-docutils_0.10.bb b/meta/recipes-devtools/python/python3-docutils_0.10.bb
new file mode 100644
index 0000000..6e48ce0
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-docutils_0.10.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Python Documentation Utilities."
+HOMEPAGE = "http://docutils.sourceforge.net/"
+SECTION = "devel/python"
+LICENSE = "Python BSD GPL3"
+LIC_FILES_CHKSUM = " \
+   file://licenses/python-2-1-1.txt;md5=e698000816f962cbe2532d8f555b645d \
+   file://licenses/BSD-2-Clause.txt;md5=a8243e503f772119249d1e6a35fd9211 \
+   file://licenses/gpl-3-0.txt;md5=d32239bcb673463ab874e80d47fae504 \
+"
+
+DEPENDS = "python3"
+
+RDEPENDS_${PN} = " \
+                   python3-compression \
+                   python3-codecs \
+                   python3-core \
+                   python3-io \
+                   python3-netclient \
+                   python3-pickle \
+                   python3-pprint \
+                   python3-re \
+                   python3-textutils \
+                   python3-xml \
+                 "
+SRCNAME = "docutils"
+PR = "r1"
+
+SRC_URI = "\
+  http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "d8d4660c08302c791b2d71a155a2f4bc"
+SRC_URI[sha256sum] = "370624e61b6773da2f2fb17cc2a4eaea4bb596c3585d13f75ff193c1c738603e"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools3
-- 
1.7.9.5



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

* [PATCH 21/24] python3-jinja: Recipe for python3 templating system
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (19 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 20/24] python3-docutils: " Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-30 10:30   ` Martin Jansa
  2013-06-28 22:04 ` [PATCH 22/24] python3-nose: Testing tools for python Khem Raj
                   ` (4 subsequent siblings)
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python3-jinja_1.2.bb |   37 +++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-jinja_1.2.bb

diff --git a/meta/recipes-devtools/python/python3-jinja_1.2.bb b/meta/recipes-devtools/python/python3-jinja_1.2.bb
new file mode 100644
index 0000000..e84548a
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jinja_1.2.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Pure Python Templating System."
+HOMEPAGE = " http://jinja.pocoo.org/"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=782689a6f9cc3482c3b8b39c552f1cf8"
+
+DEPENDS = "python3"
+
+RDEPENDS_${PN} = " \
+                   python3-codecs \
+                   python3-core \
+                   python3-re \
+                 "
+SRCNAME = "Jinja"
+PR = "r1"
+
+SRC_URI = "\
+  http://pypi.python.org/packages/source/J/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "1235a005ade00b213800ff1e798c0241"
+SRC_URI[sha256sum] = "36252f3d0356008a31a537a31cfba189f7b5898b8e2da454f72ea5f987db8b31"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools3
+
+do_sanitize() {
+
+    # it seems that the installer is not ready for python3.  Upconvert...
+    ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/2to3 -w .
+
+    # this looks like a broken 2to3 fixer.  Help it out.
+    sed -E -i'.tweak' -e 's/__nonzero__/__bool__/g' jinja/datastructure.py
+}
+
+addtask sanitize after do_unpack before do_patch
-- 
1.7.9.5



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

* [PATCH 22/24] python3-nose: Testing tools for python
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (20 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 21/24] python3-jinja: Recipe for python3 templating system Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 23/24] python3-sphinx: New recipe for documentation system Khem Raj
                   ` (3 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/python/python3-nose_1.2.1.bb |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-nose_1.2.1.bb

diff --git a/meta/recipes-devtools/python/python3-nose_1.2.1.bb b/meta/recipes-devtools/python/python3-nose_1.2.1.bb
new file mode 100644
index 0000000..46db351
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-nose_1.2.1.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "Testing Tools for Python."
+HOMEPAGE = "http://readthedocs.org/docs/nose/"
+SECTION = "devel/python"
+LICENSE = "LGPL"
+LIC_FILES_CHKSUM = "file://lgpl.txt;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+DEPENDS = "python3"
+RDEPENDS_${PN} = " \
+                   python3-codecs \
+                   python3-core \
+                   python3-debugger \
+                   python3-difflib \
+                   python3-doctest \
+                   python3-io \
+                   python3-logging \
+                   python3-pickle \
+                   python3-re \
+                   python3-textutils \
+                   python3-threading \
+                   python3-unittest \
+                 "
+SRCNAME = "nose"
+PR = "r1"
+
+SRC_URI = "\
+  http://pypi.python.org/packages/source/n/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "735e3f1ce8b07e70ee1b742a8a53585a"
+SRC_URI[sha256sum] = "2171e9202d118d302d5db1decb52dd862b79e2a626ca19653a6914574a6ca7d9"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools3
-- 
1.7.9.5



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

* [PATCH 23/24] python3-sphinx: New recipe for documentation system
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (21 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 22/24] python3-nose: Testing tools for python Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-06-28 22:04 ` [PATCH 24/24] python3: Upgrade to 3.3.2 Khem Raj
                   ` (2 subsequent siblings)
  25 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-sphinx_1.1.3.bb                 |   39 ++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-sphinx_1.1.3.bb

diff --git a/meta/recipes-devtools/python/python3-sphinx_1.1.3.bb b/meta/recipes-devtools/python/python3-sphinx_1.1.3.bb
new file mode 100644
index 0000000..0d4b6cc
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-sphinx_1.1.3.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "Sphinx Documentation System."
+HOMEPAGE = "http://sphinx-doc.org/"
+SECTION = "devel/python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d06c6f6aa1fbbe0b4752370d26c065eb"
+
+DEPENDS = "python3"
+
+# sqlalchemy jinja docutils
+RDEPENDS_${PN} = " \
+                   python3-codecs \
+                   python3-compression \
+                   python3-core \
+                   python3-docutils \
+                   python3-image \
+                   python3-io \
+                   python3-jinja \
+                   python3-logging \
+                   python3-netclient \
+                   python3-pickle \
+                   python3-pydoc \
+                   python3-re \
+                   python3-shell \
+                   python3-textutils \
+                   python3-threading \
+                 "
+SRCNAME = "Sphinx"
+PR = "r1"
+
+SRC_URI = "\
+  http://pypi.python.org/packages/source/S/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "8f55a6d4f87fc6d528120c5d1f983e98"
+SRC_URI[sha256sum] = "34dc95b70a2b07a61b5d61034c34b05f82514aab54ad27adedb49cee911bb8e9"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools3
-- 
1.7.9.5



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

* [PATCH 24/24] python3: Upgrade to 3.3.2
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (22 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 23/24] python3-sphinx: New recipe for documentation system Khem Raj
@ 2013-06-28 22:04 ` Khem Raj
  2013-07-08 10:37   ` Paul Eggleton
  2013-06-29  5:38 ` [PATCH 00/24] Add python3 recipes Martin Jansa
  2013-07-08 10:37 ` Paul Eggleton
  25 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-28 22:04 UTC (permalink / raw)
  To: openembedded-core

3.3.2 is latest bugfix release in 3.3 series

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ...on3-native_3.3.0.bb => python3-native_3.3.2.bb} |    9 +-
 ...sue-13032-where-it-fails-with-UnicodeDeco.patch |   37 ++++
 .../python/python3/030-fixup-include-dirs.patch    |   21 +--
 .../python/python3/140-verbose-sharedmods.patch    |   10 --
 .../python/python3/h2py-pr13032.patch              |  185 --------------------
 .../python/{python3_3.3.0.bb => python3_3.3.2.bb}  |    9 +-
 6 files changed, 51 insertions(+), 220 deletions(-)
 rename meta/recipes-devtools/python/{python3-native_3.3.0.bb => python3-native_3.3.2.bb} (87%)
 create mode 100644 meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch
 delete mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
 delete mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
 rename meta/recipes-devtools/python/{python3_3.3.0.bb => python3_3.3.2.bb} (96%)

diff --git a/meta/recipes-devtools/python/python3-native_3.3.0.bb b/meta/recipes-devtools/python/python3-native_3.3.2.bb
similarity index 87%
rename from meta/recipes-devtools/python/python3-native_3.3.0.bb
rename to meta/recipes-devtools/python/python3-native_3.3.2.bb
index 3486ca0..f7221ed 100644
--- a/meta/recipes-devtools/python/python3-native_3.3.0.bb
+++ b/meta/recipes-devtools/python/python3-native_3.3.2.bb
@@ -12,20 +12,19 @@ file://070-dont-clean-ipkg-install.patch \
 file://080-distutils-dont_adjust_files.patch \
 file://110-enable-zlib.patch \
 file://130-readline-setup.patch \
-file://140-verbose-sharedmods.patch \
 file://150-fix-setupterm.patch \
-file://h2py-pr13032.patch \
 file://python-3.3-multilib.patch \
 file://03-fix-tkinter-detection.patch \
 file://avoid_warning_about_tkinter.patch \
 file://06-ctypes-libffi-fix-configure.patch \
 file://shutil-follow-symlink-fix.patch \
+file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
 ${DISTRO_SRC_URI} \
 "
-SRC_URI[md5sum] = "b3b2524f72409d919a4137826a870a8f"
-SRC_URI[sha256sum] = "15c113fd6c058712f05d31b4eff149d4d823b8e39ef5e37228dc5dc4f8716df9"
+SRC_URI[md5sum] = "7dffe775f3bea68a44f762a3490e5e28"
+SRC_URI[sha256sum] = "f77202fe2bbc203205d7bd6e8452567fa1d9bc97f6957c9ef753d9a36cdcbe9a"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d214581529e343354f8e23025bdf582d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a7e738bb078a33a825ce4a0282f8cb31"
 
 S = "${WORKDIR}/Python-${PV}"
 
diff --git a/meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch b/meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch
new file mode 100644
index 0000000..dd6b24f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch
@@ -0,0 +1,37 @@
+From 2f5a4c708d90fa8db21f446ae879cff79387448d Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Mon, 20 May 2013 21:03:16 -0700
+Subject: [PATCH] h2py: Fix issue 13032 where it fails with UnicodeDecodeError
+
+use utf-8 to open the files
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Upstream-Status: Pending
+---
+ Tools/scripts/h2py.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py
+index 4f871d9..a53fbe0 100755
+--- a/Tools/scripts/h2py.py
++++ b/Tools/scripts/h2py.py
+@@ -69,13 +69,13 @@ def main():
+             sys.stdout.write('# Generated by h2py from stdin\n')
+             process(sys.stdin, sys.stdout)
+         else:
+-            fp = open(filename, 'r')
++            fp = open(filename, 'r', encoding='utf-8')
+             outfile = os.path.basename(filename)
+             i = outfile.rfind('.')
+             if i > 0: outfile = outfile[:i]
+             modname = outfile.upper()
+             outfile = modname + '.py'
+-            outfp = open(outfile, 'w')
++            outfp = open(outfile, 'w', encoding='utf-8')
+             outfp.write('# Generated by h2py from %s\n' % filename)
+             filedict = {}
+             for dir in searchdirs:
+-- 
+1.8.1.2
+
diff --git a/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch b/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
index 4882118..3e009c1 100644
--- a/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
+++ b/meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
@@ -2,9 +2,11 @@
  setup.py |   15 ++-------------
  1 file changed, 2 insertions(+), 13 deletions(-)
 
---- a/setup.py
-+++ b/setup.py
-@@ -464,7 +464,8 @@ class PyBuildExt(build_ext):
+Index: Python-3.3.2/setup.py
+===================================================================
+--- Python-3.3.2.orig/setup.py
++++ Python-3.3.2/setup.py
+@@ -444,7 +444,8 @@ class PyBuildExt(build_ext):
          # only change this for cross builds for 3.3, issues on Mageia
          if cross_compiling:
              self.add_gcc_paths()
@@ -14,7 +16,7 @@
  
          # Add paths specified in the environment variables LDFLAGS and
          # CPPFLAGS for header and library files.
-@@ -500,7 +501,7 @@ class PyBuildExt(build_ext):
+@@ -480,7 +481,7 @@ class PyBuildExt(build_ext):
                      for directory in reversed(options.dirs):
                          add_dir_to_list(dir_list, directory)
  
@@ -23,14 +25,3 @@
                  and not sysconfig.get_config_var('PYTHONFRAMEWORK'):
              # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework
              # (PYTHONFRAMEWORK is set) to avoid # linking problems when
-@@ -520,6 +521,10 @@ class PyBuildExt(build_ext):
-                 '/lib', '/usr/lib',
-                 ]
-             inc_dirs = self.compiler.include_dirs + ['/usr/include']
-+        if cross_compiling:
-+            lib_dirs = self.compiler.library_dirs
-+            inc_dirs = self.compiler.include_dirs
-+
-         exts = []
-         missing = []
- 
diff --git a/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch b/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
deleted file mode 100644
index db3f124..0000000
--- a/meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/Makefile.pre.in
-+++ b/Makefile.pre.in
-@@ -477,7 +477,6 @@ $(SYSCONFIGDATA): $(BUILDPYTHON)
- 
- # Build the shared modules
- sharedmods: $(BUILDPYTHON) $(SYSCONFIGDATA)
--	case $$MAKEFLAGS in *s*) quiet=-q; esac; \
- 	$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \
- 		$(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build
- 
diff --git a/meta/recipes-devtools/python/python3/h2py-pr13032.patch b/meta/recipes-devtools/python/python3/h2py-pr13032.patch
deleted file mode 100644
index 39b845b..0000000
--- a/meta/recipes-devtools/python/python3/h2py-pr13032.patch
+++ /dev/null
@@ -1,185 +0,0 @@
-This is backport of upstream bug
-
-http://bugs.python.org/issue13032
-
-Fixes issues like below
-
-|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 167, in <module>
-|     main()
-|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 81, in main
-|     process(fp, outfp)
-|   File "/work/yocto/poky/build/tmp/work/x86_64-poky-linux/python3-3.3.0-r0.0/Python-3.3.0rc2/Tools/scripts/h2py.py", line 108, in process
-|     line = fp.readline()
-|   File "/work/yocto/poky/build/tmp/sysroots/x86_64-linux/usr/lib/python3.3/encodings/ascii.py", line 26, in decode
-|     return codecs.ascii_decode(input, self.errors)[0]
-| UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 175: ordinal not in range(128)
-
-Upstream-Status: Backport
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-
---- a/Tools/scripts/h2py.py
-+++ b/Tools/scripts/h2py.py
-@@ -23,55 +23,56 @@
- 
- import sys, re, getopt, os
- 
--p_define = re.compile('^[\t ]*#[\t ]*define[\t ]+([a-zA-Z0-9_]+)[\t ]+')
-+p_define = re.compile(b'^[\t ]*#[\t ]*define[\t ]+([a-zA-Z0-9_]+)[\t ]+')
- 
- p_macro = re.compile(
--  '^[\t ]*#[\t ]*define[\t ]+'
--  '([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+')
-+  b'^[\t ]*#[\t ]*define[\t ]+'
-+  b'([a-zA-Z0-9_]+)\(([_a-zA-Z][_a-zA-Z0-9]*)\)[\t ]+')
- 
--p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
-+p_include = re.compile(b'^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
- 
--p_comment = re.compile(r'/\*([^*]+|\*+[^/])*(\*+/)?')
--p_cpp_comment = re.compile('//.*')
-+p_comment = re.compile(br'/\*([^*]+|\*+[^/])*(\*+/)?')
-+p_cpp_comment = re.compile(b'//.*')
- 
- ignores = [p_comment, p_cpp_comment]
- 
--p_char = re.compile(r"'(\\.[^\\]*|[^\\])'")
-+p_char = re.compile(br"'(\\.[^\\]*|[^\\])'")
- 
--p_hex = re.compile(r"0x([0-9a-fA-F]+)L?")
-+p_hex = re.compile(br"0x([0-9a-fA-F]+)L?")
- 
- filedict = {}
- importable = {}
- 
- try:
--    searchdirs=os.environ['include'].split(';')
-+    searchdirs=os.environb[b'include'].split(b';')
- except KeyError:
-     try:
--        searchdirs=os.environ['INCLUDE'].split(';')
-+        searchdirs=os.environb[b'INCLUDE'].split(b';')
-     except KeyError:
--        searchdirs=['/usr/include']
-+        searchdirs=[b'/usr/include']
- 
- def main():
-     global filedict
-     opts, args = getopt.getopt(sys.argv[1:], 'i:')
-     for o, a in opts:
-         if o == '-i':
--            ignores.append(re.compile(a))
-+            ignores.append(re.compile(a.encode()))
-     if not args:
-         args = ['-']
-     for filename in args:
-         if filename == '-':
-             sys.stdout.write('# Generated by h2py from stdin\n')
--            process(sys.stdin, sys.stdout)
-+            process(sys.stdin.buffer, sys.stdout.buffer)
-         else:
--            fp = open(filename, 'r')
-+            filename = filename.encode()
-+            fp = open(filename, 'rb')
-             outfile = os.path.basename(filename)
--            i = outfile.rfind('.')
-+            i = outfile.rfind(b'.')
-             if i > 0: outfile = outfile[:i]
-             modname = outfile.upper()
--            outfile = modname + '.py'
--            outfp = open(outfile, 'w')
--            outfp.write('# Generated by h2py from %s\n' % filename)
-+            outfile = modname + b'.py'
-+            outfp = open(outfile, 'wb')
-+            outfp.write(b'# Generated by h2py from ' + filename + b'\n')
-             filedict = {}
-             for dir in searchdirs:
-                 if filename[:len(dir)] == dir:
-@@ -85,9 +86,9 @@
- def pytify(body):
-     # replace ignored patterns by spaces
-     for p in ignores:
--        body = p.sub(' ', body)
-+        body = p.sub(b' ', body)
-     # replace char literals by ord(...)
--    body = p_char.sub("ord('\\1')", body)
-+    body = p_char.sub(b"ord('\\1')", body)
-     # Compute negative hexadecimal constants
-     start = 0
-     UMAX = 2*(sys.maxsize+1)
-@@ -98,7 +99,7 @@
-         val = int(body[slice(*m.span(1))], 16)
-         if val > sys.maxsize:
-             val -= UMAX
--            body = body[:s] + "(" + str(val) + ")" + body[e:]
-+            body = body[:s] + b"(" + str(val).encode() + b")" + body[e:]
-         start = s + 1
-     return body
- 
-@@ -111,7 +112,7 @@
-         match = p_define.match(line)
-         if match:
-             # gobble up continuation lines
--            while line[-2:] == '\\\n':
-+            while line[-2:] == b'\\\n':
-                 nextline = fp.readline()
-                 if not nextline: break
-                 lineno = lineno + 1
-@@ -120,11 +121,11 @@
-             body = line[match.end():]
-             body = pytify(body)
-             ok = 0
--            stmt = '%s = %s\n' % (name, body.strip())
-+            stmt = name + b' = ' + body.strip() + b'\n'
-             try:
-                 exec(stmt, env)
-             except:
--                sys.stderr.write('Skipping: %s' % stmt)
-+                sys.stderr.buffer.write(b'Skipping: ' + stmt)
-             else:
-                 outfp.write(stmt)
-         match = p_macro.match(line)
-@@ -132,11 +133,11 @@
-             macro, arg = match.group(1, 2)
-             body = line[match.end():]
-             body = pytify(body)
--            stmt = 'def %s(%s): return %s\n' % (macro, arg, body)
-+            stmt = b'def ' + macro + b'(' + arg + b'): return ' + body + b'\n'
-             try:
-                 exec(stmt, env)
-             except:
--                sys.stderr.write('Skipping: %s' % stmt)
-+                sys.stderr.buffer.write(b'Skipping: ' + stmt)
-             else:
-                 outfp.write(stmt)
-         match = p_include.match(line)
-@@ -145,23 +146,24 @@
-             a, b = regs[1]
-             filename = line[a:b]
-             if filename in importable:
--                outfp.write('from %s import *\n' % importable[filename])
-+                outfp.write(b'from ' + importable[filename] + b' import *\n')
-             elif filename not in filedict:
-                 filedict[filename] = None
-                 inclfp = None
-                 for dir in searchdirs:
-                     try:
--                        inclfp = open(dir + '/' + filename)
-+                        inclfp = open(dir + b'/' + filename, 'rb')
-                         break
-                     except IOError:
-                         pass
-                 if inclfp:
-                     outfp.write(
--                            '\n# Included from %s\n' % filename)
-+                            b'\n# Included from ' + filename + b'\n')
-                     process(inclfp, outfp, env)
-+                    inclfp.close()
-                 else:
--                    sys.stderr.write('Warning - could not find file %s\n' %
--                                     filename)
-+                    sys.stderr.buffer.write(b'Warning - could not find file ' +
-+                                            filename + b'\n')
- 
- if __name__ == '__main__':
-     main()
-
diff --git a/meta/recipes-devtools/python/python3_3.3.0.bb b/meta/recipes-devtools/python/python3_3.3.2.bb
similarity index 96%
rename from meta/recipes-devtools/python/python3_3.3.0.bb
rename to meta/recipes-devtools/python/python3_3.3.2.bb
index 081586d..b92824e 100644
--- a/meta/recipes-devtools/python/python3_3.3.0.bb
+++ b/meta/recipes-devtools/python/python3_3.3.2.bb
@@ -14,9 +14,8 @@ file://070-dont-clean-ipkg-install.patch \
 file://080-distutils-dont_adjust_files.patch \
 file://110-enable-zlib.patch \
 file://130-readline-setup.patch \
-file://140-verbose-sharedmods.patch \
 file://150-fix-setupterm.patch \
-file://h2py-pr13032.patch \
+file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \
 ${DISTRO_SRC_URI} \
 "
 
@@ -31,10 +30,10 @@ SRC_URI += "\
             file://python-3.3-multilib.patch \
             file://shutil-follow-symlink-fix.patch \
            "
-SRC_URI[md5sum] = "b3b2524f72409d919a4137826a870a8f"
-SRC_URI[sha256sum] = "15c113fd6c058712f05d31b4eff149d4d823b8e39ef5e37228dc5dc4f8716df9"
+SRC_URI[md5sum] = "7dffe775f3bea68a44f762a3490e5e28"
+SRC_URI[sha256sum] = "f77202fe2bbc203205d7bd6e8452567fa1d9bc97f6957c9ef753d9a36cdcbe9a"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=d214581529e343354f8e23025bdf582d"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a7e738bb078a33a825ce4a0282f8cb31"
 
 S = "${WORKDIR}/Python-${PV}"
 
-- 
1.7.9.5



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

* Re: [PATCH 04/24] classes/distutils: Introduce PYTHON_PN
  2013-06-28 22:03 ` [PATCH 04/24] classes/distutils: Introduce PYTHON_PN Khem Raj
@ 2013-06-29  5:29   ` Martin Jansa
  2013-06-29 14:07     ` Khem Raj
  0 siblings, 1 reply; 63+ messages in thread
From: Martin Jansa @ 2013-06-29  5:29 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:03:49PM -0700, Khem Raj wrote:
> This is needed to accomodate python3 alongside
> python2
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/classes/distutils-base.bbclass        |    5 ++---
>  meta/classes/distutils-native-base.bbclass |    4 ++--
>  meta/classes/distutils.bbclass             |   24 +++++++++++++-----------
>  meta/classes/python-dir.bbclass            |    1 +
>  meta/classes/pythonnative.bbclass          |    9 ++++++---
>  5 files changed, 24 insertions(+), 19 deletions(-)
> 
> diff --git a/meta/classes/distutils-base.bbclass b/meta/classes/distutils-base.bbclass
> index 3b43e76..aa18e8b 100644
> --- a/meta/classes/distutils-base.bbclass
> +++ b/meta/classes/distutils-base.bbclass
> @@ -1,5 +1,4 @@
> -DEPENDS  += "${@["python-native python", ""][(d.getVar('PACKAGES', True) == '')]}"
> -RDEPENDS_${PN} += "${@['', 'python-core']['${CLASSOVERRIDE}' == 'class-target']}"
> +DEPENDS  += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES', True) == '')]}"
> +RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
>  
>  inherit distutils-common-base pythonnative
> -
> diff --git a/meta/classes/distutils-native-base.bbclass b/meta/classes/distutils-native-base.bbclass
> index ceda512..509cb95 100644
> --- a/meta/classes/distutils-native-base.bbclass
> +++ b/meta/classes/distutils-native-base.bbclass
> @@ -1,3 +1,3 @@
> -DEPENDS  += "${@["python-native", ""][(d.getVar('PACKAGES', True) == '')]}"
> -
>  inherit distutils-common-base
> +
> +DEPENDS  += "${@["${PYTHON_PN}-native", ""][(d.getVar('PACKAGES', True) == '')]}"
> diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
> index a0e1f50..f99959d 100644
> --- a/meta/classes/distutils.bbclass
> +++ b/meta/classes/distutils.bbclass
> @@ -1,4 +1,5 @@
>  inherit distutils-base
> +#distutils-tools

^^ do we need this?

>  
>  DISTUTILS_BUILD_ARGS ?= ""
>  DISTUTILS_STAGE_HEADERS_ARGS ?= "--install-dir=${STAGING_INCDIR}/${PYTHON_DIR}"
> @@ -11,15 +12,15 @@ distutils_do_compile() {
>           STAGING_INCDIR=${STAGING_INCDIR} \
>           STAGING_LIBDIR=${STAGING_LIBDIR} \
>           BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -         ${STAGING_BINDIR_NATIVE}/python-native/python setup.py build ${DISTUTILS_BUILD_ARGS} || \
> -         bbfatal "python setup.py build_ext execution failed."
> +         ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py build ${DISTUTILS_BUILD_ARGS} || \
> +         bbfatal "${PYTHON_PN} setup.py build_ext execution failed."
>  }
>  
>  distutils_stage_headers() {
>          install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
>          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
> -        bbfatal "python setup.py install_headers execution failed."
> +        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install_headers ${DISTUTILS_STAGE_HEADERS_ARGS} || \
> +        bbfatal "${PYTHON_PN} setup.py install_headers execution failed."
>  }
>  
>  distutils_stage_all() {
> @@ -28,21 +29,22 @@ distutils_stage_all() {
>          install -d ${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR}
>          PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} \
>          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
> -        bbfatal "python setup.py install (stage) execution failed."
> +        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install ${DISTUTILS_STAGE_ALL_ARGS} || \
> +        bbfatal "${PYTHON_PN} setup.py install (stage) execution failed."
>  }
>  
>  distutils_do_install() {
>          install -d ${D}${PYTHON_SITEPACKAGES_DIR}
>          STAGING_INCDIR=${STAGING_INCDIR} \
>          STAGING_LIBDIR=${STAGING_LIBDIR} \
> -        PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
> +        PYTHONPATH=${D}${PYTHON_SITEPACKAGES_DIR} \
>          BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
> -        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
> -        bbfatal "python setup.py install execution failed."
> +        ${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} setup.py install --install-lib=${D}/${PYTHON_SITEPACKAGES_DIR} ${DISTUTILS_INSTALL_ARGS} || \
> +        bbfatal "${PYTHON_PN} setup.py install execution failed."
>  
> -        for i in `find ${D} -name "*.py"` ; do \
> -            sed -i -e s:${D}::g $i
> +        # support filenames with *spaces*
> +        find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
> +            sed -i -e s:${D}::g "$i"
>          done
>  
>          if test -e ${D}${bindir} ; then	
> diff --git a/meta/classes/python-dir.bbclass b/meta/classes/python-dir.bbclass
> index 0b6a33c..b4b5ab0 100644
> --- a/meta/classes/python-dir.bbclass
> +++ b/meta/classes/python-dir.bbclass
> @@ -1,3 +1,4 @@
>  PYTHON_BASEVERSION ?= "2.7"
>  PYTHON_DIR = "python${PYTHON_BASEVERSION}"
> +PYTHON_PN = "python${@'' if '${PYTHON_BASEVERSION}'.startswith('2') else '3'}"
>  PYTHON_SITEPACKAGES_DIR = "${libdir}/${PYTHON_DIR}/site-packages"
> diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
> index 7886207..fdd22bb 100644
> --- a/meta/classes/pythonnative.bbclass
> +++ b/meta/classes/pythonnative.bbclass
> @@ -1,3 +1,6 @@
> -PYTHON="${STAGING_BINDIR_NATIVE}/python-native/python"
> -EXTRANATIVEPATH += "python-native"
> -DEPENDS += " python-native "
> +
> +inherit python-dir
> +
> +PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
> +EXTRANATIVEPATH += "${PYTHON_PN}-native"
> +DEPENDS += " ${PYTHON_PN}-native "
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (23 preceding siblings ...)
  2013-06-28 22:04 ` [PATCH 24/24] python3: Upgrade to 3.3.2 Khem Raj
@ 2013-06-29  5:38 ` Martin Jansa
  2013-06-29 14:11   ` Khem Raj
  2013-07-08 10:37 ` Paul Eggleton
  25 siblings, 1 reply; 63+ messages in thread
From: Martin Jansa @ 2013-06-29  5:38 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
> 
>   generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>   python-3.3-manifest: Add python3 manifest file

>   classes: Add distutils for python3
>   setuptools.bbclass: Use python-distribute instead of
>     python-setuptools
>   distutils3.bbclass: Port the distutils class fix to handle filenames
>     with spaces
>   setuptools3.bbclass: Remove useless multiline comment
>   distutils: Introduce PYTHON_ABI variable
>   distutils3: Do build_ext as separate step during compile

I think these 2 groups could be squashed together for easier review, but
otherwise great work, thanks for doing it!

I'll add them to jenkins a bit later when I get some better build that
what we have now.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 04/24] classes/distutils: Introduce PYTHON_PN
  2013-06-29  5:29   ` Martin Jansa
@ 2013-06-29 14:07     ` Khem Raj
  0 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-29 14:07 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Jun 28, 2013, at 10:29 PM, Martin Jansa <martin.jansa@gmail.com> wrote:

>> inherit distutils-base
>> +#distutils-tools
> 
> ^^ do we need this?

No, update the pull branch with fix


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-29  5:38 ` [PATCH 00/24] Add python3 recipes Martin Jansa
@ 2013-06-29 14:11   ` Khem Raj
  2013-06-29 15:31     ` Martin Jansa
  0 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-06-29 14:11 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>> 
>>  generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>  python-3.3-manifest: Add python3 manifest file
> 
>>  classes: Add distutils for python3
>>  setuptools.bbclass: Use python-distribute instead of
>>    python-setuptools
>>  distutils3.bbclass: Port the distutils class fix to handle filenames
>>    with spaces
>>  setuptools3.bbclass: Remove useless multiline comment
>>  distutils: Introduce PYTHON_ABI variable
>>  distutils3: Do build_ext as separate step during compile
> 

> I think these 2 groups could be squashed together for easier review, but

do you mean create just two patches out of those ?

> otherwise great work, thanks for doing it!
> 
> I'll add them to jenkins a bit later when I get some better build that
> what we have now.

They were added in order that the build keeps working with every commit for helping bisects on tree later




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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-29 14:11   ` Khem Raj
@ 2013-06-29 15:31     ` Martin Jansa
  2013-06-29 17:43       ` Khem Raj
  2013-07-30  8:16       ` Khem Raj
  0 siblings, 2 replies; 63+ messages in thread
From: Martin Jansa @ 2013-06-29 15:31 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
> 
> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
> >> 
> >>  generate-manifest-3.3.py: Add script to generate python 3.3 manifests
> >>  python-3.3-manifest: Add python3 manifest file
> > 
> >>  classes: Add distutils for python3
> >>  setuptools.bbclass: Use python-distribute instead of
> >>    python-setuptools
> >>  distutils3.bbclass: Port the distutils class fix to handle filenames
> >>    with spaces
> >>  setuptools3.bbclass: Remove useless multiline comment
> >>  distutils: Introduce PYTHON_ABI variable
> >>  distutils3: Do build_ext as separate step during compile
> > 
> 
> > I think these 2 groups could be squashed together for easier review, but
> 
> do you mean create just two patches out of those ?

Yes

> > otherwise great work, thanks for doing it!
> > 
> > I'll add them to jenkins a bit later when I get some better build that
> > what we have now.
> 
> They were added in order that the build keeps working with every commit for helping bisects on tree later

I meant that e.g. 
  classes: Add distutils for python3
introduces setuptools3.bbclass and
  setuptools3.bbclass: Remove useless multiline comment
just 3 commits later fixes that, the same with the left-over commit I
mentined in other thread which was also resolved by some follow up
commit, with all new .bbclasses together I would read them just once.

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-29 15:31     ` Martin Jansa
@ 2013-06-29 17:43       ` Khem Raj
  2013-07-30  8:16       ` Khem Raj
  1 sibling, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-06-29 17:43 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Jun 29, 2013, at 8:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
>> 
>> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> 
>>> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>>>> 
>>>> generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>>> python-3.3-manifest: Add python3 manifest file
>>> 
>>>> classes: Add distutils for python3
>>>> setuptools.bbclass: Use python-distribute instead of
>>>>   python-setuptools
>>>> distutils3.bbclass: Port the distutils class fix to handle filenames
>>>>   with spaces
>>>> setuptools3.bbclass: Remove useless multiline comment
>>>> distutils: Introduce PYTHON_ABI variable
>>>> distutils3: Do build_ext as separate step during compile
>>> 
>> 
>>> I think these 2 groups could be squashed together for easier review, but
>> 
>> do you mean create just two patches out of those ?
> 
> Yes
> 
>>> otherwise great work, thanks for doing it!
>>> 
>>> I'll add them to jenkins a bit later when I get some better build that
>>> what we have now.
>> 
>> They were added in order that the build keeps working with every commit for helping bisects on tree later
> 
> I meant that e.g. 
>  classes: Add distutils for python3
> introduces setuptools3.bbclass and
>  setuptools3.bbclass: Remove useless multiline comment
> just 3 commits later fixes that, the same with the left-over commit I
> mentined in other thread which was also resolved by some follow up
> commit, with all new .bbclasses together I would read them just once.
> 

Yes however I left them for history so we remember how a given problem was fixed.
but I have no hard opinion I can squash them

> Cheers,
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



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

* Re: [PATCH 21/24] python3-jinja: Recipe for python3 templating system
  2013-06-28 22:04 ` [PATCH 21/24] python3-jinja: Recipe for python3 templating system Khem Raj
@ 2013-06-30 10:30   ` Martin Jansa
  0 siblings, 0 replies; 63+ messages in thread
From: Martin Jansa @ 2013-06-30 10:30 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:04:06PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta/recipes-devtools/python/python3-jinja_1.2.bb |   37 +++++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-jinja_1.2.bb

throws couple of unpackaged docs files:

python3-jinja-1.2: python3-jinja: Files/directories were installed but
not shipped
  /usr/share
  /usr/share/docs
  /usr/share/docs/html
  /usr/share/docs/txt
  /usr/share/docs/html/watermark.png
  /usr/share/docs/html/translators.html
  /usr/share/docs/html/tests.html
  /usr/share/docs/html/templatei18n.html
  /usr/share/docs/html/style.css
  /usr/share/docs/html/streaming.html
  /usr/share/docs/html/scopes.html
  /usr/share/docs/html/recipies.html
  /usr/share/docs/html/objects.html
  /usr/share/docs/html/loaders.html
  /usr/share/docs/html/jinjalogo.png
  /usr/share/docs/html/jinjabanner.png
  /usr/share/docs/html/installation.html
  /usr/share/docs/html/inheritance.html
  /usr/share/docs/html/index.html
  /usr/share/docs/html/i18n.html
  /usr/share/docs/html/fromdjango.html
  /usr/share/docs/html/frameworks.html
  /usr/share/docs/html/filters.html
  /usr/share/docs/html/escaping.html
  /usr/share/docs/html/devrecipies.html
  /usr/share/docs/html/devintro.html
  /usr/share/docs/html/designerdoc.html
  /usr/share/docs/html/debugging.html
  /usr/share/docs/html/changelog.html
  /usr/share/docs/html/builtins.html
  /usr/share/docs/html/api.html
  /usr/share/docs/html/altsyntax.html
  /usr/share/docs/txt/translators.txt
  /usr/share/docs/txt/tests.txt
  /usr/share/docs/txt/templatei18n.txt
  /usr/share/docs/txt/streaming.txt
  /usr/share/docs/txt/scopes.txt
  /usr/share/docs/txt/recipies.txt
  /usr/share/docs/txt/objects.txt
  /usr/share/docs/txt/loaders.txt
  /usr/share/docs/txt/installation.txt
  /usr/share/docs/txt/inheritance.txt
  /usr/share/docs/txt/index.txt
  /usr/share/docs/txt/i18n.txt
  /usr/share/docs/txt/fromdjango.txt
  /usr/share/docs/txt/frameworks.txt
  /usr/share/docs/txt/filters.txt
  /usr/share/docs/txt/escaping.txt
  /usr/share/docs/txt/devrecipies.txt
  /usr/share/docs/txt/devintro.txt
  /usr/share/docs/txt/designerdoc.txt
  /usr/share/docs/txt/debugging.txt
  /usr/share/docs/txt/changelog.txt
  /usr/share/docs/txt/builtins.txt
  /usr/share/docs/txt/api.txt
  /usr/share/docs/txt/altsyntax.txt

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 24/24] python3: Upgrade to 3.3.2
  2013-06-28 22:04 ` [PATCH 24/24] python3: Upgrade to 3.3.2 Khem Raj
@ 2013-07-08 10:37   ` Paul Eggleton
  0 siblings, 0 replies; 63+ messages in thread
From: Paul Eggleton @ 2013-07-08 10:37 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On Friday 28 June 2013 15:04:09 Khem Raj wrote:
> 3.3.2 is latest bugfix release in 3.3 series
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>....
> 
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=d214581529e343354f8e23025bdf582d"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=a7e738bb078a33a825ce4a0282f8cb31"

Please mention in the commit message why this changed.

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
                   ` (24 preceding siblings ...)
  2013-06-29  5:38 ` [PATCH 00/24] Add python3 recipes Martin Jansa
@ 2013-07-08 10:37 ` Paul Eggleton
  25 siblings, 0 replies; 63+ messages in thread
From: Paul Eggleton @ 2013-07-08 10:37 UTC (permalink / raw)
  To: openembedded-core

Hi Khem,

On Friday 28 June 2013 14:59:46 Khem Raj wrote:
> This patchset adds python3 recipes to metadata in such a way
> that they can coexist with python2. The patchset has been
> tested quite well and I think is ready for review.
> 
> At times it will adjust existing python2 recipes to make
> room for itself in a compatible way
> 
> To add them to your images
> 
> add
>        python3
>        python3-modules
>        python3-misc
> 
> to IMAGE_INSTALL
> 
> 
> The following changes since commit ff65497cd9a96d5ab49b16ba1f7e30a216ff4a42:
> 
>   classes/insane: remove la2 check which no longer exists from ERROR_QA
> (2013-06-28 16:33:05 +0100)
> 
> are available in the git repository at:
> 
>   git://git.openembedded.org/openembedded-core-contrib kraj/python3
>  
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj
> /python3
> 
> Khem Raj (24):
>   generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>   python3native.bbclass: Add python3 abstraction class
>   package_rpm.bbclass:Make the regexp less greedy
>   classes/distutils: Introduce PYTHON_PN
>   classes: Add distutils for python3
>   setuptools.bbclass: Use python-distribute instead of
>     python-setuptools
>   distutils3.bbclass: Port the distutils class fix to handle filenames
>     with spaces
>   setuptools3.bbclass: Remove useless multiline comment
>   distutils: Introduce PYTHON_ABI variable
>   distutils3: Do build_ext as separate step during compile
>   python-3.3-manifest: Add python3 manifest file
>   python3: Add recipes
>   python3: Add native recipe
>   python_2.7.3.bb: Inherit python-dir
>   ipython: Add recipes for ipython2 and ipython3
>   python-distribute: Add recipes for python2 and python3
>   zeromq: Add recipe
>   pyzmq: Add recipes using python3
>   python3-pycurl: Add recipe
>   python3-docutils: Add recipe
>   python3-jinja: Recipe for python3 templating system
>   python3-nose: Testing tools for python
>   python3-sphinx: New recipe for documentation system
>   python3: Upgrade to 3.3.2
> 
>  meta/classes/distutils-base.bbclass                |    5 +-
>  meta/classes/distutils-native-base.bbclass         |    4 +-
>  meta/classes/distutils-tools.bbclass               |   77 +++
>  meta/classes/distutils.bbclass                     |   24 +-
>  meta/classes/distutils3-base.bbclass               |    8 +
>  meta/classes/distutils3-native-base.bbclass        |    4 +
>  meta/classes/distutils3.bbclass                    |   82 +++
>  meta/classes/package_rpm.bbclass                   |    2 +-
>  meta/classes/python-dir.bbclass                    |    2 +
>  meta/classes/python3native.bbclass                 |    7 +
>  meta/classes/pythonnative.bbclass                  |    9 +-
>  meta/classes/setuptools.bbclass                    |    3 +-
>  meta/classes/setuptools3.bbclass                   |    8 +
>  .../ipython/001-completer-across-raw-types.patch   |  562
> ++++++++++++++++++++ .../ipython3/001-completer-across-raw-types.patch  | 
> 562 ++++++++++++++++++++ meta/recipes-devtools/python/ipython3_0.13.1.bb   
> |   71 +++
>  meta/recipes-devtools/python/ipython_0.13.1.bb     |   48 ++
>  .../python/python-3.3-manifest.inc                 |  260 +++++++++
>  .../python/python-distribute_0.6.32.bb             |   47 ++
>  .../python/python3-distribute_0.6.32.bb            |   46 ++
>  .../python/python3-docutils_0.10.bb                |   37 ++
>  meta/recipes-devtools/python/python3-jinja_1.2.bb  |   37 ++
>  .../python/python3-native_3.3.2.bb                 |   67 +++
>  meta/recipes-devtools/python/python3-nose_1.2.1.bb |   34 ++
>  .../python/python3-pycurl/no-static-link.patch     |   16 +
>  .../python/python3-pycurl_7.19.0.bb                |   35 ++
>  .../0001-Fixed-just-zmq-detection.patch            |   56 ++
>  .../python/python3-pyzmq_13.0.0.bb                 |   46 ++
>  .../python/python3-sphinx_1.1.3.bb                 |   39 ++
>  .../python/python3/000-cross-compile.patch         |   76 +++
>  ...sue-13032-where-it-fails-with-UnicodeDeco.patch |   37 ++
>  .../python3/020-dont-compile-python-files.patch    |   31 ++
>  .../python/python3/03-fix-tkinter-detection.patch  |   42 ++
>  .../python/python3/030-fixup-include-dirs.patch    |   27 +
>  .../python/python3/04-default-is-optimized.patch   |   58 ++
>  .../python3/06-ctypes-libffi-fix-configure.patch   |   44 ++
>  .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
>  .../python3/080-distutils-dont_adjust_files.patch  |   86 +++
>  .../python/python3/110-enable-zlib.patch           |   15 +
>  .../python/python3/130-readline-setup.patch        |   49 ++
>  .../python/python3/150-fix-setupterm.patch         |   11 +
>  .../python3/avoid_warning_about_tkinter.patch      |   25 +
>  meta/recipes-devtools/python/python3/cgi_py.patch  |   23 +
>  .../python3/fix_for_using_different_libdir.patch   |   54 ++
>  .../python3/host_include_contamination.patch       |   28 +
>  .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++
>  .../python/python3/remove_sqlite_rpath.patch       |   19 +
>  .../python/python3/setuptweaks.patch               |   57 ++
>  .../python/python3/shutil-follow-symlink-fix.patch |   11 +
>  .../python/python3/sitecustomize.py                |   37 ++
>  .../sys_platform_is_now_always_linux2.patch        |   29 +
>  meta/recipes-devtools/python/python3_3.3.2.bb      |  202 +++++++
>  meta/recipes-devtools/python/python_2.7.3.bb       |    2 +-
>  meta/recipes-devtools/python/zeromq_3.2.2.bb       |   24 +
>  scripts/contrib/python/generate-manifest-3.3.py    |  376 +++++++++++++
>  55 files changed, 3916 insertions(+), 23 deletions(-)
>  create mode 100644 meta/classes/distutils-tools.bbclass
>  create mode 100644 meta/classes/distutils3-base.bbclass
>  create mode 100644 meta/classes/distutils3-native-base.bbclass
>  create mode 100644 meta/classes/distutils3.bbclass
>  create mode 100644 meta/classes/python3native.bbclass
>  create mode 100644 meta/classes/setuptools3.bbclass
>  create mode 100644
> meta/recipes-devtools/python/ipython/001-completer-across-raw-types.patch
> create mode 100644
> meta/recipes-devtools/python/ipython3/001-completer-across-raw-types.patch
> create mode 100644 meta/recipes-devtools/python/ipython3_0.13.1.bb create
> mode 100644 meta/recipes-devtools/python/ipython_0.13.1.bb create mode
> 100644 meta/recipes-devtools/python/python-3.3-manifest.inc create mode
> 100644 meta/recipes-devtools/python/python-distribute_0.6.32.bb create mode
> 100644 meta/recipes-devtools/python/python3-distribute_0.6.32.bb create
> mode 100644 meta/recipes-devtools/python/python3-docutils_0.10.bb create
> mode 100644 meta/recipes-devtools/python/python3-jinja_1.2.bb create mode
> 100644 meta/recipes-devtools/python/python3-native_3.3.2.bb create mode
> 100644 meta/recipes-devtools/python/python3-nose_1.2.1.bb create mode
> 100644 meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
> create mode 100644 meta/recipes-devtools/python/python3-pycurl_7.19.0.bb
> create mode 100644
> meta/recipes-devtools/python/python3-pyzmq/0001-Fixed-just-zmq-detection.pa
> tch create mode 100644 meta/recipes-devtools/python/python3-pyzmq_13.0.0.bb
> create mode 100644 meta/recipes-devtools/python/python3-sphinx_1.1.3.bb
> create mode 100644
> meta/recipes-devtools/python/python3/000-cross-compile.patch create mode
> 100644
> meta/recipes-devtools/python/python3/0001-h2py-Fix-issue-13032-where-it-fai
> ls-with-UnicodeDeco.patch create mode 100644
> meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
> create mode 100644
> meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch create
> mode 100644
> meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch create
> mode 100644
> meta/recipes-devtools/python/python3/04-default-is-optimized.patch create
> mode 100644
> meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
> create mode 100644
> meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
> create mode 100644
> meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
> create mode 100644
> meta/recipes-devtools/python/python3/110-enable-zlib.patch create mode
> 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch create
> mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
> create mode 100644
> meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
> create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch create
> mode 100644
> meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
> create mode 100644
> meta/recipes-devtools/python/python3/host_include_contamination.patch
> create mode 100644
> meta/recipes-devtools/python/python3/python-3.3-multilib.patch create mode
> 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
> create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
> create mode 100644
> meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch create
> mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py create
> mode 100644
> meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patc
> h create mode 100644 meta/recipes-devtools/python/python3_3.3.2.bb
>  create mode 100644 meta/recipes-devtools/python/zeromq_3.2.2.bb
>  create mode 100755 scripts/contrib/python/generate-manifest-3.3.py

Thanks for this. Some minor concerns though:

* In the commit messages for each of the supplementary recipes that are added 
could you please mention why they are needed e.g. python3-pyzmq, zeromq, 
python3-sphinx, python3-jinja, etc.

* Please use SUMMARY for short descriptions

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: [PATCH 19/24] python3-pycurl: Add recipe
  2013-06-28 22:04 ` [PATCH 19/24] python3-pycurl: Add recipe Khem Raj
@ 2013-07-08 10:44   ` Martin Jansa
  0 siblings, 0 replies; 63+ messages in thread
From: Martin Jansa @ 2013-07-08 10:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:04:04PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../python/python3-pycurl/no-static-link.patch     |   16 +++++++++
>  .../python/python3-pycurl_7.19.0.bb                |   35 ++++++++++++++++++++
>  2 files changed, 51 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3-pycurl/no-static-link.patch
>  create mode 100644 meta/recipes-devtools/python/python3-pycurl_7.19.0.bb

There is some overlap with python-curl:

WARNING: The recipe python-pycurl is trying to install files into a
shared area when those files already exist. Those files and their
manifest location are:
   /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/python2.7/site-packages/pycurl.so
   Matched in manifest-qemuarm-python3-pycurl
   /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/python2.7/site-packages/pycurl-7.19.0-py2.7.egg-info
   Matched in manifest-qemuarm-python3-pycurl
   /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/python2.7/site-packages/curl/__init__.py
   Matched in manifest-qemuarm-python3-pycurl
   /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/python2.7/site-packages/curl/__init__.pyc
   Matched in manifest-qemuarm-python3-pycurl
Please verify which package should provide the above files.

Should python3-curl install also in python2.7 libdir?

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 16/24] python-distribute: Add recipes for python2 and python3
  2013-06-28 22:04 ` [PATCH 16/24] python-distribute: Add recipes for python2 and python3 Khem Raj
@ 2013-07-08 10:49   ` Martin Jansa
  0 siblings, 0 replies; 63+ messages in thread
From: Martin Jansa @ 2013-07-08 10:49 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:04:01PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../python/python-distribute_0.6.32.bb             |   47 ++++++++++++++++++++
>  .../python/python3-distribute_0.6.32.bb            |   46 +++++++++++++++++++
>  2 files changed, 93 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python-distribute_0.6.32.bb
>  create mode 100644 meta/recipes-devtools/python/python3-distribute_0.6.32.bb

easy_install is staged by both
WARNING: The recipe python-distribute-native is trying to install files
into a shared area when those files already exist. Those files and their
manifest location are:
   /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/easy_install
   Matched in manifest-x86_64-python3-distribute-native
Please verify which package should provide the above files.

Can we rename it in one of them to be more deterministic about which
version is used?

> 
> diff --git a/meta/recipes-devtools/python/python-distribute_0.6.32.bb b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
> new file mode 100644
> index 0000000..86ac871
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-distribute_0.6.32.bb
> @@ -0,0 +1,47 @@
> +DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
> +HOMEPAGE = "http://packages.python.org/distribute"
> +SECTION = "devel/python"
> +LICENSE = "PSF"
> +LIC_FILES_CHKSUM = "file://setup.py;beginline=234;endline=234;md5=26f6b02022b737126d3c88838782dddb"
> +
> +SRCNAME = "distribute"
> +PR = "ml5"
> +DEPENDS += "python"
> +DEPENDS_virtclass-native += "python-native"
> +
> +SRC_URI = " \
> +  http://pypi.python.org/packages/source/d/distribute/${SRCNAME}-${PV}.tar.gz \
> +"
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +#  http://python-distribute.org/distribute_setup.py 
> +
> +# force the selection of python3
> +#PYTHON_BASEVERSION = "3.3"
> +#PYTHON_MAJMIN = "3.3"
> +
> +inherit distutils
> +
> +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
> +
> +do_install_prepend() {
> +    install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
> +}
> +
> +#
> +#  The installer puts the wrong path in the setuptools.pth file.  Correct it.
> +#
> +do_install_append() {
> +    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
> +    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
> +}
> +
> +RDEPENDS_${PN} = "\
> +  python-distutils \
> +  python-compression \
> +"
> +
> +SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
> +SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
> +
> +BBCLASSEXTEND = "native"
> diff --git a/meta/recipes-devtools/python/python3-distribute_0.6.32.bb b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
> new file mode 100644
> index 0000000..e0415d5
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python3-distribute_0.6.32.bb
> @@ -0,0 +1,46 @@
> +DESCRIPTION = "Download, build, install, upgrade, and uninstall Python packages"
> +HOMEPAGE = "http://packages.python.org/distribute"
> +SECTION = "devel/python"
> +LICENSE = "PSF"
> +LIC_FILES_CHKSUM = "file://setup.py;beginline=234;endline=234;md5=26f6b02022b737126d3c88838782dddb"
> +
> +SRCNAME = "distribute"
> +PR = "ml5"
> +DEPENDS += "python3"
> +DEPENDS_virtclass-native += "python3-native"
> +
> +SRC_URI = " \
> +  http://pypi.python.org/packages/source/d/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
> +"
> +S = "${WORKDIR}/${SRCNAME}-${PV}"
> +
> +#  http://python-distribute.org/distribute_setup.py 
> +
> +# force the selection of python3
> +#PYTHON_BASEVERSION = "3.3"
> +#PYTHON_MAJMIN = "3.3"
> +
> +inherit distutils3
> +
> +DISTUTILS_INSTALL_ARGS += "--install-lib=${D}${libdir}/${PYTHON_DIR}/site-packages"
> +
> +do_install_prepend() {
> +    install -d ${D}/${libdir}/${PYTHON_DIR}/site-packages
> +}
> +#
> +#  The installer puts the wrong path in the setuptools.pth file.  Correct it.
> +#
> +do_install_append() {
> +    rm ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
> +    echo "./${SRCNAME}-${PV}-py${PYTHON_BASEVERSION}.egg" > ${D}${PYTHON_SITEPACKAGES_DIR}/setuptools.pth
> +}
> +
> +RDEPENDS_${PN} = "\
> +  python3-distutils \
> +  python3-compression \
> +"
> +
> +SRC_URI[md5sum] = "acb7a2da81e3612bfb1608abe4f0e568"
> +SRC_URI[sha256sum] = "8970cd1e148b5d1fea9430584aea66c45ea22d80e0933393ec49ebc388f718df"
> +
> +BBCLASSEXTEND = "native"
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-06-29 15:31     ` Martin Jansa
  2013-06-29 17:43       ` Khem Raj
@ 2013-07-30  8:16       ` Khem Raj
  2013-07-30 16:45         ` Saul Wold
  2013-07-31 20:40         ` Saul Wold
  1 sibling, 2 replies; 63+ messages in thread
From: Khem Raj @ 2013-07-30  8:16 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Jun 29, 2013, at 8:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
>> 
>> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> 
>>> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>>>> 
>>>> generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>>> python-3.3-manifest: Add python3 manifest file
>>> 
>>>> classes: Add distutils for python3
>>>> setuptools.bbclass: Use python-distribute instead of
>>>>   python-setuptools
>>>> distutils3.bbclass: Port the distutils class fix to handle filenames
>>>>   with spaces
>>>> setuptools3.bbclass: Remove useless multiline comment
>>>> distutils: Introduce PYTHON_ABI variable
>>>> distutils3: Do build_ext as separate step during compile
>>> 
>> 
>>> I think these 2 groups could be squashed together for easier review, but
>> 
>> do you mean create just two patches out of those ?
> 
> Yes
> 
>>> otherwise great work, thanks for doing it!
>>> 
>>> I'll add them to jenkins a bit later when I get some better build that
>>> what we have now.
>> 
>> They were added in order that the build keeps working with every commit for helping bisects on tree later
> 
> I meant that e.g. 
>  classes: Add distutils for python3
> introduces setuptools3.bbclass and
>  setuptools3.bbclass: Remove useless multiline comment
> just 3 commits later fixes that, the same with the left-over commit I
> mentined in other thread which was also resolved by some follow up
> commit, with all new .bbclasses together I would read them just once.
> 

Thanks Martin and Paul for reviewing and trying out the patches
Finally I have now addressed all the comments/feedback that was provided for this patch set.
The pull tree is now updated to latest.

Take a look and install if its ok

-Khem




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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-30  8:16       ` Khem Raj
@ 2013-07-30 16:45         ` Saul Wold
  2013-07-30 18:28           ` Khem Raj
  2013-07-31 20:40         ` Saul Wold
  1 sibling, 1 reply; 63+ messages in thread
From: Saul Wold @ 2013-07-30 16:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 07/30/2013 01:16 AM, Khem Raj wrote:
>
> On Jun 29, 2013, at 8:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>> On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
>>>
>>> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>>
>>>> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>>>>>
>>>>> generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>>>> python-3.3-manifest: Add python3 manifest file
>>>>
>>>>> classes: Add distutils for python3
>>>>> setuptools.bbclass: Use python-distribute instead of
>>>>>    python-setuptools
>>>>> distutils3.bbclass: Port the distutils class fix to handle filenames
>>>>>    with spaces
>>>>> setuptools3.bbclass: Remove useless multiline comment
>>>>> distutils: Introduce PYTHON_ABI variable
>>>>> distutils3: Do build_ext as separate step during compile
>>>>
>>>
>>>> I think these 2 groups could be squashed together for easier review, but
>>>
>>> do you mean create just two patches out of those ?
>>
>> Yes
>>
>>>> otherwise great work, thanks for doing it!
>>>>
>>>> I'll add them to jenkins a bit later when I get some better build that
>>>> what we have now.
>>>
>>> They were added in order that the build keeps working with every commit for helping bisects on tree later
>>
>> I meant that e.g.
>>   classes: Add distutils for python3
>> introduces setuptools3.bbclass and
>>   setuptools3.bbclass: Remove useless multiline comment
>> just 3 commits later fixes that, the same with the left-over commit I
>> mentined in other thread which was also resolved by some follow up
>> commit, with all new .bbclasses together I would read them just once.
>>
>
> Thanks Martin and Paul for reviewing and trying out the patches
> Finally I have now addressed all the comments/feedback that was provided for this patch set.
> The pull tree is now updated to latest.
>
> Take a look and install if its ok
>
Please review your patches for Upstream-Status: and Signed-off-by: tags.

I will be reviewing and building this on the AB in mut.


Sau!

> -Khem
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-30 16:45         ` Saul Wold
@ 2013-07-30 18:28           ` Khem Raj
  0 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-07-30 18:28 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 30, 2013, at 9:45 AM, Saul Wold <sgw@linux.intel.com> wrote:

> On 07/30/2013 01:16 AM, Khem Raj wrote:
>> 
>> On Jun 29, 2013, at 8:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> 
>>> On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
>>>> 
>>>> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>>> 
>>>>> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>>>>>> 
>>>>>> generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>>>>> python-3.3-manifest: Add python3 manifest file
>>>>> 
>>>>>> classes: Add distutils for python3
>>>>>> setuptools.bbclass: Use python-distribute instead of
>>>>>>   python-setuptools
>>>>>> distutils3.bbclass: Port the distutils class fix to handle filenames
>>>>>>   with spaces
>>>>>> setuptools3.bbclass: Remove useless multiline comment
>>>>>> distutils: Introduce PYTHON_ABI variable
>>>>>> distutils3: Do build_ext as separate step during compile
>>>>> 
>>>> 
>>>>> I think these 2 groups could be squashed together for easier review, but
>>>> 
>>>> do you mean create just two patches out of those ?
>>> 
>>> Yes
>>> 
>>>>> otherwise great work, thanks for doing it!
>>>>> 
>>>>> I'll add them to jenkins a bit later when I get some better build that
>>>>> what we have now.
>>>> 
>>>> They were added in order that the build keeps working with every commit for helping bisects on tree later
>>> 
>>> I meant that e.g.
>>>  classes: Add distutils for python3
>>> introduces setuptools3.bbclass and
>>>  setuptools3.bbclass: Remove useless multiline comment
>>> just 3 commits later fixes that, the same with the left-over commit I
>>> mentined in other thread which was also resolved by some follow up
>>> commit, with all new .bbclasses together I would read them just once.
>>> 
>> 
>> Thanks Martin and Paul for reviewing and trying out the patches
>> Finally I have now addressed all the comments/feedback that was provided for this patch set.
>> The pull tree is now updated to latest.
>> 
>> Take a look and install if its ok
>> 
> Please review your patches for Upstream-Status: and Signed-off-by: tags.
> 

I have pushed a patch on top which fixed these

> I will be reviewing and building this on the AB in mut.
> 

OK



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-30  8:16       ` Khem Raj
  2013-07-30 16:45         ` Saul Wold
@ 2013-07-31 20:40         ` Saul Wold
  2013-07-31 20:59           ` Khem Raj
  1 sibling, 1 reply; 63+ messages in thread
From: Saul Wold @ 2013-07-31 20:40 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 07/30/2013 01:16 AM, Khem Raj wrote:
>
> On Jun 29, 2013, at 8:31 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>
>> On Sat, Jun 29, 2013 at 07:11:35AM -0700, Khem Raj wrote:
>>>
>>> On Jun 28, 2013, at 10:38 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
>>>
>>>> On Fri, Jun 28, 2013 at 03:03:39PM -0700, Khem Raj wrote:
>>>>>
>>>>> generate-manifest-3.3.py: Add script to generate python 3.3 manifests
>>>>> python-3.3-manifest: Add python3 manifest file
>>>>
>>>>> classes: Add distutils for python3
>>>>> setuptools.bbclass: Use python-distribute instead of
>>>>>    python-setuptools
>>>>> distutils3.bbclass: Port the distutils class fix to handle filenames
>>>>>    with spaces
>>>>> setuptools3.bbclass: Remove useless multiline comment
>>>>> distutils: Introduce PYTHON_ABI variable
>>>>> distutils3: Do build_ext as separate step during compile
>>>>
>>>
>>>> I think these 2 groups could be squashed together for easier review, but
>>>
>>> do you mean create just two patches out of those ?
>>
>> Yes
>>
>>>> otherwise great work, thanks for doing it!
>>>>
>>>> I'll add them to jenkins a bit later when I get some better build that
>>>> what we have now.
>>>
>>> They were added in order that the build keeps working with every commit for helping bisects on tree later
>>
>> I meant that e.g.
>>   classes: Add distutils for python3
>> introduces setuptools3.bbclass and
>>   setuptools3.bbclass: Remove useless multiline comment
>> just 3 commits later fixes that, the same with the left-over commit I
>> mentined in other thread which was also resolved by some follow up
>> commit, with all new .bbclasses together I would read them just once.
>>
>
> Thanks Martin and Paul for reviewing and trying out the patches
> Finally I have now addressed all the comments/feedback that was provided for this patch set.
> The pull tree is now updated to latest.
>
> Take a look and install if its ok
>

Tried to build this set and received failures in python3-jinja 
(do_sanitize) and python3-distribute (do_compile)


> DEBUG: Executing shell function do_sanitize
> /srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/python3-jinja/1.2-r1/temp/run.do_sanitize.22474: line 85: /srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/python3: No such file or directory
> ERROR: Function failed: do_sanitize (log file is located at /srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/python3-jinja/1.2-r1/temp/log.do_sanitize.22474)


> Traceback (most recent call last):
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/sysconfig.py", line 447, in _init_posix
>     parse_makefile(filename, g)
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/sysconfig.py", line 316, in parse_makefile
>     fp = TextFile(fn, strip_comments=1, skip_blanks=1, join_lines=1, errors="surrogateescape")
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/text_file.py", line 100, in __init__
>     self.open(filename)
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/text_file.py", line 115, in open
>     self.file = io.open(self.filename, 'r', errors=self.errors)
> FileNotFoundError: [Errno 2] No such file or directory: '/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python3.3/config-3.3m/Makefile'
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
>   File "setup.py", line 250, in <module>
>     scripts = scripts,
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/core.py", line 134, in setup
>     ok = dist.parse_command_line()
>   File "/srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/distribute-0.6.32/build/src/setuptools/dist.py", line 232, in parse_command_line
>     result = _Distribution.parse_command_line(self)
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/dist.py", line 445, in parse_command_line
>     args = self._parse_command_opts(parser, args)
>   File "/srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/distribute-0.6.32/build/src/setuptools/dist.py", line 558, in _parse_command_opts
>     nargs = _Distribution._parse_command_opts(self, parser, args)
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/dist.py", line 501, in _parse_command_opts
>     cmd_class = self.get_command_class(command)
>   File "/srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/distribute-0.6.32/build/src/setuptools/dist.py", line 363, in get_command_class
>     self.cmdclass[command] = cmdclass = ep.load()
>   File "/srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/distribute-0.6.32/build/src/pkg_resources.py", line 2018, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
>   File "/srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/distribute-0.6.32/build/src/setuptools/command/build_ext.py", line 13, in <module>
>     get_config_var("LDSHARED")  # make sure _config_vars is initialized
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/sysconfig.py", line 600, in get_config_var
>     return get_config_vars().get(name)
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/sysconfig.py", line 540, in get_config_vars
>     func()
>   File "/srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/distutils/sysconfig.py", line 453, in _init_posix
>     raise DistutilsPlatformError(my_msg)
> distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/lib/python3.3/config-3.3m/Makefile (No such file or directory)
> ERROR: python3 setup.py build_ext execution failed.
> ERROR: Function failed: do_compile (log file is located at /srv/ssd/sgw/builds/world/tmp/work/x86_64-linux/python3-distribute-native/0.6.32-ml5/temp/log.do_compile.8665)


I am going to hold this patch set out of Master_under_Test for now.


Sau!

> -Khem
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 20:40         ` Saul Wold
@ 2013-07-31 20:59           ` Khem Raj
  2013-07-31 22:31             ` Khem Raj
  0 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-07-31 20:59 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 1:40 PM, Saul Wold <sgw@linux.intel.com> wrote:

> 
> Tried to build this set and received failures in python3-jinja (do_sanitize) and python3-distribute (do_compile)
> 
> 
>> DEBUG: Executing shell function do_sanitize
>> /srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/python3-jinja/1.2-r1/temp/run.do_sanitize.22474: line 85: /srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/python3: No such file or directory

seems like missing dependency on python3-native. I will take a look.

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 20:59           ` Khem Raj
@ 2013-07-31 22:31             ` Khem Raj
  2013-07-31 22:49               ` Saul Wold
  0 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-07-31 22:31 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 1:59 PM, Khem Raj <raj.khem@gmail.com> wrote:

> 
> On Jul 31, 2013, at 1:40 PM, Saul Wold <sgw@linux.intel.com> wrote:
> 
>> 
>> Tried to build this set and received failures in python3-jinja (do_sanitize) and python3-distribute (do_compile)
>> 
>> 
>>> DEBUG: Executing shell function do_sanitize
>>> /srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/python3-jinja/1.2-r1/temp/run.do_sanitize.22474: line 85: /srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/python3: No such file or directory
> 
> seems like missing dependency on python3-native. I will take a look.


I have pushed two patches on top of the current pull tree. That hopefully should fix both the issues. Please try them
out.

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 22:31             ` Khem Raj
@ 2013-07-31 22:49               ` Saul Wold
  2013-07-31 22:51                 ` Khem Raj
  0 siblings, 1 reply; 63+ messages in thread
From: Saul Wold @ 2013-07-31 22:49 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 07/31/2013 03:31 PM, Khem Raj wrote:
>
> On Jul 31, 2013, at 1:59 PM, Khem Raj <raj.khem@gmail.com> wrote:
>
>>
>> On Jul 31, 2013, at 1:40 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>
>>>
>>> Tried to build this set and received failures in python3-jinja (do_sanitize) and python3-distribute (do_compile)
>>>
>>>
>>>> DEBUG: Executing shell function do_sanitize
>>>> /srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/python3-jinja/1.2-r1/temp/run.do_sanitize.22474: line 85: /srv/ssd/sgw/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/python3: No such file or directory
>>
>> seems like missing dependency on python3-native. I will take a look.
>
>
> I have pushed two patches on top of the current pull tree. That hopefully should fix both the issues. Please try them
> out.
>

Still seems to failing in Jinja, I wonder if the dependencies are 
correctly sinec it's nooking for native bits and the python3-native had 
not been installed yet.

> |  #: the singleton instance of `DebugHelper`
> | Traceback (most recent call last):
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/2to3", line 5, in <module>
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/main.py", line 259, in main
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 706, in refactor
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 299, in refactor
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 319, in refactor_dir
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 747, in refactor_file
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 354, in refactor_file
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 386, in refactor_string
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/refactor.py", line 460, in refactor_tree
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/fixes/fix_map.py", line 85, in transform
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/fixer_util.py", line 216, in in_special_context
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/patcomp.py", line 205, in compile_pattern
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/patcomp.py", line 50, in __init__
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/pgen2/driver.py", line 121, in load_grammar
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/pgen2/pgen.py", line 385, in generate_grammar
> |   File "/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/pgen2/pgen.py", line 15, in __init__
> | FileNotFoundError: [Errno 2] No such file or directory: '/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/lib/python3.3/lib2to3/PatternGrammar.txt'

Also, I notice that you have PRs in some those python recipes, can they 
be dropped or have packages been created with them that are available in 
feeds someplace?


Sau!



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 22:49               ` Saul Wold
@ 2013-07-31 22:51                 ` Khem Raj
  2013-07-31 23:05                   ` Saul Wold
  0 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-07-31 22:51 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:

> 
> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
> 
> 

in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 22:51                 ` Khem Raj
@ 2013-07-31 23:05                   ` Saul Wold
  2013-08-01  4:32                     ` Khem Raj
                                       ` (2 more replies)
  0 siblings, 3 replies; 63+ messages in thread
From: Saul Wold @ 2013-07-31 23:05 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On 07/31/2013 03:51 PM, Khem Raj wrote:
>
> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>
>>
>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>
>>
>
> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>

Yes, most of my builds are incremental until I throw them against the 
Autobuilder!

It seems that I also got a do_package failure, seems like it might be a 
host contamination issue

> NOTE: DO PACKAGE QA
> ERROR: QA Issue: python3: The compile log indicates that host include and/or library paths were used.
>          Please check the log '/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/temp/log.do_compile' for more information.
> NOTE: Checking Package: libpython3

I attached my do_compile log.

Sau!


[-- Attachment #2: log.do_compile --]
[-- Type: text/plain, Size: 214783 bytes --]

DEBUG: SITE files ['endian-big', 'bit-32', 'mips-common', 'common-linux', 'common-glibc', 'mips-linux', 'common']
DEBUG: Executing shell function do_compile
Skipping: _POSIX_C_SOURCE = 200809L
Skipping: _POSIX_C_SOURCE = 199506L
Skipping: _POSIX_C_SOURCE = 200112L
Skipping: _POSIX_C_SOURCE = 200809L
Warning - could not find file stdc
Skipping: __LEAF = , __leaf__
Skipping: __LEAF_ATTR = __attribute__ ((__leaf__))
Skipping: __THROW = __attribute__ ((__nothrow__ __LEAF))
Skipping: __THROWNL = __attribute__ ((__nothrow__))
Skipping: def __NTH(fct): return __attribute__ ((__nothrow__ __LEAF)) fct

Skipping: __THROW = throw ()
Skipping: __THROWNL = throw ()
Skipping: def __NTH(fct): return __LEAF_ATTR fct throw ()

Skipping: __inline = 
Skipping: __ptr_t = void *
Skipping: __long_double_t = long double
Skipping: __BEGIN_DECLS = extern "C" {
Skipping: __END_DECLS = }
Skipping: __BEGIN_NAMESPACE_STD = namespace std {
Skipping: __END_NAMESPACE_STD = }
Skipping: def __USING_NAMESPACE_STD(name): return using std::name;

Skipping: __BEGIN_NAMESPACE_C99 = namespace __c99 {
Skipping: __END_NAMESPACE_C99 = }
Skipping: def __USING_NAMESPACE_C99(name): return using __c99::name;

Skipping: __fortify_function = __extern_always_inline __attribute_artificial__
Skipping: __attribute_malloc__ = __attribute__ ((__malloc__))
Skipping: __attribute_malloc__ = 
Skipping: __attribute_pure__ = __attribute__ ((__pure__))
Skipping: __attribute_pure__ = 
Skipping: __attribute_const__ = __attribute__ ((__const__))
Skipping: __attribute_const__ = 
Skipping: __attribute_used__ = __attribute__ ((__used__))
Skipping: __attribute_noinline__ = __attribute__ ((__noinline__))
Skipping: __attribute_used__ = __attribute__ ((__unused__))
Skipping: __attribute_noinline__ = 
Skipping: __attribute_deprecated__ = __attribute__ ((__deprecated__))
Skipping: __attribute_deprecated__ = 
Skipping: def __nonnull(params): return __attribute__ ((__nonnull__ params))

Skipping: __attribute_warn_unused_result__ = \
   __attribute__ ((__warn_unused_result__))
Skipping: __wur = __attribute_warn_unused_result__
Skipping: __attribute_warn_unused_result__ = 
Skipping: __wur = 
Skipping: __always_inline = __inline __attribute__ ((__always_inline__))
Skipping: __always_inline = __inline
Skipping: __attribute_artificial__ = __attribute__ ((__artificial__))
Skipping: __attribute_artificial__ = 
Skipping: __extern_inline = extern __inline __attribute__ ((__gnu_inline__))
Skipping: __extern_always_inline = \
  extern __always_inline __attribute__ ((__gnu_inline__))
Skipping: __extern_inline = extern __inline
Skipping: __extern_always_inline = extern __always_inline
Skipping: __extern_inline = 
Skipping: __extern_always_inline = 
Skipping: __extension__ = 
Skipping: __restrict = 
Skipping: __restrict_arr = __restrict
Skipping: __restrict_arr = 
Skipping: __restrict_arr = restrict
Skipping: __restrict_arr = 
Skipping: __WORDSIZE = _MIPS_SZPTR
Warning - could not find file gnu/stubs
Warning - could not find file stddef.h
Skipping: RTLD_NEXT = ((void *) -1l)
Skipping: RTLD_DEFAULT = ((void *) 0)
Warning - could not find file asm
Skipping: __kernel_daddr_t = __kernel_daddr_t
Skipping: __kernel_fsid_t = __kernel_fsid_t
Skipping: __bitwise__ = __attribute__((bitwise))
Skipping: __bitwise = __bitwise__
Skipping: __aligned_u64 = __u64 __attribute__((aligned(8)))
Skipping: __aligned_be64 = __be64 __attribute__((aligned(8)))
Skipping: __aligned_le64 = __le64 __attribute__((aligned(8)))
Skipping: __arch_swab16 = __arch_swab16
Skipping: __arch_swab32 = __arch_swab32
Skipping: __arch_swab64 = __arch_swab64
Skipping: def ___constant_swab16(x): return ((__u16)(				\

Skipping: def ___constant_swab32(x): return ((__u32)(				\

Skipping: def ___constant_swab64(x): return ((__u64)(				\

Skipping: def ___constant_swahw32(x): return ((__u32)(			\

Skipping: def ___constant_swahb32(x): return ((__u32)(			\

Skipping: def __constant_cpu_to_le64(x): return ((__le64)___constant_swab64((x)))

Skipping: def __constant_cpu_to_le32(x): return ((__le32)___constant_swab32((x)))

Skipping: def __constant_cpu_to_le16(x): return ((__le16)___constant_swab16((x)))

Skipping: def __cpu_to_le64(x): return ((__le64)__swab64((x)))

Skipping: def __cpu_to_le32(x): return ((__le32)__swab32((x)))

Skipping: def __cpu_to_le16(x): return ((__le16)__swab16((x)))

Skipping: def __cpu_to_be64s(x): return do { (void)(x); } while (0)

Skipping: def __be64_to_cpus(x): return do { (void)(x); } while (0)

Skipping: def __cpu_to_be32s(x): return do { (void)(x); } while (0)

Skipping: def __be32_to_cpus(x): return do { (void)(x); } while (0)

Skipping: def __cpu_to_be16s(x): return do { (void)(x); } while (0)

Skipping: def __be16_to_cpus(x): return do { (void)(x); } while (0)

Skipping: def __constant_htonl(x): return ((__be32)___constant_swab32((x)))

Skipping: def __constant_htons(x): return ((__be16)___constant_swab16((x)))

Skipping: def __constant_cpu_to_be64(x): return ((__be64)___constant_swab64((x)))

Skipping: def __constant_cpu_to_be32(x): return ((__be32)___constant_swab32((x)))

Skipping: def __constant_cpu_to_be16(x): return ((__be16)___constant_swab16((x)))

Skipping: def __cpu_to_be64(x): return ((__be64)__swab64((x)))

Skipping: def __cpu_to_be32(x): return ((__be32)__swab32((x)))

Skipping: def __cpu_to_be16(x): return ((__be16)__swab16((x)))

Skipping: def __cpu_to_le64s(x): return do { (void)(x); } while (0)

Skipping: def __le64_to_cpus(x): return do { (void)(x); } while (0)

Skipping: def __cpu_to_le32s(x): return do { (void)(x); } while (0)

Skipping: def __le32_to_cpus(x): return do { (void)(x); } while (0)

Skipping: def __cpu_to_le16s(x): return do { (void)(x); } while (0)

Skipping: def __le16_to_cpus(x): return do { (void)(x); } while (0)

Skipping: EDRIVE_CANT_DO_THIS = EOPNOTSUPP
Skipping: CDSL_NONE = (INT_MAX-1)
Skipping: CDSL_CURRENT = INT_MAX
Skipping: _POSIX_C_SOURCE = 200809L
Skipping: _POSIX_C_SOURCE = 199506L
Skipping: _POSIX_C_SOURCE = 200112L
Skipping: _POSIX_C_SOURCE = 200809L
Warning - could not find file stdc
Skipping: __LEAF = , __leaf__
Skipping: __LEAF_ATTR = __attribute__ ((__leaf__))
Skipping: __THROW = __attribute__ ((__nothrow__ __LEAF))
Skipping: __THROWNL = __attribute__ ((__nothrow__))
Skipping: def __NTH(fct): return __attribute__ ((__nothrow__ __LEAF)) fct

Skipping: __THROW = throw ()
Skipping: __THROWNL = throw ()
Skipping: def __NTH(fct): return __LEAF_ATTR fct throw ()

Skipping: __inline = 
Skipping: __ptr_t = void *
Skipping: __long_double_t = long double
Skipping: __BEGIN_DECLS = extern "C" {
Skipping: __END_DECLS = }
Skipping: __BEGIN_NAMESPACE_STD = namespace std {
Skipping: __END_NAMESPACE_STD = }
Skipping: def __USING_NAMESPACE_STD(name): return using std::name;

Skipping: __BEGIN_NAMESPACE_C99 = namespace __c99 {
Skipping: __END_NAMESPACE_C99 = }
Skipping: def __USING_NAMESPACE_C99(name): return using __c99::name;

Skipping: __fortify_function = __extern_always_inline __attribute_artificial__
Skipping: __attribute_malloc__ = __attribute__ ((__malloc__))
Skipping: __attribute_malloc__ = 
Skipping: __attribute_pure__ = __attribute__ ((__pure__))
Skipping: __attribute_pure__ = 
Skipping: __attribute_const__ = __attribute__ ((__const__))
Skipping: __attribute_const__ = 
Skipping: __attribute_used__ = __attribute__ ((__used__))
Skipping: __attribute_noinline__ = __attribute__ ((__noinline__))
Skipping: __attribute_used__ = __attribute__ ((__unused__))
Skipping: __attribute_noinline__ = 
Skipping: __attribute_deprecated__ = __attribute__ ((__deprecated__))
Skipping: __attribute_deprecated__ = 
Skipping: def __nonnull(params): return __attribute__ ((__nonnull__ params))

Skipping: __attribute_warn_unused_result__ = \
   __attribute__ ((__warn_unused_result__))
Skipping: __wur = __attribute_warn_unused_result__
Skipping: __attribute_warn_unused_result__ = 
Skipping: __wur = 
Skipping: __always_inline = __inline __attribute__ ((__always_inline__))
Skipping: __always_inline = __inline
Skipping: __attribute_artificial__ = __attribute__ ((__artificial__))
Skipping: __attribute_artificial__ = 
Skipping: __extern_inline = extern __inline __attribute__ ((__gnu_inline__))
Skipping: __extern_always_inline = \
  extern __always_inline __attribute__ ((__gnu_inline__))
Skipping: __extern_inline = extern __inline
Skipping: __extern_always_inline = extern __always_inline
Skipping: __extern_inline = 
Skipping: __extern_always_inline = 
Skipping: __extension__ = 
Skipping: __restrict = 
Skipping: __restrict_arr = __restrict
Skipping: __restrict_arr = 
Skipping: __restrict_arr = restrict
Skipping: __restrict_arr = 
Skipping: __WORDSIZE = _MIPS_SZPTR
Warning - could not find file gnu/stubs
Skipping: __WCHAR_MAX = __WCHAR_MAX__
Skipping: __WCHAR_MAX = (0xffffffffu + Lord('\0'))
Skipping: __WCHAR_MAX = (0x7fffffff + Lord('\0'))
Skipping: __WCHAR_MIN = __WCHAR_MIN__
Skipping: __WCHAR_MIN = (Lord('\0') + 0)
Skipping: __WCHAR_MIN = (-__WCHAR_MAX - 1)
Skipping: UINT32_MAX = (4294967295U)
Skipping: UINT_LEAST32_MAX = (4294967295U)
Skipping: INT_FAST16_MIN = (-9223372036854775807L-1)
Skipping: INT_FAST32_MIN = (-9223372036854775807L-1)
Skipping: INT_FAST16_MAX = (9223372036854775807L)
Skipping: INT_FAST32_MAX = (9223372036854775807L)
Skipping: UINT_FAST16_MAX = (18446744073709551615UL)
Skipping: UINT_FAST32_MAX = (18446744073709551615UL)
Skipping: UINT_FAST16_MAX = (4294967295U)
Skipping: UINT_FAST32_MAX = (4294967295U)
Skipping: INTPTR_MIN = (-9223372036854775807L-1)
Skipping: INTPTR_MAX = (9223372036854775807L)
Skipping: UINTPTR_MAX = (18446744073709551615UL)
Skipping: UINTPTR_MAX = (4294967295U)
Skipping: PTRDIFF_MIN = (-9223372036854775807L-1)
Skipping: PTRDIFF_MAX = (9223372036854775807L)
Skipping: SIZE_MAX = (18446744073709551615UL)
Skipping: SIZE_MAX = (4294967295U)
Skipping: WCHAR_MIN = __WCHAR_MIN
Skipping: WCHAR_MAX = __WCHAR_MAX
Skipping: WINT_MIN = (0u)
Skipping: WINT_MAX = (4294967295u)
Skipping: __S16_TYPE = short int
Skipping: __U16_TYPE = unsigned short int
Skipping: __U32_TYPE = unsigned int
Skipping: __SLONGWORD_TYPE = long int
Skipping: __ULONGWORD_TYPE = unsigned long int
Skipping: __SQUAD_TYPE = __quad_t
Skipping: __UQUAD_TYPE = __u_quad_t
Skipping: __UWORD_TYPE = unsigned int
Skipping: __SLONG32_TYPE = long int
Skipping: __ULONG32_TYPE = unsigned long int
Skipping: __S64_TYPE = __quad_t
Skipping: __U64_TYPE = __u_quad_t
Skipping: __STD_TYPE = __extension__ typedef
Skipping: __SQUAD_TYPE = long int
Skipping: __UQUAD_TYPE = unsigned long int
Skipping: __SWORD_TYPE = long int
Skipping: __UWORD_TYPE = unsigned long int
Skipping: __ULONG32_TYPE = unsigned int
Skipping: __S64_TYPE = long int
Skipping: __U64_TYPE = unsigned long int
Skipping: __STD_TYPE = typedef
Skipping: __DEV_T_TYPE = __UQUAD_TYPE
Skipping: __UID_T_TYPE = __U32_TYPE
Skipping: __GID_T_TYPE = __U32_TYPE
Skipping: __INO_T_TYPE = __ULONGWORD_TYPE
Skipping: __INO64_T_TYPE = __UQUAD_TYPE
Skipping: __MODE_T_TYPE = __U32_TYPE
Skipping: __NLINK_T_TYPE = __UWORD_TYPE
Skipping: __OFF_T_TYPE = __SLONGWORD_TYPE
Skipping: __OFF64_T_TYPE = __SQUAD_TYPE
Skipping: __RLIM_T_TYPE = __ULONGWORD_TYPE
Skipping: __RLIM64_T_TYPE = __UQUAD_TYPE
Skipping: __BLKCNT_T_TYPE = __SLONGWORD_TYPE
Skipping: __BLKCNT64_T_TYPE = __SQUAD_TYPE
Skipping: __FSBLKCNT_T_TYPE = __ULONGWORD_TYPE
Skipping: __FSBLKCNT64_T_TYPE = __UQUAD_TYPE
Skipping: __FSFILCNT_T_TYPE = __ULONGWORD_TYPE
Skipping: __FSFILCNT64_T_TYPE = __UQUAD_TYPE
Skipping: __ID_T_TYPE = __U32_TYPE
Skipping: __CLOCK_T_TYPE = __SLONGWORD_TYPE
Skipping: __TIME_T_TYPE = __SLONGWORD_TYPE
Skipping: __USECONDS_T_TYPE = __U32_TYPE
Skipping: __SUSECONDS_T_TYPE = __SLONGWORD_TYPE
Skipping: __TIMER_T_TYPE = void *
Skipping: __BLKSIZE_T_TYPE = __SLONGWORD_TYPE
Skipping: __FSID_T_TYPE = struct { int __val[2]; }
Skipping: __SYSCALL_SLONG_TYPE = __SLONGWORD_TYPE
Skipping: __SYSCALL_ULONG_TYPE = __ULONGWORD_TYPE
Warning - could not find file stddef.h
Skipping: CLOCKS_PER_SEC = 1000000l
Skipping: CLK_TCK = ((__clock_t) __sysconf (2))
Skipping: CLK_TCK = CLOCKS_PER_SEC
Warning - could not find file bits/byteswap
Skipping: _SIGSET_NWORDS = (1024 / (8 * sizeof (unsigned long int)))
Skipping: _EXTERN_INLINE = __extern_inline
Skipping: def __sigword(sig): return (((sig) - 1) / (8 * sizeof (unsigned long int)))

Skipping: __NFDBITS = (8 * (int) sizeof (__fd_mask))
Skipping: def __FD_MASK(d): return ((__fd_mask) 1 << ((d) % __NFDBITS))

Skipping: def __FDS_BITS(set): return ((set)->fds_bits)

Skipping: def __FDS_BITS(set): return ((set)->__fds_bits)

Skipping: NFDBITS = __NFDBITS
Skipping: preadv = preadv64
Skipping: pwritev = pwritev64
Skipping: SOCK_DGRAM = SOCK_DGRAM
Skipping: SOCK_STREAM = SOCK_STREAM
Skipping: SOCK_RAW = SOCK_RAW
Skipping: SOCK_RDM = SOCK_RDM
Skipping: SOCK_SEQPACKET = SOCK_SEQPACKET
Skipping: SOCK_DCCP = SOCK_DCCP
Skipping: SOCK_PACKET = SOCK_PACKET
Skipping: SOCK_CLOEXEC = SOCK_CLOEXEC
Skipping: SOCK_NONBLOCK = SOCK_NONBLOCK
Skipping: __SOCKADDR_COMMON_SIZE = (sizeof (unsigned short int))
Skipping: __ss_aligntype = unsigned long int
Skipping: _SS_PADSIZE = (_SS_SIZE - (2 * sizeof (__ss_aligntype)))
Skipping: MSG_OOB = MSG_OOB
Skipping: MSG_PEEK = MSG_PEEK
Skipping: MSG_DONTROUTE = MSG_DONTROUTE
Skipping: MSG_TRYHARD = MSG_DONTROUTE
Skipping: MSG_CTRUNC = MSG_CTRUNC
Skipping: MSG_PROXY = MSG_PROXY
Skipping: MSG_TRUNC = MSG_TRUNC
Skipping: MSG_DONTWAIT = MSG_DONTWAIT
Skipping: MSG_EOR = MSG_EOR
Skipping: MSG_WAITALL = MSG_WAITALL
Skipping: MSG_FIN = MSG_FIN
Skipping: MSG_SYN = MSG_SYN
Skipping: MSG_CONFIRM = MSG_CONFIRM
Skipping: MSG_RST = MSG_RST
Skipping: MSG_ERRQUEUE = MSG_ERRQUEUE
Skipping: MSG_NOSIGNAL = MSG_NOSIGNAL
Skipping: MSG_MORE = MSG_MORE
Skipping: MSG_WAITFORONE = MSG_WAITFORONE
Skipping: MSG_FASTOPEN = MSG_FASTOPEN
Skipping: MSG_CMSG_CLOEXEC = MSG_CMSG_CLOEXEC
Skipping: def CMSG_DATA(cmsg): return ((cmsg)->__cmsg_data)

Skipping: def CMSG_DATA(cmsg): return ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1))

Skipping: def CMSG_ALIGN(len): return (((len) + sizeof (size_t) - 1) \

Skipping: def CMSG_SPACE(len): return (CMSG_ALIGN (len) \

Skipping: def CMSG_LEN(len): return (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))

Skipping: _EXTERN_INLINE = __extern_inline
Skipping: SCM_RIGHTS = SCM_RIGHTS
Skipping: SCM_CREDENTIALS = SCM_CREDENTIALS
Skipping: _IOC_NONE = 1U
Skipping: _IOC_READ = 2U
Skipping: _IOC_WRITE = 4U
Warning - could not find file asm
Skipping: FIOGETOWN = _IOR(ord('f'), 123, int)
Skipping: FIOSETOWN = _IOW(ord('f'), 124, int)
Skipping: SIOCATMARK = _IOR(ord('s'), 7, int)
Skipping: SIOCSPGRP = _IOW(ord('s'), 8, pid_t)
Skipping: SIOCGPGRP = _IOR(ord('s'), 9, pid_t)
Skipping: SHUT_RD = SHUT_RD
Skipping: SHUT_WR = SHUT_WR
Skipping: SHUT_RDWR = SHUT_RDWR
Skipping: __SOCKADDR_ARG = struct sockaddr *__restrict
Skipping: __CONST_SOCKADDR_ARG = const struct sockaddr *
Skipping: __SOCKADDR_ALLTYPES = \
  __SOCKADDR_ONETYPE (sockaddr) \
  __SOCKADDR_ONETYPE (sockaddr_at) \
  __SOCKADDR_ONETYPE (sockaddr_ax25) \
  __SOCKADDR_ONETYPE (sockaddr_dl) \
  __SOCKADDR_ONETYPE (sockaddr_eon) \
  __SOCKADDR_ONETYPE (sockaddr_in) \
  __SOCKADDR_ONETYPE (sockaddr_in6) \
  __SOCKADDR_ONETYPE (sockaddr_inarp) \
  __SOCKADDR_ONETYPE (sockaddr_ipx) \
  __SOCKADDR_ONETYPE (sockaddr_iso) \
  __SOCKADDR_ONETYPE (sockaddr_ns) \
  __SOCKADDR_ONETYPE (sockaddr_un) \
  __SOCKADDR_ONETYPE (sockaddr_x25)
Skipping: def __SOCKADDR_ONETYPE(type): return struct type *__restrict __##type##__;

Skipping: def __SOCKADDR_ONETYPE(type): return const struct type *__restrict __##type##__;

Skipping: IPPROTO_IP = IPPROTO_IP
Skipping: IPPROTO_HOPOPTS = IPPROTO_HOPOPTS
Skipping: IPPROTO_ICMP = IPPROTO_ICMP
Skipping: IPPROTO_IGMP = IPPROTO_IGMP
Skipping: IPPROTO_IPIP = IPPROTO_IPIP
Skipping: IPPROTO_TCP = IPPROTO_TCP
Skipping: IPPROTO_EGP = IPPROTO_EGP
Skipping: IPPROTO_PUP = IPPROTO_PUP
Skipping: IPPROTO_UDP = IPPROTO_UDP
Skipping: IPPROTO_IDP = IPPROTO_IDP
Skipping: IPPROTO_TP = IPPROTO_TP
Skipping: IPPROTO_DCCP = IPPROTO_DCCP
Skipping: IPPROTO_IPV6 = IPPROTO_IPV6
Skipping: IPPROTO_ROUTING = IPPROTO_ROUTING
Skipping: IPPROTO_FRAGMENT = IPPROTO_FRAGMENT
Skipping: IPPROTO_RSVP = IPPROTO_RSVP
Skipping: IPPROTO_GRE = IPPROTO_GRE
Skipping: IPPROTO_ESP = IPPROTO_ESP
Skipping: IPPROTO_AH = IPPROTO_AH
Skipping: IPPROTO_ICMPV6 = IPPROTO_ICMPV6
Skipping: IPPROTO_NONE = IPPROTO_NONE
Skipping: IPPROTO_DSTOPTS = IPPROTO_DSTOPTS
Skipping: IPPROTO_MTP = IPPROTO_MTP
Skipping: IPPROTO_ENCAP = IPPROTO_ENCAP
Skipping: IPPROTO_PIM = IPPROTO_PIM
Skipping: IPPROTO_COMP = IPPROTO_COMP
Skipping: IPPROTO_SCTP = IPPROTO_SCTP
Skipping: IPPROTO_UDPLITE = IPPROTO_UDPLITE
Skipping: IPPROTO_RAW = IPPROTO_RAW
Skipping: INADDR_ANY = ((in_addr_t) 0x00000000)
Skipping: INADDR_BROADCAST = ((in_addr_t) 0xffffffff)
Skipping: INADDR_NONE = ((in_addr_t) 0xffffffff)
Skipping: INADDR_LOOPBACK = ((in_addr_t) 0x7f000001)
Skipping: INADDR_UNSPEC_GROUP = ((in_addr_t) 0xe0000000)
Skipping: INADDR_ALLHOSTS_GROUP = ((in_addr_t) 0xe0000001)
Skipping: INADDR_ALLRTRS_GROUP = ((in_addr_t) 0xe0000002)
Skipping: INADDR_MAX_LOCAL_GROUP = ((in_addr_t) 0xe00000ff)
Skipping: s6_addr = __in6_u.__u6_addr8
Skipping: s6_addr16 = __in6_u.__u6_addr16
Skipping: s6_addr32 = __in6_u.__u6_addr32
Skipping: IN6ADDR_ANY_INIT = { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
Skipping: IN6ADDR_LOOPBACK_INIT = { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
Skipping: def IP_MSFILTER_SIZE(numsrc): return (sizeof (struct ip_msfilter) \

Skipping: def GROUP_FILTER_SIZE(numsrc): return (sizeof (struct group_filter) \

Skipping: IP_RECVRETOPTS = IP_RETOPTS
Skipping: SCM_SRCRT = IPV6_RXSRCRT
Skipping: def IN6_IS_ADDR_MULTICAST(a): return (((const uint8_t *) (a))[0] == 0xff)

Skipping: _POSIX_C_SOURCE = 200809L
Skipping: _POSIX_C_SOURCE = 199506L
Skipping: _POSIX_C_SOURCE = 200112L
Skipping: _POSIX_C_SOURCE = 200809L
Warning - could not find file stdc
Skipping: __LEAF = , __leaf__
Skipping: __LEAF_ATTR = __attribute__ ((__leaf__))
Skipping: __THROW = __attribute__ ((__nothrow__ __LEAF))
Skipping: __THROWNL = __attribute__ ((__nothrow__))
Skipping: def __NTH(fct): return __attribute__ ((__nothrow__ __LEAF)) fct

Skipping: __THROW = throw ()
Skipping: __THROWNL = throw ()
Skipping: def __NTH(fct): return __LEAF_ATTR fct throw ()

Skipping: __inline = 
Skipping: __ptr_t = void *
Skipping: __long_double_t = long double
Skipping: __BEGIN_DECLS = extern "C" {
Skipping: __END_DECLS = }
Skipping: __BEGIN_NAMESPACE_STD = namespace std {
Skipping: __END_NAMESPACE_STD = }
Skipping: def __USING_NAMESPACE_STD(name): return using std::name;

Skipping: __BEGIN_NAMESPACE_C99 = namespace __c99 {
Skipping: __END_NAMESPACE_C99 = }
Skipping: def __USING_NAMESPACE_C99(name): return using __c99::name;

Skipping: __fortify_function = __extern_always_inline __attribute_artificial__
Skipping: __attribute_malloc__ = __attribute__ ((__malloc__))
Skipping: __attribute_malloc__ = 
Skipping: __attribute_pure__ = __attribute__ ((__pure__))
Skipping: __attribute_pure__ = 
Skipping: __attribute_const__ = __attribute__ ((__const__))
Skipping: __attribute_const__ = 
Skipping: __attribute_used__ = __attribute__ ((__used__))
Skipping: __attribute_noinline__ = __attribute__ ((__noinline__))
Skipping: __attribute_used__ = __attribute__ ((__unused__))
Skipping: __attribute_noinline__ = 
Skipping: __attribute_deprecated__ = __attribute__ ((__deprecated__))
Skipping: __attribute_deprecated__ = 
Skipping: def __nonnull(params): return __attribute__ ((__nonnull__ params))

Skipping: __attribute_warn_unused_result__ = \
   __attribute__ ((__warn_unused_result__))
Skipping: __wur = __attribute_warn_unused_result__
Skipping: __attribute_warn_unused_result__ = 
Skipping: __wur = 
Skipping: __always_inline = __inline __attribute__ ((__always_inline__))
Skipping: __always_inline = __inline
Skipping: __attribute_artificial__ = __attribute__ ((__artificial__))
Skipping: __attribute_artificial__ = 
Skipping: __extern_inline = extern __inline __attribute__ ((__gnu_inline__))
Skipping: __extern_always_inline = \
  extern __always_inline __attribute__ ((__gnu_inline__))
Skipping: __extern_inline = extern __inline
Skipping: __extern_always_inline = extern __always_inline
Skipping: __extern_inline = 
Skipping: __extern_always_inline = 
Skipping: __extension__ = 
Skipping: __restrict = 
Skipping: __restrict_arr = __restrict
Skipping: __restrict_arr = 
Skipping: __restrict_arr = restrict
Skipping: __restrict_arr = 
Skipping: __WORDSIZE = _MIPS_SZPTR
Warning - could not find file gnu/stubs
Skipping: __S16_TYPE = short int
Skipping: __U16_TYPE = unsigned short int
Skipping: __U32_TYPE = unsigned int
Skipping: __SLONGWORD_TYPE = long int
Skipping: __ULONGWORD_TYPE = unsigned long int
Skipping: __SQUAD_TYPE = __quad_t
Skipping: __UQUAD_TYPE = __u_quad_t
Skipping: __UWORD_TYPE = unsigned int
Skipping: __SLONG32_TYPE = long int
Skipping: __ULONG32_TYPE = unsigned long int
Skipping: __S64_TYPE = __quad_t
Skipping: __U64_TYPE = __u_quad_t
Skipping: __STD_TYPE = __extension__ typedef
Skipping: __SQUAD_TYPE = long int
Skipping: __UQUAD_TYPE = unsigned long int
Skipping: __SWORD_TYPE = long int
Skipping: __UWORD_TYPE = unsigned long int
Skipping: __ULONG32_TYPE = unsigned int
Skipping: __S64_TYPE = long int
Skipping: __U64_TYPE = unsigned long int
Skipping: __STD_TYPE = typedef
Skipping: __DEV_T_TYPE = __UQUAD_TYPE
Skipping: __UID_T_TYPE = __U32_TYPE
Skipping: __GID_T_TYPE = __U32_TYPE
Skipping: __INO_T_TYPE = __ULONGWORD_TYPE
Skipping: __INO64_T_TYPE = __UQUAD_TYPE
Skipping: __MODE_T_TYPE = __U32_TYPE
Skipping: __NLINK_T_TYPE = __UWORD_TYPE
Skipping: __OFF_T_TYPE = __SLONGWORD_TYPE
Skipping: __OFF64_T_TYPE = __SQUAD_TYPE
Skipping: __RLIM_T_TYPE = __ULONGWORD_TYPE
Skipping: __RLIM64_T_TYPE = __UQUAD_TYPE
Skipping: __BLKCNT_T_TYPE = __SLONGWORD_TYPE
Skipping: __BLKCNT64_T_TYPE = __SQUAD_TYPE
Skipping: __FSBLKCNT_T_TYPE = __ULONGWORD_TYPE
Skipping: __FSBLKCNT64_T_TYPE = __UQUAD_TYPE
Skipping: __FSFILCNT_T_TYPE = __ULONGWORD_TYPE
Skipping: __FSFILCNT64_T_TYPE = __UQUAD_TYPE
Skipping: __ID_T_TYPE = __U32_TYPE
Skipping: __CLOCK_T_TYPE = __SLONGWORD_TYPE
Skipping: __TIME_T_TYPE = __SLONGWORD_TYPE
Skipping: __USECONDS_T_TYPE = __U32_TYPE
Skipping: __SUSECONDS_T_TYPE = __SLONGWORD_TYPE
Skipping: __TIMER_T_TYPE = void *
Skipping: __BLKSIZE_T_TYPE = __SLONGWORD_TYPE
Skipping: __FSID_T_TYPE = struct { int __val[2]; }
Skipping: __SYSCALL_SLONG_TYPE = __SLONGWORD_TYPE
Skipping: __SYSCALL_ULONG_TYPE = __ULONGWORD_TYPE
Warning - could not find file stddef.h
Skipping: CLOCKS_PER_SEC = 1000000l
Skipping: CLK_TCK = ((__clock_t) __sysconf (2))
Skipping: CLK_TCK = CLOCKS_PER_SEC
Warning - could not find file bits/byteswap
Skipping: _SIGSET_NWORDS = (1024 / (8 * sizeof (unsigned long int)))
Skipping: _EXTERN_INLINE = __extern_inline
Skipping: def __sigword(sig): return (((sig) - 1) / (8 * sizeof (unsigned long int)))

Skipping: __NFDBITS = (8 * (int) sizeof (__fd_mask))
Skipping: def __FD_MASK(d): return ((__fd_mask) 1 << ((d) % __NFDBITS))

Skipping: def __FDS_BITS(set): return ((set)->fds_bits)

Skipping: def __FDS_BITS(set): return ((set)->__fds_bits)

Skipping: NFDBITS = __NFDBITS
/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2
NOTE: make -j 16 CROSS_COMPILE=yes HOSTPGEN=/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/pgen HOSTPYTHON=/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/python3 STAGING_LIBDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib STAGING_BASELIBDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/lib STAGING_INCDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include BUILD_SYS=x86_64-linux HOST_SYS=mips-poky-linux LIB=lib ARCH=mips OPT= -O2 -pipe -g -feliminate-unused-debug-types libpython3.so
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/accu.o Objects/accu.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/boolobject.o Objects/boolobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/bytes_methods.o Objects/bytes_methods.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/bytearrayobject.o Objects/bytearrayobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/bytesobject.o Objects/bytesobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/cellobject.o Objects/cellobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/classobject.o Objects/classobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/codeobject.o Objects/codeobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/complexobject.o Objects/complexobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/descrobject.o Objects/descrobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/enumobject.o Objects/enumobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/exceptions.o Objects/exceptions.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/genobject.o Objects/genobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/fileobject.o Objects/fileobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/frameobject.o Objects/frameobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/funcobject.o Objects/funcobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/iterobject.o Objects/iterobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/listobject.o Objects/listobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/longobject.o Objects/longobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/dictobject.o Objects/dictobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/memoryobject.o Objects/memoryobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/methodobject.o Objects/methodobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/moduleobject.o Objects/moduleobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/namespaceobject.o Objects/namespaceobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/object.o Objects/object.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/capsule.o Objects/capsule.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/rangeobject.o Objects/rangeobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/setobject.o Objects/setobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/sliceobject.o Objects/sliceobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/structseq.o Objects/structseq.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/tupleobject.o Objects/tupleobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/unicodectype.o Objects/unicodectype.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Objects/weakrefobject.o Objects/weakrefobject.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/_warnings.o Python/_warnings.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/asdl.o Python/asdl.c
make Parser/pgen
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/bltinmodule.o Python/bltinmodule.c
make[1]: Entering directory `/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/dynamic_annotations.o Python/dynamic_annotations.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/ceval.o Python/ceval.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/codecs.o Python/codecs.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/errors.o Python/errors.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/frozenmain.o Python/frozenmain.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pyctype.o Python/pyctype.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/future.o Python/future.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/getargs.o Python/getargs.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/getcompiler.o Python/getcompiler.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/getcopyright.o Python/getcopyright.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -DPLATFORM='"linux"' -DARCH='"mips"' -DLIB='"lib"' -o Python/getplatform.o ./Python/getplatform.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/getversion.o Python/getversion.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/import.o Python/import.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -I. -o Python/importdl.o ./Python/importdl.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/marshal.o Python/marshal.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/modsupport.o Python/modsupport.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/parsetok_pgen.o Parser/parsetok_pgen.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/mystrtoul.o Python/mystrtoul.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/peephole.o Python/peephole.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pyarena.o Python/pyarena.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pyfpe.o Python/pyfpe.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pymath.o Python/pymath.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pystate.o Python/pystate.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pythonrun.o Python/pythonrun.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pytime.o Python/pytime.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/random.o Python/random.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/dynamic_annotations.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/parsetok_pgen.o Parser/pgenmain.o -lpthread -ldl  -lpthread -lutil -o Parser/pgen
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/structmember.o Python/structmember.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE \
		-DABIFLAGS='"m"' \
		-o Python/sysmodule.o ./Python/sysmodule.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/traceback.o Python/traceback.c
make[1]: Leaving directory `/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python3-native/pgen ./Grammar/Grammar Include/graminit.h Python/graminit.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/getopt.o Python/getopt.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pystrcmp.o Python/pystrcmp.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/pystrtod.o Python/pystrtod.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/dtoa.o Python/dtoa.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/formatter_unicode.o Python/formatter_unicode.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/fileutils.o Python/fileutils.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE \
		-DSOABI='"cpython-33m"' \
		-o Python/dynload_shlib.o ./Python/dynload_shlib.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/thread.o Python/thread.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Modules/config.o Modules/config.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -DPYTHONPATH='":plat-linux"' \
		-DPREFIX='"/usr"' \
		-DEXEC_PREFIX='"/usr"' \
		-DVERSION='"3.3"' \
		-DVPATH='""' \
		-DARCH='"mips"' -DLIB='"lib"' \
		-o Modules/getpath.o ./Modules/getpath.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Modules/main.o Modules/main.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Modules/gcmodule.o Modules/gcmodule.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_threadmodule.c -o Modules/_threadmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/signalmodule.c -o Modules/signalmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/posixmodule.c -o Modules/posixmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/errnomodule.c -o Modules/errnomodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/pwdmodule.c -o Modules/pwdmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_sre.c -o Modules/_sre.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_codecsmodule.c -o Modules/_codecsmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_weakref.c -o Modules/_weakref.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_functoolsmodule.c -o Modules/_functoolsmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/operator.c -o Modules/operator.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_collectionsmodule.c -o Modules/_collectionsmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/itertoolsmodule.c -o Modules/itertoolsmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/_localemodule.c -o Modules/_localemodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/_iomodule.c -o Modules/_iomodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/iobase.c -o Modules/iobase.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/fileio.c -o Modules/fileio.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/bytesio.c -o Modules/bytesio.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/bufferedio.c -o Modules/bufferedio.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/textio.c -o Modules/textio.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -I./Modules/_io -c ./Modules/_io/stringio.c -o Modules/stringio.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/zipimport.c -o Modules/zipimport.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/faulthandler.c -o Modules/faulthandler.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/symtablemodule.c -o Modules/symtablemodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/zlibmodule.c -o Modules/zlibmodule.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE  -c ./Modules/xxsubtype.c -o Modules/xxsubtype.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/frozen.o Python/frozen.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/ast.o Python/ast.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/compile.o Python/compile.c
make Include/graminit.h
make[1]: Entering directory `/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
make[1]: `Include/graminit.h' is up to date.
make[1]: Leaving directory `/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
touch Python/graminit.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/symtable.o Python/symtable.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Python/graminit.o Python/graminit.c
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE \
	      -DHGVERSION="\"`LC_ALL=C `\"" \
	      -DHGTAG="\"`LC_ALL=C `\"" \
	      -DHGBRANCH="\"`LC_ALL=C `\"" \
	      -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
if test libpython3.3m.so.1.0 != libpython3.3m.so; then \
		mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed -Wl,-hlibpython3.3m.so.1.0 -o libpython3.3m.so.1.0 Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/abstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/dynamic_annotations.o Python/errors.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/pytime.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o   Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o  Modules/_threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/operator.o  Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/zipimport.o  Modules/faulthandler.o  Modules/symtablemodule.o  Modules/zlibmodule.o  Modules/xxsubtype.o Python/frozen.o -lz   -lpthread -ldl  -lpthread -lutil  -lm ; \
		ln -f libpython3.3m.so.1.0 libpython3.3m.so; \
	else \
		mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed -o libpython3.3m.so Modules/getbuildinfo.o Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o Objects/abstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/dynamic_annotations.o Python/errors.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/pytime.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o   Python/thread.o Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o  Modules/_threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/operator.o  Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/zipimport.o  Modules/faulthandler.o  Modules/symtablemodule.o  Modules/zlibmodule.o  Modules/xxsubtype.o Python/frozen.o -lz   -lpthread -ldl  -lpthread -lutil  -lm ; \
	fi
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed -Wl,--no-as-needed -o libpython3.so -Wl,-hlibpython3.so libpython3.3m.so
oe_libinstall: cd /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2
oe_libinstall: install -d /srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/
oe_libinstall: install -m 0755 libpython3.3m.so /srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/
oe_libinstall: install -m 0755 libpython3.3m.so.1.0 /srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/
oe_libinstall: ln -sf libpython3.3m.so.1.0 /srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libpython3.3m.so
oe_libinstall: cd /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2
NOTE: make -j 16 CROSS_COMPILE=yes HOSTPGEN=/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python-native3/pgen HOSTPYTHON=/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/bin/python-native3/python3 STAGING_LIBDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib STAGING_INCDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include STAGING_BASELIBDIR=/srv/hdd/builds/world/tmp/sysroots/qemumips/lib BUILD_SYS=x86_64-linux HOST_SYS=mips-poky-linux LIB=lib ARCH=mips OPT= -O2 -pipe -g -feliminate-unused-debug-types
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Modules/python.o ./Modules/python.c
rm -f libpython3.3m.a
/usr/bin/install -c -m 644 ./Tools/gdb/libpython.py python-gdb.py
mips-poky-linux-ar rc libpython3.3m.a Modules/getbuildinfo.o
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -c -Wno-unused-result -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types   -I. -IInclude -I./Include   -fPIC -DPy_BUILD_CORE -o Modules/_testembed.o ./Modules/_testembed.c
mips-poky-linux-ar rc libpython3.3m.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Parser/myreadline.o Parser/parsetok.o Parser/tokenizer.o
mips-poky-linux-ar rc libpython3.3m.a Objects/abstract.o Objects/accu.o Objects/boolobject.o Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o Objects/cellobject.o Objects/classobject.o Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o Objects/enumobject.o Objects/exceptions.o Objects/genobject.o Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o Objects/funcobject.o Objects/iterobject.o Objects/listobject.o Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o Objects/methodobject.o Objects/moduleobject.o Objects/namespaceobject.o Objects/object.o Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o Objects/weakrefobject.o
mips-poky-linux-ar rc libpython3.3m.a Python/_warnings.o Python/Python-ast.o Python/asdl.o Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o Python/codecs.o Python/dynamic_annotations.o Python/errors.o Python/frozenmain.o Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o Python/pytime.o Python/random.o Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o Python/formatter_unicode.o Python/fileutils.o Python/dynload_shlib.o   Python/thread.o Python/frozen.o
mips-poky-linux-ar rc libpython3.3m.a Modules/config.o Modules/getpath.o Modules/main.o Modules/gcmodule.o 
mips-poky-linux-ar rc libpython3.3m.a Modules/_threadmodule.o  Modules/signalmodule.o  Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  Modules/operator.o  Modules/_collectionsmodule.o  Modules/itertoolsmodule.o  Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o Modules/stringio.o  Modules/zipimport.o  Modules/faulthandler.o  Modules/symtablemodule.o  Modules/zlibmodule.o  Modules/xxsubtype.o
mips-poky-linux-ranlib libpython3.3m.a
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed -Xlinker -export-dynamic -o python Modules/python.o -L. -lpython3.3m -lpthread -ldl  -lpthread -lutil -lz   -lm  
mips-poky-linux-gcc  -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -Wl,-O1  -Wl,--as-needed -Wl,-O1  -Wl,--as-needed -Xlinker -export-dynamic -o Modules/_testembed Modules/_testembed.o -L. -lpython3.3m -lpthread -ldl  -lpthread -lutil -lz   -lm  
_PYTHON_PROJECT_BASE=/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 _PYTHON_HOST_PLATFORM=linux-mips PYTHONPATH=./Lib:./Lib/plat-linux python3.3 -S -m sysconfig --generate-posix-vars
running build
running build_ext
INFO: Can't locate Tcl/Tk libs and/or headers
building '_struct' extension
creating build/temp.linux-mips-3.3/srv
creating build/temp.linux-mips-3.3/srv/hdd
creating build/temp.linux-mips-3.3/srv/hdd/builds
creating build/temp.linux-mips-3.3/srv/hdd/builds/world
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_struct.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_struct.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_struct.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_struct.cpython-33m.so
building '_ctypes_test' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes_test.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes_test.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes_test.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_ctypes_test.cpython-33m.so
building 'array' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/arraymodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/arraymodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/arraymodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/array.cpython-33m.so
building 'cmath' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cmathmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cmathmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cmathmodule.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lm -lpython3.3m -o build/lib.linux-mips-3.3/cmath.cpython-33m.so
building 'math' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mathmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mathmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mathmodule.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_math.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lm -lpython3.3m -o build/lib.linux-mips-3.3/math.cpython-33m.so
building 'time' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/timemodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/timemodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/timemodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/time.cpython-33m.so
building '_datetime' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_datetimemodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_datetimemodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_datetimemodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_datetime.cpython-33m.so
building '_random' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_randommodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_randommodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_randommodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_random.cpython-33m.so
building '_bisect' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bisectmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bisectmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bisectmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_bisect.cpython-33m.so
building '_heapq' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_heapqmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_heapqmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_heapqmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_heapq.cpython-33m.so
building '_pickle' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_pickle.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_pickle.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_pickle.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_pickle.cpython-33m.so
building 'atexit' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/atexitmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/atexitmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/atexitmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/atexit.cpython-33m.so
building '_json' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_json.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_json.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_json.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_json.cpython-33m.so
building '_testcapi' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testcapimodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testcapimodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testcapimodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_testcapi.cpython-33m.so
building '_testbuffer' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testbuffer.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testbuffer.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_testbuffer.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_testbuffer.cpython-33m.so
building '_lsprof' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lsprof.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lsprof.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/rotatingtree.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/rotatingtree.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lsprof.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/rotatingtree.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_lsprof.cpython-33m.so
building 'unicodedata' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/unicodedata.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/unicodedata.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/unicodedata.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/unicodedata.cpython-33m.so
building 'fcntl' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/fcntlmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/fcntlmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/fcntlmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/fcntl.cpython-33m.so
building 'grp' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/grpmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/grpmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/grpmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/grp.cpython-33m.so
building 'spwd' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/spwdmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/spwdmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/spwdmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/spwd.cpython-33m.so
building 'select' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/selectmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/selectmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/selectmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/select.cpython-33m.so
building 'parser' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/parsermodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/parsermodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/parsermodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/parser.cpython-33m.so
building 'mmap' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mmapmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mmapmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/mmapmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/mmap.cpython-33m.so
building 'syslog' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/syslogmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/syslogmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/syslogmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/syslog.cpython-33m.so
building 'audioop' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/audioop.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/audioop.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/audioop.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/audioop.cpython-33m.so
building 'readline' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/readline.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/readline.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/readline.o -L/usr/lib/termcap -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lreadline -lncurses -lpython3.3m -o build/lib.linux-mips-3.3/readline.cpython-33m.so
/srv/hdd/builds/world/tmp/sysroots/x86_64-linux/usr/libexec/mips32-poky-linux/gcc/mips-poky-linux/4.8.1/ld: warning: library search path "/usr/lib/termcap" is unsafe for cross-compilation
building '_crypt' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cryptmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cryptmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cryptmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lcrypt -lpython3.3m -o build/lib.linux-mips-3.3/_crypt.cpython-33m.so
building '_csv' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_csv.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_csv.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_csv.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_csv.cpython-33m.so
building '_posixsubprocess' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_posixsubprocess.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_posixsubprocess.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_posixsubprocess.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_posixsubprocess.cpython-33m.so
building '_socket' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/socketmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/socketmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/socketmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_socket.cpython-33m.so
building '_ssl' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ssl.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ssl.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ssl.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lssl -lcrypto -lpython3.3m -o build/lib.linux-mips-3.3/_ssl.cpython-33m.so
building '_hashlib' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_hashopenssl.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_hashopenssl.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_hashopenssl.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lssl -lcrypto -lpython3.3m -o build/lib.linux-mips-3.3/_hashlib.cpython-33m.so
building '_sha256' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha256module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha256module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha256module.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_sha256.cpython-33m.so
building '_sha512' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha512module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha512module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha512module.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_sha512.cpython-33m.so
building '_md5' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/md5module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/md5module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/md5module.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_md5.cpython-33m.so
building '_sha1' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha1module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha1module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/sha1module.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_sha1.cpython-33m.so
building '_sqlite3' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cache.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cache.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/connection.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/connection.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cursor.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cursor.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/microprotocols.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/microprotocols.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/prepare_protocol.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/prepare_protocol.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/row.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/row.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/statement.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/statement.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DMODULE_NAME="sqlite3" -DSQLITE_OMIT_LOAD_EXTENSION=1 -IModules/_sqlite -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/util.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/util.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cache.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/connection.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/cursor.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/microprotocols.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/module.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/prepare_protocol.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/row.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/statement.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_sqlite/util.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lsqlite3 -lpython3.3m -o build/lib.linux-mips-3.3/_sqlite3.cpython-33m.so
building '_dbm' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_NDBM_H -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_dbmmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_dbmmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_dbmmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lgdbm_compat -lpython3.3m -o build/lib.linux-mips-3.3/_dbm.cpython-33m.so
building '_gdbm' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_gdbmmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_gdbmmodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_gdbmmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lgdbm -lpython3.3m -o build/lib.linux-mips-3.3/_gdbm.cpython-33m.so
building 'termios' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/termios.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/termios.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/termios.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/termios.cpython-33m.so
building 'resource' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/resource.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/resource.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/resource.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/resource.cpython-33m.so
building 'nis' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/nismodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/nismodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/nismodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lnsl -lpython3.3m -o build/lib.linux-mips-3.3/nis.cpython-33m.so
building '_curses' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cursesmodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cursesmodule.o
/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cursesmodule.c: In function 'PyCurses_setupterm':
/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cursesmodule.c:2521:5: warning: implicit declaration of function 'setupterm' [-Wimplicit-function-declaration]
     if (!initialised_setupterm && setupterm(termstr,fd,&err) == ERR) {
     ^
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_cursesmodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lncurses -lpython3.3m -o build/lib.linux-mips-3.3/_curses.cpython-33m.so
building '_curses_panel' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_curses_panel.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_curses_panel.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_curses_panel.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpanel -lncurses -lpython3.3m -o build/lib.linux-mips-3.3/_curses_panel.cpython-33m.so
building 'binascii' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/binascii.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/binascii.o -DUSE_ZLIB_CRC32
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/binascii.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lz -lpython3.3m -o build/lib.linux-mips-3.3/binascii.cpython-33m.so
building '_bz2' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bz2module.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bz2module.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_bz2module.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lbz2 -lpython3.3m -o build/lib.linux-mips-3.3/_bz2.cpython-33m.so
building '_lzma' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lzmamodule.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lzmamodule.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_lzmamodule.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -llzma -lpython3.3m -o build/lib.linux-mips-3.3/_lzma.cpython-33m.so
building 'pyexpat' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/pyexpat.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/pyexpat.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlparse.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlparse.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlrole.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlrole.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmltok.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmltok.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/pyexpat.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlparse.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmlrole.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat/xmltok.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/pyexpat.cpython-33m.so
building '_elementtree' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DHAVE_EXPAT_CONFIG_H=1 -DUSE_PYEXPAT_CAPI -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/expat -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_elementtree.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_elementtree.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_elementtree.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_elementtree.cpython-33m.so
building '_multibytecodec' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/multibytecodec.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/multibytecodec.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/multibytecodec.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_multibytecodec.cpython-33m.so
building '_codecs_kr' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_kr.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_kr.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_kr.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_kr.cpython-33m.so
building '_codecs_jp' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_jp.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_jp.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_jp.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_jp.cpython-33m.so
building '_codecs_cn' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_cn.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_cn.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_cn.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_cn.cpython-33m.so
building '_codecs_tw' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_tw.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_tw.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_tw.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_tw.cpython-33m.so
building '_codecs_hk' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_hk.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_hk.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_hk.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_hk.cpython-33m.so
building '_codecs_iso2022' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_iso2022.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_iso2022.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/cjkcodecs/_codecs_iso2022.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_codecs_iso2022.cpython-33m.so
building '_decimal' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/_decimal.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/_decimal.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/basearith.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/constants.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/constants.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/context.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/context.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/convolute.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/convolute.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/crt.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/crt.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fnt.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fnt.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/io.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/io.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/memory.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/memory.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -DCONFIG_32=1 -DANSI=1 -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/transpose.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/transpose.o -Wextra -Wno-missing-field-initializers
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/_decimal.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/basearith.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/constants.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/context.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/convolute.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/crt.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/difradix2.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fnt.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/fourstep.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/io.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/memory.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/mpdecimal.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/numbertheory.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/sixstep.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_decimal/libmpdec/transpose.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_decimal.cpython-33m.so
building '_multiprocessing' extension
creating build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -IModules/_multiprocessing -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/multiprocessing.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/multiprocessing.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -IModules/_multiprocessing -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/semaphore.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/semaphore.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/multiprocessing.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_multiprocessing/semaphore.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/_multiprocessing.cpython-33m.so
building 'ossaudiodev' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/ossaudiodev.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/ossaudiodev.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/ossaudiodev.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lpython3.3m -o build/lib.linux-mips-3.3/ossaudiodev.cpython-33m.so
building '_ctypes' extension
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libffi-3.0.13/include -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libffi-3.0.13/include -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callbacks.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callbacks.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libffi-3.0.13/include -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callproc.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callproc.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libffi-3.0.13/include -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/stgdict.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/stgdict.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -fPIC -Wno-unused-result -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/libffi-3.0.13/include -I./Include -I. -IInclude -I/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Include -I/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2 -c /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/cfield.c -o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/cfield.o
mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32 -DNDEBUG -fno-inline --sysroot=/srv/hdd/builds/world/tmp/sysroots/qemumips -shared -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -O2 -pipe -g -feliminate-unused-debug-types build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/_ctypes.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callbacks.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/callproc.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/stgdict.o build/temp.linux-mips-3.3/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Modules/_ctypes/cfield.o -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib/mips-poky-linux/4.8.1 -L/srv/hdd/builds/world/tmp/sysroots/qemumips/lib -L/srv/hdd/builds/world/tmp/sysroots/qemumips/usr/lib -lffi -lpython3.3m -o build/lib.linux-mips-3.3/_ctypes.cpython-33m.so
running build_scripts
creating build/scripts-3.3
copying /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Tools/scripts/pydoc3 -> build/scripts-3.3
copying /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Tools/scripts/idle3 -> build/scripts-3.3
copying /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Tools/scripts/2to3 -> build/scripts-3.3
copying /srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/Python-3.3.2/Tools/scripts/pyvenv -> build/scripts-3.3
renaming build/scripts-3.3/pydoc3 to build/scripts-3.3/pydoc3.3
renaming build/scripts-3.3/idle3 to build/scripts-3.3/idle3.3
renaming build/scripts-3.3/2to3 to build/scripts-3.3/2to3-3.3
renaming build/scripts-3.3/pyvenv to build/scripts-3.3/pyvenv-3.3
DEBUG: Shell function do_compile finished

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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 23:05                   ` Saul Wold
@ 2013-08-01  4:32                     ` Khem Raj
  2013-08-01 14:47                     ` Khem Raj
  2013-08-01 20:19                     ` Khem Raj
  2 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-01  4:32 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 07/31/2013 03:51 PM, Khem Raj wrote:
>> 
>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> 
>>> 
>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>> 
>>> 
>> 
>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>> 
> 
> Yes, most of my builds are incremental until I throw them against the Autobuilder!

OK. I will try to cleansstate python3-native and rebuild python3-jinja and see if I can reproduce it

> 
> It seems that I also got a do_package failure, seems like it might be a host contamination issue
> 
>> NOTE: DO PACKAGE QA
>> ERROR: QA Issue: python3: The compile log indicates that host include and/or library paths were used.


That is known and  its because python machinery adds -L /usr/lib at link line it is harmless since nothing from that
path is picked up. To get this removed, I planned to work on it as follow up patch since this needs some deeper look


>>         Please check the log '/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/temp/log.do_compile' for more information.
>> NOTE: Checking Package: libpython3
> 
> I attached my do_compile log.
> 
> Sau!
> 
> <log.do_compile>



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 23:05                   ` Saul Wold
  2013-08-01  4:32                     ` Khem Raj
@ 2013-08-01 14:47                     ` Khem Raj
  2013-08-01 20:19                     ` Khem Raj
  2 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-01 14:47 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 07/31/2013 03:51 PM, Khem Raj wrote:
>> 
>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> 
>>> 
>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>> 
>>> 
>> 
>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>> 
> 
> Yes, most of my builds are incremental until I throw them against the Autobuilder!
> 
> It seems that I also got a do_package failure, seems like it might be a host contamination issue
> 
>> NOTE: DO PACKAGE QA
>> ERROR: QA Issue: python3: The compile log indicates that host include and/or library paths were used.
>>         Please check the log '/srv/hdd/builds/world/tmp/work/mips32-poky-linux/python3/3.3.2-r0.0/temp/log.do_compile' for more information.
>> NOTE: Checking Package: libpython3
> 
> I attached my do_compile log.
> 
> Sau!
> 
> <log.do_compile>


Saul,

I have fixed the QA error too and pushed fixes and rebased the pull tree. Can you give it a try?

Thanks
-Khem




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

* Re: [PATCH 00/24] Add python3 recipes
  2013-07-31 23:05                   ` Saul Wold
  2013-08-01  4:32                     ` Khem Raj
  2013-08-01 14:47                     ` Khem Raj
@ 2013-08-01 20:19                     ` Khem Raj
  2013-08-02  4:53                       ` Saul Wold
  2 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-08-01 20:19 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 07/31/2013 03:51 PM, Khem Raj wrote:
>> 
>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> 
>>> 
>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>> 
>>> 
>> 
>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>> 
> 
> Yes, most of my builds are incremental until I throw them against the Autobuilder!

Saul,

I was able to reproduce the incremental build issue. I have now fixed it and pushed a rebased branch to pull tree
in contrib. Please try it out

Thanks
-Khem



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-01 20:19                     ` Khem Raj
@ 2013-08-02  4:53                       ` Saul Wold
  2013-08-02  7:27                         ` Khem Raj
  2013-08-07  4:57                         ` Khem Raj
  0 siblings, 2 replies; 63+ messages in thread
From: Saul Wold @ 2013-08-02  4:53 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 08/01/2013 01:19 PM, Khem Raj wrote:
>
> On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:
>
>> On 07/31/2013 03:51 PM, Khem Raj wrote:
>>>
>>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>
>>>>
>>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>>>
>>>>
>>>
>>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>>>
>>
>> Yes, most of my builds are incremental until I throw them against the Autobuilder!
>
> Saul,
>
> I was able to reproduce the incremental build issue. I have now fixed it and pushed a rebased branch to pull tree
> in contrib. Please try it out
>

Almost there!  It looks like you have a ${PN} in the tarball name 
instead of ${BPN} and it's causing a multilib failure for zeromq.

> ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
> http://download.zeromq.org/lib32-zeromq-3.2.2.tar.gz:
> 2013-08-02 00:24:06 ERROR 404: Not Found.
>
> ERROR: Function failed: Fetcher failure for URL: 'http://download.zeromq.org/lib32-zeromq-3.2.2.tar.gz'. Unable to fetch URL from any source.
> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-zeromq/3.2.2-r1/temp/log.do_fetch.9470

Notice the lib32-zeromq-3.2.2.tar.gz instead of zeromq-3.2.2.tar.gz

Thanks
	Sau!


> Thanks
> -Khem
>
>
>


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-02  4:53                       ` Saul Wold
@ 2013-08-02  7:27                         ` Khem Raj
  2013-08-03 22:28                           ` Saul Wold
  2013-08-07  4:57                         ` Khem Raj
  1 sibling, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-08-02  7:27 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


On Aug 1, 2013, at 9:53 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 08/01/2013 01:19 PM, Khem Raj wrote:
>> 
>> On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> 
>>> On 07/31/2013 03:51 PM, Khem Raj wrote:
>>>> 
>>>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>> 
>>>>> 
>>>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>>>> 
>>>>> 
>>>> 
>>>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>>>> 
>>> 
>>> Yes, most of my builds are incremental until I throw them against the Autobuilder!
>> 
>> Saul,
>> 
>> I was able to reproduce the incremental build issue. I have now fixed it and pushed a rebased branch to pull tree
>> in contrib. Please try it out
>> 
> 
> Almost there!  It looks like you have a ${PN} in the tarball name instead of ${BPN} and it's causing a multilib failure for zeromq.

Yes. Pushed a fix on top of the branch plus another fix that I ran into was missing dependency on virtual/libntl




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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-02  7:27                         ` Khem Raj
@ 2013-08-03 22:28                           ` Saul Wold
  2013-08-05  5:10                             ` Saul Wold
  0 siblings, 1 reply; 63+ messages in thread
From: Saul Wold @ 2013-08-03 22:28 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 08/02/2013 12:27 AM, Khem Raj wrote:
>
> On Aug 1, 2013, at 9:53 PM, Saul Wold <sgw@linux.intel.com> wrote:
>
>> On 08/01/2013 01:19 PM, Khem Raj wrote:
>>>
>>> On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>
>>>> On 07/31/2013 03:51 PM, Khem Raj wrote:
>>>>>
>>>>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>>>
>>>>>>
>>>>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>>>>>
>>>>>>
>>>>>
>>>>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>>>>>
>>>>
>>>> Yes, most of my builds are incremental until I throw them against the Autobuilder!
>>>
>>> Saul,
>>>
>>> I was able to reproduce the incremental build issue. I have now fixed it and pushed a rebased branch to pull tree
>>> in contrib. Please try it out
>>>
>>
>> Almost there!  It looks like you have a ${PN} in the tarball name instead of ${BPN} and it's causing a multilib failure for zeromq.
>
> Yes. Pushed a fix on top of the branch plus another fix that I ran into was missing dependency on virtual/libntl
>
>
OK, Ran it on the Autobuilder last night, and came up with the following 
on a World build with multilib enabled:

> ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
> Rerun configure task after fixing this. The path was '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/Python-3.3.2'
> ERROR: Function failed: do_qa_configure
> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/temp/log.do_configure.13443
> NOTE: recipe lib32-python3-3.3.2-r0.0: task do_configure: Failed
> ERROR: Task 11368 (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb, do_configure) failed with exit code '1'
> NOTE: Running task 10412 of 21582 (ID: 12424, virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb, do_packagedata)
> NOTE: recipe lib32-quota-4.01-r1: task do_compile: Started
> ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
> Rerun configure task after fixing this. The path was '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
> ERROR: Function failed: do_qa_configure
> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/temp/log.do_configure.15796
> NOTE: recipe python3-3.3.2-r0.0: task do_configure: Failed
> ERROR: Task 80 (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb, do_configure) failed with exit code '1'

Summary of local.conf changes:
DISTRO = "poky"
PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
BB_NUMBER_THREADS = "16"
PARALLEL_MAKE = "-j 16"
SDKMACHINE ?= "x86_64"
DL_DIR = "/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
SSTATE_DIR ?= "/srv/www/vhosts/sstate.yoctoproject.org//multilib"
MACHINE = "qemux86"
PREMIRRORS = ""
BB_GENERATE_MIRROR_TARBALLS = "1"
ADTREPO = "http://adtrepo.yoctoproject.org//1.4+snapshot"


Sau!


>
>


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-03 22:28                           ` Saul Wold
@ 2013-08-05  5:10                             ` Saul Wold
  2013-08-05 17:50                               ` Khem Raj
  2013-08-06  5:29                               ` Khem Raj
  0 siblings, 2 replies; 63+ messages in thread
From: Saul Wold @ 2013-08-05  5:10 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

On 08/03/2013 03:28 PM, Saul Wold wrote:
> On 08/02/2013 12:27 AM, Khem Raj wrote:
>>
>> On Aug 1, 2013, at 9:53 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>
>>> On 08/01/2013 01:19 PM, Khem Raj wrote:
>>>>
>>>> On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>>
>>>>> On 07/31/2013 03:51 PM, Khem Raj wrote:
>>>>>>
>>>>>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>>>>
>>>>>>>
>>>>>>> Still seems to failing in Jinja, I wonder if the dependencies are
>>>>>>> correctly sinec it's nooking for native bits and the
>>>>>>> python3-native had not been installed yet.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> in my build from scratch several times, I never had this issue.
>>>>>> Did you do an incremental build to get to this issue ?
>>>>>>
>>>>>
>>>>> Yes, most of my builds are incremental until I throw them against
>>>>> the Autobuilder!
>>>>
>>>> Saul,
>>>>
>>>> I was able to reproduce the incremental build issue. I have now
>>>> fixed it and pushed a rebased branch to pull tree
>>>> in contrib. Please try it out
>>>>
>>>
>>> Almost there!  It looks like you have a ${PN} in the tarball name
>>> instead of ${BPN} and it's causing a multilib failure for zeromq.
>>
>> Yes. Pushed a fix on top of the branch plus another fix that I ran
>> into was missing dependency on virtual/libntl
>>
>>
> OK, Ran it on the Autobuilder last night, and came up with the following
> on a World build with multilib enabled:
>
>> ERROR: This autoconf log indicates errors, it looked at host include
>> and/or library paths while determining system capabilities.
>> Rerun configure task after fixing this. The path was
>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/Python-3.3.2'
>>
>> ERROR: Function failed: do_qa_configure
>> ERROR: Logfile of failure stored in:
>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/temp/log.do_configure.13443
>>
>> NOTE: recipe lib32-python3-3.3.2-r0.0: task do_configure: Failed
>> ERROR: Task 11368
>> (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>> do_configure) failed with exit code '1'
>> NOTE: Running task 10412 of 21582 (ID: 12424,
>> virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb,
>> do_packagedata)
>> NOTE: recipe lib32-quota-4.01-r1: task do_compile: Started
>> ERROR: This autoconf log indicates errors, it looked at host include
>> and/or library paths while determining system capabilities.
>> Rerun configure task after fixing this. The path was
>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
>>
>> ERROR: Function failed: do_qa_configure
>> ERROR: Logfile of failure stored in:
>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/temp/log.do_configure.15796
>>
>> NOTE: recipe python3-3.3.2-r0.0: task do_configure: Failed
>> ERROR: Task 80
>> (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>> do_configure) failed with exit code '1'
>
> Summary of local.conf changes:
> DISTRO = "poky"
> PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
> BB_NUMBER_THREADS = "16"
> PARALLEL_MAKE = "-j 16"
> SDKMACHINE ?= "x86_64"
> DL_DIR = "/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources"
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> SSTATE_DIR ?= "/srv/www/vhosts/sstate.yoctoproject.org//multilib"
> MACHINE = "qemux86"
> PREMIRRORS = ""
> BB_GENERATE_MIRROR_TARBALLS = "1"
> ADTREPO = "http://adtrepo.yoctoproject.org//1.4+snapshot"
>
>

Khem:

This are kind of killing my enthusiasm with python3

Another issue in jinja:

> RefactoringTool: There was 1 error:
> RefactoringTool: Can't parse ./ez_setup.py: ParseError: bad input: type=22, value='=', context=('', (54, 19))
> --- ./jinja/translators/python.py       (original)
> +++ ./jinja/translators/python.py       (refactored)

Sau!


> Sau!
>
>
>>
>>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-05  5:10                             ` Saul Wold
@ 2013-08-05 17:50                               ` Khem Raj
  2013-08-06  5:29                               ` Khem Raj
  1 sibling, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-05 17:50 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


>> OK, Ran it on the Autobuilder last night, and came up with the following
>> on a World build with multilib enabled:
>> 
>>> ERROR: This autoconf log indicates errors, it looked at host include
>>> and/or library paths while determining system capabilities.
>>> Rerun configure task after fixing this. The path was
>>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/Python-3.3.2'
>>> 
>>> ERROR: Function failed: do_qa_configure
>>> ERROR: Logfile of failure stored in:
>>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/temp/log.do_configure.13443
>>> 
>>> NOTE: recipe lib32-python3-3.3.2-r0.0: task do_configure: Failed
>>> ERROR: Task 11368
>>> (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>>> do_configure) failed with exit code '1'
>>> NOTE: Running task 10412 of 21582 (ID: 12424,
>>> virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb,
>>> do_packagedata)
>>> NOTE: recipe lib32-quota-4.01-r1: task do_compile: Started
>>> ERROR: This autoconf log indicates errors, it looked at host include
>>> and/or library paths while determining system capabilities.
>>> Rerun configure task after fixing this. The path was
>>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
>>> 
>>> ERROR: Function failed: do_qa_configure
>>> ERROR: Logfile of failure stored in:
>>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/temp/log.do_configure.15796
>>> 
>>> NOTE: recipe python3-3.3.2-r0.0: task do_configure: Failed
>>> ERROR: Task 80
>>> (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>>> do_configure) failed with exit code '1'
>> 
>> Summary of local.conf changes:
>> DISTRO = "poky"
>> PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
>> BB_NUMBER_THREADS = "16"
>> PARALLEL_MAKE = "-j 16"
>> SDKMACHINE ?= "x86_64"
>> DL_DIR = "/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources"
>> require conf/multilib.conf
>> MULTILIBS = "multilib:lib32"
>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>> SSTATE_DIR ?= "/srv/www/vhosts/sstate.yoctoproject.org//multilib"
>> MACHINE = "qemux86"
>> PREMIRRORS = ""
>> BB_GENERATE_MIRROR_TARBALLS = "1"
>> ADTREPO = "http://adtrepo.yoctoproject.org//1.4+snapshot"
>> 


I have not tested this combination myself. where you are building python3 itself as 32bit package
what I have tested is to be able to build it for default multilib only. I don't see much point of
having a 32bit variant of python on a 64bit machine when you have it available as a 64bit package.

I will try to find some time to look into it and reproduce it but it does not seem like a show stopper
use case.

>> 
> 
> Khem:
> 
> This are kind of killing my enthusiasm with python3
> 
> Another issue in jinja:
> 
>> RefactoringTool: There was 1 error:
>> RefactoringTool: Can't parse ./ez_setup.py: ParseError: bad input: type=22, value='=', context=('', (54, 19))
>> --- ./jinja/translators/python.py       (original)
>> +++ ./jinja/translators/python.py       (refactored)
> 


This was bad from me. I have fixed it and pushed the rebased tree.

> Sau!
> 
> 
>> Sau!
>> 
>> 
>>> 
>>> 
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>> 
>> 



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-05  5:10                             ` Saul Wold
  2013-08-05 17:50                               ` Khem Raj
@ 2013-08-06  5:29                               ` Khem Raj
  1 sibling, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-06  5:29 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


>>> 
>> OK, Ran it on the Autobuilder last night, and came up with the following
>> on a World build with multilib enabled:
>> 
>>> ERROR: This autoconf log indicates errors, it looked at host include
>>> and/or library paths while determining system capabilities.
>>> Rerun configure task after fixing this. The path was
>>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/Python-3.3.2'
>>> 
>>> ERROR: Function failed: do_qa_configure
>>> ERROR: Logfile of failure stored in:
>>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-python3/3.3.2-r0.0/temp/log.do_configure.13443
>>> 
>>> NOTE: recipe lib32-python3-3.3.2-r0.0: task do_configure: Failed
>>> ERROR: Task 11368
>>> (virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>>> do_configure) failed with exit code '1'
>>> NOTE: Running task 10412 of 21582 (ID: 12424,
>>> virtual:multilib:lib32:/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb,
>>> do_packagedata)
>>> NOTE: recipe lib32-quota-4.01-r1: task do_compile: Started
>>> ERROR: This autoconf log indicates errors, it looked at host include
>>> and/or library paths while determining system capabilities.
>>> Rerun configure task after fixing this. The path was
>>> '/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/Python-3.3.2'
>>> 
>>> ERROR: Function failed: do_qa_configure
>>> ERROR: Logfile of failure stored in:
>>> /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/i586-poky-linux/python3/3.3.2-r0.0/temp/log.do_configure.15796
>>> 
>>> NOTE: recipe python3-3.3.2-r0.0: task do_configure: Failed
>>> ERROR: Task 80
>>> (/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/meta/recipes-devtools/python/python3_3.3.2.bb,
>>> do_configure) failed with exit code '1'
>> 
>> Summary of local.conf changes:
>> DISTRO = "poky"
>> PACKAGE_CLASSES = "package_rpm package_deb package_ipk"
>> BB_NUMBER_THREADS = "16"
>> PARALLEL_MAKE = "-j 16"
>> SDKMACHINE ?= "x86_64"
>> DL_DIR = "/srv/www/vhosts/autobuilder.yoctoproject.org/current_sources"
>> require conf/multilib.conf
>> MULTILIBS = "multilib:lib32"
>> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
>> SSTATE_DIR ?= "/srv/www/vhosts/sstate.yoctoproject.org//multilib"
>> MACHINE = "qemux86"
>> PREMIRRORS = ""
>> BB_GENERATE_MIRROR_TARBALLS = "1"
>> ADTREPO = "http://adtrepo.yoctoproject.org//1.4+snapshot"
>> 


This is not reproducible on my end on multiple attempts. Built from scratch incremental anything
works ok python branch is on top of 

commit bc6258f88705b0e7989089a8666ac5e5d2355823
Author: Saul Wold <sgw@linux.intel.com>
Date:   Thu Aug 1 18:30:59 2013 -0700

    grep: Add patch for texinfo 5.1
    
    Signed-off-by: Saul Wold <sgw@linux.intel.com>


Build Configuration:
BB_VERSION        = "1.19.1"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "x86_64-oe-linux"
MACHINE           = "qemux86-64"
DISTRO_VERSION    = "oe-core.0"
TUNE_FEATURES     = "m64"
TARGET_FPU        = ""
meta-nslu2        = "master:392b7799314a49b00f20a1bef004f9b0a0c9c364"
meta              = "master:f902781f1cc6a7007060dfad3e3596688866ef87"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 917 tasks of which 834 didn't need to be rerun and all succeeded.



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

* Re: [PATCH 00/24] Add python3 recipes
  2013-08-02  4:53                       ` Saul Wold
  2013-08-02  7:27                         ` Khem Raj
@ 2013-08-07  4:57                         ` Khem Raj
  1 sibling, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-07  4:57 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core

I have updated the tree and rebased it on top of latest OE-Core
now python3-jinja should reliably build. Let me know if there are more issues.


On Aug 1, 2013, at 9:53 PM, Saul Wold <sgw@linux.intel.com> wrote:

> On 08/01/2013 01:19 PM, Khem Raj wrote:
>> 
>> On Jul 31, 2013, at 4:05 PM, Saul Wold <sgw@linux.intel.com> wrote:
>> 
>>> On 07/31/2013 03:51 PM, Khem Raj wrote:
>>>> 
>>>> On Jul 31, 2013, at 3:49 PM, Saul Wold <sgw@linux.intel.com> wrote:
>>>> 
>>>>> 
>>>>> Still seems to failing in Jinja, I wonder if the dependencies are correctly sinec it's nooking for native bits and the python3-native had not been installed yet.
>>>>> 
>>>>> 
>>>> 
>>>> in my build from scratch several times, I never had this issue. Did you do an incremental build to get to this issue ?
>>>> 
>>> 
>>> Yes, most of my builds are incremental until I throw them against the Autobuilder!
>> 
>> Saul,
>> 
>> I was able to reproduce the incremental build issue. I have now fixed it and pushed a rebased branch to pull tree
>> in contrib. Please try it out
>> 
> 
> Almost there!  It looks like you have a ${PN} in the tarball name instead of ${BPN} and it's causing a multilib failure for zeromq.
> 
>> ERROR: Fetcher failure: Fetch command failed with exit code 8, output:
>> http://download.zeromq.org/lib32-zeromq-3.2.2.tar.gz:
>> 2013-08-02 00:24:06 ERROR 404: Not Found.
>> 
>> ERROR: Function failed: Fetcher failure for URL: 'http://download.zeromq.org/lib32-zeromq-3.2.2.tar.gz'. Unable to fetch URL from any source.
>> ERROR: Logfile of failure stored in: /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-zeromq/3.2.2-r1/temp/log.do_fetch.9470
> 
> Notice the lib32-zeromq-3.2.2.tar.gz instead of zeromq-3.2.2.tar.gz
> 
> Thanks
> 	Sau!
> 
> 
>> Thanks
>> -Khem
>> 
>> 
>> 



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

* Re: [PATCH 12/24] python3: Add recipes
  2013-06-28 22:03 ` [PATCH 12/24] python3: Add recipes Khem Raj
@ 2013-08-26 13:32   ` Martin Jansa
  2013-08-26 17:38     ` Khem Raj
  2013-08-27  5:23     ` Khem Raj
  0 siblings, 2 replies; 63+ messages in thread
From: Martin Jansa @ 2013-08-26 13:32 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Fri, Jun 28, 2013 at 03:03:57PM -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  .../python/python3/000-cross-compile.patch         |   76 +++++
>  .../python3/020-dont-compile-python-files.patch    |   31 ++
>  .../python/python3/03-fix-tkinter-detection.patch  |   42 +++
>  .../python/python3/030-fixup-include-dirs.patch    |   36 ++
>  .../python/python3/04-default-is-optimized.patch   |   58 ++++
>  .../python3/06-ctypes-libffi-fix-configure.patch   |   44 +++
>  .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
>  .../python3/080-distutils-dont_adjust_files.patch  |   86 +++++
>  .../python/python3/110-enable-zlib.patch           |   15 +
>  .../python/python3/130-readline-setup.patch        |   49 +++
>  .../python/python3/140-verbose-sharedmods.patch    |   10 +
>  .../python/python3/150-fix-setupterm.patch         |   11 +
>  .../python3/avoid_warning_about_tkinter.patch      |   25 ++
>  meta/recipes-devtools/python/python3/cgi_py.patch  |   23 ++
>  .../python3/fix_for_using_different_libdir.patch   |   54 +++
>  .../python/python3/h2py-pr13032.patch              |  185 +++++++++++
>  .../python3/host_include_contamination.patch       |   28 ++
>  .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++++++++++
>  .../python/python3/remove_sqlite_rpath.patch       |   19 ++
>  .../python/python3/setuptweaks.patch               |   57 ++++
>  .../python/python3/shutil-follow-symlink-fix.patch |   11 +
>  .../python/python3/sitecustomize.py                |   37 +++
>  .../sys_platform_is_now_always_linux2.patch        |   29 ++
>  meta/recipes-devtools/python/python3_3.3.0.bb      |  203 ++++++++++++
>  24 files changed, 1507 insertions(+)
>  create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
>  create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
>  create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
>  create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
>  create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
>  create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
>  create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
>  create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
>  create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
>  create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
>  create mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
>  create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
>  create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
>  create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
>  create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
>  create mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
>  create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
>  create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
>  create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
>  create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
>  create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
>  create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
>  create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
>  create mode 100644 meta/recipes-devtools/python/python3_3.3.0.bb

When testing this on another host I got:

ERROR: This autoconf log indicates errors, it looked at host include
and/or library paths while determining system capabilities.
Rerun configure task after fixing this. The path was
'/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/Python-3.3.2'
ERROR: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/temp/log.do_configure.13003
ERROR: Task 58
(/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python3_3.3.2.bb,
do_configure) failed with exit code '1'


configure:6972: x86_64-oe-linux-gcc  -m64 -DNDEBUG -fno-inline
--sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g
-feliminate-unused-debug-types  -I/usr/include/ncursesw conftest.c >&5
cc1: warning: include location "/usr/include/ncursesw" is unsafe for
cross-compilation [-Wpoison-system-directories]
conftest.c:63:19: fatal error: conio.h: No such file or directory
 #include <conio.h>
                   ^
compilation terminated.


and from test-dependencies.sh run there is undeterministic lzma
dependency:

WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on  liblzma

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-26 13:32   ` Martin Jansa
@ 2013-08-26 17:38     ` Khem Raj
  2013-08-27  5:23     ` Khem Raj
  1 sibling, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-26 17:38 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Aug 26, 2013, at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> When testing this on another host I got:
> 
> ERROR: This autoconf log indicates errors, it looked at host include
> and/or library paths while determining system capabilities.
> Rerun configure task after fixing this. The path was
> '/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/Python-3.3.2'
> ERROR: Function failed: do_qa_configure
> ERROR: Logfile of failure stored in:
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/temp/log.do_configure.13003
> ERROR: Task 58
> (/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python3_3.3.2.bb,
> do_configure) failed with exit code '1'
> 
> 
> configure:6972: x86_64-oe-linux-gcc  -m64 -DNDEBUG -fno-inline
> --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g
> -feliminate-unused-debug-types  -I/usr/include/ncursesw conftest.c >&5
> cc1: warning: include location "/usr/include/ncursesw" is unsafe for
> cross-compilation [-Wpoison-system-directories]
> conftest.c:63:19: fatal error: conio.h: No such file or directory
> #include <conio.h>
>                   ^
> compilation terminated.

interesting. since I think I have a patch in there to address the contamination issue.
see http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/python3&id=1b4847faa6af86516b4ff451d9cc44f565c7d398
whats your build host OS ?


> 
> 
> and from test-dependencies.sh run there is undeterministic lzma
> dependency:
> 
> WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on  liblzma

Thanks, I will add that explicitly.


> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-26 13:32   ` Martin Jansa
  2013-08-26 17:38     ` Khem Raj
@ 2013-08-27  5:23     ` Khem Raj
  2013-08-27  7:45       ` Martin Jansa
  1 sibling, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-08-27  5:23 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Aug 26, 2013, at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:

> On Fri, Jun 28, 2013 at 03:03:57PM -0700, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>> .../python/python3/000-cross-compile.patch         |   76 +++++
>> .../python3/020-dont-compile-python-files.patch    |   31 ++
>> .../python/python3/03-fix-tkinter-detection.patch  |   42 +++
>> .../python/python3/030-fixup-include-dirs.patch    |   36 ++
>> .../python/python3/04-default-is-optimized.patch   |   58 ++++
>> .../python3/06-ctypes-libffi-fix-configure.patch   |   44 +++
>> .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
>> .../python3/080-distutils-dont_adjust_files.patch  |   86 +++++
>> .../python/python3/110-enable-zlib.patch           |   15 +
>> .../python/python3/130-readline-setup.patch        |   49 +++
>> .../python/python3/140-verbose-sharedmods.patch    |   10 +
>> .../python/python3/150-fix-setupterm.patch         |   11 +
>> .../python3/avoid_warning_about_tkinter.patch      |   25 ++
>> meta/recipes-devtools/python/python3/cgi_py.patch  |   23 ++
>> .../python3/fix_for_using_different_libdir.patch   |   54 +++
>> .../python/python3/h2py-pr13032.patch              |  185 +++++++++++
>> .../python3/host_include_contamination.patch       |   28 ++
>> .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++++++++++
>> .../python/python3/remove_sqlite_rpath.patch       |   19 ++
>> .../python/python3/setuptweaks.patch               |   57 ++++
>> .../python/python3/shutil-follow-symlink-fix.patch |   11 +
>> .../python/python3/sitecustomize.py                |   37 +++
>> .../sys_platform_is_now_always_linux2.patch        |   29 ++
>> meta/recipes-devtools/python/python3_3.3.0.bb      |  203 ++++++++++++
>> 24 files changed, 1507 insertions(+)
>> create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
>> create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
>> create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
>> create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
>> create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
>> create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
>> create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
>> create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
>> create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
>> create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
>> create mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
>> create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
>> create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
>> create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
>> create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
>> create mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
>> create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
>> create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
>> create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
>> create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
>> create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
>> create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
>> create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
>> create mode 100644 meta/recipes-devtools/python/python3_3.3.0.bb
> 
> When testing this on another host I got:
> 
> ERROR: This autoconf log indicates errors, it looked at host include
> and/or library paths while determining system capabilities.
> Rerun configure task after fixing this. The path was
> '/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/Python-3.3.2'
> ERROR: Function failed: do_qa_configure
> ERROR: Logfile of failure stored in:
> /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/temp/log.do_configure.13003
> ERROR: Task 58
> (/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python3_3.3.2.bb,
> do_configure) failed with exit code '1'
> 
> 
> configure:6972: x86_64-oe-linux-gcc  -m64 -DNDEBUG -fno-inline
> --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g
> -feliminate-unused-debug-types  -I/usr/include/ncursesw conftest.c >&5
> cc1: warning: include location "/usr/include/ncursesw" is unsafe for
> cross-compilation [-Wpoison-system-directories]
> conftest.c:63:19: fatal error: conio.h: No such file or directory
> #include <conio.h>
>                   ^
> compilation terminated.

I think you might have been testing older pull tree since. Try it with todays tree
I believe this issue was fixed some time ago already.


> 
> 
> and from test-dependencies.sh run there is undeterministic lzma
> dependency:
> 
> WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on  liblzma
> 

I have aded a patch on top of pull tree to fix it.

> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com



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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-27  5:23     ` Khem Raj
@ 2013-08-27  7:45       ` Martin Jansa
  2013-08-27  7:48         ` Martin Jansa
  0 siblings, 1 reply; 63+ messages in thread
From: Martin Jansa @ 2013-08-27  7:45 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Mon, Aug 26, 2013 at 10:23:22PM -0700, Khem Raj wrote:
> 
> On Aug 26, 2013, at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> > On Fri, Jun 28, 2013 at 03:03:57PM -0700, Khem Raj wrote:
> >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >> ---
> >> .../python/python3/000-cross-compile.patch         |   76 +++++
> >> .../python3/020-dont-compile-python-files.patch    |   31 ++
> >> .../python/python3/03-fix-tkinter-detection.patch  |   42 +++
> >> .../python/python3/030-fixup-include-dirs.patch    |   36 ++
> >> .../python/python3/04-default-is-optimized.patch   |   58 ++++
> >> .../python3/06-ctypes-libffi-fix-configure.patch   |   44 +++
> >> .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
> >> .../python3/080-distutils-dont_adjust_files.patch  |   86 +++++
> >> .../python/python3/110-enable-zlib.patch           |   15 +
> >> .../python/python3/130-readline-setup.patch        |   49 +++
> >> .../python/python3/140-verbose-sharedmods.patch    |   10 +
> >> .../python/python3/150-fix-setupterm.patch         |   11 +
> >> .../python3/avoid_warning_about_tkinter.patch      |   25 ++
> >> meta/recipes-devtools/python/python3/cgi_py.patch  |   23 ++
> >> .../python3/fix_for_using_different_libdir.patch   |   54 +++
> >> .../python/python3/h2py-pr13032.patch              |  185 +++++++++++
> >> .../python3/host_include_contamination.patch       |   28 ++
> >> .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++++++++++
> >> .../python/python3/remove_sqlite_rpath.patch       |   19 ++
> >> .../python/python3/setuptweaks.patch               |   57 ++++
> >> .../python/python3/shutil-follow-symlink-fix.patch |   11 +
> >> .../python/python3/sitecustomize.py                |   37 +++
> >> .../sys_platform_is_now_always_linux2.patch        |   29 ++
> >> meta/recipes-devtools/python/python3_3.3.0.bb      |  203 ++++++++++++
> >> 24 files changed, 1507 insertions(+)
> >> create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
> >> create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
> >> create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
> >> create mode 100644 meta/recipes-devtools/python/python3_3.3.0.bb
> > 
> > When testing this on another host I got:
> > 
> > ERROR: This autoconf log indicates errors, it looked at host include
> > and/or library paths while determining system capabilities.
> > Rerun configure task after fixing this. The path was
> > '/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/Python-3.3.2'
> > ERROR: Function failed: do_qa_configure
> > ERROR: Logfile of failure stored in:
> > /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/temp/log.do_configure.13003
> > ERROR: Task 58
> > (/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python3_3.3.2.bb,
> > do_configure) failed with exit code '1'
> > 
> > 
> > configure:6972: x86_64-oe-linux-gcc  -m64 -DNDEBUG -fno-inline
> > --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g
> > -feliminate-unused-debug-types  -I/usr/include/ncursesw conftest.c >&5
> > cc1: warning: include location "/usr/include/ncursesw" is unsafe for
> > cross-compilation [-Wpoison-system-directories]
> > conftest.c:63:19: fatal error: conio.h: No such file or directory
> > #include <conio.h>
> >                   ^
> > compilation terminated.
> 
> I think you might have been testing older pull tree since. Try it with todays tree
> I believe this issue was fixed some time ago already.

You're right I was missing that commit for some reason.

> 
> > 
> > 
> > and from test-dependencies.sh run there is undeterministic lzma
> > dependency:
> > 
> > WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on  liblzma
> > 
> 
> I have aded a patch on top of pull tree to fix it.

python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc

doesn't look like right fix, something in python3-misc is linked to
liblzma

DEBUG: calculating shlib requirements for python3-misc
DEBUG: python3-misc: Dependency libpython3.3m.so.1.0 requires package libpython3
DEBUG: python3-misc: Dependency libc.so.6 requires package eglibc
DEBUG: python3-misc: Dependency liblzma.so.5 requires package liblzma
DEBUG: python3-misc: Dependency libbz2.so.0 requires package libbz2
DEBUG: python3-misc: Dependency libcrypt.so.1 requires package eglibc

so you should add it to DEPENDS not RDEPENDS (Adding it to RDEPENDS
hides this message from test-dependencies.sh, but support for lzma in
python3-misc would stay nondeterministic).

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-27  7:45       ` Martin Jansa
@ 2013-08-27  7:48         ` Martin Jansa
  2013-08-27 18:10           ` Khem Raj
  0 siblings, 1 reply; 63+ messages in thread
From: Martin Jansa @ 2013-08-27  7:48 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Tue, Aug 27, 2013 at 09:45:31AM +0200, Martin Jansa wrote:
> On Mon, Aug 26, 2013 at 10:23:22PM -0700, Khem Raj wrote:
> > 
> > On Aug 26, 2013, at 6:32 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > 
> > > On Fri, Jun 28, 2013 at 03:03:57PM -0700, Khem Raj wrote:
> > >> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > >> ---
> > >> .../python/python3/000-cross-compile.patch         |   76 +++++
> > >> .../python3/020-dont-compile-python-files.patch    |   31 ++
> > >> .../python/python3/03-fix-tkinter-detection.patch  |   42 +++
> > >> .../python/python3/030-fixup-include-dirs.patch    |   36 ++
> > >> .../python/python3/04-default-is-optimized.patch   |   58 ++++
> > >> .../python3/06-ctypes-libffi-fix-configure.patch   |   44 +++
> > >> .../python3/070-dont-clean-ipkg-install.patch      |   30 ++
> > >> .../python3/080-distutils-dont_adjust_files.patch  |   86 +++++
> > >> .../python/python3/110-enable-zlib.patch           |   15 +
> > >> .../python/python3/130-readline-setup.patch        |   49 +++
> > >> .../python/python3/140-verbose-sharedmods.patch    |   10 +
> > >> .../python/python3/150-fix-setupterm.patch         |   11 +
> > >> .../python3/avoid_warning_about_tkinter.patch      |   25 ++
> > >> meta/recipes-devtools/python/python3/cgi_py.patch  |   23 ++
> > >> .../python3/fix_for_using_different_libdir.patch   |   54 +++
> > >> .../python/python3/h2py-pr13032.patch              |  185 +++++++++++
> > >> .../python3/host_include_contamination.patch       |   28 ++
> > >> .../python/python3/python-3.3-multilib.patch       |  348 ++++++++++++++++++++
> > >> .../python/python3/remove_sqlite_rpath.patch       |   19 ++
> > >> .../python/python3/setuptweaks.patch               |   57 ++++
> > >> .../python/python3/shutil-follow-symlink-fix.patch |   11 +
> > >> .../python/python3/sitecustomize.py                |   37 +++
> > >> .../sys_platform_is_now_always_linux2.patch        |   29 ++
> > >> meta/recipes-devtools/python/python3_3.3.0.bb      |  203 ++++++++++++
> > >> 24 files changed, 1507 insertions(+)
> > >> create mode 100644 meta/recipes-devtools/python/python3/000-cross-compile.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/03-fix-tkinter-detection.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/030-fixup-include-dirs.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/04-default-is-optimized.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/06-ctypes-libffi-fix-configure.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/070-dont-clean-ipkg-install.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/080-distutils-dont_adjust_files.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/110-enable-zlib.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/130-readline-setup.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/140-verbose-sharedmods.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/150-fix-setupterm.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/avoid_warning_about_tkinter.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/cgi_py.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/fix_for_using_different_libdir.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/h2py-pr13032.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/host_include_contamination.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/python-3.3-multilib.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/remove_sqlite_rpath.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/setuptweaks.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/shutil-follow-symlink-fix.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3/sitecustomize.py
> > >> create mode 100644 meta/recipes-devtools/python/python3/sys_platform_is_now_always_linux2.patch
> > >> create mode 100644 meta/recipes-devtools/python/python3_3.3.0.bb
> > > 
> > > When testing this on another host I got:
> > > 
> > > ERROR: This autoconf log indicates errors, it looked at host include
> > > and/or library paths while determining system capabilities.
> > > Rerun configure task after fixing this. The path was
> > > '/OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/Python-3.3.2'
> > > ERROR: Function failed: do_qa_configure
> > > ERROR: Logfile of failure stored in:
> > > /OE/shr-core/tmp-eglibc/work/x86_64-oe-linux/python3/3.3.2-r0.0/temp/log.do_configure.13003
> > > ERROR: Task 58
> > > (/OE/shr-core/openembedded-core/meta/recipes-devtools/python/python3_3.3.2.bb,
> > > do_configure) failed with exit code '1'
> > > 
> > > 
> > > configure:6972: x86_64-oe-linux-gcc  -m64 -DNDEBUG -fno-inline
> > > --sysroot=/OE/shr-core/tmp-eglibc/sysroots/qemux86-64 -c -O2 -pipe -g
> > > -feliminate-unused-debug-types  -I/usr/include/ncursesw conftest.c >&5
> > > cc1: warning: include location "/usr/include/ncursesw" is unsafe for
> > > cross-compilation [-Wpoison-system-directories]
> > > conftest.c:63:19: fatal error: conio.h: No such file or directory
> > > #include <conio.h>
> > >                   ^
> > > compilation terminated.
> > 
> > I think you might have been testing older pull tree since. Try it with todays tree
> > I believe this issue was fixed some time ago already.
> 
> You're right I was missing that commit for some reason.
> 
> > 
> > > 
> > > 
> > > and from test-dependencies.sh run there is undeterministic lzma
> > > dependency:
> > > 
> > > WARN: packages/armv5te-oe-linux-gnueabi/python3/python3-misc/latest lost dependency on  liblzma
> > > 
> > 
> > I have aded a patch on top of pull tree to fix it.
> 
> python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc
> 
> doesn't look like right fix, something in python3-misc is linked to
> liblzma
> 
> DEBUG: calculating shlib requirements for python3-misc
> DEBUG: python3-misc: Dependency libpython3.3m.so.1.0 requires package libpython3
> DEBUG: python3-misc: Dependency libc.so.6 requires package eglibc
> DEBUG: python3-misc: Dependency liblzma.so.5 requires package liblzma
> DEBUG: python3-misc: Dependency libbz2.so.0 requires package libbz2
> DEBUG: python3-misc: Dependency libcrypt.so.1 requires package eglibc
> 
> so you should add it to DEPENDS not RDEPENDS (Adding it to RDEPENDS
> hides this message from test-dependencies.sh, but support for lzma in
> python3-misc would stay nondeterministic).

That something is python lzmamodule packaged in python3-misc :)

setup.py:
        # LZMA compression support.
        if self.compiler.find_library_file(lib_dirs, 'lzma'):
            exts.append( Extension('_lzma', ['_lzmamodule.c'],
                                   libraries = ['lzma']) )
        else:
            missing.append('_lzma')

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-27  7:48         ` Martin Jansa
@ 2013-08-27 18:10           ` Khem Raj
  2013-08-27 18:15             ` Martin Jansa
  0 siblings, 1 reply; 63+ messages in thread
From: Khem Raj @ 2013-08-27 18:10 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Aug 27, 2013, at 12:48 AM, Martin Jansa <martin.jansa@gmail.com> wrote:

>> 
>> python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc
>> 
>> doesn't look like right fix, something in python3-misc is linked to
>> liblzma
>> 
>> DEBUG: calculating shlib requirements for python3-misc
>> DEBUG: python3-misc: Dependency libpython3.3m.so.1.0 requires package libpython3
>> DEBUG: python3-misc: Dependency libc.so.6 requires package eglibc
>> DEBUG: python3-misc: Dependency liblzma.so.5 requires package liblzma
>> DEBUG: python3-misc: Dependency libbz2.so.0 requires package libbz2
>> DEBUG: python3-misc: Dependency libcrypt.so.1 requires package eglibc
>> 
>> so you should add it to DEPENDS not RDEPENDS (Adding it to RDEPENDS
>> hides this message from test-dependencies.sh, but support for lzma in
>> python3-misc would stay nondeterministic).


why ? wont RDEPENDS ask for getting it built before ?

> 
> That something is python lzmamodule packaged in python3-misc :)
> 
> setup.py:
>        # LZMA compression support.
>        if self.compiler.find_library_file(lib_dirs, 'lzma'):
>            exts.append( Extension('_lzma', ['_lzmamodule.c'],
>                                   libraries = ['lzma']) )
>        else:
>            missing.append('_lzma')
> 



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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-27 18:10           ` Khem Raj
@ 2013-08-27 18:15             ` Martin Jansa
  2013-08-28  6:23               ` Khem Raj
  0 siblings, 1 reply; 63+ messages in thread
From: Martin Jansa @ 2013-08-27 18:15 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

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

On Tue, Aug 27, 2013 at 11:10:34AM -0700, Khem Raj wrote:
> 
> On Aug 27, 2013, at 12:48 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> 
> >> 
> >> python3_3.3.2.bb: Add liblzma to RDEPENDS for python3-misc
> >> 
> >> doesn't look like right fix, something in python3-misc is linked to
> >> liblzma
> >> 
> >> DEBUG: calculating shlib requirements for python3-misc
> >> DEBUG: python3-misc: Dependency libpython3.3m.so.1.0 requires package libpython3
> >> DEBUG: python3-misc: Dependency libc.so.6 requires package eglibc
> >> DEBUG: python3-misc: Dependency liblzma.so.5 requires package liblzma
> >> DEBUG: python3-misc: Dependency libbz2.so.0 requires package libbz2
> >> DEBUG: python3-misc: Dependency libcrypt.so.1 requires package eglibc
> >> 
> >> so you should add it to DEPENDS not RDEPENDS (Adding it to RDEPENDS
> >> hides this message from test-dependencies.sh, but support for lzma in
> >> python3-misc would stay nondeterministic).
> 
> 
> why ? wont RDEPENDS ask for getting it built before ?

before do_package but not before do_configure

> 
> > 
> > That something is python lzmamodule packaged in python3-misc :)
> > 
> > setup.py:
> >        # LZMA compression support.
> >        if self.compiler.find_library_file(lib_dirs, 'lzma'):
> >            exts.append( Extension('_lzma', ['_lzmamodule.c'],
> >                                   libraries = ['lzma']) )
> >        else:
> >            missing.append('_lzma')
> > 
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: [PATCH 12/24] python3: Add recipes
  2013-08-27 18:15             ` Martin Jansa
@ 2013-08-28  6:23               ` Khem Raj
  0 siblings, 0 replies; 63+ messages in thread
From: Khem Raj @ 2013-08-28  6:23 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-core


On Aug 27, 2013, at 11:15 AM, Martin Jansa <martin.jansa@gmail.com> wrote:

> before do_package but not before do_configure
> 

I have thusly changed it to a DEPENDS and pushed the reworked patch to pull tree here
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/python3&id=1b18148bb97b366393bf62c24cc0b90cd8d2b8b5

>> 
>>> 
>>> That something is python lzmamodule packaged in python3-misc :)
>>> 
>>> setup.py:
>>>       # LZMA compression support.
>>>       if self.compiler.find_library_file(lib_dirs, 'lzma'):
>>>           exts.append( Extension('_lzma', ['_lzmamodule.c'],
>>>                                  libraries = ['lzma']) )
>>>       else:
>>>           missing.append('_lzma')
>>> 
>> 
> 



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

end of thread, other threads:[~2013-08-28  6:23 UTC | newest]

Thread overview: 63+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-28 21:59 [PATCH 00/24] Add python3 recipes Khem Raj
2013-06-28 22:03 ` [PATCH 01/24] generate-manifest-3.3.py: Add script to generate python 3.3 manifests Khem Raj
2013-06-28 22:03 ` [PATCH 02/24] python3native.bbclass: Add python3 abstraction class Khem Raj
2013-06-28 22:03 ` [PATCH 03/24] package_rpm.bbclass:Make the regexp less greedy Khem Raj
2013-06-28 22:03 ` [PATCH 04/24] classes/distutils: Introduce PYTHON_PN Khem Raj
2013-06-29  5:29   ` Martin Jansa
2013-06-29 14:07     ` Khem Raj
2013-06-28 22:03 ` [PATCH 05/24] classes: Add distutils for python3 Khem Raj
2013-06-28 22:03 ` [PATCH 06/24] setuptools.bbclass: Use python-distribute instead of python-setuptools Khem Raj
2013-06-28 22:03 ` [PATCH 07/24] distutils3.bbclass: Port the distutils class fix to handle filenames with spaces Khem Raj
2013-06-28 22:03 ` [PATCH 08/24] setuptools3.bbclass: Remove useless multiline comment Khem Raj
2013-06-28 22:03 ` [PATCH 09/24] distutils: Introduce PYTHON_ABI variable Khem Raj
2013-06-28 22:03 ` [PATCH 10/24] distutils3: Do build_ext as separate step during compile Khem Raj
2013-06-28 22:03 ` [PATCH 11/24] python-3.3-manifest: Add python3 manifest file Khem Raj
2013-06-28 22:03 ` [PATCH 12/24] python3: Add recipes Khem Raj
2013-08-26 13:32   ` Martin Jansa
2013-08-26 17:38     ` Khem Raj
2013-08-27  5:23     ` Khem Raj
2013-08-27  7:45       ` Martin Jansa
2013-08-27  7:48         ` Martin Jansa
2013-08-27 18:10           ` Khem Raj
2013-08-27 18:15             ` Martin Jansa
2013-08-28  6:23               ` Khem Raj
2013-06-28 22:03 ` [PATCH 13/24] python3: Add native recipe Khem Raj
2013-06-28 22:03 ` [PATCH 14/24] python_2.7.3.bb: Inherit python-dir Khem Raj
2013-06-28 22:04 ` [PATCH 15/24] ipython: Add recipes for ipython2 and ipython3 Khem Raj
2013-06-28 22:04 ` [PATCH 16/24] python-distribute: Add recipes for python2 and python3 Khem Raj
2013-07-08 10:49   ` Martin Jansa
2013-06-28 22:04 ` [PATCH 17/24] zeromq: Add recipe Khem Raj
2013-06-28 22:04 ` [PATCH 18/24] pyzmq: Add recipes using python3 Khem Raj
2013-06-28 22:04 ` [PATCH 19/24] python3-pycurl: Add recipe Khem Raj
2013-07-08 10:44   ` Martin Jansa
2013-06-28 22:04 ` [PATCH 20/24] python3-docutils: " Khem Raj
2013-06-28 22:04 ` [PATCH 21/24] python3-jinja: Recipe for python3 templating system Khem Raj
2013-06-30 10:30   ` Martin Jansa
2013-06-28 22:04 ` [PATCH 22/24] python3-nose: Testing tools for python Khem Raj
2013-06-28 22:04 ` [PATCH 23/24] python3-sphinx: New recipe for documentation system Khem Raj
2013-06-28 22:04 ` [PATCH 24/24] python3: Upgrade to 3.3.2 Khem Raj
2013-07-08 10:37   ` Paul Eggleton
2013-06-29  5:38 ` [PATCH 00/24] Add python3 recipes Martin Jansa
2013-06-29 14:11   ` Khem Raj
2013-06-29 15:31     ` Martin Jansa
2013-06-29 17:43       ` Khem Raj
2013-07-30  8:16       ` Khem Raj
2013-07-30 16:45         ` Saul Wold
2013-07-30 18:28           ` Khem Raj
2013-07-31 20:40         ` Saul Wold
2013-07-31 20:59           ` Khem Raj
2013-07-31 22:31             ` Khem Raj
2013-07-31 22:49               ` Saul Wold
2013-07-31 22:51                 ` Khem Raj
2013-07-31 23:05                   ` Saul Wold
2013-08-01  4:32                     ` Khem Raj
2013-08-01 14:47                     ` Khem Raj
2013-08-01 20:19                     ` Khem Raj
2013-08-02  4:53                       ` Saul Wold
2013-08-02  7:27                         ` Khem Raj
2013-08-03 22:28                           ` Saul Wold
2013-08-05  5:10                             ` Saul Wold
2013-08-05 17:50                               ` Khem Raj
2013-08-06  5:29                               ` Khem Raj
2013-08-07  4:57                         ` Khem Raj
2013-07-08 10:37 ` Paul Eggleton

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.