Package: rr
Version: 5.4.0-1
Severity: wishlist

Dear Maintainer,
I came to the reproducible build page [1] and saw
latest version was not reproducible.

I guess attached patch would at least remove the embedded
build path from the files, which is mentioned in [2] too.
Maybe that is already enough.

Kind regards,
Bernhard

[1] https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rr.html
[2] 
https://salsa.debian.org/reproducible-builds/reproducible-notes/-/commit/925d9e5f6


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'proposed-updates-debug'), (500, 
'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-1-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rr depends on:
ii  libc6           2.31-4
ii  libc6-i386      2.31-4
ii  libcapnp-0.7.0  0.7.0-7
ii  libgcc-s1       10.2.0-16
ii  libstdc++6      10.2.0-16
ii  python3         3.8.2-3
Description: Remove embedded build paths

Author: Bernhard Übelacker <bernha...@mailbox.org>
Forwarded: no
Last-Update: 2020-11-06

Index: rr-5.4.0/CMakeLists.txt
===================================================================
--- rr-5.4.0.orig/CMakeLists.txt
+++ rr-5.4.0/CMakeLists.txt
@@ -81,7 +81,7 @@ endif()
 # Base settings for debug and release/unspecified builds.
 # Use -Werror for debug builds because we assume a developer is building, not a user.
 set(RR_FLAGS_DEBUG "-Wall -Wextra -DDEBUG -UNDEBUG")
-set(RR_FLAGS_RELEASE "-Wall -Wextra -UDEBUG -DNDEBUG")
+set(RR_FLAGS_RELEASE "-Wall -Wextra -UDEBUG -DNDEBUG -ffile-prefix-map=${CMAKE_SOURCE_DIR}=. -Wa,--debug-prefix-map,${CMAKE_SOURCE_DIR}=.")
 
 # The folowing settings are the defaults for the OTHER build type.
 # Flags used to build the preload library. MUST have debuginfo enabled. SHOULD be optimized.

Reply via email to