Your message dated Thu, 12 May 2016 12:19:26 +0000
with message-id <[email protected]>
and subject line Bug#823940: fixed in blender 2.77.a+dfsg0-4
has caused the Debian Bug report #823940,
regarding blender: please make the build reproducible (timestamps)
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.)


-- 
823940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823940
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: blender
Version: 2.77.a+dfsg0-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: timestamps
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that blender could not be built reproducibly.

Specifically, the current system time is used to define BUILD_DATE and
BUILD_TIME in build_files/cmake/buildinfo.cmake, obviously rendering
the build unreproducible.

The attached patch uses SOURCE_DATE_EPOCH [2] instead of the current
time. This should make the build reproducible.

Regards,
Fabian Wolff

[1] https://wiki.debian.org/ReproducibleBuilds
[2] https://reproducible-builds.org/specs/source-date-epoch/
--- a/build_files/cmake/buildinfo.cmake
+++ b/build_files/cmake/buildinfo.cmake
@@ -134,8 +134,13 @@
 # BUILD_PLATFORM and BUILD_PLATFORM are taken from CMake
 # but BUILD_DATE and BUILD_TIME are platform dependent
 if(UNIX)
-	execute_process(COMMAND date "+%Y-%m-%d" OUTPUT_VARIABLE BUILD_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
-	execute_process(COMMAND date "+%H:%M:%S" OUTPUT_VARIABLE BUILD_TIME OUTPUT_STRIP_TRAILING_WHITESPACE)
+	if(DEFINED ENV{SOURCE_DATE_EPOCH})
+		execute_process(COMMAND date "-u" "-d" "@$ENV{SOURCE_DATE_EPOCH}" "+%Y-%m-%d" OUTPUT_VARIABLE BUILD_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
+		execute_process(COMMAND date "-u" "-d" "@$ENV{SOURCE_DATE_EPOCH}" "+%H:%M:%S" OUTPUT_VARIABLE BUILD_TIME OUTPUT_STRIP_TRAILING_WHITESPACE)
+	else()
+		execute_process(COMMAND date "+%Y-%m-%d" OUTPUT_VARIABLE BUILD_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
+		execute_process(COMMAND date "+%H:%M:%S" OUTPUT_VARIABLE BUILD_TIME OUTPUT_STRIP_TRAILING_WHITESPACE)
+	endif()
 endif()
 if(WIN32)
 	execute_process(COMMAND cmd /c date /t OUTPUT_VARIABLE BUILD_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)

--- End Message ---
--- Begin Message ---
Source: blender
Source-Version: 2.77.a+dfsg0-4

We believe that the bug you reported is fixed in the latest version of
blender, 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.
Matteo F. Vescovi <[email protected]> (supplier of updated blender 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: SHA512

Format: 1.8
Date: Thu, 12 May 2016 14:09:57 +0200
Source: blender
Binary: blender blender-data blender-dbg
Architecture: source
Version: 2.77.a+dfsg0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Matteo F. Vescovi <[email protected]>
Description:
 blender    - Very fast and versatile 3D modeller/renderer
 blender-data - Very fast and versatile 3D modeller/renderer - data package
 blender-dbg - Very fast and versatile 3D modeller/renderer - debug package
Closes: 823940
Changes:
 blender (2.77.a+dfsg0-4) unstable; urgency=medium
 .
   * debian/: fix linking to OpenVDB library
   * debian/patches/: patchset updated
     - 0008-make_blender_reproducible.patch added (Closes: #823940)
       Thanks to Campbell Burton (upstream dev) for the patch.
Checksums-Sha1:
 3e378b021fe1c48bf73b9ef0b83384aebb639c84 3028 blender_2.77.a+dfsg0-4.dsc
 a715ca7034cbd976d1bff4b9f364fd7277dd0a7b 44388 
blender_2.77.a+dfsg0-4.debian.tar.xz
Checksums-Sha256:
 0d4cc2362bf55f0925ad7e56154ff1f9ce6c3754bb0dc3cf45b653e3a4031de4 3028 
blender_2.77.a+dfsg0-4.dsc
 6662086a6fd245034db4a2501063a28558d2bf1665052568eeef69b921b8159e 44388 
blender_2.77.a+dfsg0-4.debian.tar.xz
Files:
 edbdda2a108273a641e049ab695295d7 3028 graphics optional 
blender_2.77.a+dfsg0-4.dsc
 d0184c90bc8934a2e9b3c2c951580c39 44388 graphics optional 
blender_2.77.a+dfsg0-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Comment: Debian powered!

iQJ8BAEBCgBmBQJXNHMnXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGM0REMDlGOERBODdEMURGNTA0NkM5OUIw
NjEyRjQ5NDRFQ0RDRDVBAAoJEAYS9JROzc1aFqMP/RDJEFBy+vqXcjBTPHU5sFES
M/NFvmTfjUAqtaiNb4q5ZN0djeooKx3he8ZxWH8WZ7rEOylOcTE2JwZdJ11ikj9E
0GEHXU7DJH4MgsvIYZmM6THrTQ+WOu4JVJuxP9/RSq+VFqbS5KCPfiBAQoUeKVRL
ivsNa323s+ZEj3nHzpXIz8Zeq0QxnHp/i1QHZAtAHztwUHPia27kVhPdpAdeQUvk
qbFSF2lXS4q45O4txRK9YYEQgfUWwQVKJEy5zxdgPNNtemOjvY2lq8tMhd0eFpNc
X9wkfQrdLxcP5SbO9WM02dh1GCfTt6XbWGOxD2Z6/aqZppcz60edJjXnPUnNIuA9
ucJIiRC2ko7Z42VzZfGZB42ygjglao3b7pDZM9Q8w5DLaxiZotmi0YmkOBFEwySS
xElIwR1wOhDI4PhwBCGpWPV0x8HYyA309yW5Z74fbPR6U+FyOjCaIgBiS0C0QIgE
dQArwU9lPw0rzaPbqzR+hL3xJEhNVot355DSVxZnBisiXu/xpuC8klsS2L8yee58
QyZjT4z3wNSPIB7q1/WLm5/KmS8TTu/Fep8Xm76pJ9UoFyhmJzPO6qda3ClKNSxN
lj3tzvzPzoc5tX+IA3ICr/9+yqxLaklZQJxYBxyAvcHGkMaWbtf9V2Z8Bpxseg3G
2a8svtyZC0ckfmoUT4NC
=s5JN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to