From 5220a105a74780a5c5a7d1cc6d1ab71e18d2e565 Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Fri, 8 Mar 2019 06:37:26 -0800 Subject: python: time.tzset missing import time time.tzset() Traceback (most recent call last): File "", line 1, in AttributeError: module 'time' has no attribute 'tzset' enable tzset in both python versions (From OE-Core rev: 28e631d6dbc0a126253c0a072b8f39ff683bfa3a) Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3_3.7.2.bb | 1 + meta/recipes-devtools/python/python_2.7.15.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/recipes-devtools/python/python3_3.7.2.bb b/meta/recipes-devtools/python/python3_3.7.2.bb index 9626ee546b..4d10986f3b 100644 --- a/meta/recipes-devtools/python/python3_3.7.2.bb +++ b/meta/recipes-devtools/python/python3_3.7.2.bb @@ -65,6 +65,7 @@ EXTRANATIVEPATH += "python3-native" CACHED_CONFIGUREVARS = " \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=no \ + ac_cv_working_tzset=yes \ " PACKAGECONFIG_class-target ??= "readline ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'pgo', '', d)}" diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb index 8df1dfd1ba..3e1af4baf6 100644 --- a/meta/recipes-devtools/python/python_2.7.15.bb +++ b/meta/recipes-devtools/python/python_2.7.15.bb @@ -42,7 +42,7 @@ inherit autotools multilib_header python-dir pythonnative ptest CONFIGUREOPTS += " --with-system-ffi " -EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no" +EXTRA_OECONF += "ac_cv_file__dev_ptmx=yes ac_cv_file__dev_ptc=no ac_cv_working_tzset=yes" PACKAGECONFIG ??= "bdb" PACKAGECONFIG[bdb] = ",,db" -- cgit v1.2.3-54-g00ecf