[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#828909: marked as done (qtruby: please make the build reproducible)



Your message dated Sun, 10 Sep 2017 16:20:21 +0000
with message-id <[🔎] E1dr4y5-000HOf-An@fasolo.debian.org>
and subject line Bug#875254: Removed package(s) from unstable
has caused the Debian Bug report #828909,
regarding qtruby: 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 owner@bugs.debian.org
immediately.)


-- 
828909: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=828909
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: qtruby
Version: 4:4.14.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: fileordering timestamps umask
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that qtruby could not be built reproducibly.
A tarball generated during build is unsorted, its files have the current
time as timestamps and the permissions vary with the umask.

The attached patch fixes those issues.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/control b/debian/control
index 9fc9321..5b35a07 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,8 @@ Build-Depends: cmake,
                pkg-kde-tools (>= 0.6.8),
                ruby,
                ruby-dev,
-               smoke-dev-tools (>= 4:4.11)
+               smoke-dev-tools (>= 4:4.11),
+               tar (>= 1.28)
 Build-Conflicts: libqtwebkit-dev
 Standards-Version: 3.9.6
 Homepage: http://projects.kde.org/projects/kde/kdebindings/ruby/qtruby
diff --git a/debian/rules b/debian/rules
index 2e222a0..c16b5f6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,7 +27,7 @@ override_dh_compress:
 
 override_dh_installexamples-arch:
 	dh_installexamples -a
-	tar cvzf $(CURDIR)/debian/ruby-qt4/usr/share/doc/ruby-qt4/examples.tar.gz examples
+	tar cvzf $(CURDIR)/debian/ruby-qt4/usr/share/doc/ruby-qt4/examples.tar.gz examples --clamp-mtime --mtime="@$(SOURCE_DATE_EPOCH)" --sort=name --mode=go=rX,u+rw,a-s --owner=root --group=root --numeric-owner
 
 override_dh_makeshlibs:
 	dh_makeshlibs -V

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 4:4.14.3-1+rm

Dear submitter,

as the package qtruby 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/875254

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
ftpmaster@ftp-master.debian.org.

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

--- End Message ---

Reply to: