Your message dated Sun, 08 Sep 2019 04:43:38 +0000
with message-id <[email protected]>
and subject line Bug#935667: Removed package(s) from unstable
has caused the Debian Bug report #806527,
regarding pyside-tools: please write reproducible resource files
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.)


-- 
806527: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=806527
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pyside-tools
Version: 0.2.15-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: toolchain timestamps
X-Debbugs-Cc: [email protected]

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that rcc embeds a timestamp into a comment in generated Python code.

The attached patch removes the timestamp, since it provides no
meaningful information and generates unreproducible files.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-builds.patch b/debian/patches/reproducible-builds.patch
new file mode 100644
index 0000000..67e51a1
--- /dev/null
+++ b/debian/patches/reproducible-builds.patch
@@ -0,0 +1,22 @@
+Index: pyside-tools-0.2.15/pyrcc/rcc.cpp
+===================================================================
+--- pyside-tools-0.2.15.orig/pyrcc/rcc.cpp
++++ pyside-tools-0.2.15/pyrcc/rcc.cpp
+@@ -28,7 +28,6 @@
+ #include <qfile.h>
+ #include <qfileinfo.h>
+ #include <qlocale.h>
+-#include <qdatetime.h>
+ #include <qtextstream.h>
+ #include <qbytearray.h>
+ #include <qhash.h>
+@@ -398,8 +397,7 @@ RCCResourceLibrary::writeHeader(FILE *ou
+     fprintf(out, "# -*- coding: utf-8 -*-\n\n");
+     fprintf(out, "# Resource object code\n");
+     fprintf(out, "#\n");
+-    fprintf(out, "# Created: %s\n", QDateTime::currentDateTime().toString().toUtf8().constData());
+-    fprintf(out, "#      by: The Resource Compiler for PySide (Qt v%s)\n", QT_VERSION_STR);
++    fprintf(out, "# Created by: The Resource Compiler for PySide (Qt v%s)\n", QT_VERSION_STR);
+     fprintf(out, "#\n");
+     fprintf(out, "# WARNING! All changes made in this file will be lost!\n");
+     fprintf(out, "\n");
diff --git a/debian/patches/series b/debian/patches/series
index 7dd68cf..c1121a5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 u_4125d2d_Fix_pysideuictest.patch
+reproducible-builds.patch

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.2.15-1+rm

Dear submitter,

as the package pyside-tools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/935667

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

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

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to