From 4f2570c3f143c3951893d9da17f8402f8984a538aa885ea2767190f254079be6 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 2 Jan 2018 15:34:11 +0000 Subject: [PATCH 1/2] - exclude test_regrtest for s390, where it does not segfault as it should OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=216 --- python-base.changes | 8 ++++++++ python-base.spec | 7 ++++++- python-doc.spec | 2 +- python.spec | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/python-base.changes b/python-base.changes index 247b0e0..6c853f6 100644 --- a/python-base.changes +++ b/python-base.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Dec 22 16:49:38 UTC 2017 - jmatejek@suse.com + +- exclude test_regrtest for s390, where it does not segfault as it should +- fix segfault while creating weakref - bsc#1073748, bpo#29347 + (this is actually fixed by the 2.7.14 update; mentioning this for purposes + of bugfix tracking) + ------------------------------------------------------------------- Mon Nov 20 16:11:48 UTC 2017 - jmatejek@suse.com diff --git a/python-base.spec b/python-base.spec index 9aa719e..228d1ee 100644 --- a/python-base.spec +++ b/python-base.spec @@ -1,7 +1,7 @@ # # spec file for package python-base # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -217,6 +217,11 @@ EXCLUDE="$EXCLUDE test_multiprocessing test_thread" # qemu bug (siginterrupt handling) EXCLUDE="$EXCLUDE test_signal" %endif +%ifarch s390 s390x +# test_regrtest tries to segfault the interpreter by dereferencing a NULL pointer, but that doesn't +# actually produce a segfault on S390 +EXCLUDE="$EXCLUDE test_regrtest" +%endif # This test (part of test_uuid) requires real network interfaces # so that ifconfig output has "HWaddr ". Some kvm instances diff --git a/python-doc.spec b/python-doc.spec index c9901c5..51e3388 100644 --- a/python-doc.spec +++ b/python-doc.spec @@ -1,7 +1,7 @@ # # spec file for package python-doc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python.spec b/python.spec index 8810dd6..b8b34b8 100644 --- a/python.spec +++ b/python.spec @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed From de4df0721d071bad8b961cd94948a5c844cbb7e88a3073fc3a6134c4d1a4b3c5 Mon Sep 17 00:00:00 2001 From: Jan Matejek Date: Tue, 2 Jan 2018 15:38:55 +0000 Subject: [PATCH 2/2] (fixes bsc#1073269) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=217 --- python-base.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/python-base.changes b/python-base.changes index 6c853f6..9d8525e 100644 --- a/python-base.changes +++ b/python-base.changes @@ -2,6 +2,7 @@ Fri Dec 22 16:49:38 UTC 2017 - jmatejek@suse.com - exclude test_regrtest for s390, where it does not segfault as it should + (fixes bsc#1073269) - fix segfault while creating weakref - bsc#1073748, bpo#29347 (this is actually fixed by the 2.7.14 update; mentioning this for purposes of bugfix tracking)