diff --git a/elfutils-0.191.tar.bz2 b/elfutils-0.191.tar.bz2 deleted file mode 100644 index b783b12..0000000 --- a/elfutils-0.191.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871 -size 9310088 diff --git a/elfutils-0.191.tar.bz2.sig b/elfutils-0.191.tar.bz2.sig deleted file mode 100644 index 1b14dbc..0000000 Binary files a/elfutils-0.191.tar.bz2.sig and /dev/null differ diff --git a/elfutils-0.192.tar.bz2 b/elfutils-0.192.tar.bz2 new file mode 100644 index 0000000..2aa1e87 --- /dev/null +++ b/elfutils-0.192.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:616099beae24aba11f9b63d86ca6cc8d566d968b802391334c91df54eab416b4 +size 11913897 diff --git a/elfutils-0.192.tar.bz2.sig b/elfutils-0.192.tar.bz2.sig new file mode 100644 index 0000000..3ec2eba Binary files /dev/null and b/elfutils-0.192.tar.bz2.sig differ diff --git a/elfutils-debuginfod.changes b/elfutils-debuginfod.changes index 8f99860..aceda74 100644 --- a/elfutils-debuginfod.changes +++ b/elfutils-debuginfod.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Dec 2 13:14:04 UTC 2024 - Andreas Schwab + +- 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 + +- 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 diff --git a/elfutils-debuginfod.spec b/elfutils-debuginfod.spec index dafdce4..b978759 100644 --- a/elfutils-debuginfod.spec +++ b/elfutils-debuginfod.spec @@ -17,7 +17,7 @@ Name: elfutils-debuginfod -Version: 0.191 +Version: 0.192 Release: 0 Summary: Debuginfod server provided by elfutils License: GPL-3.0-or-later @@ -48,6 +48,8 @@ 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 @@ -143,6 +145,7 @@ 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 @@ -167,7 +170,8 @@ 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/elf*_*.3* +rm -f %{buildroot}/%{_mandir}/man3/libelf.3* rm -f %{buildroot}/%{_mandir}/man1/eu-*.1* rm -rf %{buildroot}%{_datadir}/locale/ rm -f %{buildroot}/%{_libdir}/pkgconfig/libdw.pc @@ -188,7 +192,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" +export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh" %endif %make_build check @@ -224,6 +228,7 @@ 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 diff --git a/elfutils.changes b/elfutils.changes index 58031be..b322181 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Dec 12 18:37:00 UTC 2024 - Antonio Teixeira + +- Add fix-static-linking.patch (bsc#1234445) + +------------------------------------------------------------------- +Mon Dec 2 13:13:00 UTC 2024 - Andreas Schwab + +- Remove files packaged by elfutils-debuginfod + +------------------------------------------------------------------- +Sun Dec 1 17:36:52 UTC 2024 - Adrian Schröter + +- 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 diff --git a/elfutils.spec b/elfutils.spec index 3a74469..2407bbd 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -17,7 +17,7 @@ Name: elfutils -Version: 0.191 +Version: 0.192 Release: 0 Summary: Higher-level library to access ELF files License: GPL-3.0-or-later @@ -31,6 +31,7 @@ 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 @@ -172,7 +173,10 @@ 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} @@ -188,7 +192,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" +export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh" %endif %make_build check @@ -240,6 +244,9 @@ 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.* diff --git a/fix-static-linking.patch b/fix-static-linking.patch new file mode 100644 index 0000000..e413d9f --- /dev/null +++ b/fix-static-linking.patch @@ -0,0 +1,37 @@ +From f5d6e088f84dd05278c4698a21cbf1ff4569978d Mon Sep 17 00:00:00 2001 +From: Mark Wielaard +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 +--- + 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 +