Compare commits

..

No commits in common. "factory" and "main" have entirely different histories.

9 changed files with 8 additions and 116 deletions

3
elfutils-0.191.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871
size 9310088

BIN
elfutils-0.191.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:616099beae24aba11f9b63d86ca6cc8d566d968b802391334c91df54eab416b4
size 11913897

Binary file not shown.

View File

@ -1,31 +1,3 @@
-------------------------------------------------------------------
Mon Dec 2 13:14:04 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Add pkgconfig(json-c) to reenable debuginfod support
- Add fish to enable profile support for fish
- Remove files packaged by libelf-devel
-------------------------------------------------------------------
Sun Dec 1 17:36:52 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 0.192
CONDUCT: A new code of conduct has been adopted. See the
CONDUCT file for more information.
debuginfod: Add per-file signature verification for integrity
checking, using RPM IMA scheme from Fedora/RHEL.
New API for metadata queries: file name -> buildid.
Server-side extraction of files from kernel debuginfo
packages is significantly faster. Now takes < 0.25 seconds,
down from ~50 seconds.
libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source
and dwfl_unwound_source_str.
stacktrace: Experimental new tool that can process a stream of stack
samples from the Sysprof profiler and unwind them into call
chains. Enable on x86 with --enable-stacktrace. See
README.eu-stacktrace in the development branch for detailed
usage instructions:
https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace
-------------------------------------------------------------------
Tue May 21 15:45:51 UTC 2024 - Michael Matz <matz@suse.com>

View File

@ -17,7 +17,7 @@
Name: elfutils-debuginfod
Version: 0.192
Version: 0.191
Release: 0
Summary: Debuginfod server provided by elfutils
License: GPL-3.0-or-later
@ -48,8 +48,6 @@ BuildRequires: zlib-devel
BuildRequires: zstd
# For debuginfod
BuildRequires: pkgconfig(json-c) >= 0.11
BuildRequires: fish
BuildRequires: pkgconfig(libarchive) >= 3.1.2
BuildRequires: pkgconfig(libcurl) >= 7.29.0
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
@ -145,7 +143,6 @@ autoreconf -fi
# some patches create new test scripts, which are created 644 by default
chmod a+x tests/run*.sh
%configure \
--enable-libdebuginfod --enable-debuginfod \
%if %{suse_version} > 1500
--enable-debuginfod-urls=https://debuginfod.opensuse.org/ \
%endif
@ -170,8 +167,7 @@ rm -f %{buildroot}/%{_includedir}/gelf.h
rm -f %{buildroot}/%{_includedir}/nlist.h
rm -f %{buildroot}/%{_includedir}/dwarf.h
rm -f %{buildroot}/%{_libdir}/libdw*
rm -f %{buildroot}/%{_mandir}/man3/elf*_*.3*
rm -f %{buildroot}/%{_mandir}/man3/libelf.3*
rm -f %{buildroot}/%{_mandir}/man3/elf_*.3*
rm -f %{buildroot}/%{_mandir}/man1/eu-*.1*
rm -rf %{buildroot}%{_datadir}/locale/
rm -f %{buildroot}/%{_libdir}/pkgconfig/libdw.pc
@ -192,7 +188,7 @@ touch %{buildroot}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite
%check
%if 0%{?qemu_user_space_build}
# qemu-linux-user does not support ptrace and a few other process details
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh"
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh"
%endif
%make_build check
@ -228,7 +224,6 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%files -n debuginfod-profile
%config %{_sysconfdir}/profile.d/debuginfod.sh
%config %{_sysconfdir}/profile.d/debuginfod.csh
%{_datadir}/fish/vendor_conf.d/debuginfod.fish
%dir %{_sysconfdir}/debuginfod
%if %{suse_version} > 1500
%config %{_sysconfdir}/debuginfod/elfutils.urls

View File

@ -1,34 +1,3 @@
-------------------------------------------------------------------
Thu Dec 12 18:37:00 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
- Add fix-static-linking.patch (bsc#1234445)
-------------------------------------------------------------------
Mon Dec 2 13:13:00 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Remove files packaged by elfutils-debuginfod
-------------------------------------------------------------------
Sun Dec 1 17:36:52 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 0.192
CONDUCT: A new code of conduct has been adopted. See the
CONDUCT file for more information.
debuginfod: Add per-file signature verification for integrity
checking, using RPM IMA scheme from Fedora/RHEL.
New API for metadata queries: file name -> buildid.
Server-side extraction of files from kernel debuginfo
packages is significantly faster. Now takes < 0.25 seconds,
down from ~50 seconds.
libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source
and dwfl_unwound_source_str.
stacktrace: Experimental new tool that can process a stream of stack
samples from the Sysprof profiler and unwind them into call
chains. Enable on x86 with --enable-stacktrace. See
README.eu-stacktrace in the development branch for detailed
usage instructions:
https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace
-------------------------------------------------------------------
Tue May 21 15:45:51 UTC 2024 - Michael Matz <matz@suse.com>

View File

@ -17,7 +17,7 @@
Name: elfutils
Version: 0.192
Version: 0.191
Release: 0
Summary: Higher-level library to access ELF files
License: GPL-3.0-or-later
@ -31,7 +31,6 @@ Source4: https://sourceware.org/elfutils/ftp/%{version}/%{name}-%{version
Source5: %{name}.keyring
Source6: elfutils-rpmlintrc
Patch1: harden_debuginfod.service.patch
Patch2: fix-static-linking.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@ -173,10 +172,7 @@ chmod a+x tests/run*.sh
# remove unneeded files
rm -f %{buildroot}/%{_libdir}/*.la
rm -f %{buildroot}/%{_sysconfdir}/profile.d/debuginfod.*sh
rm -f %{buildroot}%{_datadir}/fish/vendor_conf.d/debuginfod.fish
rm -f %{buildroot}/%{_libdir}/pkgconfig/libdebuginfod.pc
rm -f %{buildroot}%{_mandir}/man8/debuginfod*.8*
rm -rf %{buildroot}/%{_datadir}/fish
ls -lR %{buildroot}/%{_libdir}/libelf*
%find_lang %{name}
@ -192,7 +188,7 @@ ls -lR %{buildroot}/%{_libdir}/libelf*
%check
%if 0%{?qemu_user_space_build}
# qemu-linux-user does not support ptrace and a few other process details
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh"
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh"
%endif
%make_build check
@ -244,9 +240,6 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%{_includedir}/elfutils/version.h
%{_libdir}/pkgconfig/libelf.pc
%{_mandir}/man3/elf_*.3*
%{_mandir}/man3/elf32_*.3*
%{_mandir}/man3/elf64_*.3*
%{_mandir}/man3/libelf.3.gz
%files -n libdw1
%{_libdir}/libdw.so.*

View File

@ -1,37 +0,0 @@
From f5d6e088f84dd05278c4698a21cbf1ff4569978d Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Tue, 22 Oct 2024 15:03:42 +0200
References: bsc#1234445
Subject: [PATCH 1/1] libelf: Add libeu objects to libelf.a static archive
libelf might use some symbols from libeu.a, specifically the eu-search
wrappers. But we don't ship libeu.a separately. So include the libeu
objects in the libelf.a archive to facilitate static linking.
* libelf/Makefile.am (libeu_objects): New variable.
(libelf_a_LIBADD): New, add libeu_objects.
https://sourceware.org/bugzilla/show_bug.cgi?id=32293
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
libelf/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 3402863ef..2d3dbdf22 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -122,6 +122,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS)
@$(textrel_check)
$(AM_V_at)ln -fs $@ $@.$(VERSION)
+libeu_objects = $(shell $(AR) t ../lib/libeu.a)
+libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
+
install: install-am libelf.so
$(mkinstalldirs) $(DESTDIR)$(libdir)
$(INSTALL_PROGRAM) libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
--
2.43.5