Hello community,

here is the log from the commit of package valgrind for openSUSE:Leap:15.2 
checked in at 2020-02-25 12:16:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/valgrind (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.valgrind.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "valgrind"

Tue Feb 25 12:16:42 2020 rev:28 rq:777944 version:3.15.0

Changes:
--------
New Changes file:

--- /dev/null   2019-12-19 10:12:34.003146842 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.valgrind.new.26092/valgrind-client-headers-source.changes
     2020-02-25 12:16:50.412389826 +0100
@@ -0,0 +1,1198 @@
+-------------------------------------------------------------------
+Wed Nov 27 14:17:11 UTC 2019 - Dirk Mueller <[email protected]>
+
+- remove jit-register-unregister.diff (fails patch not applied check)
+
+-------------------------------------------------------------------
+Tue Oct 29 12:10:39 UTC 2019 - Dirk Mueller <[email protected]>
+
+- move s390-*xml files to main package (bsc#1147071)
+
+-------------------------------------------------------------------
+Tue Oct 22 16:46:06 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Use _multibuild for creating the client-headers subpackage. As
+  the headers are just copied over, the package has no substantial
+  build dependencies.
+
+-------------------------------------------------------------------
+Thu Oct 17 22:43:21 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Move the BSD-style licensed client headers to a subpackage.
+  Packages only requiring e.g. valgrind.h during build no longer
+  need the full valgrind and valgrind-devel packages then.
+- Clean up documentation a bit:
+  + use %build_cond, drop unused docbook_4 BuildRequires
+  + remove the Postscript Valgrind manual in favor of the PDF one.
+- Add GFDL-1.2 to the License, relevant for man pages and Valgrind
+  PDF/HTML manual.
+
+-------------------------------------------------------------------
+Wed May  8 15:36:12 UTC 2019 - Dirk Mueller <[email protected]>
+
+- update to 3.15.0 (fate#327402) (jira SLE-5861):
+  3.15.0 is a feature release with many improvements and the usual collection 
of
+  bug fixes.
+
+  This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
+  PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
+  MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
+  X86/Solaris, AMD64/Solaris and AMD64/MacOSX 10.12.  There is also preliminary
+  support for X86/macOS 10.13 and AMD64/macOS 10.13.
+
+  * ==================== CORE CHANGES ===================
+
+  * The XTree Massif output format now makes use of the information obtained
+  when specifying --read-inline-info=yes.
+
+  * amd64 (x86_64): the RDRAND and F16C insn set extensions are now supported.
+
+  * ==================== TOOL CHANGES ====================
+
+  * DHAT:
+
+  - DHAT been thoroughly overhauled, improved, and given a GUI.  As a result,
+    it has been promoted from an experimental tool to a regular tool.  Run it
+    with --tool=dhat instead of --tool=exp-dhat.
+
+  - DHAT now prints only minimal data when the program ends, instead writing
+    the bulk of the profiling data to a file.  As a result, the --show-top-n
+    and --sort-by options have been removed.
+
+  - Profile results can be viewed with the new viewer, dh_view.html.  When
+    a run ends, a short message is printed, explaining how to view the result.
+
+  - See the documentation for more details.
+
+  * Cachegrind:
+
+  - cg_annotate has a new option, --show-percs, which prints percentages next
+    to all event counts.
+
+  * Callgrind:
+
+  - callgrind_annotate has a new option, --show-percs, which prints percentages
+    next to all event counts.
+
+  - callgrind_annotate now inserts commas in call counts, and
+    sort the caller/callee lists in the call tree.
+
+  * Massif:
+
+  - The default value for --read-inline-info is now "yes" on
+    Linux/Android/Solaris. It is still "no" on other OS.
+
+  * Memcheck:
+
+  - The option --xtree-leak=yes (to output leak result in xtree format)
+    automatically activates the option --show-leak-kinds=all, as xtree
+    visualisation tools such as kcachegrind can in any case select what kind
+    of leak to visualise.
+
+  - There has been further work to avoid false positives.  In particular,
+    integer equality on partially defined inputs (C == and !=) is now handled
+    better.
+
+- remove 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+   0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
+   0001-Bug-397187-s390x-Add-vector-register-support-for-vgd.patch
+   0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+   0001-Bug-400490-s390x-Fix-register-allocation-for-VRs-vs-.patch
+   0001-Bug-400491-s390x-Sign-extend-immediate-operand-of-LO.patch
+   0001-Bug-402519-POWER-3.0-addex-instruction-incorrectly-i.patch
+   0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch
+   0001-s390x-more-fixes.patch
+   Implement-emulated-system-registers.-Fixes-392146.patch (all upstream)
+
+-------------------------------------------------------------------
+Wed Apr 24 17:43:06 UTC 2019 - Martin Liška <[email protected]>
+
+- Disable LTO (boo#1133288).
+
+-------------------------------------------------------------------
+Tue Feb 19 21:54:58 UTC 2019 - Dirk Mueller <[email protected]>
+
+- add 0001-Bug-385411-s390x-Add-z13-vector-floating-point-suppo.patch
+  0001-Bug-385411-s390x-Tests-and-internals-for-z13-vector-.patch
+  0001-Bug-399444-s390x-Drop-unnecessary-check-in-s390_irge.patch
+  0001-Bug-403552-s390x-Fix-vector-facility-bit-number.patch (bsc#1124111)
+
+-------------------------------------------------------------------
+Sat Feb  9 08:41:25 UTC 2019 - [email protected]
+
+- Don't package files twice on ppc64
+
+-------------------------------------------------------------------
+Wed Jan 16 16:23:35 UTC 2019 - Michal Suchanek <[email protected]>
+
+- Fix POWER9 addex instruction emulation (bsc#1121025).
+  0001-Bug-402519-POWER-3.0-addex-instruction-incorrectly-i.patch
+
+-------------------------------------------------------------------
+Fri Jan 11 12:30:42 UTC 2019 - Dirk Mueller <[email protected]>
+
+- split into a -32bit subpackage, fix buildrequires for older distros
+
+-------------------------------------------------------------------
+Thu Dec  6 02:53:30 UTC 2018 - Bernhard Wiedemann <[email protected]>
+
+- drop unreproducible unused .a files to make the package build
+  reproducible (boo#1118163)
+
+-------------------------------------------------------------------
+Sun Nov 25 21:06:20 UTC 2018 - [email protected]
+
+- update valgrind.xen.patch to branch bug390553-20181125-ddfc274b2
+
+-------------------------------------------------------------------
+Thu Nov 22 09:21:45 UTC 2018 - Dirk Mueller <[email protected]>
+
+- build against Toolchain module for SLE12
+- add 0001-Bug-397187-s390x-Add-vector-register-support-for-vgd.patch
+  0001-Bug-400490-s390x-Fix-register-allocation-for-VRs-vs-.patch,
+  0001-Bug-400491-s390x-Sign-extend-immediate-operand-of-LO.patch,
+  0001-s390x-more-fixes.patch,
+  Implement-emulated-system-registers.-Fixes-392146.patch (FATE#326355)
+- enable check (poo#36751)
+
+-------------------------------------------------------------------
+Wed Nov 21 11:51:45 UTC 2018 - Dirk Mueller <[email protected]>
+
+- update to 3.14.0 (bsc#1114575, FATE#326355):
+  see http://www.valgrind.org/docs/manual/dist.news.html
+  * The new option --keep-debuginfo=no|yes (default no) can be used to retain
+    debug info for unloaded code.  This allows saved stack traces (e.g. for
+    memory leaks) to include file/line info for code that has been dlclose'd 
(or
+    similar).  See the user manual for more information and known limitations.
+  * Ability to specify suppressions based on source file name and line number.
+  * Majorly overhauled register allocator.  No end-user changes, but the JIT
+    generates code a bit more quickly now.
+  * Preliminary support for macOS 10.13 has been added.
+  * mips: support for MIPS32/MIPS64 Revision 6 has been added.
+  * mips: support for MIPS SIMD architecture (MSA) has been added.
+  * mips: support for MIPS N32 ABI has been added.
+  * s390: partial support for vector instructions (integer and string) has been
+    added.
+  * Helgrind: Addition of a flag
+    --delta-stacktrace=no|yes [yes on linux amd64/x86]
+    which specifies how full history stack traces should be computed.
+    Setting this to =yes can speed up Helgrind by 25% when using
+    --history-level=full.
+  * Memcheck: reduced false positive rate for optimised code created by Clang 6
+    / LLVM 6 on x86, amd64 and arm64.  In particular, Memcheck analyses code
+    blocks more carefully to determine where it can avoid expensive definedness
+    checks without loss of precision.  This is controlled by the flag
+    --expensive-definedness-checks=no|auto|yes [auto].
+  * Valgrind is now buildable with link-time optimisation (LTO).  A new
+    configure option --enable-lto=yes allows building Valgrind with LTO.  If 
the
+    toolchain supports it, this produces a smaller/faster Valgrind (up to 10%).
+    Note that if you are doing Valgrind development, --enable-lto=yes massively
+    slows down the build process.
+- remove epoll-wait-fix.patch,
+  Fix-access-to-time-base-register-to-return-64-bits.patch,
+  0001-Accept-read-only-PT_LOAD-segments-and-.rodata.patch (upstream),
+
+-------------------------------------------------------------------
+Tue Sep 25 16:32:22 UTC 2018 - Michal Suchanek <[email protected]>
+
++++ 1001 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2/.valgrind.new.26092/valgrind-client-headers-source.changes
--- /work/SRC/openSUSE:Leap:15.2/valgrind/valgrind.changes      2020-01-15 
16:27:33.636724285 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.valgrind.new.26092/valgrind.changes   
2020-02-25 12:16:50.480389968 +0100
@@ -1,0 +2,29 @@
+Wed Nov 27 14:17:11 UTC 2019 - Dirk Mueller <[email protected]>
+
+- remove jit-register-unregister.diff (fails patch not applied check)
+
+-------------------------------------------------------------------
+Tue Oct 29 12:10:39 UTC 2019 - Dirk Mueller <[email protected]>
+
+- move s390-*xml files to main package (bsc#1147071)
+
+-------------------------------------------------------------------
+Tue Oct 22 16:46:06 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Use _multibuild for creating the client-headers subpackage. As
+  the headers are just copied over, the package has no substantial
+  build dependencies.
+
+-------------------------------------------------------------------
+Thu Oct 17 22:43:21 UTC 2019 - Stefan Brüns <[email protected]>
+
+- Move the BSD-style licensed client headers to a subpackage.
+  Packages only requiring e.g. valgrind.h during build no longer
+  need the full valgrind and valgrind-devel packages then.
+- Clean up documentation a bit:
+  + use %build_cond, drop unused docbook_4 BuildRequires
+  + remove the Postscript Valgrind manual in favor of the PDF one.
+- Add GFDL-1.2 to the License, relevant for man pages and Valgrind
+  PDF/HTML manual.
+
+-------------------------------------------------------------------
@@ -4 +33 @@
-- update to 3.15.0 (fate#327402):
+- update to 3.15.0 (fate#327402) (jira SLE-5861):

Old:
----
  jit-register-unregister.diff

New:
----
  _multibuild
  valgrind-client-headers-source.changes

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ valgrind.spec ++++++
--- /var/tmp/diff_new_pack.P5TvZR/_old  2020-02-25 12:16:51.180391417 +0100
+++ /var/tmp/diff_new_pack.P5TvZR/_new  2020-02-25 12:16:51.184391427 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package valgrind
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,37 +19,44 @@
 # during building the major version of glibc is built into the suppression file
 %define glibc_main_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut 
-d. -f1)
 %define glibc_major_version %(getconf GNU_LIBC_VERSION | cut -d' ' -f2 | cut 
-d. -f2)
-%define building_docs 1
 
-Name:           valgrind
+%global flavor @BUILD_FLAVOR@%{nil}
+
+%if "%{flavor}" == "client-headers"
+%define psuffix  -client-headers-source
+%endif
+
+%bcond_without docs
+
+Name:           valgrind%{?psuffix}
 Version:        3.15.0
 Release:        0
 Summary:        Memory Management Debugger
-License:        GPL-2.0-or-later
+License:        GPL-2.0-or-later AND GFDL-1.2-only
 Group:          Development/Tools/Debuggers
-Url:            http://valgrind.org/
+URL:            http://valgrind.org/
 Source0:        ftp://sourceware.org/pub/valgrind/valgrind-%{version}.tar.bz2
 # https://bugs.kde.org/show_bug.cgi?id=390553
 # 
https://github.com/olafhering/valgrind/compare/olh-base-master...olh-fixes-master
 Patch0:         valgrind.xen.patch
-Patch1:         jit-register-unregister.diff
 Patch2:         armv6-support.diff
-BuildRequires:  automake
+%if "%{flavor}" == ""
+%if %{with docs}
 BuildRequires:  docbook-xsl-stylesheets
-BuildRequires:  docbook_4
+BuildRequires:  libxslt
+%endif
+BuildRequires:  automake
 %if 0%{?suse_version} < 1320
 BuildRequires:  gcc8-c++
 %else
 BuildRequires:  gcc-c++
 %endif
-BuildRequires:  libxslt
 BuildRequires:  pkgconfig
 BuildRequires:  procps
 Requires:       glibc >= %{glibc_main_version}.%{glibc_major_version}
 Requires:       glibc < 
%{glibc_main_version}.%{lua:print(rpm.expand("%{glibc_major_version}")+1)}
 Provides:       callgrind = %{version}
 Obsoletes:      callgrind < %{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExclusiveArch:  aarch64 %ix86 x86_64 ppc ppc64 ppc64le s390x armv7l armv7hl 
armv6l armv6hl
 %ifarch x86_64 ppc64
 %if 0%{?suse_version} < 1320
@@ -59,6 +66,8 @@
 %endif
 BuildRequires:  glibc-devel-32bit
 %endif
+%else
+%endif
 
 %description
 Valgrind checks all memory operations in an application, like read,
@@ -81,33 +90,35 @@
 but it has been successfully used to optimize several KDE applications.
 
 %package devel
-Summary:        Memory Management Debugger
+Summary:        Header files for for Valgrind
+License:        GPL-2.0-or-later
 Group:          Development/Tools/Debuggers
 Requires:       %{name} = %{version}
+Requires:       %{name}-client-headers = %{version}
 
 %description devel
-Valgrind checks all memory operations in an application, like read,
-write, malloc, new, free, and delete. Valgrind can find uses of
-uninitialized memory, access to already freed memory, overflows,
-illegal stack operations, memory leaks, and any illegal
-new/malloc/free/delete commands. Another program in the package is
-"cachegrind," a profiler based on the valgrind engine.
+This package contains the Valgrind header files.
 
-To use valgrind you should compile your application with "-g -O0"
-compiler options. Afterwards you can use it with:
-
-valgrind --tool=memcheck --sloppy-malloc=yes --leak-check=yes
---db-attach=yes my_application, for example.
+%package -n valgrind-client-headers
+Summary:        Header files for for Valgrind
+# The client headers are permissively licensed under a BSD-style
+# license. SPDX License Request filed.
+# License:      BSD-3-Clause
+License:        GPL-2.0-or-later AND GFDL-1.2-only
+Group:          Development/Tools/Debuggers
+Provides:       valgrind-devel:%{_includedir}/valgrind/valgrind.h
+BuildArch:      noarch
 
-More valgrind options can be listed via "valgrind --help". There is
-also complete documentation in the %{_docdir}/valgrind/
-directory. A debugged application runs slower and needs much more
-memory, but is usually still usable. Valgrind is still in development,
-but it has been successfully used to optimize several KDE applications.
+%description -n valgrind-client-headers
+This package contains the BSD-style licensed Valgrind header
+files for inclusion into regular programs. The program can
+detect if it is running under Valgrind and interact with the
+Valgrind core and plugins.
 
 %ifarch x86_64 ppc64 s390x
 %package 32bit
 Summary:        Memory Management Debugger
+License:        GPL-2.0-or-later
 Group:          Development/Tools/Debuggers
 Requires:       %{name} = %{version}
 Provides:       valgrind:%{_libdir}/valgrind/32bit-core.xml
@@ -136,13 +147,12 @@
 %endif
 
 %prep
-%setup -q
+%setup -q -n valgrind-%{version}
 %patch0 -p1
-# needs porting to 3.11
-##%patch1
 %patch2
 
 %build
+%if "%{flavor}" == ""
 %define _lto_cflags %{nil}
 %if 0%{?suse_version} < 1320
 export CC="%{_bindir}/gcc-8"
@@ -175,25 +185,42 @@
     %{nil}
 
 make %{?_smp_mflags}
-%if %{building_docs}
+%if %{with docs}
 pushd docs
     #make all-docs
     # building the docs needs network access at the moment :-(
     make FAQ.txt man-pages html-docs
 popd
 %endif
+%endif
 
 %install
+%if "%{flavor}" == ""
 make DESTDIR=%{buildroot} install %{?_smp_mflags}
 rm %{buildroot}/%{_libdir}/valgrind/lib*.a # drop unreproducible unused files 
to fix boo#1118163
+
 mkdir -p %{buildroot}/%{_defaultdocdir}
 if test -d %{buildroot}%{_datadir}/doc/valgrind; then
+     # Remove Postscript manual (20 MByte), there are PDF and HTML versions
+     rm %{buildroot}%{_datadir}/doc/valgrind/valgrind_manual.ps
      mv %{buildroot}%{_datadir}/doc/valgrind %{buildroot}/%{_defaultdocdir}
 fi
 mkdir -p %{buildroot}%{_docdir}/%{name}
-cp -a README* NEWS AUTHORS %{buildroot}/%{_defaultdocdir}/%{name}
+
+rm 
%{buildroot}/%{_includedir}/valgrind/{valgrind,callgrind,drd,helgrind,memcheck}.h
+
+%else
+install -m 755 -d %{buildroot}/%{_includedir}/valgrind
+install -m 644 -t %{buildroot}/%{_includedir}/valgrind \
+    include/valgrind.h \
+    callgrind/callgrind.h \
+    drd/drd.h \
+    helgrind/helgrind.h \
+    memcheck/memcheck.h
+%endif
 
 %check
+%if "%{flavor}" == ""
 # OBS doesn't have a z13
 %ifnarch s390x
 # has too many spurious failures
@@ -201,15 +228,22 @@
 #patent pending self test
 VALGRIND_LIB=$PWD/.in_place VALGRIND_LIB_INNER=$PWD/.in_place 
./coregrind/valgrind  /usr/bin/perl -wc tests/vg_regtest
 %endif
+%endif
 
+%if "%{flavor}" == ""
 %files devel
-%{_includedir}/valgrind
+%dir %{_includedir}/valgrind
+%{_includedir}/valgrind/config.h
+%{_includedir}/valgrind/vki
+%{_includedir}/valgrind/libvex*.h
+%{_includedir}/valgrind/pub_tool*.h
 %{_libdir}/pkgconfig/valgrind.pc
 
-%files
+%files -n valgrind
 %license COPYING COPYING.DOCS
 %{_bindir}/*
-%doc %{_defaultdocdir}/%{name}
+%doc README* NEWS AUTHORS
+%doc %{_defaultdocdir}/%{name}/*
 %doc %{_mandir}/*/*
 %dir %{_libdir}/valgrind
 %ifarch aarch64
@@ -276,6 +310,13 @@
 %{_libdir}/valgrind/s390x-linux64.xml
 %{_libdir}/valgrind/s390x-vx-linux-valgrind.xml
 %{_libdir}/valgrind/s390x-vx-linux.xml
+# See https://bugzilla.suse.com/show_bug.cgi?id=1147071#c0
+%{_libdir}/valgrind/s390-acr-valgrind-s*.xml
+%{_libdir}/valgrind/s390-acr.xml
+%{_libdir}/valgrind/s390-fpr-valgrind-s*.xml
+%{_libdir}/valgrind/s390-fpr.xml
+%{_libdir}/valgrind/s390-vx-valgrind-s*.xml
+%{_libdir}/valgrind/s390-vx.xml
 
 %ifarch x86_64 ppc64 s390x
 %files 32bit
@@ -286,12 +327,6 @@
 %ifarch ppc ppc64
 %{_libdir}/valgrind/*-ppc32-linux
 %endif
-%{_libdir}/valgrind/s390-acr-valgrind-s*.xml
-%{_libdir}/valgrind/s390-acr.xml
-%{_libdir}/valgrind/s390-fpr-valgrind-s*.xml
-%{_libdir}/valgrind/s390-fpr.xml
-%{_libdir}/valgrind/s390-vx-valgrind-s*.xml
-%{_libdir}/valgrind/s390-vx.xml
 %{_libdir}/valgrind/mips-cp0-valgrind-s*.xml
 %{_libdir}/valgrind/mips-cp0.xml
 %{_libdir}/valgrind/mips-cpu-valgrind-s*.xml
@@ -329,4 +364,14 @@
 %{_libdir}/valgrind/powerpc-altivec64l-valgrind.xml
 %{_libdir}/valgrind/powerpc-altivec64l.xml
 
+%else
+%files -n valgrind-client-headers
+%dir %{_includedir}/valgrind
+%{_includedir}/valgrind/callgrind.h
+%{_includedir}/valgrind/drd.h
+%{_includedir}/valgrind/helgrind.h
+%{_includedir}/valgrind/memcheck.h
+%{_includedir}/valgrind/valgrind.h
+%endif
+
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>client-headers</package>
</multibuild>

Reply via email to