diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2018-04-26 09:23:02 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-03-24 11:13:28 +0100 |
commit | e45f3d305e25ff2aef9e42697e583e6f69a9b6e6 (patch) | |
tree | 0bf698ed62d258d6e05d5a3129dea2e52b2d2121 /meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch | |
parent | c44fc9b620f762ce68441f834e1a157288a488e6 (diff) | |
download | openembedded-core-contrib-e45f3d305e25ff2aef9e42697e583e6f69a9b6e6.tar.gz |
meta-webosose: import recipes which often reproduce Yocto #12434
* just temporary to make it easier to reproduce, import big part of meta-webosose
and some recipes from meta-oe
* luna-init: /luna-init-fonts/usr/share/fonts/PreludeCompWGL-Light.ttf is owned by uid 1001, which is the same as the user running bitbake. This may be due to host contamination
* qml-webos-framework: /qml-webos-framework/usr/share/dbus-1/system-services/com.webos.qml-app.service is owned by uid 1101, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
* to reproduce this you can try to use something like this:
export COMP=luna-init; for i in `seq -w 1 999`; do echo $i; bitbake -v -v -DDDD -f -c package ${COMP} 2>${COMP}-logerr.$i >${COMP}-log.$i; bitbake -v -v -DDDD -f -c package_qa ${COMP} 2>${COMP}-logerr.qa.$i >${COMP}-log.qa.$i || { cp -ra BUILD/work/i586-oe-linux/${COMP}/ ${COMP}-workdir-$i; bitbake -c cleansstate ${COMP} ; } done
export COMP=qml-webos-framework; for i in `seq -w 1 999`; do echo $i; bitbake -v -v -DDDD -f -c package ${COMP} 2>${COMP}-logerr.$i >${COMP}-log.$i; bitbake -v -v -DDDD -f -c package_qa ${COMP} 2>${COMP}-logerr.qa.$i >${COMP}-log.qa.$i || { cp -ra BUILD/work/i586-oe-linux/${COMP}/ ${COMP}-workdir-$i; bitbake -c cleansstate ${COMP} ; } done
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch')
-rw-r--r-- | meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch b/meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch new file mode 100644 index 0000000000..fed62c95fc --- /dev/null +++ b/meta/recipes-webos/python-tz/python-tz/fix.for.tzdata-2015e.patch @@ -0,0 +1,29 @@ +Since tzdata-2015e there are UTF-8 characters in iso3166.tab, see: +http://mm.icann.org/pipermail/tz/2015-May/022258.html +http://mm.icann.org/pipermail/tz/2015-June/022306.html + +pytz/__init__.py:_CountryNameDict(LazyDict) is using: + zone_tab = open_resource('iso3166.tab') + try: + for line in zone_tab.readlines(): + line = line.decode('US-ASCII') + +to read it and fails on AX, CI, RE lines, using UTF-8 fixes the +issues and should work OK even with older tzdata releases. + +Upstream-Status: Submitted (https://bugs.launchpad.net/pytz/+bug/1473533) + +Signed-off-by: Martin Jansa <martin.jansa@gmail.com> + +diff -uNr pytz-2015.4.orig/pytz/__init__.py pytz-2015.4/pytz/__init__.py +--- pytz-2015.4.orig/pytz/__init__.py 2015-05-13 03:50:26.000000000 -0700 ++++ pytz-2015.4/pytz/__init__.py 2015-07-10 11:35:30.080242726 -0700 +@@ -357,7 +357,7 @@ + zone_tab = open_resource('iso3166.tab') + try: + for line in zone_tab.readlines(): +- line = line.decode('US-ASCII') ++ line = line.decode('UTF-8') + if line.startswith('#'): + continue + code, name = line.split(None, 1) |