Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package apitrace for openSUSE:Factory checked in at 2021-09-26 21:48:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/apitrace (Old) and /work/SRC/openSUSE:Factory/.apitrace.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apitrace" Sun Sep 26 21:48:41 2021 rev:2 rq:921454 version:10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/apitrace/apitrace.changes 2021-09-14 21:14:11.680393547 +0200 +++ /work/SRC/openSUSE:Factory/.apitrace.new.1899/apitrace.changes 2021-09-26 21:49:31.794838247 +0200 @@ -1,0 +2,7 @@ +Sat Sep 25 22:29:02 UTC 2021 - Adam Mizerski <[email protected]> + +- Added patch apitrace-fix-glibc-2.34.patch + Fixes building with glibc 2.34. See also + https://github.com/apitrace/apitrace/issues/756 + +------------------------------------------------------------------- New: ---- apitrace-fix-glibc-2.34.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ apitrace.spec ++++++ --- /var/tmp/diff_new_pack.xHSSFK/_old 2021-09-26 21:49:32.254838816 +0200 +++ /var/tmp/diff_new_pack.xHSSFK/_new 2021-09-26 21:49:32.258838820 +0200 @@ -24,6 +24,8 @@ URL: https://apitrace.github.io/ Source0: https://github.com/apitrace/apitrace/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf +# https://github.com/apitrace/apitrace/issues/756 +Patch0: apitrace-fix-glibc-2.34.patch BuildRequires: cmake >= 2.8.11 BuildRequires: gcc-c++ >= 4.9 BuildRequires: libdwarf-devel @@ -59,7 +61,7 @@ This package contains libs that are preloaded into traced programs. %prep -%setup -q +%autosetup -p1 # Apitrace uses glibc private symbols # and author claims they have good reasons to do so: ++++++ apitrace-fix-glibc-2.34.patch ++++++ >From d28a980802ad48568c87da02d630c8babfe163bb Mon Sep 17 00:00:00 2001 From: Jose Fonseca <[email protected]> Date: Wed, 1 Sep 2021 16:34:54 +0100 Subject: [PATCH] gltrace: Avoid __libc_dlsym and __libc_dlopen_mode on GLIBC 2.34. These GLIBC_PRIVATE symbols are gone from GLIBC 2.34 due to the merge of libdl.so onto libc.so. This means apitrace can't defend against infinite recursion when used with Steam Overlay, but at least it should work otherwise. Fixes https://github.com/apitrace/apitrace/issues/756 --- wrappers/dlsym.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp index 5ab8465b0..5369af35a 100644 --- a/wrappers/dlsym.cpp +++ b/wrappers/dlsym.cpp @@ -34,7 +34,7 @@ #include "os.hpp" -#if defined(__GLIBC__) && !defined(__UCLIBC__) +#if defined(__GLIBC__) && !defined(__UCLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 34 #include <dlfcn.h>
