Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mingw64-filesystem for openSUSE:Factory checked in at 2024-11-18 20:02:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mingw64-filesystem (Old) and /work/SRC/openSUSE:Factory/.mingw64-filesystem.new.2017 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mingw64-filesystem" Mon Nov 18 20:02:02 2024 rev:28 rq:1224813 version:20241118 Changes: -------- --- /work/SRC/openSUSE:Factory/mingw64-filesystem/mingw64-filesystem.changes 2024-08-05 17:21:08.326788547 +0200 +++ /work/SRC/openSUSE:Factory/.mingw64-filesystem.new.2017/mingw64-filesystem.changes 2024-11-18 20:03:04.785823366 +0100 @@ -1,0 +2,7 @@ +Mon Nov 18 09:42:14 UTC 2024 - Ralf Habacker <[email protected]> + +- Update version to 20241118 +- Speed up the collection of source files for the creation of debug + packages by using multiple concurrent processes (boo1202431) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mingw64-filesystem.spec ++++++ --- /var/tmp/diff_new_pack.s84q84/_old 2024-11-18 20:03:05.721862517 +0100 +++ /var/tmp/diff_new_pack.s84q84/_new 2024-11-18 20:03:05.721862517 +0100 @@ -31,7 +31,7 @@ %define _rpmmacrodir %{_sysconfdir}/rpm %endif Name: mingw64-filesystem -Version: 20240803 +Version: 20241118 Release: 0 Summary: MinGW base filesystem and environment License: GPL-2.0-or-later ++++++ mingw64-find-debuginfo.sh ++++++ --- /var/tmp/diff_new_pack.s84q84/_old 2024-11-18 20:03:05.841867536 +0100 +++ /var/tmp/diff_new_pack.s84q84/_new 2024-11-18 20:03:05.841867536 +0100 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash #mingw64-find-debuginfo.sh - automagically generate debug info and file list #for inclusion in an rpm spec file for mingw64-* packages. # @@ -7,6 +7,28 @@ target="mingw64" host="x86_64-w64-mingw32" +# create for single package as child process +if [[ -v RUN_SINGLE ]]; then + f=$1 + case $("$host-objdump" -h "$f" 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in + *debuglink*) exit 0;; + *debug*) ;; + *gnu.version*) + echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" is already stripped!" + exit 0 + ;; + *) exit 0 ;; + esac + echo extracting debug info from $f + # grep all listed source files belonging to this package into temporary source file list. + "$host-objdump" -Wi "$f" | "$host-objdump-srcfiles" | grep $srcdir >>"$SOURCEFILE.tmp" + "$host-objcopy" --only-keep-debug "$f" "$f.debug" || : + pushd `dirname $f` + "$host-objcopy" --add-gnu-debuglink=`basename "$f.debug"` --strip-unneeded `basename "$f"` || : + popd + exit 0 +fi + # speed up running objdump, see bug https://bugzilla.opensuse.org/show_bug.cgi?id=1202431 export MALLOC_CHECK_=0 export MALLOC_PERTURB_=0 @@ -29,36 +51,17 @@ srcdir=`realpath $PWD` +if [ ! -e "$BUILDDIR" ]; then + mkdir -p "$BUILDDIR" +fi + +find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll" | sort | \ + srcdir=$srcdir SOURCEFILE=$SOURCEFILE BUILDDIR=$BUILDDIR RPM_BUILD_ROOT=$RPM_BUILD_ROOT RUN_SINGLE=1 xargs --max-args=1 --max-procs=0 bash -x $0 + ROOT_DIR="/usr/$host/sys-root/mingw" SOURCE_DIR="${ROOT_DIR}/src" DEBUGSOURCE_DIR="${SOURCE_DIR}/debug" -for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll" | sort` -do - case $("$host-objdump" -h "$f" 2>/dev/null | egrep -o '(debug[\.a-z_]*|gnu.version)') in - *debuglink*) continue ;; - *debug*) ;; - *gnu.version*) - echo "WARNING: "`echo $f | sed -e "s,^$RPM_BUILD_ROOT/*,/,"`" is already stripped!" - continue - ;; - *) continue ;; - esac - - echo extracting debug info from $f - - # grep all listed source files belonging to this package into temporary source file list. - "$host-objdump" -Wi "$f" | "$host-objdump-srcfiles" | grep $srcdir >>"$SOURCEFILE.tmp" - - "$host-objcopy" --only-keep-debug "$f" "$f.debug" || : - pushd `dirname $f` - "$host-objcopy" --add-gnu-debuglink=`basename "$f.debug"` --strip-unneeded `basename "$f"` || : - popd -done - -if [ ! -e "$BUILDDIR" ]; then - mkdir -p "$BUILDDIR" -fi find $RPM_BUILD_ROOT -type f \ -name "*.exe.debug" \ -or -name "*.dll.debug" \
