Your message dated Sat, 13 Jul 2019 12:34:29 +0000
with message-id <[email protected]>
and subject line Bug#928183: fixed in fim 0.5.3-2
has caused the Debian Bug report #928183,
regarding fim: please make the build reproducible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
928183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=928183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: fim
Version: 0.5~rc3-4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: environment
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that fim could not be built reproducibly.

This is because it embeds CFLAGS and CXXFLAGS in the binary and,
because these contain --f-debug-prefix-map arguments that use the
absolute build path by design.

Patch attached that simply removes the inclusion of the build flags
from the binary.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.000000000 
+0100
--- b/debian/patches/reproducible-build.patch   2019-04-29 14:04:37.163882359 
+0100
@@ -0,0 +1,30 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2019-04-29
+
+--- fim-0.5~rc3.orig/src/fim.cpp
++++ fim-0.5~rc3/src/fim.cpp
+@@ -1603,13 +1603,6 @@ fim_perr_t main(int argc,char *argv[])
+       #ifdef FIM_CONFIGURATION
+                       "Configuration invocation: " FIM_CONFIGURATION "\n" 
+       #endif /* FIM_CONFIGURATION */
+-      #ifdef CXXFLAGS
+-                      "Compile flags: CXXFLAGS=" CXXFLAGS
+-      #ifdef CFLAGS
+-                      "  CFLAGS=" CFLAGS
+-      #endif /* CFLAGS */
+-                      "\n"
+-      #endif /* CXXFLAGS */
+                       "Fim options (features included (+) or not (-)):\n"
+       #include "version.h"
+       /* i think some flags are missing .. */
+--- fim-0.5~rc3.orig/src/Makefile.am
++++ fim-0.5~rc3/src/Makefile.am
+@@ -51,7 +51,6 @@ version.h:   ../config.h
+       $(ECHO) "\"\n\"" >> $@
+       $(GREP) define $< | $(GREP) FIM.*'"' | LC_ALL=C $(SORT) | $(SED) 
's/^#//g;s/define //g;s/^\([A-Za-z0-9_]*\) "\(.*\)"$$/"\1 = \\"\2\\"\\n"/g'   
>> $@
+       $(GREP) undef $< | $(GREP) FIM | LC_ALL=C $(SORT) | $(SED) 
's/^#//g;s/.*undef //g;s/^\([A-Za-z0-9_]*\).\+$$/-\1  /g;s/^/\"/g;s/$$/\"/g' >> 
$@
+-      $(ECHO)  '"\n'CXXFLAGS=$(CXXFLAGS)'\n"' >> $@
+ 
+ help.cpp: fim.h
+       $(ECHO) -e "#ifdef FIM_WANT_INLINE_HELP\n" > $@
--- a/debian/patches/series     1970-01-01 01:00:00.000000000 +0100
--- b/debian/patches/series     2019-04-29 13:56:59.337704517 +0100
@@ -0,0 +1 @@
+reproducible-build.patch

--- End Message ---
--- Begin Message ---
Source: fim
Source-Version: 0.5.3-2

We believe that the bug you reported is fixed in the latest version of
fim, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rafael Laboissiere <[email protected]> (supplier of updated fim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 13 Jul 2019 07:12:26 -0300
Source: fim
Architecture: source
Version: 0.5.3-2
Distribution: unstable
Urgency: medium
Maintainer: Michele Martone <[email protected]>
Changed-By: Rafael Laboissiere <[email protected]>
Closes: 925679 928183
Changes:
 fim (0.5.3-2) unstable; urgency=medium
 .
   * d/p/compile-with-gcc-9.patch: New patch (Closes: #925679)
   * d/p/reproducible-build.patch: New patch.
     Thanks to Chris Lamb (Closes: #928183)
Checksums-Sha1:
 6318236da9f081c5a36010ce9691e6e419825e68 2267 fim_0.5.3-2.dsc
 b7c55934bfa1376003c87383dd8680210a5c6f69 8216 fim_0.5.3-2.debian.tar.xz
 f951ce89c59ae22ddaa059dfaacc002e1ec2e9e5 11339 fim_0.5.3-2_amd64.buildinfo
Checksums-Sha256:
 2e5ba8bad6f07e34a43d78bc3d3c01f007d9f1651282221c47ed9951ed0374aa 2267 
fim_0.5.3-2.dsc
 c3e162468812b1945f8285b2527f31316db4ad7899a096c92bbec4585c6f92b2 8216 
fim_0.5.3-2.debian.tar.xz
 60ab1a492224c113b27f835363185f35209e40bad796c27c3e80078801d3d9ef 11339 
fim_0.5.3-2_amd64.buildinfo
Files:
 75108fcace83b5aef6f035dbcc0c0cad 2267 graphics optional fim_0.5.3-2.dsc
 1084147e7332c2ac6c7e83c72db0cfe4 8216 graphics optional 
fim_0.5.3-2.debian.tar.xz
 0e64578c8c7bd309e3654549db11d61b 11339 graphics optional 
fim_0.5.3-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEP0ZDkUmP6HS9tdmPISSqGYN4XJAFAl0pwpsACgkQISSqGYN4
XJA5JRAAhTZ0Mt2J5ZJV7pvVmkzvy5IMnH4qv6Z94WKTohETdyFIgZdLt1MDP6NY
nGN9Tux2+KrXdkNj+dqoEkZlC3p86bPtvDHFzMFUAmF9YHeA1sacfzkHS2u1at4s
VHyIq3oxpa1PFjZ5rxXq/xVcmK7m1jeaItXTmUSi5A0BWyhp5TZB8SMYm5QDcpBF
YIlfpee5VKFuerLjZFUw/HLkf13tZVTP7GsyvVhy+e9EwKXMIKEPKEJWlHMLoFBx
yMl1emZmnzz+sfpnIOHYrF6UIyPPCB8pvTeuCBX2BqSuUyzOJJZY+i8dOZ4kSxE0
YpfTMANp0U0N2x2045NhPAaqYYznPJdmjkSnhcPehAQlsBviquAjjovr7kCdv+Qz
My+ZFYcOymi46ZCcBEvWPVM5FwIvwVKzSQm78X5kYLcYtQXmg7Yj3DYS8479CsrE
1BFXfkOcBF0gA0hgXpARxUNfCv9Mr68dyq6uFfvbbaARMXv8vA0/oleLUa4VGOuL
F0a9SYxF5iP2CHPGVis3dc2HaafGnXoplHws2hZ/wauTEyCNNGJ5CwYU+uOyr+Op
pLDHvk10JU866kURsxGyuipHPl7q1fpcBPeicldIAOQdDziPEJ5yQ7FRR1g/g6Zh
/we8EfcRC8MrMhs/uMU7W6vFlPVK9GsWWW+zfM3mZMmixe56+HE=
=t4oI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to