Re: [Reproducible-builds] new armhf node (Firefly)

2015-12-26 Thread Vagrant Cascadian
On 2015-12-25, Vagrant Cascadian wrote:
> Have been working a bit on two firefly boards, but need to
> sort out issues with MMC and USB, but at least u-boot is able to boot a
> debian kernel (built with a few config options added)...

Well, today was productive! Figured out the kernel options to enable:

  https://bugs.debian.org/809083

ff2a-armhf-rb.debian.net:
Firefly, rockchip rk3288 (cortex-a12(?)) quad-core, 2GB ram, ~60GB USB3 SATA SSD
ssh port: 2234
ssh fingerprints:
256 63:2a:5a:90:ec:89:42:06:6a:e1:32:e2:c7:bd:b2:f1 
/etc/ssh/ssh_host_ecdsa_key.pub (ECDSA)
2048 c1:00:67:e9:25:11:5c:24:89:ee:70:90:40:25:6d:a2 
/etc/ssh/ssh_host_rsa_key.pub (RSA)

Ready for configuration.

Will work on the other one soon.


live well,
  vagrant


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809076: bowtie2: FTBFS when CPPFLAGS contains spaces

2015-12-26 Thread Mattia Rizzolo
Source: bowtie2
Version: 2.2.6-1
Severity: serious
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps fileordering
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Your package fails to build in current sid.
This usually means that you should quote CPPFLAGS before passing it
over.

Tail of the build log:

ld --parallel
   dh_testdir -O--parallel
   dh_auto_configure -O--parallel
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/bowtie2-2.2.6'
dh_auto_build -- EXTRA_FLAGS=-Wl,-z,relro CPPFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 WITH_TBB=1
make -j18 EXTRA_FLAGS=-Wl,-z,relro CPPFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 WITH_TBB=1
make: invalid option -- 'D'
make: invalid option -- '_'
make: invalid option -- 'F'
Usage: make [options] [target] ...
Options:
  -b, -m  Ignored for compatibility.
  -B, --always-make   Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
  Change to DIRECTORY before doing anything.
  -d  Print lots of debugging information.
  --debug[=FLAGS] Print various types of debugging information.
  -e, --environment-overrides
  Environment variables override makefiles.
  --eval=STRING   Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
  Read FILE as a makefile.
  -h, --help  Print this message and exit.
  -i, --ignore-errors Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
  Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]  Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-goingKeep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
  Don't start multiple jobs unless load is below N.
  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
  -n, --just-print, --dry-run, --recon
  Don't actually run any recipe; just print them.
  -o FILE, --old-file=FILE, --assume-old=FILE
  Consider FILE to be very old and don't remake it.
  -O[TYPE], --output-sync[=TYPE]
  Synchronize output of parallel jobs by TYPE.
  -p, --print-data-base   Print make's internal database.
  -q, --question  Run no recipe; exit status says if up to date.
  -r, --no-builtin-rules  Disable the built-in implicit rules.
  -R, --no-builtin-variables  Disable the built-in variable settings.
  -s, --silent, --quiet   Don't echo recipes.
  -S, --no-keep-going, --stop
  Turns off -k.
  -t, --touch Touch targets instead of remaking them.
  --trace Print tracing information.
  -v, --version   Print the version number of make and exit.
  -w, --print-directory   Print the current directory.
  --no-print-directoryTurn off -w, even if it was turned on implicitly.
  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
  Consider FILE to be infinitely new.
  --warn-undefined-variables  Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to 
dh_auto_build: make -j18 EXTRA_FLAGS=-Wl,-z,relro CPPFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 WITH_TBB=1 returned exit code 2
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/bowtie2-2.2.6'
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  http://mapreri.org  : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809074: spark: FTBFS due to CPPFLAGS containing spaces

2015-12-26 Thread Mattia Rizzolo
Source: spark
Version: 2012.0.deb-9
Severity: serious
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Your package FTBFS in current sid.
This usually means that you should quote CPPFLAGS before passing it
over.

Tail of the build log:

make -C sparksimp
make[4]: Entering directory '/build/spark-2012.0.deb/sparksimp'
gcc -c -g -O2 -DIntel_Linux new_expect.c
gnatmake -j4 -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -k -gnatyN 
-g -O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing sparksimp -o sparksimp -bargs -E -largs new_expect.o 
-Wl,-z,relro -Wl,--gc-sections
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing sparksimp.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing cmd.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing utility.adb
gcc-4.9 -c -I./ -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing -I- /build/spark-2012.0.deb/common/versioning/version.ads
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing work_manager.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing workers.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing spark.ads
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing spark-expect.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing wrap.adb
gcc-4.9 -c -g -gnatwae -gnat05 -gnatwl -gnaty3abefhiklnprt 
-I../lib/spark/current -I../common/versioning -I../examiner -gnatf -gnatyN -g 
-O2 -fstack-protector-strong -fdata-sections -ffunction-sections 
-fno-strict-aliasing log_files.adb
gnatbind -I../lib/spark/current -I../common/versioning -I../examiner -E -x 
sparksimp.ali
gnatlink sparksimp.ali -g -g -O2 -fstack-protector-strong -fdata-sections 
-ffunction-sections -fno-strict-aliasing -o sparksimp new_expect.o -Wl,-z,relro 
-Wl,--gc-sections
make[4]: Leaving directory '/build/spark-2012.0.deb/sparksimp'
make -C victor
make[4]: Entering directory '/build/spark-2012.0.deb/victor'
# Don't build Victor in parallel (-j). Missing dependencies in the Makefile.
make -C vct/src CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-z,relro
make: invalid option -- 'D'
make: invalid option -- '_'
make: invalid option -- 'F'
Usage: make [options] [target] ...
Options:
  -b, -m  Ignored for compatibility.
  -B, --always-make   Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
  Change to DIRECTORY before doing anything.
  -d  Print lots of debugging information.
  --debug[=FLAGS] Print various types of debugging information.
  -e, --environment-overrides
  Environment variables override makefiles.
  --eval=STRING   Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE
  Read FILE as a makefile.
  -h, --help  Print this message and exit.
  -i, --ignore-errors Ignore errors from recipes.
  -I DIRECTORY, --include-dir=DIRECTORY
  Search DIRECTORY for included makefiles.
  -j [N], --jobs[=N]  Allow N jobs at once; infinite jobs with no arg.
  -k, --keep-goingKeep going when some targets can't be made.
  -l [N], --load-average[=N], --max-load[=N]
  Don't start multiple jobs 

[Reproducible-builds] Bug#765303: here is a patch

2015-12-26 Thread Eduard Bloch
Control: 765303 + patch

Tested quickly on the icewm package, seems to do the job.

Subject: Collected Debian patches for strip-nondeterminism
Author: Andrew Ayer 

Since I am also upstream for this package, there will normally not be
any patches to apply to the upstream source.  However, occasionally
I'll pull up specific upstream commits prior to making an upstream
release.  When this happens, this patch will collect all of those
modifications.

I use Git to maintain both the upstream source and the Debian
packages, and generating individual patches rather than using git
cherry-pick takes extra work for no gain.  Since I'm also upstream,
there's no need to separate the patches for later upstream submission.
Hence, I take this approach with a unified patch when it's necessary.

For full commit history and separated commits, see the upstream Git
repository.
--- strip-nondeterminism-0.014.orig/lib/File/StripNondeterminism.pm
+++ strip-nondeterminism-0.014/lib/File/StripNondeterminism.pm
@@ -29,6 +29,7 @@ use File::StripNondeterminism::handlers:
 use File::StripNondeterminism::handlers::png;
 use File::StripNondeterminism::handlers::javaproperties;
 use File::StripNondeterminism::handlers::zip;
+use File::StripNondeterminism::handlers::gmo;
 
 our($VERSION, $canonical_time);
 
@@ -81,6 +82,10 @@ sub get_normalizer_for_file {
if (m/\.(zip|pk3|whl|xpi)$/ && _get_file_type($_) =~ m/Zip archive 
data/) {
return \&File::StripNondeterminism::handlers::zip::normalize;
}
+   # gmo
+   if (m/\.(mo|gmo)$/ && _get_file_type($_) =~ m/GNU message catalog/) {
+   return \&File::StripNondeterminism::handlers::gmo::normalize;
+   }
return undef;
 }
 
@@ -94,6 +99,7 @@ sub get_normalizer_by_name {
return \&File::StripNondeterminism::handlers::png::normalize if $_ eq 
'png';
return \&File::StripNondeterminism::handlers::javaproperties::normalize 
if $_ eq 'javaproperties';
return \&File::StripNondeterminism::handlers::zip::normalize if $_ eq 
'zip';
+   return \&File::StripNondeterminism::handlers::gmo::normalize if $_ eq 
'mo';
return undef;
 }
 
--- /dev/null
+++ strip-nondeterminism-0.014/lib/File/StripNondeterminism/handlers/gmo.pm
@@ -0,0 +1,54 @@
+# Copyright © 2015 Eduard Bloch 
+# All rights reserved.
+# 
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+# 1. Redistributions of source code must retain the above copyright
+#notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#notice, this list of conditions and the following disclaimer in the
+#documentation and/or other materials provided with the distribution.
+# 
+# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+# SUCH DAMAGE.
+
+package File::StripNondeterminism::handlers::gmo;
+use strict;
+use warnings;
+
+sub normalize
+{
+   my $filename = shift;
+   my $headername = "POT-Creation-Date:";
+   my $fd;
+   open($fd, "+<", $filename) or die("error while opening $filename: $!");
+   my $location=0;
+   while(<$fd>)
+   {
+  my $pos = index($_, $headername);
+  if($pos < 0)
+  {
+ $location += length($_);
+ next;
+  }
+  /$headername(\d|\ |-|:|\+)*$/ or last; # invalid date format?
+  my $striplen = (length($_) - $pos - length($headername) - 1);
+  seek($fd, ($location + $pos + length($headername)), 0);
+  syswrite($fd, " "x$striplen);
+   }
+   close($fd) or die("Error rewritting $filename: $!");
+
+   return 1;
+}
+
+1;
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809058: seqan: please make the build reproducible

2015-12-26 Thread Chris Lamb
Source: seqan
Version: 1.4.1+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that seqan 
could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/docs/dddoc_html.py b/docs/dddoc_html.py
index 52e5de1..26101a8 100644
--- a/docs/dddoc_html.py
+++ b/docs/dddoc_html.py
@@ -1,5 +1,6 @@
 # coding: latin-1
 import os
+import time
 import datetime
 import dddoc
 import dddoc_html_trans
@@ -13,6 +14,7 @@ from os import F_OK
 # Number of warnings.
 WARNING_COUNT = 0
 OUT_PATH = 'html'
+BUILD_DATE = 
datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', 
time.time(
 
 

 
@@ -663,7 +665,7 @@ def pageIndexpage(fl, cat):
 fl.write('')
 fl.write('')
 fl.write('Page built @%s' %
- datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S'))
+ BUILD_DATE.strftime('%Y/%m/%d %H:%M:%S'))
 fl.write('')
 fl.write('')
 
@@ -760,7 +762,7 @@ def pageContent(fl, data):
 fl.write('')
 fl.write('')
 fl.write('Page built @%s' %
- datetime.datetime.now().strftime('%Y/%m/%d %H:%M:%S'))
+ BUILD_DATE.strftime('%Y/%m/%d %H:%M:%S'))
 fl.write('')
 fl.write('')
 
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809056: xca: FTBFS due to CPPFLAGS containing spaces

2015-12-26 Thread Mattia Rizzolo
Source: xca
Version: 1.0.0-2
Severity: wishlist
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Your package fails to build in current sid:

debian/rules build
dh_testdir
CF=-Wdate-time -D_FORTIFY_SOURCE=2 docdir=/usr/share/doc/xca prefix=/usr 
./configure
/bin/sh: 1: -D_FORTIFY_SOURCE=2: not found
debian/rules:9: recipe for target 'Local.mak' failed
make: *** [Local.mak] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2


This usually means that you should quote CPPFLAGS before passing it
over.

-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  http://mapreri.org  : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809053: xindy FTBFS due to CPPFLAGS containing spaces

2015-12-26 Thread Mattia Rizzolo
Package: src:xindy
Version: 2.4-1.3
Severity: serious
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

xindy FTBFS in current sid.
tail of the build log:

 fakeroot debian/rules binary
test -d debian/patched || install -d debian/patched
dpatch  apply-all  
applying patch fix-echo-expansion to ./ ... ok.
applying patch fix-FHS to ./ ... ok.
applying patch help-option to ./ ... ok.
applying patch config.guess+sub to ./ ... ok.
applying patch fix-alphabets-doc-geometry to ./ ... ok.
applying patch fix-configure to ./ ... ok.
applying patch fix-entry-with-command to ./ ... ok.
dpatch  cat-all  >>patch-stampT
mv -f patch-stampT patch-stamp
dh_testdir
if [ -e config.status ]; then \
rm -f build-arch-stamp build-indep-stamp; \
/usr/bin/make distclean || true; \
fi
./configure LDFLAGS="-Wl,-z,relro -Wl,-z,defs" CFLAGS="-g -O2 
-fstack-protector-strong -Wformat -Werror=format-security" CPPFLAGS=-Wdate-time 
-D_FORTIFY_SOURCE=2 --host=x86_64-linux-gnu --build=x86_64-linux-gnu 
--prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info 
--docdir=\${prefix}/share/doc/xindy-rules
configure: error: unrecognized option: -D_FORTIFY_SOURCE=2
Try `./configure --help' for more information.
debian/rules:33: recipe for target 'config.status-with-latex' failed
make: *** [config.status-with-latex] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2



-- 
regards,
Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540  .''`.
more about me:  http://mapreri.org  : :'  :
Launchpad user: https://launchpad.net/~mapreri  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-


signature.asc
Description: PGP signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809028: tj3: please make the build reproducible

2015-12-26 Thread Chris Lamb
Source: tj3
Version: 3.5.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that tj3 
could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible-build.patch   2015-12-26 11:04:20.283817793 
+
@@ -0,0 +1,11 @@
+--- tj3-3.5.0.orig/lib/taskjuggler/UserManual.rb
 tj3-3.5.0/lib/taskjuggler/UserManual.rb
+@@ -105,8 +105,6 @@ class TaskJuggler
+   "by #{AppConfig.authors.join(', ')}"
+ end,
+ BR.new,
+-"Generated on #{TjTime.new.strftime('%Y-%m-%d')}",
+-BR.new,
+ H3.new { "This manual covers #{AppConfig.softwareName} " +
+  "version #{AppConfig.version}." }
+   ]
--- a/debian/patches/series 2015-12-26 11:00:56.485430333 +
--- b/debian/patches/series 2015-12-26 11:04:16.943778829 +
@@ -1,3 +1,4 @@
 dont-require-git.patch
 data-search-dirs-debian.patch
 fix-tj3man.patch
+reproducible-build.patch
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809027: python-caja: please make the build reproducible

2015-12-26 Thread Chris Lamb
Source: python-caja
Version: 1.10.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
python-caja could not be built reproducibly.

Patch attached.


 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0001_reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0001_reproducible-build.patch  2015-12-26 
10:46:22.403357114 +
@@ -0,0 +1,11 @@
+--- python-caja-1.10.0.orig/docs/Makefile.am
 python-caja-1.10.0/docs/Makefile.am
+@@ -86,7 +86,7 @@ REFERENCE_DEPS = \
+ if ENABLE_GTK_DOC
+ 
+ reference/builddate.xml: $(REFERENCE_DEPS)
+-  $(PYTHON) -c 'import datetime; print datetime.date.today()' > $@
++  $(PYTHON) -c "import os, time, datetime; print 
datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', 
time.time(.strftime('%Y-%m-%d')" > $@
+ 
+ $(HTML_FILES): $(REFERENCE_DEPS)
+   xsltproc --nonet --xinclude -o $(BUILDDIR)/html/ \
--- a/debian/patches/series 2015-12-26 09:44:07.654343335 +
--- b/debian/patches/series 2015-12-26 10:38:14.782043190 +
@@ -1 +1,2 @@
 2001_fix-python-libdir-not-found.patch
+0001_reproducible-build.patch
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

[Reproducible-builds] Bug#809025: air-quality-sensor: please make the build reproducible

2015-12-26 Thread Chris Lamb
Source: air-quality-sensor
Version: 0.1.3-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that 
air-quality-sensor could not be built reproducibly.

Patch attached.

 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible_build.patch   1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/reproducible_build.patch   2015-12-26 10:12:25.685942562 
+
@@ -0,0 +1,16 @@
+--- air-quality-sensor-0.1.3.orig/configure.ac
 air-quality-sensor-0.1.3/configure.ac
+@@ -8,7 +8,12 @@ AC_CHECK_FUNCS(getopt_long)
+ 
+ dnl Copyright will apply as long as these sources are in use, e.g., are
+ dnl being compiled, which is reasonable year to claim the copyright.
+-AC_DEFINE([COPYRIGHT_YEAR], [m4_esyscmd([date +%Y])], [year in copyright 
message])
++if test "x$SOURCE_DATE_EPOCH" = "x"; then
++year=m4_esyscmd([date +%Y])
++else
++year=`date -u -d "@$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u -r 
"$SOURCE_DATE_EPOCH" "+%Y" 2>/dev/null || date -u "+%Y"`
++fi
++AC_DEFINE_UNQUOTED([COPYRIGHT_YEAR], ["$year"], [year in copyright message])
+ 
+ libusb_is_old=0
+ AC_CHECK_LIB(usb-1.0, libusb_get_parent, [], [libusb_is_old=1])
--- a/debian/patches/series 1970-01-01 01:00:00.0 +0100
--- b/debian/patches/series 2015-12-26 09:51:55.930653536 +
@@ -0,0 +1 @@
+reproducible_build.patch
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] buzztrax: please make the build reproducible

2015-12-26 Thread Chris Lamb
Hi,

> buzztrax: please make the build reproducible

Updated patch attached; the previous one didn't correctly fallback to the 
lowest-common-denominator shell syntax required for portable autotools.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/configure.ac b/configure.ac
index 1bdec63..5479c16 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,8 +49,14 @@ AC_DEFINE_UNQUOTED(GST_MAJORMINOR, "$GST_MAJORMINOR", 
[gstreamer series])
 AC_SUBST(GST_MAJORMINOR)
 
 dnl release year and date
-BT_RELEASE_YEAR=`date +%Y`
-BT_RELEASE_DATE=`date +%Y-%m-%d`
+release_year_fmt="%Y"
+release_date_fmt="%Y-%m-%d"
+BT_RELEASE_YEAR=`date "+$release_year_fmt"`
+BT_RELEASE_DATE=`date "+$release_date_fmt"`
+if "x$SOURCE_DATE_EPOCH" != "x" ; then
+  BT_RELEASE_YEAR=`date -u -d "@$SOURCE_DATE_EPOCH" "+$release_year_fmt" 
2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+$release_year_fmt" 2>/dev/null 
|| date -u "+$release_year_fmt"`
+  BT_RELEASE_DATE=`date -u -d "@$SOURCE_DATE_EPOCH" "+$release_date_fmt" 
2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+$release_date_fmt" 2>/dev/null 
|| date -u "+$release_date_fmt"`
+fi
 
 AC_SUBST(BT_MAJOR_VERSION)
 AC_SUBST(BT_MINOR_VERSION)
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds