[OE-core] [PATCH 1/1] python3: Upgrade from 3.3.3 to 3.4.2

Martin Jansa martin.jansa at gmail.com
Wed Apr 22 13:52:25 UTC 2015


On Mon, Apr 13, 2015 at 04:24:30PM -0500, Alejandro Hernandez wrote:
> 
> 
> On 13/04/15 13:40, Martin Jansa wrote:
> > On Fri, Feb 27, 2015 at 06:30:52PM -0600, Alejandro Hernandez wrote:
> >> Modifies:
> >> python3-native_3.3.3.bb -> python3-native_3.4.2.bb: Updates checksums, version, patches
> >> and SRC_URIs to use xz format, LICENSE did not change, dates were updated, adds fix for
> >> ctypes/libffi needed for pip <- required since Python 3.4 (see PEP #453).
> >> python3_3.3.3.bb -> python3_3.4.2.bb: Updates checksums, version, patches and SRC_URIs
> >> to use xz format, adds fix for ctypes/libffi, fixes oe_multilib_header() call,
> >> adds python3-core as RDEPENDS to python3-misc to avoid QA issue.
> >> generate-manifest-3.4.py - > generate-manifest-3.4.py: fixes reprlib,
> >> adds _sitebuiltins and _collections_abc <- formerly part of collections, separated since 3.4
> >> python-3.3-manifest.inc -> python-3.4-manifest.inc
> >>
> >> Rebases:
> >> 12-distutils-prefix-is-inside-staging-area.patch
> >> python-3.3-multilib.patch
> >> 04-default-is-optimized.patch
> >> avoid-ncursesw-include-path.patch
> >>
> >> Deletes (fixed upstream):
> >> fix-ast.h-dependency.patch
> >> python3-fix-build-error-with-Readline-6.3.patch
> >> 06-ctypes-libffi-fix-configure.patch
> >> remove_sqlite_rpath.patch
> > There is a lot of textrel QA warnings in 3.3.3 (you can see them e.g. in
> > http://lists.openembedded.org/pipermail/openembedded-core/2015-March/102948.html
> > ), is this upgrade fixing them?
> >
> >> [YOCTO #6857]
> >>
> >> Signed-off-by: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
> >>
> I don't remember there being any warnings when I first did the upgrade, 
> but I just checked and now they are being shown, something must've 
> changed , anyway they are still there for 3.4, we can still upgrade and 
> I'll dig into this later
> 

The version in master-next still has this issue:
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-audio/usr/lib/python3.4/lib-dynload/ossaudiodev.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-codecs/usr/lib/python3.4/lib-dynload/_codecs_tw.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-core/usr/lib/python3.4/lib-dynload/binascii.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-crypt/usr/lib/python3.4/lib-dynload/_sha256.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-ctypes/usr/lib/python3.4/lib-dynload/_ctypes_test.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-curses/usr/lib/python3.4/lib-dynload/_curses.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-elementtree/usr/lib/python3.4/lib-dynload/_elementtree.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-fcntl/usr/lib/python3.4/lib-dynload/fcntl.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-gdbm/usr/lib/python3.4/lib-dynload/_gdbm.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-io/usr/lib/python3.4/lib-dynload/_socket.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-json/usr/lib/python3.4/lib-dynload/_json.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-lang/usr/lib/python3.4/lib-dynload/_bisect.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-math/usr/lib/python3.4/lib-dynload/cmath.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-mmap/usr/lib/python3.4/lib-dynload/mmap.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-multiprocessing/usr/lib/python3.4/lib-dynload/_multiprocessing.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-profile/usr/lib/python3.4/lib-dynload/_lsprof.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-readline/usr/lib/python3.4/lib-dynload/readline.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-resource/usr/lib/python3.4/lib-dynload/resource.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-syslog/usr/lib/python3.4/lib-dynload/syslog.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-textutils/usr/lib/python3.4/lib-dynload/_csv.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-unixadmin/usr/lib/python3.4/lib-dynload/grp.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-xml/usr/lib/python3.4/lib-dynload/pyexpat.cpython-34m.so' has relocations in .text [textrel]
python3-3.4.2: ELF binary '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/python3/3.4.2-r1.0/packages-split/python3-misc/usr/lib/python3.4/lib-dynload/_posixsubprocess.cpython-34m.so' has relocations in .text [textrel]

It also installs bunch of files without sstate knowledge as reported by
openembedded-core/scripts/sstate-sysroot-cruft.sh:

x86_64-linux/usr/lib/python3.4/__pycache__
x86_64-linux/usr/lib/python3.4/collections/__pycache__
x86_64-linux/usr/lib/python3.4/ctypes/__pycache__
x86_64-linux/usr/lib/python3.4/distutils/__pycache__
x86_64-linux/usr/lib/python3.4/distutils/command/__pycache__
x86_64-linux/usr/lib/python3.4/email/__pycache__
x86_64-linux/usr/lib/python3.4/encodings/__pycache__
x86_64-linux/usr/lib/python3.4/ensurepip/__pycache__
x86_64-linux/usr/lib/python3.4/html/__pycache__
x86_64-linux/usr/lib/python3.4/http/__pycache__
x86_64-linux/usr/lib/python3.4/importlib/__pycache__
x86_64-linux/usr/lib/python3.4/json/__pycache__
x86_64-linux/usr/lib/python3.4/lib2to3/__pycache__
x86_64-linux/usr/lib/python3.4/lib2to3/fixes/__pycache__
x86_64-linux/usr/lib/python3.4/lib2to3/pgen2/__pycache__
x86_64-linux/usr/lib/python3.4/logging/__pycache__
x86_64-linux/usr/lib/python3.4/unittest/__pycache__
x86_64-linux/usr/lib/python3.4/urllib/__pycache__
x86_64-linux/usr/lib/python3.4/xml/__pycache__
x86_64-linux/usr/lib/python3.4/xml/etree/__pycache__
x86_64-linux/usr/lib/python3.4/xml/parsers/__pycache__
x86_64-linux/usr/lib/python3.4/xml/sax/__pycache__
x86_64-linux/usr/lib/python3.4/xmlrpc/__pycache__

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



More information about the Openembedded-core mailing list