From 6edbcdead48f210b9cedf6ae8eee7e2b965f6614 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Apr 26 2019 09:23:06 +0000 Subject: Remove 00153-fix-test_gdb-noise.patch Patch fixed upstream by ignoring all messages starting with 'warning: ': https://github.com/python/cpython/commit/8420cd29053106f97b7d27dcc288882ffea3c1c5 Removed patch added by: commit b0a6ae18b357c63aa7594fb622ca8e42cecb3f63 Author: David Malcolm Date: Fri Apr 13 10:36:12 2012 -0400 2.7.3-1 * Wed Apr 11 2012 David Malcolm - 2.7.3-1 - 2.7.3: (...) fix test_gdb (patch 153) (...) --- diff --git a/00153-fix-test_gdb-noise.patch b/00153-fix-test_gdb-noise.patch deleted file mode 100644 index 8884d4c..0000000 --- a/00153-fix-test_gdb-noise.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- Lib/test/test_gdb.py.old 2012-04-11 21:04:01.367073855 -0400 -+++ Lib/test/test_gdb.py 2012-04-12 08:52:58.320288761 -0400 -@@ -211,6 +211,10 @@ - # ignore all warnings - 'warning: ', - ) -+ ignore_patterns += ('warning: Unable to open', -+ 'Missing separate debuginfo for', -+ 'Try: yum --disablerepo=', -+ 'Undefined set print command') - for line in errlines: - if not line: - continue diff --git a/python2.spec b/python2.spec index faee589..d116739 100644 --- a/python2.spec +++ b/python2.spec @@ -615,13 +615,6 @@ Patch146: 00146-hashlib-fips.patch # Sent upstream as http://bugs.python.org/issue14785 Patch147: 00147-add-debug-malloc-stats.patch -# 00153 # -# Strip out lines of the form "warning: Unable to open ..." from gdb's stderr -# when running test_gdb.py; also cope with change to gdb in F17 onwards in -# which values are printed as "v@entry" rather than just "v": -# Not yet sent upstream -Patch153: 00153-fix-test_gdb-noise.patch - # 00155 # # Avoid allocating thunks in ctypes unless absolutely necessary, to avoid # generating SELinux denials on "import ctypes" and "import uuid" when @@ -1077,7 +1070,6 @@ rm -r Modules/zlib || exit 1 %endif #patch146 -p1 %patch147 -p1 -%patch153 -p0 %patch155 -p1 %patch156 -p1 %patch157 -p1