From a5b7474fb1309f34cb92928771509f1689928daca1cd5a7db7f032b74f346cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 20 Apr 2020 10:20:52 +0000 Subject: [PATCH] Accepting request 795584 from home:bmwiedemann:reproducible:test Process debuginfo in a reproducible way (boo#1041090) OBS-URL: https://build.opensuse.org/request/show/795584 OBS-URL: https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-filesystem?expand=0&rev=113 --- mingw64-filesystem.changes | 5 +++++ mingw64-find-debuginfo.sh | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mingw64-filesystem.changes b/mingw64-filesystem.changes index cc67643..cf70013 100644 --- a/mingw64-filesystem.changes +++ b/mingw64-filesystem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 19 17:39:26 UTC 2020 - Bernhard Wiedemann + +- Process debuginfo in a reproducible way (boo#1041090) + ------------------------------------------------------------------- Wed Dec 18 21:49:44 UTC 2019 - Martin Koegler diff --git a/mingw64-find-debuginfo.sh b/mingw64-find-debuginfo.sh index d45455d..07d4808 100644 --- a/mingw64-find-debuginfo.sh +++ b/mingw64-find-debuginfo.sh @@ -27,7 +27,7 @@ SYMBOL_DIR="${ROOT_DIR}/symbols" SOURCE_DIR="${ROOT_DIR}/src" DEBUGSOURCE_DIR="${SOURCE_DIR}/debug" -for f in `find $RPM_BUILD_ROOT -type f -name "*.exe" -or -name "*.dll"` +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 ;; @@ -64,6 +64,7 @@ find $RPM_BUILD_ROOT -type f \ -or -name "*.dll.debug" \ -or -name "*.exe.mdb" \ -or -name "*.dll.mdb" \ +| sort \ | sed -n -e "s#^$RPM_BUILD_ROOT##p" >"$BUILDDIR/$target-debugfiles.list" if [ -e "$RPM_BUILD_ROOT/$SYMBOL_DIR" ]; then