4 Commits

Author SHA256 Message Date
9b21cec4e7 Accepting request 1318282 from Base:System
- update to 0.8.1:
  * ** Bugfixes
  * - include config.h in more cases to fix LTO builds

- add timeout to testsuite run, it is non-fatal anyway
- Update to ltrace 0.3.36:
- remove unpackaged files from buildroot
- added PPC port by Anton Blanchard

OBS-URL: https://build.opensuse.org/request/show/1318282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ltrace?expand=0&rev=51
2025-11-19 13:49:52 +00:00
745b9b26f3 - update to 0.8.1:
* ** Bugfixes
  * - include config.h in more cases to fix LTO builds
- add timeout to testsuite run, it is non-fatal anyway
- Update to ltrace 0.3.36:
- remove unpackaged files from buildroot
- added PPC port by Anton Blanchard

OBS-URL: https://build.opensuse.org/package/show/Base:System/ltrace?expand=0&rev=58
2025-11-17 16:42:07 +00:00
91fa300c0e Accepting request 1305038 from Base:System
- Update to ltrace 0.8.0
   - Each DSO can now ship an ltrace config file (called prototype
     library) that ltrace will open when that DSO is loaded to process
     image
   - The option -F was retrofitted to be a colon-separated list of
     prototype libraries, and directories to look for prototype
     libraries in
   - Wide character strings are supported in prototypes
   - Sole void function parameter is now considered obsolete
   - Prototypes are now read from DWARF debug info, if available
   - RISC-V initial support included
   - MIPS and MIPSel are now handled by the same backend
   - ARMv6, ARMv7 and ARMv8 (AArch64) are supported, including full
     fetch backend
   - Imagination Technologies Meta is now supported
   - PowerPC64 ELFv2 little-endian ABI is now supported including full
     fetch backend
   - Cadence Tensilica Xtensa is now supported
   - LoongArch is now supported
   - On Linux, tracing of IFUNC symbols is supported
   - -w output now shows full library path
- lens-double-free.patch: removed
- Enable build on loongarch64 (forwarded request 1305037 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1305038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ltrace?expand=0&rev=50
2025-09-17 15:44:41 +00:00
c0cac11e8d - Update to ltrace 0.8.0
- Each DSO can now ship an ltrace config file (called prototype
     library) that ltrace will open when that DSO is loaded to process
     image
   - The option -F was retrofitted to be a colon-separated list of
     prototype libraries, and directories to look for prototype
     libraries in
   - Wide character strings are supported in prototypes
   - Sole void function parameter is now considered obsolete
   - Prototypes are now read from DWARF debug info, if available
   - RISC-V initial support included
   - MIPS and MIPSel are now handled by the same backend
   - ARMv6, ARMv7 and ARMv8 (AArch64) are supported, including full
     fetch backend
   - Imagination Technologies Meta is now supported
   - PowerPC64 ELFv2 little-endian ABI is now supported including full
     fetch backend
   - Cadence Tensilica Xtensa is now supported
   - LoongArch is now supported
   - On Linux, tracing of IFUNC symbols is supported
   - -w output now shows full library path
- lens-double-free.patch: removed
- Enable build on loongarch64

OBS-URL: https://build.opensuse.org/package/show/Base:System/ltrace?expand=0&rev=56
2025-09-15 20:59:57 +00:00
8 changed files with 52 additions and 55 deletions

View File

@@ -1,15 +0,0 @@
<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>

View File

@@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.com/cespedes/ltrace.git</param>
<param name="changesrevision">8eabf684ba6b11ae7a1a843aca3c0657c6329d73</param></service></servicedata>

View File

@@ -1,7 +1,7 @@
Index: ltrace-0.7.91+git20230705.8eabf68/filter.c
Index: ltrace-ltrace-0.8.0/filter.c
===================================================================
--- ltrace-0.7.91+git20230705.8eabf68.orig/filter.c
+++ ltrace-0.7.91+git20230705.8eabf68/filter.c
--- ltrace-ltrace-0.8.0.orig/filter.c
+++ ltrace-ltrace-0.8.0/filter.c
@@ -18,6 +18,8 @@
* 02110-1301 USA
*/
@@ -11,10 +11,10 @@ Index: ltrace-0.7.91+git20230705.8eabf68/filter.c
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
Index: ltrace-0.7.91+git20230705.8eabf68/options.h
Index: ltrace-ltrace-0.8.0/options.h
===================================================================
--- ltrace-0.7.91+git20230705.8eabf68.orig/options.h
+++ ltrace-0.7.91+git20230705.8eabf68/options.h
--- ltrace-ltrace-0.8.0.orig/options.h
+++ ltrace-ltrace-0.8.0/options.h
@@ -25,6 +25,8 @@
#ifndef OPTIONS_H
#define OPTIONS_H
@@ -22,5 +22,5 @@ Index: ltrace-0.7.91+git20230705.8eabf68/options.h
+#include "config.h"
+
#include <stdio.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/time.h>

View File

@@ -1,17 +0,0 @@
Index: ltrace-0.7.91+git20230705.8eabf68/dwarf_prototypes.c
===================================================================
--- 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); \
} \
- if (lens != NULL) { \
- lens_destroy(&lens->super); \
- free(lens); \
- } \
if (result != NULL) { \
+ /* This also frees lens. */ \
type_destroy(result); \
free(result); \
} \

Binary file not shown.

3
ltrace-0.8.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Nov 17 16:41:54 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.8.1:
* ** Bugfixes
* - include config.h in more cases to fix LTO builds
-------------------------------------------------------------------
Mon Sep 15 19:06:55 UTC 2025 - Andreas Schwab <schwab@suse.de>
- Update to ltrace 0.8.0
- Each DSO can now ship an ltrace config file (called prototype
library) that ltrace will open when that DSO is loaded to process
image
- The option -F was retrofitted to be a colon-separated list of
prototype libraries, and directories to look for prototype
libraries in
- Wide character strings are supported in prototypes
- Sole void function parameter is now considered obsolete
- Prototypes are now read from DWARF debug info, if available
- RISC-V initial support included
- MIPS and MIPSel are now handled by the same backend
- ARMv6, ARMv7 and ARMv8 (AArch64) are supported, including full
fetch backend
- Imagination Technologies Meta is now supported
- PowerPC64 ELFv2 little-endian ABI is now supported including full
fetch backend
- Cadence Tensilica Xtensa is now supported
- LoongArch is now supported
- On Linux, tracing of IFUNC symbols is supported
- -w output now shows full library path
- lens-double-free.patch: removed
- Enable build on loongarch64
-------------------------------------------------------------------
Wed Feb 21 10:27:40 UTC 2024 - Andreas Schwab <schwab@suse.de>
@@ -30,7 +64,7 @@ Fri Apr 9 12:27:01 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add ltrace-0.7.91-ppc64le-scv.patch from Fedora
- spec-cleaner
- add timeout to testsuite run, it is non-fatal anyway
- add timeout to testsuite run, it is non-fatal anyway
-------------------------------------------------------------------
Mon Dec 14 17:01:27 UTC 2020 - Sarah Julia Kriesch <sarah.kriesch@ibm.com>
@@ -485,7 +519,7 @@ Thu Apr 14 12:17:20 CEST 2005 - pth@suse.de
-------------------------------------------------------------------
Mon Apr 4 12:24:09 CEST 2005 - pth@suse.de
- Update to ltrace 0.3.36:
- Update to ltrace 0.3.36:
- All SUSE patches integrated
- Alpha support,
- Uses elfutils.
@@ -533,7 +567,7 @@ Fri Jun 13 12:38:20 CEST 2003 - mmj@suse.de
-------------------------------------------------------------------
Mon Jun 2 00:32:43 CEST 2003 - ro@suse.de
- remove unpackaged files from buildroot
- remove unpackaged files from buildroot
-------------------------------------------------------------------
Fri Sep 20 20:39:54 CEST 2002 - agruen@suse.de
@@ -569,7 +603,7 @@ Mon Nov 26 15:25:36 CET 2001 - uli@suse.de
-------------------------------------------------------------------
Thu Jul 19 19:24:45 CEST 2001 - uli@suse.de
- added PPC port by Anton Blanchard
- added PPC port by Anton Blanchard
-------------------------------------------------------------------
Tue Apr 3 09:32:11 CEST 2001 - bk@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package ltrace
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,17 +17,16 @@
Name: ltrace
Version: 0.7.91+git20230705.8eabf68
Version: 0.8.1
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}.tar.bz2
Source: https://gitlab.com/cespedes/ltrace/-/archive/%{version}/ltrace-%{version}.tar.gz
Source2: baselibs.conf
Patch3: ppc-ptrace.patch
Patch5: gcc9-printf-s-null-argument.patch
Patch6: lens-double-free.patch
Patch7: gcc9-Wlto-type-mismatch.patch
Patch8: s390x-ptrace.patch
Patch9: ppc64le-use-after-free.patch
@@ -39,7 +38,7 @@ BuildRequires: gcc-c++
BuildRequires: libdw-devel
BuildRequires: libelf-devel
BuildRequires: libtool
ExclusiveArch: %{ix86} s390x ppc ppc64 ppc64le %{arm} x86_64 alpha ia64 m68k aarch64 riscv64
ExclusiveArch: %{ix86} s390x ppc ppc64 ppc64le %{arm} x86_64 alpha ia64 m68k aarch64 riscv64 loongarch64
%description
Ltrace is a program that runs the specified command until it exits. It