Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dwarves for openSUSE:Factory checked in at 2021-08-18 08:55:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dwarves (Old) and /work/SRC/openSUSE:Factory/.dwarves.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dwarves" Wed Aug 18 08:55:10 2021 rev:33 rq:912007 version:1.21+git177.1ef87b2 Changes: -------- --- /work/SRC/openSUSE:Factory/dwarves/dwarves.changes 2021-07-21 19:05:26.627193873 +0200 +++ /work/SRC/openSUSE:Factory/.dwarves.new.1899/dwarves.changes 2021-08-18 08:55:18.235015435 +0200 @@ -1,0 +2,14 @@ +Fri Aug 13 11:35:30 UTC 2021 - [email protected] + +- 15.4 has new elfutils, drop libebl-plugins dependency. +- Update to version 1.21+git177.1ef87b2: + * Fix crash with split BTF debuginfo + * CMakeList.txt: Bump version to the upcoming 1.22 release, not out of the door yet + - Remove upstreamed patch dwarves-Prep-1.22.patch + +------------------------------------------------------------------- +Sat Jul 17 15:48:30 UTC 2021 - Michal Suchanek <[email protected]> + +- Use system libbpf when available (bsc#1188420 bsc#1188419 jsc#SLE-17288 jsc#SLE-18805). + +------------------------------------------------------------------- Old: ---- dwarves-1.21+git175.1ef87b2.tar.xz dwarves-Prep-1.22.patch New: ---- dwarves-1.21+git177.1ef87b2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dwarves.spec ++++++ --- /var/tmp/diff_new_pack.Obf35r/_old 2021-08-18 08:55:18.827014770 +0200 +++ /var/tmp/diff_new_pack.Obf35r/_new 2021-08-18 08:55:18.831014765 +0200 @@ -16,8 +16,15 @@ # +%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150300 +%define have_libbpf 1 +%endif +%if ( 0%{?sle_version} && 0%{?sle_version} <= 150300 ) || ( 0%{?suse_version} && 0%{?suse_version} < 1500 ) +%define have_libebl-plugins 1 +%endif + Name: dwarves -Version: 1.21+git175.1ef87b2 +Version: 1.21+git177.1ef87b2 Release: 0 Summary: DWARF utilities License: GPL-2.0-only @@ -29,16 +36,17 @@ #Source: https://fedorapeople.org/~acme/dwarves/dwarves-%version.tar.xz #Source2: https://fedorapeople.org/~acme/dwarves/dwarves-%version.tar.sign Source9: baselibs.conf -Patch0: dwarves-Prep-1.22.patch BuildRequires: cmake BuildRequires: libdw-devel >= 0.171 BuildRequires: libelf-devel BuildRequires: pkgconfig -BuildRequires: pkgconfig(libbpf) +%if 0%{?have_libbpf} +BuildRequires: pkgconfig(libbpf) >= 0.4.0 +%endif BuildRequires: pkgconfig(zlib) # Also known by its most prominent tool Provides: pahole = %version-%release -%if 0%{?suse_version} < 1550 +%if 0%{?have_libebl_plugins} BuildRequires: libebl-devel %endif @@ -64,7 +72,7 @@ %package -n libdwarves1 Summary: DWARF processing libraries of dwarves tools Group: System/Libraries -%if 0%{?suse_version} < 1550 +%if 0%{?have_libebl_plugins} Requires: libebl-plugins %endif @@ -93,7 +101,11 @@ sv="$PWD/lib.v" ver=$(echo %version | cut -d+ -f1) echo "DWARVES_$ver{ global: *; };" >"$sv" -%cmake -DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--version-script=$sv" +%cmake -DCMAKE_SHARED_LINKER_FLAGS:STRING="-Wl,--version-script=$sv" \ +%if 0%{?have_libbpf} + -DLIBBPF_EMBEDDED=OFF \ +%endif + %nil %cmake_build %install ++++++ dwarves-1.21+git175.1ef87b2.tar.xz -> dwarves-1.21+git177.1ef87b2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dwarves-1.21+git175.1ef87b2/.gitignore new/dwarves-1.21+git177.1ef87b2/.gitignore --- old/dwarves-1.21+git175.1ef87b2/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/dwarves-1.21+git177.1ef87b2/.gitignore 2021-06-17 02:07:22.000000000 +0200 @@ -0,0 +1,2 @@ +/build +/config.h diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dwarves-1.21+git175.1ef87b2/CMakeLists.txt new/dwarves-1.21+git177.1ef87b2/CMakeLists.txt --- old/dwarves-1.21+git175.1ef87b2/CMakeLists.txt 2021-06-17 02:07:22.000000000 +0200 +++ new/dwarves-1.21+git177.1ef87b2/CMakeLists.txt 2021-06-17 02:07:22.000000000 +0200 @@ -53,9 +53,9 @@ endif (NOT DEFINED BUILD_SHARED_LIBS) # Just for grepping, DWARVES_VERSION isn't used anywhere anymore -# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.21") +# add_definitions(-D_GNU_SOURCE -DDWARVES_VERSION="v1.22") add_definitions(-D_GNU_SOURCE -DDWARVES_MAJOR_VERSION=1) -add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=21) +add_definitions(-D_GNU_SOURCE -DDWARVES_MINOR_VERSION=22) find_package(DWARF REQUIRED) find_package(ZLIB REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dwarves-1.21+git175.1ef87b2/dwarves.c new/dwarves-1.21+git177.1ef87b2/dwarves.c --- old/dwarves-1.21+git175.1ef87b2/dwarves.c 2021-06-17 02:07:22.000000000 +0200 +++ new/dwarves-1.21+git177.1ef87b2/dwarves.c 2021-06-17 02:07:22.000000000 +0200 @@ -605,6 +605,7 @@ cu->build_id_len = build_id_len; if (build_id_len > 0) memcpy(cu->build_id, build_id, build_id_len); + cu->priv = NULL; } return cu; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dwarves-1.21+git175.1ef87b2/lib/bpf/src/.gitignore new/dwarves-1.21+git177.1ef87b2/lib/bpf/src/.gitignore --- old/dwarves-1.21+git175.1ef87b2/lib/bpf/src/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/dwarves-1.21+git177.1ef87b2/lib/bpf/src/.gitignore 2021-06-17 02:07:22.000000000 +0200 @@ -0,0 +1,6 @@ +*.o +*.a +/libbpf.pc +/libbpf.so* +/staticobjs +/sharedobjs
