Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ltrace for openSUSE:Factory checked in at 2023-09-12 21:02:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ltrace (Old) and /work/SRC/openSUSE:Factory/.ltrace.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ltrace" Tue Sep 12 21:02:11 2023 rev:48 rq:1110337 version:0.7.91+git20230705.8eabf68 Changes: -------- --- /work/SRC/openSUSE:Factory/ltrace/ltrace.changes 2023-04-12 12:51:00.668725372 +0200 +++ /work/SRC/openSUSE:Factory/.ltrace.new.1766/ltrace.changes 2023-09-12 21:02:22.711095112 +0200 @@ -1,0 +2,17 @@ +Mon Sep 11 13:01:23 UTC 2023 - sch...@suse.de + +- Update to version 0.7.91+git20230705.8eabf68: + * Add missing semi-colon + * ./autogen.sh is needed before ./configure + * sysdeps: x86: update syscall tables + * testsuite: system_calls: recognize statx + * testsuite: system_calls: recognize newfstatat + * PowerPC Fix HFA FP/GPR parameter logic typo + * Add -Wno-psabi to avoid compilation warning/failure + * Avoid infinite loop when single stepping into PLT + * PowerPC ltrace-elf handle LEP/GEP offset + * riscv64: add initial riscv64 support +- arm-trace.patch, ltrace-0.7.91-ppc64le-scv.patch, readdir.patch: remove +- Rediff remaining patches + +------------------------------------------------------------------- Old: ---- arm-trace.patch ltrace-0.7.91-gea8928d.tar.bz2 ltrace-0.7.91-ppc64le-scv.patch readdir.patch New: ---- _service _servicedata ltrace-0.7.91+git20230705.8eabf68.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ltrace.spec ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.015177297 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.019177440 +0200 @@ -16,20 +16,16 @@ # -%define git_id gea8928d Name: ltrace -Version: 0.7.91 +Version: 0.7.91+git20230705.8eabf68 Release: 0 Summary: Library and system call tracer for programs License: GPL-2.0-or-later Group: Development/Tools/Debuggers URL: https://ltrace.org/ -Source: ltrace-%{version}-%{git_id}.tar.bz2 +Source: ltrace-%{version}.tar.bz2 Source2: baselibs.conf -Patch0: readdir.patch -Patch1: https://src.fedoraproject.org/rpms/ltrace/raw/rawhide/f/ltrace-0.7.91-ppc64le-scv.patch Patch3: ppc-ptrace.patch -Patch4: arm-trace.patch Patch5: gcc9-printf-s-null-argument.patch Patch6: lens-double-free.patch Patch7: gcc9-Wlto-type-mismatch.patch @@ -43,7 +39,7 @@ BuildRequires: libdw-devel BuildRequires: libelf-devel BuildRequires: libtool -ExclusiveArch: %{ix86} s390x ppc ppc64 ppc64le %{arm} x86_64 alpha ia64 m68k aarch64 +ExclusiveArch: %{ix86} s390x ppc ppc64 ppc64le %{arm} x86_64 alpha ia64 m68k aarch64 riscv64 %description Ltrace is a program that runs the specified command until it exits. It @@ -59,10 +55,7 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 %patch3 -p1 -%patch4 -p1 %patch5 %patch6 -p1 %patch7 -p1 @@ -76,7 +69,7 @@ %make_build %check -%if 1 +%if !0%{?qemu_user_space_build} if timeout 180 make check then echo 'no make check errors' > testresults.txt ++++++ _service ++++++ <services> <service name="tar_scm" mode="manual"> <param name="version">0.7.91</param> <param name="versionformat">0.7.91+git%cd.%h</param> <param name="url">https://gitlab.com/cespedes/ltrace.git</param> <param name="scm">git</param> <param name="revision">main</param> <param name="changesgenerate">enable</param> </service> <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">bz2</param> </service> <service name="set_version" mode="manual"/> </services> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://gitlab.com/cespedes/ltrace.git</param> <param name="changesrevision">8eabf684ba6b11ae7a1a843aca3c0657c6329d73</param></service></servicedata> (No newline at EOF) ++++++ gcc9-Wlto-type-mismatch.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.367189853 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.379190281 +0200 @@ -1,7 +1,7 @@ -diff --git a/filter.c b/filter.c -index ba50c40..b529c61 100644 ---- a/filter.c -+++ b/filter.c +Index: ltrace-0.7.91+git20230705.8eabf68/filter.c +=================================================================== +--- ltrace-0.7.91+git20230705.8eabf68.orig/filter.c ++++ ltrace-0.7.91+git20230705.8eabf68/filter.c @@ -18,6 +18,8 @@ * 02110-1301 USA */ @@ -11,10 +11,10 @@ #include <stdlib.h> #include <assert.h> #include <stdio.h> -diff --git a/options.h b/options.h -index 38f4ecd..dff401d 100644 ---- a/options.h -+++ b/options.h +Index: ltrace-0.7.91+git20230705.8eabf68/options.h +=================================================================== +--- ltrace-0.7.91+git20230705.8eabf68.orig/options.h ++++ ltrace-0.7.91+git20230705.8eabf68/options.h @@ -25,6 +25,8 @@ #ifndef OPTIONS_H #define OPTIONS_H ++++++ gcc9-printf-s-null-argument.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.447192707 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.451192849 +0200 @@ -1,6 +1,8 @@ ---- output.c 2014-09-02 13:39:08.000000000 +0200 -+++ ./output.c.new 2019-01-04 15:22:52.118045911 +0100 -@@ -658,7 +658,7 @@ +Index: output.c +=================================================================== +--- output.c.orig ++++ output.c +@@ -659,7 +659,7 @@ frame_callback (Dwfl_Frame *state, void /* This mimics the output produced by libunwind below. */ fprintf(options.output, " > %s(%s+0x%" PRIx64 ") [%" PRIx64 "]\n", ++++++ lens-double-free.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.463193278 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.467193420 +0200 @@ -1,8 +1,8 @@ -Index: ltrace-0.7.91/dwarf_prototypes.c +Index: ltrace-0.7.91+git20230705.8eabf68/dwarf_prototypes.c =================================================================== ---- ltrace-0.7.91.orig/dwarf_prototypes.c -+++ ltrace-0.7.91/dwarf_prototypes.c -@@ -300,11 +300,8 @@ static struct arg_type_info *get_enum(Dw +--- ltrace-0.7.91+git20230705.8eabf68.orig/dwarf_prototypes.c ++++ ltrace-0.7.91+git20230705.8eabf68/dwarf_prototypes.c +@@ -301,11 +301,8 @@ static struct arg_type_info *get_enum(Dw value_destroy(value); \ free(value); \ } \ ++++++ ppc-ptrace.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.479193848 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.483193991 +0200 @@ -1,7 +1,7 @@ -Index: ltrace-0.7.91/sysdeps/linux-gnu/ppc/ptrace.h +Index: ltrace-0.7.91+git20230705.8eabf68/sysdeps/linux-gnu/ppc/ptrace.h =================================================================== ---- ltrace-0.7.91.orig/sysdeps/linux-gnu/ppc/ptrace.h -+++ ltrace-0.7.91/sysdeps/linux-gnu/ppc/ptrace.h +--- ltrace-0.7.91+git20230705.8eabf68.orig/sysdeps/linux-gnu/ppc/ptrace.h ++++ ltrace-0.7.91+git20230705.8eabf68/sysdeps/linux-gnu/ppc/ptrace.h @@ -19,3 +19,4 @@ */ ++++++ ppc64le-use-after-free.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.495194419 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.499194562 +0200 @@ -1,16 +1,15 @@ -Index: ltrace-0.7.91/sysdeps/linux-gnu/ppc/plt.c +Index: ltrace-0.7.91+git20230705.8eabf68/sysdeps/linux-gnu/ppc/plt.c =================================================================== ---- ltrace-0.7.91.orig/sysdeps/linux-gnu/ppc/plt.c -+++ ltrace-0.7.91/sysdeps/linux-gnu/ppc/plt.c +--- ltrace-0.7.91+git20230705.8eabf68.orig/sysdeps/linux-gnu/ppc/plt.c ++++ ltrace-0.7.91+git20230705.8eabf68/sysdeps/linux-gnu/ppc/plt.c @@ -688,10 +688,10 @@ arch_elf_add_func_entry(struct process * || library_symbol_init(libsym, addr, full_name, 1, LS_TOPLT_NONE) < 0) { - free(libsym); -- delete_symbol_chain(libsym); -- libsym = NULL; + delete_symbol_chain(libsym); +- free(libsym); + libsym = NULL; fprintf(stderr, "Couldn't add symbol %s" "for tracing.\n", name); -+ free(full_name); + return PLT_FAIL; } full_name = NULL; ++++++ s390x-ptrace.patch ++++++ --- /var/tmp/diff_new_pack.v7TYQv/_old 2023-09-12 21:02:25.507194847 +0200 +++ /var/tmp/diff_new_pack.v7TYQv/_new 2023-09-12 21:02:25.511194990 +0200 @@ -1,8 +1,8 @@ -Index: ltrace-0.7.91/expr.c +Index: ltrace-0.7.91+git20230705.8eabf68/expr.c =================================================================== ---- ltrace-0.7.91.orig/expr.c -+++ ltrace-0.7.91/expr.c -@@ -171,85 +171,6 @@ expr_destroy(struct expr_node *node) +--- ltrace-0.7.91+git20230705.8eabf68.orig/expr.c ++++ ltrace-0.7.91+git20230705.8eabf68/expr.c +@@ -171,89 +171,6 @@ expr_destroy(struct expr_node *node) abort(); } @@ -23,11 +23,14 @@ -int -expr_clone(struct expr_node *retp, const struct expr_node *node) -{ +- struct expr_node *nlhs; +- /* Must be a known value to distinguish EXPR_OP_CALL2 +- from EXPR_OP_CALL1 or EXPR_OP_UP. */ +- struct expr_node *nrhs = NULL; +- - *retp = *node; - - switch (node->kind) { -- struct expr_node *nlhs; -- struct expr_node *nrhs; - - case EXPR_OP_ARGNO: - case EXPR_OP_SELF: @@ -70,7 +73,8 @@ - case EXPR_OP_CALL1: - if (expr_alloc_and_clone(&nlhs, node->lhs, node->own_lhs) < 0) { - if (node->kind == EXPR_OP_CALL2 -- && node->u.call.own_rhs) { +- && node->u.call.own_rhs +- && nrhs != NULL) { - expr_destroy(nrhs); - free(nrhs); - return -1; @@ -88,10 +92,10 @@ int expr_is_compile_constant(struct expr_node *node) { -Index: ltrace-0.7.91/expr.h +Index: ltrace-0.7.91+git20230705.8eabf68/expr.h =================================================================== ---- ltrace-0.7.91.orig/expr.h -+++ ltrace-0.7.91/expr.h +--- ltrace-0.7.91+git20230705.8eabf68.orig/expr.h ++++ ltrace-0.7.91+git20230705.8eabf68/expr.h @@ -125,9 +125,6 @@ void expr_init_cb2(struct expr_node *nod /* Release the data inside NODE. Doesn't free NODE itself. */ void expr_destroy(struct expr_node *node);