Bug#941296: tuxcmd-modules FTCBFS: uses build architecture build tools

2022-11-29 Thread Chris Lamb
Vagrant Cascadian wrote:

> Hrm. Seems like the original version without the cross-building patches are 
> what
> actually landed in sid today...

Bah, okay. Re-uploading without DELAYED now. Thanks. :)


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org  chris-lamb.co.uk
   `-



Bug#941296: Bug#1011500: tuxcmd-modules: reproducible-builds: embedded build paths in various binaries

2022-11-22 Thread Chris Lamb
Hi Vagrant,

> This hasn't yet landed in the archive, was it actually uploaded to
> DELAYED/3?

Somewhat unclear. I am pretty sure it was uploaded as I can find an
.upload file for it:

  $ cat tuxcmd-modules_0.6.70+ds-5.1_amd64.ssh-upload.upload
  Successfully uploaded tuxcmd-modules_0.6.70+ds-5.1.dsc to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules_0.6.70+ds.orig.tar.gz to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules_0.6.70+ds-5.1.debian.tar.xz to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules-dbgsym_0.6.70+ds-5.1_amd64.deb to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules_0.6.70+ds-5.1_amd64.buildinfo to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules_0.6.70+ds-5.1_amd64.deb to 
ssh.upload.debian.org for ssh-upload.
  Successfully uploaded tuxcmd-modules_0.6.70+ds-5.1_amd64.changes to 
ssh.upload.debian.org for ssh-upload.

> It could have been uploaded to DELAYED/0 (e.g. without delay) as a QA
> upload rather than as an NMU...

Oh sure, but 3 days delay easily allows issues to be caught...

However, in lieu of working out what has happened here, I'll re-upload
now without any DELAYED value. Thanks. :)


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org  chris-lamb.co.uk
   `-



Bug#1011500: tuxcmd-modules: reproducible-builds: embedded build paths in various binaries

2022-11-17 Thread Chris Lamb
tags 1011500 + pending patch
thanks

I've just uploaded an updated version of tuxcmd-modules 0.6.70+ds-5.1
to DELAYED/3. This variant of the upload actually includes the fix for
#941296 which was missed when preparing the upload.
  
  tuxcmd-modules (0.6.70+ds-5.1) unstable; urgency=medium
  .
* Non-maintainer upload.
* Apply a patch by Vagrant Cascadian to ensure that tuxcmd-modules does not
  embed build paths in various binaries. (Closes: #1011500)
* Apply a patch by Helmut Grohne to make it possible to cross-build
  tuxcmd-modules. (Closes: #941296)

The full debdiff is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diffstat for tuxcmd-modules-0.6.70+ds tuxcmd-modules-0.6.70+ds

 changelog|   10 +++
 patches/crossbuild.patch |  130 +++
 patches/reproducible-build.patch |   68 
 patches/series   |2 
 4 files changed, 210 insertions(+)

diff -Nru tuxcmd-modules-0.6.70+ds/debian/changelog 
tuxcmd-modules-0.6.70+ds/debian/changelog
--- tuxcmd-modules-0.6.70+ds/debian/changelog   2013-05-10 21:00:35.0 
+0100
+++ tuxcmd-modules-0.6.70+ds/debian/changelog   2022-11-17 17:15:30.0 
+
@@ -1,3 +1,13 @@
+tuxcmd-modules (0.6.70+ds-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply a patch by Vagrant Cascadian to ensure that tuxcmd-modules does not
+embed build paths in various binaries. (Closes: #1011500)
+  * Apply a patch by Helmut Grohne to make it possible to cross-build
+tuxcmd-modules. (Closes: #941296)
+
+ -- Chris Lamb   Thu, 17 Nov 2022 17:15:30 +
+
 tuxcmd-modules (0.6.70+ds-5) unstable; urgency=low
 
   * QA upload.
diff -Nru tuxcmd-modules-0.6.70+ds/debian/patches/crossbuild.patch 
tuxcmd-modules-0.6.70+ds/debian/patches/crossbuild.patch
--- tuxcmd-modules-0.6.70+ds/debian/patches/crossbuild.patch1970-01-01 
01:00:00.0 +0100
+++ tuxcmd-modules-0.6.70+ds/debian/patches/crossbuild.patch2022-11-17 
17:15:30.0 +
@@ -0,0 +1,130 @@
+--- tuxcmd-modules-0.6.70+ds.orig/gvfs/Makefile
 tuxcmd-modules-0.6.70+ds/gvfs/Makefile
+@@ -5,6 +5,7 @@ INSTALL_DATA = ${INSTALL} -m 644
+ 
+ # compiler options
+ CC = gcc
++PKG_CONFIG ?= pkg-config
+ CFLAGS =-I. -I/usr/include \
+   -Wall -fPIC -O2 -g \
+   -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE
+@@ -20,13 +21,13 @@ VFS_OBJECTS=gvfs.o
+ 
+ .SUFFIXES: .c
+ .c.o:
+-  $(CC) $(CFLAGS) `pkg-config glib-2.0 gio-2.0 --cflags` -c $<
++  $(CC) $(CFLAGS) `$(PKG_CONFIG) glib-2.0 gio-2.0 --cflags` -c $<
+ 
+ 
+ all shared static: libgvfs_plugin.so
+ 
+ libgvfs_plugin.so: $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS)
+-  $(CC) -shared -o libgvfs_plugin.so $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) 
$(CFLAGS) `pkg-config glib-2.0 gio-2.0 --libs`
++  $(CC) -shared -o libgvfs_plugin.so $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS) 
$(CFLAGS) `$(PKG_CONFIG) glib-2.0 gio-2.0 --libs`
+ 
+ strutils.o: strutils.c strutils.h
+ treepathutils.o: treepathutils.c treepathutils.h
+--- tuxcmd-modules-0.6.70+ds.orig/libarchive/Makefile
 tuxcmd-modules-0.6.70+ds/libarchive/Makefile
+@@ -7,7 +7,8 @@ DIR_LIBARCHIVE=./libarchive-2.5.5
+ 
+ # compiler options
+ CC = gcc
+-CPP = g++
++CXX = g++
++PKG_CONFIG ?= pkg-config
+ CFLAGS =-I. -I/usr/include -I$(DIR_COMMON) \
+   -Wall -fPIC -O2 -g \
+   -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE \
+@@ -23,20 +24,20 @@ VFS_OBJECTS=libarchive.o
+ 
+ .SUFFIXES: .c .cpp
+ .c.o:
+-  $(CC) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c $<
++  $(CC) $(CFLAGS) `$(PKG_CONFIG) glib-2.0 --cflags` -c $<
+ .cpp.o:
+-  $(CPP) $(CFLAGS) `pkg-config glib-2.0 --cflags` -c $<
++  $(CXX) $(CFLAGS) `$(PKG_CONFIG) glib-2.0 --cflags` -c $<
+ 
+ 
+ all: static
+ 
+ 
+ shared: $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS)
+-  $(CC) -shared -o libarchive_plugin.so $(VFS_COMMON_OBJECTS) 
$(VFS_OBJECTS) $(CFLAGS) `pkg-config glib-2.0 --libs` -larchive -lz -lbz2
++  $(CC) -shared -o libarchive_plugin.so $(VFS_COMMON_OBJECTS) 
$(VFS_OBJECTS) $(CFLAGS) `$(PKG_CONFIG) glib-2.0 --libs` -larchive -lz -lbz2
+ 
+ static: CFLAGS += -I$(DIR_LIBARCHIVE)/libarchive
+ static: lib_libarchive_compile $(VFS_COMMON_OBJECTS) $(VFS_OBJECTS)
+-  $(CC) -shared -o libarchive_plugin.so $(VFS_COMMON_OBJECTS) 
$(VFS_OBJECTS) $(DIR_LIBARCHIVE)/.libs/libarchive.a $(CFLAGS) `pkg-config 
glib-2.0 --libs` -lz -lbz2
++  $(CC) -shared -o libarchive_plugin.so $(VFS_COMMON_OBJECTS) 
$(VFS_OBJECTS) $(DIR_LIBARCHIVE)/.libs/libarchive.a $(CFLAGS) `$(PKG_CONFIG) 
glib-2.0 --libs` -lz -lbz2
+ 
+ lib_libarchive_compile:
+   @which uudecode > /dev/null || exit 1;
+--- tuxcmd-modules-0.6.70+ds.orig/zip/Makefile
 tuxcmd-modules-0.6.70+ds/zip/Makefile
+@@ -6,7 +6,8 @@ DIR_ZIPARCHIVE = ./ZipArchive/
+ 
+ # compil

Bug#1011500: tuxcmd-modules: reproducible-builds: embedded build paths in various binaries

2022-11-17 Thread Chris Lamb
tags 1011500 + pending patch
tags 941296 + pending patch
thanks

I've just uploaded tuxcmd-modules 0.6.70+ds-5.1 to DELAYED/10:
  
  tuxcmd-modules (0.6.70+ds-5.1) unstable; urgency=medium
  .
* Non-maintainer upload.
* Apply a patch by Vagrant Cascadian to ensure that tuxcmd-modules does not
  embed build paths in various binaries. (Closes: #1011500)
* Apply a patch by Helmut Grohne to make it possible to cross-build
  tuxcmd-modules. (Closes: #941296)

The full debdiff is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diffstat for tuxcmd-modules-0.6.70+ds tuxcmd-modules-0.6.70+ds

 changelog|   10 +
 patches/reproducible-build.patch |   68 +++
 patches/series   |1 
 3 files changed, 79 insertions(+)

diff -Nru tuxcmd-modules-0.6.70+ds/debian/changelog 
tuxcmd-modules-0.6.70+ds/debian/changelog
--- tuxcmd-modules-0.6.70+ds/debian/changelog   2013-05-10 21:00:35.0 
+0100
+++ tuxcmd-modules-0.6.70+ds/debian/changelog   2022-11-17 17:15:30.0 
+
@@ -1,3 +1,13 @@
+tuxcmd-modules (0.6.70+ds-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply a patch by Vagrant Cascadian to ensure that tuxcmd-modules does not
+embed build paths in various binaries. (Closes: #1011500)
+  * Apply a patch by Helmut Grohne to make it possible to cross-build
+tuxcmd-modules. (Closes: #941296)
+
+ -- Chris Lamb   Thu, 17 Nov 2022 17:15:30 +
+
 tuxcmd-modules (0.6.70+ds-5) unstable; urgency=low
 
   * QA upload.
diff -Nru tuxcmd-modules-0.6.70+ds/debian/patches/reproducible-build.patch 
tuxcmd-modules-0.6.70+ds/debian/patches/reproducible-build.patch
--- tuxcmd-modules-0.6.70+ds/debian/patches/reproducible-build.patch
1970-01-01 01:00:00.0 +0100
+++ tuxcmd-modules-0.6.70+ds/debian/patches/reproducible-build.patch
2022-11-17 17:15:30.0 +
@@ -0,0 +1,68 @@
+--- tuxcmd-modules-0.6.70+ds.orig/Makefile
 tuxcmd-modules-0.6.70+ds/Makefile
+@@ -1,5 +1,7 @@
+ SUBDIRS = zip libarchive gvfs
+ 
++export BUILDPATH = $(CURDIR)
++
+ all install clean shared static::
+   target=`echo $@ | sed s/-recursive//`; \
+   list='$(SUBDIRS)'; for subdir in $$list; do \
+--- tuxcmd-modules-0.6.70+ds.orig/gvfs/Makefile
 tuxcmd-modules-0.6.70+ds/gvfs/Makefile
+@@ -9,6 +9,8 @@ CFLAGS =-I. -I/usr/include \
+   -Wall -fPIC -O2 -g \
+   -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE
+ 
++# Avoid embedding build path
++CFLAGS += -ffile-prefix-map=$(BUILDPATH)=.
+ 
+ # VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o
+ VFS_COMMON_OBJECTS=
+--- tuxcmd-modules-0.6.70+ds.orig/libarchive/Makefile
 tuxcmd-modules-0.6.70+ds/libarchive/Makefile
+@@ -13,6 +13,9 @@ CFLAGS =-I. -I/usr/include -I$(DIR_COMMO
+   -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE \
+   -D__VERBOSE_DEBUGx
+ 
++# Avoid embedding build path
++CFLAGS += -ffile-prefix-map=$(BUILDPATH)=.
++
+ VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o
+ 
+ VFS_OBJECTS=libarchive.o
+--- tuxcmd-modules-0.6.70+ds.orig/zip/Makefile
 tuxcmd-modules-0.6.70+ds/zip/Makefile
+@@ -12,6 +12,8 @@ CFLAGS =-I. -I$(DIR_ZIPARCHIVE) -I/usr/i
+   -DG_DISABLE_DEPRECATED -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_GNU_SOURCE \
+   -D__VERBOSE_DEBUGx
+ 
++# Avoid embedding build path
++CFLAGS += -ffile-prefix-map=$(BUILDPATH)=.
+ 
+ VFS_COMMON_OBJECTS=strutils.o treepathutils.o treepath_vfs.o vfsutils.o
+ 
+--- tuxcmd-modules-0.6.70+ds.orig/zip/Makefile.ziparch
 tuxcmd-modules-0.6.70+ds/zip/Makefile.ziparch
+@@ -19,6 +19,9 @@ CCC=cc
+ CFLAGS = -D ZIP_ARCHIVE_LNX -fPIC -g -O2
+ #CFLAGS =
+ 
++# Avoid embedding build path
++CFLAGS += -ffile-prefix-map=$(BUILDPATH)=.
++
+ ifdef INTERNAL_BZIP2
+ CFLAGS += -D ZIP_ARCHIVE_BZIP2_INTERNAL 
+ endif
+--- tuxcmd-modules-0.6.70+ds.orig/zip/ZipArchive/Makefile
 tuxcmd-modules-0.6.70+ds/zip/ZipArchive/Makefile
+@@ -23,6 +23,9 @@ ifdef INTERNAL_BZIP2
+ CFLAGS += -D ZIP_ARCHIVE_BZIP2_INTERNAL
+ endif
+ 
++# Avoid embedding build path
++CFLAGS += -ffile-prefix-map=$(BUILDPATH)=.
++
+ ZIPARCHLIB = libziparch.a
+ 
+ ZIPPIELOCATION = ../Zippie/
diff -Nru tuxcmd-modules-0.6.70+ds/debian/patches/series 
tuxcmd-modules-0.6.70+ds/debian/patches/series
--- tuxcmd-modules-0.6.70+ds/debian/patches/series  2013-05-10 
21:00:35.0 +0100
+++ tuxcmd-modules-0.6.70+ds/debian/patches/series  2022-11-17 
17:15:30.0 +
@@ -2,3 +2,4 @@
 Fix-FTBFS-because-removal-of-ARCHIVE_LIBRARY_VERSION.patch
 glib-single-include.patch
 fix-FTBFS-with-gcc-4.7.patch
+reproducible-build.patch


Bug#994976: xtermcontrol: please make the build reproducible

2022-04-30 Thread Chris Lamb
Hi Vagrant,

>> +PACKAGE_YEAR = $(shell date --utc --date=@$(SOURCE_DATE_EPOCH) '+%Y')
>> +PACKAGE_DATE = $(shell date --utc --date=@$(SOURCE_DATE_EPOCH) +'%B %d, %Y')
>
> I think this should use %Y-%m-%d instead, as %B is a locale-dependent
> month name.

I was likely copying the existing output — more likely that the patch
would be applied! But you are absolutely right: this needs something
like LC_ALL=C or something.

> This package appears to be part of the QA team, so could be uploaded by
> anyone... I'd consider uploading the fix, unless you'd like to do the
> honors?

I'll get onto it. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org  chris-lamb.co.uk
   `-



Bug#994976: xtermcontrol: please make the build reproducible

2021-09-24 Thread Chris Lamb
Source: xtermcontrol
Version: 3.8-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because it uses a custom set of date macros in acinclude.m4.
Patch attached that overrides the values in debian/rules, basing
them off SOURCE_DATE_EPOCH.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2021-09-24 09:20:53.800313098 +0100
--- b/debian/rules  2021-09-24 09:35:32.356026521 +0100
@@ -5,9 +5,15 @@
 
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
+PACKAGE_YEAR = $(shell date --utc --date=@$(SOURCE_DATE_EPOCH) '+%Y')
+PACKAGE_DATE = $(shell date --utc --date=@$(SOURCE_DATE_EPOCH) +'%B %d, %Y')
+
 %:
dh $@
 
+override_dh_auto_build:
+   dh_auto_build -- PACKAGE_YEAR="$(PACKAGE_YEAR)" 
PACKAGE_DATE="$(PACKAGE_DATE)"
+
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
xvfb-run xterm -e '( dh_auto_test ; echo $$? ) | tee 
debian/xterm_dh_auto_test.log'


Bug#834945: libquvi: please make the build reproducible

2021-09-03 Thread Chris Lamb
Hi Boyuan,

> Looks like your patch is not enough. After merging the new patch, the updated
> libquvi/0.9.3-2 still fails to build reproducibly. Can you take a look into
> it?

So this is because since I wrote this patch in 2016, Debian is
injecting the build path into the CFLAGS variable. Here is an updated
version of the 0005-Make-the-build-reproducible.patch file to filter
this:

§

From: Chris Lamb 
Date: Sat, 20 Aug 2016 20:55:08 +0100
Subject: Make the build reproducible

Last-Update: 2016-08-20
Bug-Debian: https://bugs.debian.org/834945
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- libquvi-0.9.3.orig/configure.ac
+++ libquvi-0.9.3/configure.ac
@@ -57,7 +57,9 @@ LT_PREREQ([2.2.6])
 AC_PROG_CC
 AM_PROG_CC_C_O
 
-AC_DEFINE_UNQUOTED([CFLAGS], "$CFLAGS", [Define to compiler flags])
+PWD=`pwd`
+FILTERED_CFLAGS=`echo $CFLAGS | sed -e "s@$PWD@«BUILDDIR»@g"`
+AC_DEFINE_UNQUOTED([CFLAGS], "$FILTERED_CFLAGS", [Define to compiler flags])
 AC_DEFINE_UNQUOTED([CC], "$CC", [Define to compiler])
 
 AC_PATH_PROG([DOXYGEN], [doxygen], [no])
@@ -71,7 +73,7 @@ AS_IF([test x"$A2X" = "xno" && test -d "
   AC_MSG_ERROR([a2x is required to create man pages when building from git])])
 
 AC_PATH_PROG([DATE], [date], [no])
-AS_IF([test x"$DATE" != "xno"], [build_time=`$DATE +"%F %T %z"`])
+AS_IF([test x"$DATE" != "xno" && test x"$SOURCE_DATE_EPOCH" = "x" ], 
[build_time=`$DATE +"%F %T %z"`])
 AC_DEFINE_UNQUOTED([BUILD_TIME], ["$build_time"], [We have build time])
 
 BUILD_TIME="$build_time"

§

(You might know of a cleaner way of doing this in automake.)


Regards,

--
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org  chris-lamb.co.uk
   `-



Bug#776938: sendfile: please make the build reproducible

2020-12-21 Thread Chris Lamb
tags 776938 866268 + pending
thanks

> I think sendfile is now under the QA team, so anyone could do an upload
> to fix the issue. I'd be happy to do so, unless you would rather upload
> your own patch?

Ah, didn't spot that it was a QA package. I'll upload mine and fix a few
other things while I'm at it.


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#776938: sendfile: please make the build reproducible

2020-09-12 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#777009: debian-builder: please make the build reproducible

2020-09-08 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#777410: freecdb: please make the build reproducible

2020-09-03 Thread Chris Lamb
tags 777410 - patch
thanks

Hi Sudip,

> > Friendly ping on this?
>
> This is an orphan package and anyone can make a QA upload.

Ah, I did not spot it was a QA package. (*)

> And can you please check again if it still has the problem?
> d/rules has been completely rewritten with 0.76 version and so the
> patch will not apply anymore.

Rechecking.. okay, so there is now a different set of problem or
problems that I can't immediately resolve, so I am removing the
"patch" tag for now.

Thanks for the quick reply. :)


(*) Well, actually UDD is returning me out of date "maintainer_name"
and "maintainer_email" values in the "bugs" table; the BTS
webpages are is correctly displaying this as a QA/orphaned package.


Regards,

--
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org  chris-lamb.co.uk
   `-



Bug#777410: freecdb: please make the build reproducible

2020-09-01 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#777058: dbview: please make the build reproducible

2020-09-01 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Friendly ping on this?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#777058: dbview: please make the build reproducible

2020-09-01 Thread Chris Lamb
Chris Lamb wrote:

> [..]

Gentle ping on this?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#944131: splitpatch: please make the build reproducible

2019-11-04 Thread Chris Lamb
forwarded 944131 https://github.com/jaalto/splitpatch/pull/8
thanks

I've forwarded this upstream here:

  https://github.com/jaalto/splitpatch/pull/8


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#944131: splitpatch: please make the build reproducible

2019-11-04 Thread Chris Lamb
Source: splitpatch
Version: 1.0+20190128+git3b2edf2-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because my previous patch used $$(shell …) instead of $(shell
…) (note the change of number of dollar signs...) so that we were
still embedding today's date into the pod2man --center argument.

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible-build.patch   1969-12-31 16:00:00.0 
-0800
--- b/debian/patches/reproducible-build.patch   2019-11-04 10:30:30.092883126 
-0800
@@ -0,0 +1,18 @@
+Description: Make the build reproducible
+Author: Chris Lamb 
+Last-Update: 2019-11-04
+
+--- splitpatch-1.0+20190128+git3b2edf2.orig/man/pod2man.mk
 splitpatch-1.0+20190128+git3b2edf2/man/pod2man.mk
+@@ -39,9 +39,9 @@ MANSECT  ?= 1
+ 
+ DATE_FMT = %Y-%m-%d
+ ifdef SOURCE_DATE_EPOCH
+-PODCENTER ?= $$(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || 
date -u "+$(DATE_FMT)")
++PODCENTER ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+$(DATE_FMT)" 2>/dev/null || 
date -u "+$(DATE_FMT)")
+ else
+-PODCENTER ?= $$(date "$(DATE_FMT)")
++PODCENTER ?= $(date "$(DATE_FMT)")
+ endif
+ 
+ # Directories
--- a/debian/patches/series 1969-12-31 16:00:00.0 -0800
--- b/debian/patches/series 2019-11-04 10:30:28.792869453 -0800
@@ -0,0 +1 @@
+reproducible-build.patch


Bug#925192: libappindicator: please make the build reproducible

2019-03-20 Thread Chris Lamb
Source: libappindicator
Version: 0.4.92-7
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that libappindicator could not be built reproducibly as it includes
the absolute build path.

The glib-mkenums documentation recommends using @basename@ over
@filename@ for this reason [1].

Patch attached.

 [0] https://reproducible-builds.org/
 [1] https://developer.gnome.org/gobject/stable/glib-mkenums.html#id-1.5.2.5.4


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/src/app-indicator-enum-types.h.in 2019-03-20 22:12:53.867378949 -0400
--- b/src/app-indicator-enum-types.h.in 2019-03-20 22:16:18.934152095 -0400
@@ -44,7 +44,7 @@
 /*** END file-tail ***/
 
 /*** BEGIN file-production ***/
-/* Enumerations from file: "@filename@" */
+/* Enumerations from file: "@basename@" */
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/


Bug#924003: splint: please make the build reproducible

2019-03-08 Thread Chris Lamb
Source: splint
Version: 1:3.1.2+dfsg-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that splint could not be built reproducibly as it does not also
strip -ffile-prefix-map.

Patch to the existing patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/11_reproducible_build_p2.patch 2019-03-08 
08:33:05.525240389 +
--- b/debian/patches/11_reproducible_build_p2.patch 2019-03-08 
08:41:07.272890610 +
@@ -32,7 +30,7 @@
  fi
  AC_DEFINE_UNQUOTED(LCL_PARSE_VERSION, "$LCL_PARSE_VERSION",
 [Splint's version number])
-+FILTERED_CFLAGS=`echo $CFLAGS | sed 's@-fdebug-prefix-map=[[^ ]]*[[ ]]*@@g'`
++FILTERED_CFLAGS=`echo $CFLAGS | sed 's@-f\(debug|file\)-prefix-map=[[^ ]]*[[ 
]]*@@g'`
  AC_DEFINE_UNQUOTED(LCL_COMPILE,
 -   "Compiled using $CC $CFLAGS on `uname -a` by `whoami`",
 -   [String describing who compiled this binary and how])


Bug#917300: olive: Incomplete debian/copyright?

2018-12-25 Thread Chris Lamb
Source: olive
Version: 20181130-1
Severity: serious
Justication: Policy §12.5
X-Debbugs-CC: Gürkan Myczko , 
ftpmas...@debian.org

Hi,

I just ACCEPTed olive from NEW but noticed it was missing attribution 
in debian/copyright for at least io/crc32.h.

This is in no way exhaustive so please check over the entire package 
carefully and address these on your next upload.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#889565: libical3: please make the build reproducible

2018-02-05 Thread Chris Lamb
Hi,

> libical3: please make the build reproducible

Updated patch attached.


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0002-reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0002-reproducible-build.patch  2018-02-04 
14:23:38.286140899 +
@@ -0,0 +1,63 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2018-02-04
+
+--- libical3-3.0.1.orig/src/libical-glib/tools/generator.c
 libical3-3.0.1/src/libical-glib/tools/generator.c
+@@ -1096,6 +1096,7 @@ void generate_forward_declarations_heade
+ gchar *typeName;
+ gchar *typeKind;
+ GList *link;
++GList *typeNamesList = NULL;
+ GHashTable *typeNames;
+ GHashTableIter iter_table;
+ gpointer key;
+@@ -1156,13 +1157,18 @@ void generate_forward_declarations_heade
+ if (g_strcmp0(buffer, "forward_declarations") == 0) {
+ g_hash_table_iter_init(_table, typeNames);
+ while (g_hash_table_iter_next(_table, , )) {
+-typeName = (gchar *)key;
++typeNamesList = g_list_prepend(typeNamesList, 
g_strdup(key));
++}
++typeNamesList = g_list_sort(typeNamesList, 
(GCompareFunc)g_strcmp0);
++for (link = g_list_first(typeNamesList); link != NULL; link = 
g_list_next(link)) {
++typeName = link->data;
+ write_str(out, "typedef struct _");
+ write_str(out, typeName);
+ write_str(out, " ");
+ write_str(out, typeName);
+ write_str(out, ";\n");
+ }
++g_list_free_full(typeNamesList, g_free);
+ } else if (g_strcmp0(buffer, "upperSnake") == 0) {
+ write_str(out, "I_CAL_FORWARD_DECLARATIONS");
+ } else {
+@@ -2156,6 +2162,8 @@ static gint generate_library(const gchar
+ gchar *buffer;
+ GList *structures;
+ GList *iter_list;
++GList *filenames = NULL;
++GList *iter_filenames;
+ GDir *dir;
+ GError *local_error = NULL;
+ gint res = 0;
+@@ -2186,6 +2194,11 @@ static gint generate_library(const gchar
+ 
+ /* Parse the all the XML files into the Structure */
+ while (filename = g_dir_read_name(dir), filename) {
++filenames = g_list_prepend(filenames, g_strdup(filename));
++}
++filenames = g_list_sort(filenames, (GCompareFunc)g_strcmp0);
++for (iter_filenames = g_list_first(filenames); iter_filenames != NULL; 
iter_filenames = g_list_next(iter_filenames)) {
++filename = iter_filenames->data;
+ gint len = (gint)strlen(filename);
+ 
+ if (len <= 4 || g_ascii_strncasecmp(filename + len - 4, ".xml", 4) != 
0)
+@@ -2280,6 +2293,7 @@ static gint generate_library(const gchar
+ g_hash_table_destroy(type2structure);
+ g_hash_table_destroy(defaultValues);
+ g_list_free_full(structures, (GDestroyNotify)structure_free);
++g_list_free_full(filenames, g_free);
+ g_free(buffer);
+ 
+ return res;
--- a/debian/patches/series 2018-02-04 13:36:45.872268239 +
--- b/debian/patches/series 2018-02-04 13:57:47.788970001 +
@@ -1 +1,2 @@
 0001-reproducible-build.patch
+0002-reproducible-build.patch


Bug#889565: libical3: please make the build reproducible

2018-02-04 Thread Chris Lamb
forwarded 889565 https://github.com/libical/libical/pull/324
thanks

I've forwarded this upstream here:

  https://github.com/libical/libical/pull/324


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#889565: libical3: please make the build reproducible

2018-02-04 Thread Chris Lamb
Source: libical3
Version: 3.0.1-5
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness fileordering
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/0002-reproducible-build.patch  1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/0002-reproducible-build.patch  2018-02-04 
14:23:38.286140899 +
@@ -0,0 +1,63 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2018-02-04
+
+--- libical3-3.0.1.orig/src/libical-glib/tools/generator.c
 libical3-3.0.1/src/libical-glib/tools/generator.c
+@@ -1096,6 +1096,7 @@ void generate_forward_declarations_heade
+ gchar *typeName;
+ gchar *typeKind;
+ GList *link;
++GList *typeNamesList = NULL;
+ GHashTable *typeNames;
+ GHashTableIter iter_table;
+ gpointer key;
+@@ -1156,13 +1157,18 @@ void generate_forward_declarations_heade
+ if (g_strcmp0(buffer, "forward_declarations") == 0) {
+ g_hash_table_iter_init(_table, typeNames);
+ while (g_hash_table_iter_next(_table, , )) {
+-typeName = (gchar *)key;
++typeNamesList = g_list_prepend(typeNamesList, 
g_strdup(key));
++}
++typeNamesList = g_list_sort(typeNamesList, 
(GCompareFunc)g_strcmp0);
++for (link = g_list_first(typeNamesList); link != NULL; link = 
g_list_next(link)) {
++typeName = link->data;
+ write_str(out, "typedef struct _");
+ write_str(out, typeName);
+ write_str(out, " ");
+ write_str(out, typeName);
+ write_str(out, ";\n");
+ }
++g_list_free_full(typeNamesList, g_free);
+ } else if (g_strcmp0(buffer, "upperSnake") == 0) {
+ write_str(out, "I_CAL_FORWARD_DECLARATIONS");
+ } else {
+@@ -2156,6 +2162,8 @@ static gint generate_library(const gchar
+ gchar *buffer;
+ GList *structures;
+ GList *iter_list;
++GList *filenames;
++GList *iter_filenames;
+ GDir *dir;
+ GError *local_error = NULL;
+ gint res = 0;
+@@ -2186,6 +2194,11 @@ static gint generate_library(const gchar
+ 
+ /* Parse the all the XML files into the Structure */
+ while (filename = g_dir_read_name(dir), filename) {
++filenames = g_list_prepend(filenames, g_strdup(filename));
++}
++filenames = g_list_sort(filenames, (GCompareFunc)g_strcmp0);
++for (iter_filenames = g_list_first(filenames); iter_filenames != NULL; 
iter_filenames = g_list_next(iter_filenames)) {
++filename = iter_filenames->data;
+ gint len = (gint)strlen(filename);
+ 
+ if (len <= 4 || g_ascii_strncasecmp(filename + len - 4, ".xml", 4) != 
0)
+@@ -2280,6 +2293,7 @@ static gint generate_library(const gchar
+ g_hash_table_destroy(type2structure);
+ g_hash_table_destroy(defaultValues);
+ g_list_free_full(structures, (GDestroyNotify)structure_free);
++g_list_free_full(filenames, g_free);
+ g_free(buffer);
+ 
+ return res;
--- a/debian/patches/series 2018-02-04 13:36:45.872268239 +
--- b/debian/patches/series 2018-02-04 13:57:47.788970001 +
@@ -1 +1,2 @@
 0001-reproducible-build.patch
+0002-reproducible-build.patch


libical3_3.0.0-1_amd64.changes REJECTED

2017-11-08 Thread Chris Lamb

Hi,

Seems to be a lot of unattributed authors in debian/copyright, including
Patrick Lewis, Critical Path, William Yu, etc. etc.

 -- Chris Lamb <la...@debian.org>  Wed, 08 Nov 2017 20:55:41 +



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.



libical_3.0.0-1_amd64.changes REJECTED

2017-11-08 Thread Chris Lamb

Wed 08 13:50 < doko> please could you reject the libical package from NEW?



===

Please feel free to respond to this email if you don't understand why
your files were rejected, or if you upload new files which address our
concerns.



Bug#877375: polygen: please make the build reproducible

2017-10-01 Thread Chris Lamb
Source: polygen
Version: 1.0.6.ds2-17
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: fileordering
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that polygen could not be built reproducibly due to iterating
over the filesystem in a nondeterminstic order.

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2017-09-30 22:33:16.304169618 +0100
--- b/debian/rules  2017-09-30 22:37:03.932967181 +0100
@@ -43,7 +43,7 @@
 build/polygen::
$(POLYGEN) debian/man.grm > polygen.1
chmod 0755 debian/make_polygen-data_manpage
-   find $(POLYGEN_BASE)/grm/ -name \*.grm | 
debian/make_polygen-data_manpage > polygen-data.6
+   find $(POLYGEN_BASE)/grm/ -name \*.grm | LC_ALL=C sort | 
debian/make_polygen-data_manpage > polygen-data.6
 
 install/polygen::
install -o root -g root -m 755 $(POLYGEN_BIN) 
debian/$(cdbs_curpkg)/usr/games/


Bug#876724: hamster-applet: find(1) call in debian/rules cannot delete all matched files

2017-09-25 Thread Chris Lamb
Source: hamster-applet
Version: 2.91.3+git20120514.b9fec3e1-2
Severity: minor
Tags: patch

Hi,

The find(1) call in debian/rules will not delete all matched files
as -delete has high precedence; it will "bind" to the last -name "X"
clause only.

Patch attached.


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index b186a06..4343838 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ binary-install/hamster-applet::
rm -rf usr/lib/bonobo && \
rm -f usr/lib/hamster-applet/hamster-applet && \
rm -f usr/share/applications/hamster-applet.desktop && \
-   find -name applet.py -o -name applet.ui -delete
+   find -name \( applet.py -o -name applet.ui \) -delete
dh_python2 -phamster-applet
dh_gconf -phamster-applet
 


Wheezy update of giflib?

2017-08-09 Thread Chris Lamb
Dear maintainer(s),

The Debian LTS team would like to fix the security issues which are
currently open in the Wheezy version of giflib:
https://security-tracker.debian.org/tracker/source-package/giflib

Would you like to take care of this yourself?

If yes, please follow the workflow we have defined here:
https://wiki.debian.org/LTS/Development

If that workflow is a burden to you, feel free to just prepare an
updated source package and send it to debian-...@lists.debian.org
(via a debdiff, or with an URL pointing to the source package,
or even with a pointer to your packaging repository), and the members
of the LTS team will take care of the rest. Indicate clearly whether you
have tested the updated package or not.

If you don't want to take care of this update, it's not a problem, we
will do our best with your package. Just let us know whether you would
like to review and/or test the updated package before it gets released.

You can also opt-out from receiving future similar emails in your
answer and then the LTS Team will take care of giflib updates
for the LTS releases.

Thank you very much.

Chris Lamb,
  on behalf of the Debian LTS team.

PS: A member of the LTS team might start working on this update at
any point in time. You can verify whether someone is registered
on this update in this file:
https://anonscm.debian.org/viewvc/secure-testing/data/dla-needed.txt?view=markup


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#870573: grap: please make the build reproducible

2017-08-02 Thread Chris Lamb
Source: grap
Version: 1.45-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: uname
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that grap could not be built reproducibly as it includes the output
of `uname -sr` in the binary.

This results in a different checksum when built on, say i386 with
running a 686 kernel and running an an amd64 kernel (again, on
i386).

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb, Debian Project Leader
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/reproducible_build.patch   1969-12-31 19:00:00.0 
-0500
--- b/debian/patches/reproducible_build.patch   2017-08-02 20:05:34.337104563 
-0400
@@ -0,0 +1,16 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-08-02
+
+--- grap-1.45.orig/grap_parse.cc
 grap-1.45/grap_parse.cc
+@@ -877,8 +877,7 @@ void usage() {
+ }
+ 
+ inline void version() {
+-cout << "grap " << PACKAGE_VERSION << " compiled under " 
+-   << OS_VERSION << endl;
++cout << "grap " << PACKAGE_VERSION << endl;
+ cerr << "Fine comparsion limit: " << FINE_EPSILON << endl;
+ cerr << "Fine minimum value: " << FINE_MIN_DOUBLE << endl;
+ cerr << "Coarse comparsion limit: " << COARSE_EPSILON << endl;
--- a/debian/patches/series 1969-12-31 19:00:00.0 -0500
--- b/debian/patches/series 2017-08-02 20:05:33.233096268 -0400
@@ -0,0 +1 @@
+reproducible_build.patch


Bug#842635: Incorrect output on i386 due to UB

2017-05-12 Thread Chris Lamb
tags 858389 + pending
tags 842635 + pending
thanks

> Re: Incorrect output on i386 due to UB

Applied & uploaded; many thanks! :)


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#861955: canna: please make the output of mkbindic reproducible

2017-05-06 Thread Chris Lamb
Source: canna
Version: 3.7p3-13.1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that canna's mkbindic utility does not generate reproducible
output.

This affects other packages such as canna-shion, but probably
others.

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/cmd/crxdic/crxdic.c b/cmd/crxdic/crxdic.c
index 36d7a1f..4d76eef 100644
--- a/cmd/crxdic/crxdic.c
+++ b/cmd/crxdic/crxdic.c
@@ -31,6 +31,7 @@ static char rcsid[]="@(#) 102.1 $Id: crxdic.c,v 1.11.2.2 
2003/12/27 17:15:21 aid
 #include 
 #include 
 #include 
+#include 
 #include 
 #include "ccompat.h"
 #include "RKindep/file.h"
@@ -932,6 +933,9 @@ makeHeader(dic)
   unsigned i;
   RkiCksumCalc calc;
   unsigned off;
+  char *source_date_epoch;
+  unsigned long long epoch;
+  char *endptr;
 
   if (RkiCksumCRCInit()
   || RkiCksumAdd(, dic->Dir->buf, dic->Dir->dirsiz)) {
@@ -963,7 +967,32 @@ makeHeader(dic)
 hd.data[HD_CMPV].var = 0x300702L;
 hd.flag[HD_CMPV] = -1;
   }
-  hd.data[HD_TIME].var = tloc = time(0);
+  source_date_epoch = getenv("SOURCE_DATE_EPOCH");
+  if (source_date_epoch) {
+errno = 0;
+epoch = strtoull(source_date_epoch, , 10);
+if ((errno == ERANGE && (epoch == ULLONG_MAX || epoch == 0))
+|| (errno != 0 && epoch == 0)) {
+fprintf(stderr, "Environment variable $SOURCE_DATE_EPOCH: 
strtoull: %s\n", strerror(errno));
+exit(EXIT_FAILURE);
+}
+if (endptr == source_date_epoch) {
+fprintf(stderr, "Environment variable $SOURCE_DATE_EPOCH: No 
digits were found: %s\n", endptr);
+exit(EXIT_FAILURE);
+}
+if (*endptr != '\0') {
+fprintf(stderr, "Environment variable $SOURCE_DATE_EPOCH: Trailing 
garbage: %s\n", endptr);
+exit(EXIT_FAILURE);
+}
+if (epoch > ULONG_MAX) {
+fprintf(stderr, "Environment variable $SOURCE_DATE_EPOCH: value 
must be smaller than or equal to %lu but was found to be: %llu \n", ULONG_MAX, 
epoch);
+exit(EXIT_FAILURE);
+}
+tloc = epoch;
+  } else {
+tloc = time(0);
+  }
+  hd.data[HD_TIME].var = tloc;
   hd.flag[HD_TIME] = -1;
   hd.data[HD_DMNM].ptr = (unsigned char *)STrdup(dic->name);
   hd.flag[HD_DMNM] = strlen(dic->name);


Bug#861443: ora2pg: please make the build reproducible

2017-04-29 Thread Chris Lamb
Source: ora2pg
Version: 18.0-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

This is because it encodes the build process's current PID in the
default configuration file.


Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/03_reproducible_build.diff 1970-01-01 01:00:00.0 
+0100
--- b/debian/patches/03_reproducible_build.diff 2017-04-29 09:06:38.343116627 
+0100
@@ -0,0 +1,57 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-04-29
+
+--- ora2pg-18.0.orig/Makefile.PL
 ora2pg-18.0/Makefile.PL
+@@ -51,6 +51,8 @@ if ($^O !~ /MSWin32|dos/i) {
+ 
+ my $oracle_home = $ENV{ORACLE_HOME} || '/usr/local/oracle/10g';
+ 
++my $T = $ENV{SOURCE_DATE_EPOCH} || $$;
++
+ # Setup ok. generating default ora2pg.conf config file
+ unless(open(OUTCFG, ">$DEST_CONF_FILE")) {
+   print "\nError: can't write config file $DEST_CONF_FILE, $!\n";
+@@ -288,7 +290,7 @@ CONTEXT_AS_TRGM0
+ # To automatically update the column when a modification in the title column
+ # appears, Ora2Pg adds the following trigger:
+ #
+-# CREATE FUNCTION tsv_t_document_title() RETURNS trigger AS $$
++# CREATE FUNCTION tsv_t_document_title() RETURNS trigger AS $T
+ # BEGIN
+ #IF TG_OP = 'INSERT' OR new.title != old.title THEN
+ #new.tsv_title :=
+@@ -296,7 +298,7 @@ CONTEXT_AS_TRGM0
+ #END IF;
+ #return new;
+ # END
+-# $$ LANGUAGE plpgsql;
++# $T LANGUAGE plpgsql;
+ # CREATE TRIGGER trig_tsv_t_document_title BEFORE INSERT OR UPDATE
+ #  ON t_document
+ #  FOR EACH ROW EXECUTE PROCEDURE tsv_t_document_title();
+@@ -325,9 +327,9 @@ FTS_INDEX_ONLY 1
+ #
+ # CREATE OR REPLACE FUNCTION unaccent_immutable(text)
+ # RETURNS text AS
+-# $$
++# $T
+ # SELECT public.unaccent('public.unaccent', $1)
+-# $$  LANGUAGE sql IMMUTABLE
++# $T  LANGUAGE sql IMMUTABLE
+ # COST 1;
+ #
+ # indexes are exported as follow:
+@@ -347,9 +349,9 @@ USE_UNACCENT   0
+ #
+ #  CREATE OR REPLACE FUNCTION unaccent_immutable(text)
+ #  RETURNS text AS
+-#  $$
++#  $T
+ #  SELECT lower(public.unaccent('public.unaccent', $1));
+-#  $$ LANGUAGE sql IMMUTABLE;
++#  $T LANGUAGE sql IMMUTABLE;
+ #
+ USE_LOWER_UNACCENT0
+ 
--- a/debian/patches/series 2017-04-29 09:03:13.670357628 +0100
--- b/debian/patches/series 2017-04-29 09:04:46.710702421 +0100
@@ -1,2 +1,3 @@
 01_Ora2Pg.pod.diff
 02_remove_unnecessary_files.diff
+03_reproducible_build.diff


Bug#860007: #860007: z88: FTBFS: gdkgl.h:22:29: fatal error: gdkglext-config.h: No such file or directory

2017-04-18 Thread Chris Lamb
reassign 860007 gtkglext
found 860007 1.2.0-5
tags 860007 + patch
affects 860007 + z88
thanks

Hi,

This actually seems to be a regresion due to multi-arching gtkglext in
the 1.2.0-5 upload.

Patch attached. After applying it to gtkglext, z88 builds successfully.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/libgtkglext1-dev.install b/debian/libgtkglext1-dev.install
index 1453766..b9d1fa7 100644
--- a/debian/libgtkglext1-dev.install
+++ b/debian/libgtkglext1-dev.install
@@ -5,7 +5,6 @@ examples/*.rgb /usr/share/doc/libgtkglext1-dev/examples
 examples/Makefile.am /usr/share/doc/libgtkglext1-dev/examples
 m4macros/gtkglext.m4 /usr/share/aclocal
 usr/include
-usr/lib/*/gtkglext-1.0
 usr/lib/*/lib*.a
 usr/lib/*/lib*.la
 usr/lib/*/lib*.so
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 525bfc2..1344303 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -180,7 +180,7 @@ $(srcdir)/gdkglenumtypes.c: @REBUILD@ 
$(gdkglext_public_h_sources) Makefile
 #
 # Rule to install gdkglext-config.h header file
 #
-configexecincludedir = $(libdir)/gtkglext-@GTKGLEXT_API_VERSION@/include
+configexecincludedir = $(includedir)/gtkglext-@GTKGLEXT_API_VERSION@
 #configexecinclude_DATA = gdkglext-config.h
 
 install-exec-local: gdkglext-config.h


Bug#860007: z88: FTBFS: gdkgl.h:22:29: fatal error: gdkglext-config.h: No such file or directory

2017-04-18 Thread Chris Lamb
Hi,

> z88: FTBFS: gdkgl.h:22:29: fatal error: gdkglext-config.h: No such file or 
> directory

This seems related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185307


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#860279: xmlrpc-c: please make the build reproducible

2017-04-13 Thread Chris Lamb
Source: xmlrpc-c
Version: 1.33.14-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed
that xmlrpc-c could not be built reproducibly due to including
the buildpath in the binary:

│ │ │ │ -BLDDIR="/build/1st/xmlrpc-c-1.33.14"
│ │ │ │ -ABS_SRCDIR="/build/1st/xmlrpc-c-1.33.14"
│ │ │ │ +BLDDIR="/build/xmlrpc-c-1.33.14/2nd"
│ │ │ │ +ABS_SRCDIR="/build/xmlrpc-c-1.33.14/2nd"

Patch attached. I believe this is only used really in the "tests"
makefile so it is safe to remove.

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


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   2017-04-13 22:51:12.505698604 
+0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2017-04-13
+
+--- xmlrpc-c-1.33.14.orig/GNUmakefile
 xmlrpc-c-1.33.14/GNUmakefile
+@@ -118,8 +118,6 @@ shell_config: $(BLDDIR)/config.mk
+   @echo 'PREFIX="$(PREFIX)"'  >>$@
+   @echo 'HEADERINST_DIR="$(HEADERINST_DIR)"'  >>$@
+   @echo 'LIBINST_DIR="$(LIBINST_DIR)"'>>$@
+-  @echo 'BLDDIR="$(BLDDIR)"'  >>$@
+-  @echo 'ABS_SRCDIR="$(ABS_SRCDIR)"'  >>$@
+   @echo '###' >>$@
+ 
+ xmlrpc-c-config xmlrpc-c-config.test:%: %.main shell_config
--- a/debian/patches/series 2017-04-13 22:36:58.493669764 +0100
--- b/debian/patches/series 2017-04-13 22:51:10.205687817 +0100
@@ -6,3 +6,4 @@
 614937_FTBFS_hurd-i386.patch
 fix-format-security.diff
 fix-FTBFS-gcc6.patch
+reproducible_build.patch


Bug#860007: z88: FTBFS: gdkgl.h:22:29: fatal error: gdkglext-config.h: No such file or directory

2017-04-10 Thread Chris Lamb
Source: z88
Version: 13.0.0+dfsg2-4
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

z88 fails to build from source in unstable/amd64:

  […]

  /usr/bin/cc   -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I«BUILDDIR»/src  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2=.
 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -DFR_UNIX -DFR_XINT 
-DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer -O3 -DNDEBUG   -o 
CMakeFiles/z88d.dir/span88.c.o   -c 
/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2/src/span88.c
  «BUILDDIR»/src/ri588i.c: In function 'ri588i':
  «BUILDDIR»/src/ri588i.c:139:1: warning: ignoring return value of 'fgets', 
declared with attribute warn_unused_result [-Wunused-result]
   fgets(cline,256,fi5);
   ^~~~
  «BUILDDIR»/src/ri588i.c:154:3: warning: ignoring return value of 'fgets', 
declared with attribute warn_unused_result [-Wunused-result]
 fgets(cline,256,fi5);
 ^~~~
  [ 56%] Building C object CMakeFiles/z88d.dir/who88d.c.o
  /usr/bin/cc   -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I«BUILDDIR»/src  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2=.
 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -DFR_UNIX -DFR_XINT 
-DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer -O3 -DNDEBUG   -o 
CMakeFiles/z88d.dir/who88d.c.o   -c 
/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2/src/who88d.c
  [ 57%] Building C object CMakeFiles/z88d.dir/wlog88d.c.o
  /usr/bin/cc   -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I«BUILDDIR»/src  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2=.
 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -DFR_UNIX -DFR_XINT 
-DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer -O3 -DNDEBUG   -o 
CMakeFiles/z88d.dir/wlog88d.c.o   -c 
/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2/src/wlog88d.c
  [ 57%] Building C object CMakeFiles/z88d.dir/wrim88d.c.o
  /usr/bin/cc   -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I«BUILDDIR»/src  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2=.
 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2 -DFR_UNIX -DFR_XINT 
-DFR_XDOUB -DFR_LINUX -O3 -fomit-frame-pointer -O3 -DNDEBUG   -o 
CMakeFiles/z88d.dir/wrim88d.c.o   -c 
/home/lamby/temp/cdt.20170410083852.GxeF3Wr8r6.db.z88/z88-13.0.0+dfsg2/src/wrim88d.c
  [ 58%] Building C object CMakeFiles/z88d.dir/lan88d.c.o
  /usr/bin/cc   -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 
-I/usr/include/harfbuzz -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 
-I/usr/lib/gtkglext-1.0/include -I«BUILDDIR»/src  -g -O2 

Bug#857456: xmlrpc-c: Incomplete debian/copyright?

2017-03-11 Thread Chris Lamb
Source: xmlrpc-c
Version: 1.33.14-5
Severity: serious
Justication: Policy 12.5
X-Debbugs-CC: Mattia Rizzolo <mat...@debian.org>

Hi,

I just ACCEPTed xmlrpc-c from NEW but noticed it was missing 
attribution in debian/copyright for at least:

  tools/turbocharger/mod_gzip.c
  src/system_method.c
  etc.

(This is not exhaustive so please check over the entire package 
carefully and address these on your next upload.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#852885: php-solr: FTBFS: configure: error: Please reinstall the libcurl distribution -

2017-01-30 Thread Chris Lamb
Hi,

> php-solr: FTBFS: configure: error: Please reinstall the libcurl distribution -

Looks very similar to #852885...


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#804429: python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function)

2016-12-21 Thread Chris Lamb
Hi Christoph,

> I cannot reproduce this, build passed twice on an updated sid build
> environment. Can you please re-check?

Seems to work for me now :)  (Closing in BCC.)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#848866: libcorelinux: please make the build reproducible

2016-12-20 Thread Chris Lamb
Source: libcorelinux
Version: 0.4.32-9
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/patches/002-reproducible-build.patch   1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/002-reproducible-build.patch   2016-12-20 
10:39:38.349443780 +
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-12-20
+
+--- libcorelinux-0.4.32.orig/corelinux.spec.in
 libcorelinux-0.4.32/corelinux.spec.in
+@@ -101,7 +101,7 @@ make -j 2
+ (mkdir -p examples)
+ (find src/testdrivers -name "*.[ch]*[pp]*" | xargs -ifilename cp filename 
examples)
+ (perl debian/genmake.pl examples)
+-(for i in examples/*; do gzip $i; done)
++(for i in examples/*; do gzip -n $i; done)
+ 
+ %install
+ 
--- a/debian/patches/series 2016-12-20 10:34:23.897952766 +
--- b/debian/patches/series 2016-12-20 10:39:35.497412198 +
@@ -1 +1,2 @@
 001-debian-changes.patch
+002-reproducible-build.patch


Bug#845211: link-grammar: FTBFS: /usr/bin/ld: cannot find -lncurses

2016-11-21 Thread Chris Lamb
Source: link-grammar
Version: 5.3.11-2
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

Dear Maintainer,

link-grammar fails to build from source in unstable/amd64:

  […]

  gcc -DPACKAGE_NAME=\"link-grammar\" -DPACKAGE_TARNAME=\"link-grammar\" 
-DPACKAGE_VERSION=\"5.3.11\" -DPACKAGE_STRING=\"link-grammar\ 5.3.11\" 
-DPACKAGE_BUGREPORT=\"link-gram...@googlegroups.com\" -DPACKAGE_URL=\"\" 
-DPACKAGE=\"link-grammar\" -DVERSION=\"5.3.11\" -DSTDC_HEADERS=1 
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 
-DHAVE_STRNDUP=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 
-DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 
-DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_MKLIT=1 -DHAVE_LIBSTDC__=1 
-DHAVE_HUNSPELL=1 -DHUNSPELL_DICT_DIR=\"/usr/share/myspell/dicts\" 
-DHAVE_EDITLINE=1 -DHAVE_WIDECHAR_EDITLINE=1 -DHAVE_REGEXEC=1 
-DHAVE_PYTHON=\"2.7\" -DHAVE_MAYBE_UNINITIALIZED=1 -DVERSION=\"5.3.11\" 
-DDICTIONARY_DIR=\"/usr/share/link-grammar\" -I.  -I.. -I.. -Wstrict-prototypes 
-Wmissing-prototypes -Wnested-externs -Wold-style-definition  -Wall -Wextra 
-Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith 
-Wwrite-strings -Wmissing-declarations -Wpacked -Wswitch-enum 
-Wmissing-format-attribute -Wstrict-aliasing -Winit-self 
-Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes 
-Wno-long-long -Winline -I/usr/include/hunspell -I/usr/include/editline 
-Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_PTHREADS=1 -DUSE_SAT_SOLVER=1  -g -O2 
-fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat 
-Werror=format-security -O3 -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-D_DEFAULT_SOURCE -c -o parser-utilities.o parser-utilities.c
  /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 
-fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat 
-Werror=format-security -O3 -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE 
-D_DEFAULT_SOURCE -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -Wl,-O1 
-Wl,--as-needed -o link-parser link-parser.o command-line.o lg_readline.o 
parser-utilities.o ../link-grammar/liblink-grammar.la -ledit -lncurses -lbsd   
-lminisat  -lstdc++ 
  libtool: link: gcc -g -O2 -fdebug-prefix-map=«BUILDDIR»=. 
-fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c11 
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE 
-fno-strict-aliasing -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o 
.libs/link-parser link-parser.o command-line.o lg_readline.o parser-utilities.o 
 -Wl,--as-needed ../link-grammar/.libs/liblink-grammar.so -ledit -lncurses 
-lbsd -lminisat -lstdc++
  /usr/bin/ld: cannot find -lncurses
  collect2: error: ld returned 1 exit status
  Makefile:469: recipe for target 'link-parser' failed
  make[2]: *** [link-parser] Error 1
  make[2]: Leaving directory '«BUILDDIR»/link-parser'
  Makefile:539: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  dh_auto_build: make -j9 returned exit code 2
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


link-grammar.5.3.11-2.unstable.amd64.log.txt.gz
Description: Binary data


Bug#844493: twisted-web2: FTBFS: twisted.python.dist module not found

2016-11-16 Thread Chris Lamb
Source: twisted-web2
Version: 8.1.0-3
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

twisted-web2 fails to build from source in unstable/amd64:

  […]

  
   debian/rules build
  python2.7 setup.py build
  twisted.python.dist module not found.  Make sure you have installed the 
Twisted core package before attempting to install any other Twisted projects.
  debian/rules:13: recipe for target 'build-python2.7' failed
  make: *** [build-python2.7] Error 1

  […]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


twisted-web2.8.1.0-3.unstable.amd64.log.txt.gz
Description: Binary data


Bug#844491: linux-atm: FTBFS: time.h:9:8: error: redefinition of 'struct timespec'

2016-11-16 Thread Chris Lamb
ed here
   struct timezone
  ^~~~
  In file included from /usr/include/linux/atm_zatm.h:17:0,
   from zntune.c:17:
  /usr/include/linux/time.h:39:8: error: redefinition of 'struct itimerval'
   struct itimerval {
  ^
  In file included from zntune.c:16:0:
  /usr/include/x86_64-linux-gnu/sys/time.h:107:8: note: originally defined here
   struct itimerval
  ^
  Makefile:607: recipe for target 'zntune.o' failed
  make[4]: *** [zntune.o] Error 1
  make[4]: Leaving directory 
'/home/lamby/temp/cdt.20161116094316.Tj0RL2UOKo.db.linux-atm/linux-atm-2.5.1/src/maint'
  Makefile:366: recipe for target 'all-recursive' failed
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20161116094316.Tj0RL2UOKo.db.linux-atm/linux-atm-2.5.1/src'
  Makefile:411: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20161116094316.Tj0RL2UOKo.db.linux-atm/linux-atm-2.5.1'
  Makefile:343: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20161116094316.Tj0RL2UOKo.db.linux-atm/linux-atm-2.5.1'
  debian/rules:36: recipe for target 'build-stamp' failed
  make: *** [build-stamp] Error 2

  […]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


linux-atm.1:2.5.1-1.6.unstable.amd64.log.txt.gz
Description: Binary data


Bug#828537: samdump2: FTBFS with openssl 1.1.0

2016-11-12 Thread Chris Lamb
tags 828537 + pending
thanks

Uploaded.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#828349: ike: FTBFS with openssl 1.1.0

2016-11-12 Thread Chris Lamb
tags 828349 + pending
thanks

Uploaded.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#831125: polygraph: FTBFS with GCC 6: ContainerBodyIter.cc:75:22: error: no match for 'operator!=' (operand types are 'ofixedstream' and 'int')

2016-11-12 Thread Chris Lamb
tags 831125 + pending
thanks

Uploaded. :)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#841572: qink: FTBFS: mkdir: cannot create directory '/usr/share/doc/qink/': Permission denied

2016-11-12 Thread Chris Lamb
tags 841572 + pending
thanks

Successfully uploaded qink_0.3.5-8.dsc to ftp.upload.debian.org for ftp-master.
Successfully uploaded qink_0.3.5.orig.tar.gz to ftp.upload.debian.org for 
ftp-master.
Successfully uploaded qink_0.3.5-8.debian.tar.xz to ftp.upload.debian.org for 
ftp-master.
Successfully uploaded qink_0.3.5-8_20161112T131235z-bc4f0c7a.buildinfo to 
ftp.upload.debian.org for ftp-master.
Successfully uploaded qink_0.3.5-8_amd64.deb to ftp.upload.debian.org for 
ftp-master.
Successfully uploaded qink_0.3.5-8_amd64.changes to ftp.upload.debian.org for 
ftp-master.



Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#842477: guilt: FTBFS: 010: Test failed!

2016-10-29 Thread Chris Lamb
previously unselected package sgml-base.
  Preparing to unpack .../02-sgml-base_1.28_all.deb ...
  Unpacking sgml-base (1.28) ...
  Selecting previously unselected package xml-core.
  Preparing to unpack .../03-xml-core_0.16_all.deb ...
  Unpacking xml-core (0.16) ...
  Selecting previously unselected package sgml-data.
  Preparing to unpack .../04-sgml-data_2.0.10_all.deb ...
  Unpacking sgml-data (2.0.10) ...
  Selecting previously unselected package docbook-xml.
  Preparing to unpack .../05-docbook-xml_4.5-8_all.deb ...
  Unpacking docbook-xml (4.5-8) ...
  Selecting previously unselected package docbook-xsl.
  Preparing to unpack .../06-docbook-xsl_1.79.1+dfsg-2_all.deb ...
  Unpacking docbook-xsl (1.79.1+dfsg-2) ...
  Selecting previously unselected package libxml2-utils.
  Preparing to unpack .../07-libxml2-utils_2.9.4+dfsg1-2_amd64.deb ...
  Unpacking libxml2-utils (2.9.4+dfsg1-2) ...
  Selecting previously unselected package libxslt1.1:amd64.
  Preparing to unpack .../08-libxslt1.1_1.1.29-1_amd64.deb ...
  Unpacking libxslt1.1:amd64 (1.1.29-1) ...
  Selecting previously unselected package xsltproc.
  Preparing to unpack .../09-xsltproc_1.1.29-1_amd64.deb ...
  Unpacking xsltproc (1.1.29-1) ...
  Selecting previously unselected package xmlto.
  Preparing to unpack .../10-xmlto_0.0.28-0.1_amd64.deb ...
  Unpacking xmlto (0.0.28-0.1) ...
  Setting up libxml2-utils (2.9.4+dfsg1-2) ...
  Setting up sgml-base (1.28) ...
  Setting up libxslt1.1:amd64 (1.1.29-1) ...
  Processing triggers for libc-bin (2.24-5) ...
  Setting up asciidoc (8.6.9-3) ...
  Setting up libexpat1-dev:amd64 (2.2.0-1) ...
  Processing triggers for man-db (2.7.5-1) ...
  Setting up xml-core (0.16) ...
  Setting up xsltproc (1.1.29-1) ...
  Processing triggers for sgml-base (1.28) ...
  Setting up sgml-data (2.0.10) ...
  Setting up docbook-xsl (1.79.1+dfsg-2) ...
  Processing triggers for sgml-base (1.28) ...
  Setting up docbook-xml (4.5-8) ...
  Processing triggers for sgml-base (1.28) ...
  Setting up xmlto (0.0.28-0.1) ...
  Setting up guilt-build-deps (0.36-1) ...
  
  
**
  ** Environment
  **
  
**
  
  
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=34cc4054a89a
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36
  OLDPWD=/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=la...@debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  
**
  ** Building guilt 0.36-1 on amd64 
  **
  
**
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package guilt
  dpkg-buildpackage: info: source version 0.36-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Axel Beckert <a...@debian.org>
   dpkg-source --before-build guilt-0.36
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean --parallel
 dh_testdir -O--parallel
 dh_auto_clean -O--parallel
make -j9 clean
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36'
  make -C Documentation clean 
  make[2]: Entering directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36/Documentation'
  rm -f *.xml *.html *.1 *.7 doc.dep
  rm -f cmds.txt
  rm -f usage-*.txt
  rm -f version.txt
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36/Documentation'
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36'
 dh_clean -O--parallel
   debian/rules build
  dh build --parallel
 dh_testdir -O--parallel
 dh_update_autotools_config -O--parallel
 dh_auto_configure -O--parallel
 dh_auto_build -O--parallel
make -j9
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36'
  Nothing to build, it is all bash :)
  Try make install
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20161029155853.PhTLXYMfSA.db.guilt/guilt-0.36'
 dh_auto_test -O--parallel
make -j9 test
  make[1]: En

Wheezy update of sendmail?

2016-10-23 Thread Chris Lamb
Hello dear maintainer(s),

the Debian LTS team would like to fix the security issues which are
currently open in the Wheezy version of sendmail:
https://security-tracker.debian.org/tracker/source-package/sendmail

Would you like to take care of this yourself?

If yes, please follow the workflow we have defined here:
https://wiki.debian.org/LTS/Development

If that workflow is a burden to you, feel free to just prepare an
updated source package and send it to debian-...@lists.debian.org
(via a debdiff, or with an URL pointing to the source package,
or even with a pointer to your packaging repository), and the members
of the LTS team will take care of the rest. Indicate clearly whether you
have tested the updated package or not.

If you don't want to take care of this update, it's not a problem, we
will do our best with your package. Just let us know whether you would
like to review and/or test the updated package before it gets released.

You can also opt-out from receiving future similar emails in your
answer and then the LTS Team will take care of sendmail updates
for the LTS releases. (In case we don't get any answer for months,
we may also take it as an opt-out, too.)

Thank you very much.

Chris Lamb,
  on behalf of the Debian LTS team.

PS: A member of the LTS team might start working on this update at
any point in time. You can verify whether someone is registered
on this update in this file:
https://anonscm.debian.org/viewvc/secure-testing/data/dla-needed.txt?view=markup


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#835263: binutils-m68hc1x: please make the build reproducible

2016-10-06 Thread Chris Lamb
tags 835263 + pending
thanks


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#839919: ripole: Current package doesn't contain the binary

2016-10-06 Thread Chris Lamb
tags 839919 + pending
thanks

Pending upload…


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#834324: libnss-ldap: please make the build reproducible

2016-10-03 Thread Chris Lamb
tags 834324 + pending
thanks

Whoops...


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#839375: python-uniconvertor: FTBFS: Option release requires an argument

2016-10-01 Thread Chris Lamb
tags 839375 + patch
thanks

Patch attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index 5374269..43ce05a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 
 export DH_VERBOSE=1
 
+VERSION = $(shell dpkg-parsechangelog --show-field=Version)
+
 p:=debian/python-uniconvertor
 
 %:


Bug#838808: gtkglextmm: FTBFS: thread.h:140:18: error: variable or field 'thread_init' declared void

2016-09-25 Thread Chris Lamb
Source: gtkglextmm
Version: 1.2.0-7
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

gtkglextmm fails to build from source in unstable/amd64:

  [..]

  configure: gdkmm supports multihead
  checking for perl... /usr/bin/perl
  checking for dot... no
  checking for doxygen... no
  checking that generated files are newer than configure... done
  checking that generated files are newer than configure... done
  configure: creating ./config.status
  config.status: creating gdkglextmm.pc
  config.status: creating gtkglextmm.pc
  config.status: creating gdkglextmm-uninstalled.pc
  config.status: creating gtkglextmm-uninstalled.pc
  config.status: creating gtkglextmm.spec
  config.status: creating gtkglextmm.nsi
  config.status: creating Makefile
  config.status: creating tools/Makefile
  config.status: creating tools/extra_defs_gen/Makefile
  config.status: creating tools/m4/Makefile
  config.status: creating gdkglext/Makefile
  config.status: creating gdkglext/src/Makefile
  config.status: creating gdkglext/gdkmm/Makefile
  config.status: creating gdkglext/gdkmm/gl/Makefile
  config.status: creating gdkglext/gdkmm/gl/version.h
  config.status: creating gdkglext/gdkmm/gl/private/Makefile
  config.status: creating gtkglext/Makefile
  config.status: creating gtkglext/src/Makefile
  config.status: creating gtkglext/gtkmm/Makefile
  config.status: creating gtkglext/gtkmm/gl/Makefile
  config.status: creating gtkglext/gtkmm/gl/version.h
  config.status: creating gtkglext/gtkmm/gl/private/Makefile
  config.status: creating examples/Makefile
  config.status: creating docs/Makefile
  config.status: creating docs/reference/Makefile
  config.status: creating docs/reference/Doxyfile
  config.status: creating m4macros/Makefile
  config.status: creating config.h
  config.status: executing depfiles commands
  config.status: executing libtool commands
  config.status: executing gdkglext/gdkglextmm-config.h commands
  
  configuration:
multihead support:  yes
  
 dh_auto_build
make -j1
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0'
  make  all-recursive
  make[2]: Entering directory 
'/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0'
  Making all in tools
  make[3]: Entering directory 
'/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0/tools'
  Making all in extra_defs_gen
  make[4]: Entering directory 
'/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0/tools/extra_defs_gen'
  g++ -DHAVE_CONFIG_H -I. -I../.. -pthread -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/gtkmm-2.4 -I/usr/lib/x86_64-linux-gnu/gtkmm-2.4/include 
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-unix-print-2.0 
-I/usr/include/gtk-2.0 -I/usr/include/gdkmm-2.4 
-I/usr/lib/x86_64-linux-gnu/gdkmm-2.4/include -I/usr/include/giomm-2.4 
-I/usr/lib/x86_64-linux-gnu/giomm-2.4/include -I/usr/include/pangomm-1.4 
-I/usr/lib/x86_64-linux-gnu/pangomm-1.4/include -I/usr/include/glibmm-2.4 
-I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/cairomm-1.0 
-I/usr/lib/x86_64-linux-gnu/cairomm-1.0/include -I/usr/include/sigc++-2.0 
-I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/gtk-2.0 
-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ 
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 
-I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 
-I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 
-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include 
-I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o 
generate_defs_gtkglext.o generate_defs_gtkglext.cc
  /bin/bash ../../libtool  --tag=CXX   --mode=link g++  -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20160925105332.bPk1KxxXJZ.db.gtkglextmm/gtkglextmm-1.2.0=.
 -fstack-protector-strong -Wformat -Werror=format-security -Wall  -Wl,-z,relro 
-o generate_extra_defs generate_defs_gtkglext.o  -lgdkglext-x11-1.0 -lGLU -lGL 
-lXmu -lXt -lSM -lICE -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu 
-lXt -lSM -lICE -lgdk-x11-2.0 -lpangox-1.0 -lX11 -Wl,--export-dynamic 
-lgmodule-2.0 -pthread -lgtkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lgdkmm-2.4 
-lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 
-lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo 

Bug#831065: python-kinterbasdb: please make the build reproducible

2016-09-16 Thread Chris Lamb
> While doing so I found this error:
> 
> remote: Migrating settings from hooks.* to multimailhook.*

This looks like something wrong in the collab-maint git repo; I have no
insight there, alas :)


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#831065: python-kinterbasdb: please make the build reproducible

2016-09-15 Thread Chris Lamb
Dear Maintainer,

> Source: python-kinterbasdb
> Version: 3.3.0-2
> Tags: patch

There hasn't seem to be any update on this bug in 63 days, in which
time the Reproducible Builds effort has come on a long way. :)

Would you consider applying this patch and uploading?


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#835263: binutils-m68hc1x: please make the build reproducible

2016-08-23 Thread Chris Lamb
Source: binutils-m68hc1x
Version: 1:2.18-7
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ordering
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], I noticed
that binutils-m68hc1x could not be built reproducibly.

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index ac19513..670fbb5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,7 +63,7 @@ build-indep: build-stamp
 build-stamp: configure
dh_testdir
cd build && $(MAKE)
-   GZIP=-9n tar cfz $(CURDIR)/example.tar.gz example/* 
--mtime="$(BUILD_DATE)" --mode=644
+   GZIP=-9n tar cfz $(CURDIR)/example.tar.gz example/* --sort=name 
--mtime="$(BUILD_DATE)" --mode=644
touch build-stamp
 
 install: build


Bug#834983: eyed3: please make the build reproducible

2016-08-21 Thread Chris Lamb
Source: eyed3
Version: 0.6.18-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


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   2016-08-21 11:14:28.190933490 
+0100
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-08-21
+
+--- eyed3-0.6.18.orig/configure
 eyed3-0.6.18/configure
+@@ -1674,7 +1674,11 @@ fi
+ 
+ BUILD_DATE=`date`
+ 
+-MANPAGE_DATE=`date +'%b. %d, %Y'`
++if test -n "$SOURCE_DATE_EPOCH"; then
++MANPAGE_DATE=`LC_ALL=C date --utc --date="@$SOURCE_DATE_EPOCH" +'%b. %d, 
%Y'`
++else
++MANPAGE_DATE=`date +'%b. %d, %Y'`
++fi
+ 
+ 
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets 
\$(MAKE)" >&5
--- a/debian/patches/series 1970-01-01 01:00:00.0 +0100
--- b/debian/patches/series 2016-08-21 11:14:27.050922086 +0100
@@ -0,0 +1 @@
+reproducible-build.patch


Bug#834649: link-grammar: typo in debian/rules (override_dh_auto-clean -> override_dh_auto_clean)

2016-08-17 Thread Chris Lamb
Hi,

> Thank you, but I fixed it before you this time! ;)
> 
> See https://lists.debian.org/debian-devel-changes/2016/08/msg01753.html

Great stuff. I mostly submitted that patch to Lintian so they would do
the work of running it across the entire archive ;-)

(FYI you dropped the bug number from the CC so I did not immediately see
your reply -- it was attached to the generic "bug closed" mail and only
saw it by accident when clicking around..)


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#834649: link-grammar: typo in debian/rules (override_dh_auto-clean -> override_dh_auto_clean)

2016-08-17 Thread Chris Lamb
Source: link-grammar
Version: 5.3.8-1
Severity: normal
Tags: patch

Hi,

I believe there is a typo in your debian/rules (override_dh_auto-clean ->
override_dh_auto_clean)

Patch attached.


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index d89f0dd..cea7282 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ export DEB_LDFLAGS_MAINT_APPEND= -Wl,-O1 -Wl,--as-needed
 %:
dh $@ --parallel --with autoreconf,python2
 
-override_dh_auto-clean:
+override_dh_auto_clean:
dh_auto_clean
rm -r bin/org
rm linkgrammar-*.jar


Bug#834577: ifrit: typo in debian/rules (override_dh_autoconfigure -> override_dh_auto_configure)

2016-08-17 Thread Chris Lamb
Source: ifrit
Version: 4.1.2-5
Severity: normal
Tags: patch

Hi,

I believe there is a typo in debian/rules:

 override_dh_autoconfigure -> override_dh_auto_configure

Patch attached.


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


Bug#833610: ara: please make the build reproducible

2016-08-06 Thread Chris Lamb
Source: ara
Version: 1.0.31
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

Patch attached.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/common/mkversion.sh   2016-08-06 23:30:32.763007181 +0100
--- b/common/mkversion.sh   2016-08-06 23:37:00.142190926 +0100
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 VERSION=`sed -n -e '1s/^ara (\([^ ]*\)) .*$/\1/p' ../debian/changelog`
-DATE=`date +'%04Y-%02m-%02d'`
+DATE=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" 
+'%04Y-%02m-%02d')
 
 rm -f version.ml
 sed -e 's/\$VERSION\$/'"$VERSION"'/g' \


Bug#833441: rc: please make the build reproducible

2016-08-04 Thread Chris Lamb
Source: rc
Version: 1.7.2-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that rc 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/50_reproducible-build.patch1970-01-01 
01:00:00.0 +0100
--- b/debian/patches/50_reproducible-build.patch2016-08-04 
07:20:39.429150414 +0100
@@ -0,0 +1,19 @@
+Description: Make the build reproducible
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-08-04
+
+--- rc-1.7.2.orig/configure.ac
 rc-1.7.2/configure.ac
+@@ -2,7 +2,11 @@ dnl Our package name, version, ...
+ AC_INIT([rc], [1.7.2])
+ 
+ dnl ... and release date
+-RELDATE=`date -I`
++if test -n "$SOURCE_DATE_EPOCH"; then
++ RELDATE=`date --utc -I --date="@$SOURCE_DATE_EPOCH"`
++else
++ RELDATE=`date -I`
++fi
+ AC_DEFINE_UNQUOTED(RELDATE, "$RELDATE", [Release date])
+ 
+ dnl Get things going...
--- a/debian/patches/series 2016-08-04 07:15:24.122713636 +0100
--- b/debian/patches/series 2016-08-04 07:20:38.005139349 +0100
@@ -2,3 +2,4 @@
 20_panic-attribute-noreturn.patch
 30_trip-hide-envvars.patch
 40_manpage-typography.patch
+50_reproducible-build.patch


Bug#832998: live-build: please expose SOURCE_DATE_EPOCH when running chroot commands

2016-07-30 Thread Chris Lamb
Source: live-build
Version: 1:20151215
Severity: wishlist
Tags: patch
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

The attached patch exposes the SOURCE_DATE_EPOCH variable when running
scripts inside the chroot, otherwise the chroot operation resets the
environment.

This is needed to generate reproducible images when using the S_D_E
patchset for libisofs and libisoburn.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/functions/chroot.sh b/functions/chroot.sh
index 23c5046..88c5466 100755
--- a/functions/chroot.sh
+++ b/functions/chroot.sh
@@ -26,6 +26,12 @@ Chroot ()
fi
done
 
+   # Only pass SOURCE_DATE_EPOCH if its already set
+   if [ "${SOURCE_DATE_EPOCH:-}" != "" ]
+   then
+   ENV="${ENV} SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH}"
+   fi
+
${_LINUX32} chroot "${CHROOT}" /usr/bin/env -i HOME="/root" 
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" 
TERM="${TERM}" DEBIAN_FRONTEND="${LB_DEBCONF_FRONTEND}" 
DEBIAN_PRIORITY="${LB_DEBCONF_PRIORITY}" DEBCONF_NONINTERACTIVE_SEEN="true" 
DEBCONF_NOWARNINGS="true" ${ENV} ${COMMANDS}
 
return "${?}"


Bug#831759: backup-manager: FTBFS: Running test t15-dupes.sh: failed

2016-07-20 Thread Chris Lamb
> For this particular check, changing the sed expression from:
>  "s/$date_of_file/\*/" to "s/\\(.*\\)$date_of_file/\\1\*/"
> should be enough (lib/files.sh). Although, not a very "safe" way to mangle 
> filenames. :/

No, indeed not!
 
> I'll commit the patch, and I guess I should be able to reproduce the issue 
> now.

Great stuff, looking forward to it.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#831759: backup-manager: FTBFS: Running test t15-dupes.sh: failed

2016-07-19 Thread Chris Lamb
> >   [t 16] Running test t15-dupes.sh: failed
> 
> Sorry, but I can't reproduce the error. Maybe there is some difference in the 
> running environment. Can you test the failling test with set -x ?

Attached. I also had to remove the "2>/dev/null" in run-tests.sh for
the output to show FYI.

Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


backup-manager_0.7.12-1_amd64.build
Description: Binary data


Bug#831776: mknbi: incorrect reference to dh_installchangelogs ("dh_install_changelogs")

2016-07-19 Thread Chris Lamb
Source: mknbi
Version: 1.4.4-11
Tags: patch

Hi,

The attached patch fixes an incorrect reference to
dh_installchangelogs ("dh_install_changelogs").


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index 2113275..a4dd6f4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,7 +29,7 @@ override_dh_auto_install:
$(foreach i,$(FIRSTRELOCS),first32@$(i).linux first32elf@$(i).linux) \
first.dos first.fdos menu debian/mknbi/usr/lib/mknbi
 
-override_dh_install_changelogs:
+override_dh_installchangelogs:
dh_installchangelogs LOG
 
 override_dh_fixperms:


Bug#831759: backup-manager: FTBFS: Running test t15-dupes.sh: failed

2016-07-19 Thread Chris Lamb
/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=1abf424960b8
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  
PWD=/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12
  OLDPWD=/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=la...@debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  GPG_KEY=1E953E27D4311E58
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  
**
  ** Building backup-manager 0.7.12-1 on amd64  
  **
  
**
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package backup-manager
  dpkg-buildpackage: info: source version 0.7.12-1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Maximiliano Curia <m...@debian.org>
   dpkg-source --before-build backup-manager-0.7.12
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  dh clean
 dh_testdir
 dh_auto_clean
make -j1 clean
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
  rm -f build-stamp
  rm -rf debian/backup-manager
  rm -f man/backup-manager-upload.8
  #rm -f man/*.8
  make -C po clean
  make[2]: Entering directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12/po'
  rm -f backup-manager.pot \
  backup-manager.files \
de.mo fr.mo es.mo cs.mo it.mo vi.mo nl.mo \
  messages messages.mo \
  messages.po
  for file in ; do \
mv -f $file `echo $file | sed 's/\.old//'`; \
done
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12/po'
  make -C doc clean
  make[2]: Entering directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12/doc'
  rm -f *.pdf *.txt *.tpt
  rm -rf user-guide.html
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12/doc'
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
 dh_clean
   debian/rules build
  dh build
 dh_testdir
 dh_update_autotools_config
 dh_auto_configure
 dh_auto_build
make -j1
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
  PERL5LIB=. pod2man --section 8 --center="backup-manager-upload" 
backup-manager-upload > man/backup-manager-upload.8
  PERL5LIB=. pod2man --section 8 --center="backup-manager-purge" 
backup-manager-purge > man/backup-manager-purge.8
  touch manpages-stamp
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
 debian/rules override_dh_auto_test
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
  t/run-tests.sh
  [t 1] Running test t01-tarball.sh: ok
  [t 2] Running test t01.2tarball-bug63.sh: ok
  [t 3] Running test t02-rsync.sh: ok
  [t 4] Running test t03-none.sh: ok
  [t 5] Running test t04-tarball-blacklist.sh: ok
  [t 6] Running test t05-hooks.sh: true
  ok
  [t 7] Running test t06-bug14.sh: ok
  [t 8] Running test t07-dar.sh: ok
  [t 9] Running test t08-regexp.sh: ok
  [t 10] Running test t09-tarball-incremental.sh: ok
  [t 11] Running test t10-tarball-dar-blacklist.sh: ok
  [t 12] Running test t11-pipe-method.sh: ok
  [t 13] Running test t11.2-pipe-encrypted.sh: ok
  [t 14] Running test t12-tarball-incremental-dar.sh: ok
  [t 15] Running test t14-purging-system.sh: ok
  [t 16] Running test t15-dupes.sh: failed
  [t 17] Running test t16-whitespaces.sh: ok
  [t 18] Running test t17-tarball-lzma.sh: ok
  [t 19] Running test t18-tarball-encryption.sh: ok
  [t 20] Running test t19-masterdatevalue.sh: ok
  [t 21] Running test t20-hooks-bug235.sh: Test t20-hooks-bug235.sh disabled. I 
don't think this ever passed, and the bug tracker entry for it is gone
  ok
  --
  Success score: 95% (20/21)
  Failed tests: 1
  debian/rules:12: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160719085742.UtprhZgTWh.backup-manager/backup-manager-0.7.12'
  debian/rules:9: recipe for target 'build' fa

Bug#831432: mknbi: please make the build reproducible

2016-07-15 Thread Chris Lamb
Source: mknbi
Version: 1.4.4-11
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed
that mknbi 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/06-reproducible-builds.patch   1970-01-01 
02:00:00.0 +0200
--- b/debian/patches/06-reproducible-builds.patch   2016-07-15 
23:06:54.580070469 +0200
@@ -0,0 +1,30 @@
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-07-15
+
+--- mknbi-1.4.4.orig/Makefile
 mknbi-1.4.4/Makefile
+@@ -61,6 +61,11 @@ MANS=   mknbi.1 disnbi.1 menuc.1
+ HTMLS=mknbi.html disnbi.html menuc.html
+ DOCS= $(MANS) $(HTMLS)
+ 
++ifdef SOURCE_DATE_EPOCH
++BUILD_DATE=   $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 
2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || 
date -u "+%Y-%m-%d")
++else
++BUILD_DATE=   $(shell date "+%Y-%m-%d")
++endif
+ 
+ all:  $(PROG) $(FIRSTS) $(RMRD) $(DOCS)
+ 
+@@ -210,9 +215,9 @@ $(ALTBOOT):altboot.S
+   $(RM) altboot.s
+ 
+ $(MANS):  mknbi.pl disnbi.pl Makefile
+-  pod2man --date=`date +%Y-%m-%d` --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" mknbi.pl > mknbi.1
+-  pod2man --date=`date +%Y-%m-%d` --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" disnbi.pl > disnbi.1
+-  pod2man --date=`date +%Y-%m-%d` --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" menuc.pl > menuc.1
++  pod2man --date=$(BUILD_DATE) --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" mknbi.pl > mknbi.1
++  pod2man --date=$(BUILD_DATE) --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" disnbi.pl > disnbi.1
++  pod2man --date=$(BUILD_DATE) --release="Mknbi 
$(VERSION)$(EXTRAVERSION)" --center="Etherboot tools" menuc.pl > menuc.1
+ 
+ $(HTMLS): mknbi.pl disnbi.pl
+   pod2html mknbi.pl > mknbi.html
--- a/debian/patches/series 2016-07-15 23:00:52.105074043 +0200
--- b/debian/patches/series 2016-07-15 23:06:45.327993142 +0200
@@ -3,3 +3,4 @@
 03-gcc-multilib-harder.patch
 04-no-stack-protector.patch
 05-gcc-5,patch
+06-reproducible-builds.patch


Bug#831379: live-build: please set xorriso's "modification time" to SOURCE_DATE_EPOCH

2016-07-15 Thread Chris Lamb
Source: live-build
Version: 1:20151215
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps toolchain
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

I'm working on the "reproducible builds" effort [0]. One first step for
reproducible ISO images is to set --modification-time to xorrisofs:

  \fB--modification-date=MMDDhhmmsscc\fR
  Set a timestring that overrides ISO image creation and modification timestamps
  literally.
  It must consist of 16 decimal digits which form MMDDhhmmsscc, with
   between 1970 and 2999. Time zone is GMT.
  It is supposed to match this GRUB line:
  .br
   search \-\-fs\-uuid \-\-set \-MM\-DD\-hh\-mm\-ss\-cc
  .br
  E.g. 2010040711405800 is 7 Apr 2010 11:40:58 (+0 centiseconds).

Patch attached that sets it to the value of SOURCE_DATE_EPOCH[1].

 [0] https://wiki.debian.org/ReproducibleBuilds
 [1] https://reproducible-builds.org/specs/source-date-epoch/


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso
index d8b1553..c495d81 100755
--- a/scripts/build/binary_iso
+++ b/scripts/build/binary_iso
@@ -107,6 +107,9 @@ then
XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\""
 fi
 
+# Set an explicit modification date
+XORRISO_OPTIONS="${XORRISO_OPTIONS} --modification-date=$(date --utc 
--date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%m%S00)"
+
 LB_PRIMARY_BOOTLOADER=$(echo "${LB_BOOTLOADERS}" | awk -F, '{ print $1 }')
 
 # Handle xorriso architecture specific options
diff --git a/scripts/build/source_iso b/scripts/build/source_iso
index 0a8848d..c280d30 100755
--- a/scripts/build/source_iso
+++ b/scripts/build/source_iso
@@ -98,6 +98,9 @@ then
XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\""
 fi
 
+# Set an explicit modification date
+XORRISO_OPTIONS="${XORRISO_OPTIONS} --modification-date=$(date --utc 
--date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%m%S00)"
+
 # Moving image
 mv source chroot
 


Comments regarding django-notification_1.2.0-1_amd64.changes

2016-07-15 Thread Chris Lamb
Please clarify "Eldarion" in d/copyright in your next upload.
/lamby




Bug#831065: python-kinterbasdb: please make the build reproducible

2016-07-14 Thread Chris Lamb
Source: python-kinterbasdb
Version: 3.3.0-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

Whilst working on the "reproducible builds" effort [0], we
noticed that python-kinterbasdb 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/03_reproducible_build.patch1970-01-01 
02:00:00.0 +0200
--- b/debian/patches/03_reproducible_build.patch2016-07-14 
09:45:51.028259634 +0200
@@ -0,0 +1,23 @@
+Author: Chris Lamb <la...@debian.org>
+Last-Update: 2016-07-14
+
+--- python-kinterbasdb-3.3.0.orig/setup.py
 python-kinterbasdb-3.3.0/setup.py
+@@ -1,7 +1,7 @@
+ # This horrible tangle of code will soon be blown away and replaced with
+ # something more respectable.  Yep, RSN.
+ 
+-import re, struct, sys, time
++import re, struct, sys, time, os, datetime
+ from StringIO import StringIO
+ 
+ # Exclude old versions of Python:
+@@ -129,7 +129,7 @@ if not shouldSkipBuild:
+ 
+ reTimestamp = re.compile(r"^(__timestamp__\s+=\s+')(.*?)(')$", 
re.MULTILINE)
+ initModuleCode = reTimestamp.sub(
+-r'\g<1>%s\g<3>' % time.strftime('%Y.%m.%d.%H.%M.%S.UTC', 
time.gmtime()),
++r'\g<1>%s\g<3>' % 
datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', 
time.time(.strftime('%Y.%m.%d.%H.%M.%S.UTC'),
+ initModuleCode
+   )
+ 
--- a/debian/patches/series 2016-07-14 09:34:41.760405146 +0200
--- b/debian/patches/series 2016-07-14 09:45:40.540139851 +0200
@@ -1 +1,2 @@
 02_drop_removed_fb_defines.patch
+03_reproducible_build.patch


Bug#830520: ekg2: FTBFS: install: cannot change permissions of 'debian/ekg2-scripting-perl/usr/share/doc/ekg2-scripting-perl': No such file or directory

2016-07-09 Thread Chris Lamb
reassign 830330 debhelper 9.20160702
forcemerge 830309 830330
thanks

Santiago Vila wrote:

> Since it is possible and likely that you may have submitted several
> bugs like this one, could you please take care of the reassigns and
> merges?

No problem :)  Thanks for the explanation.


Regards,

-- 
  ,''`.
 : :'  :     Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#830520: ekg2: FTBFS: install: cannot change permissions of 'debian/ekg2-scripting-perl/usr/share/doc/ekg2-scripting-perl': No such file or directory

2016-07-08 Thread Chris Lamb
eaving directory 
'/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1'
 debian/rules override_dh_install
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1'
  sed -e 's,@ARCHLIB@,usr/lib/x86_64-linux-gnu/perl5/5.22,g' 
/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1/debian/ekg2-scripting-perl.install.in
 > 
/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1/debian/ekg2-scripting-perl.install
  dh_install
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1'
 debian/rules override_dh_installdocs-arch
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1'
  dh_installdocs --link-doc=ekg2-core -pekg2 -pekg2-dbg -pekg2-gnupg 
-pekg2-jabber \
-pekg2-scripting-python -pekg2-scripting-perl
  install: cannot change permissions of 
'debian/ekg2-scripting-perl/usr/share/doc/ekg2-scripting-perl': No such file or 
directory
  dh_installdocs: install -d 
debian/ekg2-scripting-perl/usr/share/doc/ekg2-scripting-perl returned exit code 
1
  debian/rules:84: recipe for target 'override_dh_installdocs-arch' failed
  make[1]: *** [override_dh_installdocs-arch] Error 1
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160708232114.PqcwTgx2G2.ekg2/ekg2-0.4~pre+20120506.1'
  debian/rules:12: recipe for target 'binary' failed
  make: *** [binary] Error 2

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


ekg2.1:0.4~pre+20120506.1-12.unstable.amd64.log.txt.gz
Description: Binary data


Bug#829247: vsftpd: initscript stop and restart actions should ensure the process has stopped before returning

2016-07-01 Thread Chris Lamb
Source: vsftpd
Version: 3.0.3-4
Tags: patch
User: la...@debian.org
Usertags: initscript-actions

vsftpd's initscript does not check whether the process has actually
terminated before returning successfully.

This can result in a non-deterministic race condition where resources
that are required by the corresponding "start" action (eg. TCP ports,
exclusive filesystem locks, etc.) are not yet available to the new
instance because the older process is still releasing them in the
background.

This then results in the new process failing to start which is often
hidden from the sysadmin for some time unless a monitoring system is
in use.

For the same/parallel reasons, the stop and restart actions should return
a non-zero exit code if the daemon failed to stop. Note that adding
"sleep" calls merely masks the problem and is thus not a valid fix.

Patch attached.


Regards,

-- 
  ,''`.
     : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


vsftpd.diff.txt
Description: Binary data


Bug#825542: php-arc: FTBFS: Tests: 40, Assertions: 87, Errors: 5.

2016-05-27 Thread Chris Lamb
iables should be passed by reference
  
  
/home/lamby/temp/cdt.20160527170118.aMGfqPYjqI.php-arc/php-arc-2.2.5/tests/unit/ARC2_ClassTest.php:9
  
  4) ARC2_ClassTest::testV1
  Only variables should be passed by reference
  
  
/home/lamby/temp/cdt.20160527170118.aMGfqPYjqI.php-arc/php-arc-2.2.5/tests/unit/ARC2_ClassTest.php:9
  
  5) ARC2_ClassTest::testExtractTermLabel
  Only variables should be passed by reference
  
  
/home/lamby/temp/cdt.20160527170118.aMGfqPYjqI.php-arc/php-arc-2.2.5/tests/unit/ARC2_ClassTest.php:9
  
  FAILURES!
  Tests: 40, Assertions: 87, Errors: 5.
  debian/rules:16: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 2
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160527170118.aMGfqPYjqI.php-arc/php-arc-2.2.5'
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


php-arc.2.2.5-2.unstable.amd64.log.txt.gz
Description: Binary data


Comments regarding pygccxml_1.7.4-1_amd64.changes

2016-04-29 Thread Chris Lamb
please clarify unittests/data/noncopyable.hpp on next upload




Bug#822418: twisted-web2: FTBFS: twisted.python.dist module not found

2016-04-24 Thread Chris Lamb
Setting up python-attr (15.2.0-1) ...
  Setting up python-pyasn1-modules (0.0.7-0.1) ...
  Setting up python-service-identity (16.0.0-2) ...
  Setting up python-twisted-core (16.1.1-1) ...
  Setting up twisted-web2-build-deps (8.1.0-3) ...
  Processing triggers for libc-bin (2.22-7) ...
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: source package twisted-web2
  dpkg-buildpackage: source version 8.1.0-3
  dpkg-buildpackage: source distribution unstable
  dpkg-buildpackage: source changed by Matthias Klose <d...@debian.org>
   dpkg-source --before-build twisted-web2-8.1.0
  dpkg-buildpackage: host architecture amd64
   fakeroot debian/rules clean
  rm -rf *-stamp build-python* build
  rm -rf  debian/files debian/substvars
  rm -rf _trial_temp test.log
  find . -name "*.pyc" |xargs -r rm
  dh_clean
   debian/rules build
  python2.7 setup.py build
  twisted.python.dist module not found.  Make sure you have installed the 
Twisted core package before attempting to install any other Twisted projects.
  debian/rules:13: recipe for target 'build-python2.7' failed
  make: *** [build-python2.7] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


twisted-web2.8.1.0-3.unstable.amd64.log.txt.gz
Description: Binary data


Bug#820545: ifrit: FTBFS: No rule to make target '/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib/libhdf5.so',

2016-04-09 Thread Chris Lamb
Source: ifrit
Version: 4.1.2-2
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

ifrit fails to build from source in unstable/amd64:

  [..]

  [100%] Building CXX object CMakeFiles/ifrit.dir/ifrit.cpp.o
  /usr/bin/c++   -DI_EXTERNAL_CONFIGURATION 
-DvtkFiltersFlowPaths_AUTOINIT="1(vtkFiltersParallelFlowPaths)" 
-DvtkIOExodus_AUTOINIT="1(vtkIOParallelExodus)" 
-DvtkIOGeometry_AUTOINIT="1(vtkIOMPIParallel)" 
-DvtkIOImage_AUTOINIT="1(vtkIOMPIImage)" 
-DvtkIOSQL_AUTOINIT="2(vtkIOMySQL,vtkIOPostgreSQL)" 
-DvtkRenderingContext2D_AUTOINIT="1(vtkRenderingContextOpenGL)" 
-DvtkRenderingCore_AUTOINIT="4(vtkInteractionStyle,vtkRenderingFreeType,vtkRenderingFreeTypeOpenGL,vtkRenderingOpenGL)"
 
-DvtkRenderingFreeType_AUTOINIT="2(vtkRenderingFreeTypeFontConfig,vtkRenderingMatplotlib)"
 -DvtkRenderingLIC_AUTOINIT="1(vtkRenderingParallelLIC)" 
-DvtkRenderingVolume_AUTOINIT="1(vtkRenderingVolumeOpenGL)" 
-I/usr/include/vtk-6.2 -I/usr/include/freetype2 -I/usr/include/python2.7 
-I/usr/include/jsoncpp -I/usr/include/x86_64-linux-gnu 
-I/usr/include/hdf5/openmpi 
-I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent 
-I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include 
-I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi 
-I/usr/include/libxml2 -I/usr/include/tcl -I/usr/include/qt4 
-I/usr/include/qt4/QtCore 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../configure
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../core
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../help
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../docs
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/configure
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/generic
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/base
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/cl
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/os
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../shells/qt
 
-I/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/../scripts/python
  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -o CMakeFiles/ifrit.dir/ifrit.cpp.o -c 
/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/build/ifrit.cpp
  make[3]: *** No rule to make target 
'/usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib/libhdf5.so', needed by 
'/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/ifrit'.  Stop.
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/obj-x86_64-linux-gnu'
  CMakeFiles/Makefile2:107: recipe for target 'CMakeFiles/ifrit.dir/all' failed
  make[2]: *** [CMakeFiles/ifrit.dir/all] Error 2
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/obj-x86_64-linux-gnu'
  Makefile:130: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160409190149.Br8zVpSuYC.ifrit/ifrit-4.1.2/obj-x86_64-linux-gnu'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:20: recipe for target 'binary' failed
  make: *** [binary] Error 2

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


ifrit.4.1.2-2.unstable.amd64.log.txt.gz
Description: Binary data


Bug#815866: bogofilter: FTBFS: ../../../src/tests/outputs/dump.load-2.out ./checks.14403.20160225T074548/dump.load-2.txt differ: char 87, line 3 FAIL: t.dump.load want: "7.2 6.20030303 10.20030304

2016-02-24 Thread Chris Lamb
Source: bogofilter
Version: 1.2.4+dfsg1-4
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

bogofilter fails to build from source in unstable/amd64:

  [..]

  /usr/bin/make  check-TESTS
  make[6]: Entering directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src/tests'
  PASS: t.query.config
  Aborted (core dumped)
  PASS: t.abort
  PASS: t.env
  PASS: t.ctype
  PASS: t.bogodir
  SKIP: t.leakfind
  PASS: t.u_fpe
  PASS: t.longoptions
  PASS: t.ignore_spam_header
  PASS: t.nullstatsprefix
  PASS: t.integrity
  PASS: t.integrity2
  PASS: t.integrity3
  PASS: t.passthrough-hb
  PASS: t.escaped.html
  PASS: t.escaped.url
  PASS: t.base64
  PASS: t.split
  PASS: t.parsing
  PASS: t.lexer
  PASS: t.lexer.mbx
  PASS: t.lexer.qpcr
  PASS: t.lexer.eoh
  PASS: t.spam.header.place
  PASS: t.block.on.subnets
  PASS: t.token.count
  PASS: t.multiple.tokens.head
  PASS: t.multiple.tokens.body
  PASS: t.multiple.tokens.min.mul
  PASS: t.encoding
  PASS: t.rfc2047_broken
  PASS: t.rfc2047_folded
  PASS: t.crash-invalid-base64
  PASS: t.message_addr
  PASS: t.message_id
  PASS: t.queue_id
  ../../../src/tests/outputs/dump.load-2.out 
./checks.14403.20160225T074548/dump.load-2.txt differ: char 87, line 3
  FAIL: t.dump.load
  want: "7.2 6.20030303 10.20030304", have: "1.2 6.20030303 10.20030304"
  FAIL: t.nonascii.replace
  PASS: t.maint
  PASS: t.robx
  PASS: t.regtest
  PASS: t.upgrade.subnet.prefix
  PASS: t.multiple.wordlists
  PASS: t.probe
  PASS: t.bf_compact
  PASS: t.score1
  PASS: t.score2
  PASS: t.systest
  PASS: t.grftest
  PASS: t.wordhist
  ../../../src/tests/outputs/bulkmode.out 
./checks.15335.20160225T074550/bulk-double-2.out differ: char 80, line 3
  FAIL: t.bulkmode
  PASS: t.MH
  PASS: t.maildir
  PASS: t.bogoutil
  PASS: t.lock1
  PASS: t.lock3
  > the following test is skipped, set BF_RUN_VALGRIND=1 to run it
  SKIP: t.valgrind
  ==
  3 of 55 tests failed
  (2 tests were not run)
  ==
  Makefile:536: recipe for target 'check-TESTS' failed
  make[6]: *** [check-TESTS] Error 1
  make[6]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src/tests'
  Makefile:659: recipe for target 'check-am' failed
  make[5]: *** [check-am] Error 2
  make[5]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src/tests'
  Makefile:662: recipe for target 'check' failed
  make[4]: *** [check] Error 2
  make[4]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src/tests'
  Makefile:1486: recipe for target 'check-recursive' failed
  make[3]: *** [check-recursive] Error 1
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src'
  Makefile:1757: recipe for target 'check' failed
  make[2]: *** [check] Error 2
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db/src'
  Makefile:511: recipe for target 'check-recursive' failed
  make[1]: *** [check-recursive] Error 1
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160225074455.tfh937CMkZ/bogofilter-1.2.4+dfsg1/obj-db'
  debian/rules:81: recipe for target 'check' failed
  make: *** [check] Error 2

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


bogofilter.1.2.4+dfsg1-4.unstable.amd64.log.txt.gz
Description: Binary data


Bug#811054: obexftp: FTBFS: object.c:39:43: error: parameter 1 ('obex') has incomplete type

2016-01-15 Thread Chris Lamb
Source: obexftp
Version: 0.23-6
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

obexftp fails to build from source in unstable/amd64:

  [..]

  Making all in obexftp
  make[3]: Entering directory 
'/home/lamby/temp/cdt.20160115095516.JItmmLlOx2/obexftp-0.23/obexftp'
  /bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
 -Wdate-time -D_FORTIFY_SOURCE=2 -I.. -I../includes -g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -W -Wundef 
-Wmissing-declarations -Wmissing-prototypes -Wall -MT object.lo -MD -MP -MF 
.deps/object.Tpo -c -o object.lo object.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time 
-D_FORTIFY_SOURCE=2 -I.. -I../includes -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -W -Wundef -Wmissing-declarations -Wmissing-prototypes 
-Wall -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.c  -fPIC -DPIC -o 
.libs/object.o
  object.c:39:43: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_info (obex_t obex, uint32_t conn, uint8_t 
opcode)
 ^
  object.c: In function 'obexftp_build_info':
  object.c:39:43: warning: unused parameter 'obex' [-Wunused-parameter]
  object.c: At top level:
  object.c:73:42: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_get (obex_t obex, uint32_t conn, const char 
*name, const char *type)
^
  object.c: In function 'obexftp_build_get':
  object.c:73:42: warning: unused parameter 'obex' [-Wunused-parameter]
  object.c: At top level:
  object.c:125:45: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_rename (obex_t obex, uint32_t conn, const char 
*from, const char *to)
   ^
  object.c: In function 'obexftp_build_rename':
  object.c:125:45: warning: unused parameter 'obex' [-Wunused-parameter]
  object.c: At top level:
  object.c:189:42: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_del (obex_t obex, uint32_t conn, const char 
*name)
^
  object.c: In function 'obexftp_build_del':
  object.c:189:42: warning: unused parameter 'obex' [-Wunused-parameter]
  object.c: At top level:
  object.c:238:46: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_setpath (obex_t obex, uint32_t conn, const char 
*name, int create)
^
  object.c: In function 'obexftp_build_setpath':
  object.c:238:46: warning: unused parameter 'obex' [-Wunused-parameter]
  object.c: At top level:
  object.c:299:42: error: parameter 1 ('obex') has incomplete type
   obex_object_t *obexftp_build_put (obex_t obex, uint32_t conn, const char 
*name, const int size)
^
  object.c: In function 'obexftp_build_put':
  object.c:299:42: warning: unused parameter 'obex' [-Wunused-parameter]
  Makefile:489: recipe for target 'object.lo' failed
  make[3]: *** [object.lo] Error 1
  make[3]: Leaving directory 
'/home/lamby/temp/cdt.20160115095516.JItmmLlOx2/obexftp-0.23/obexftp'
  Makefile:504: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory 
'/home/lamby/temp/cdt.20160115095516.JItmmLlOx2/obexftp-0.23'
  Makefile:411: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory 
'/home/lamby/temp/cdt.20160115095516.JItmmLlOx2/obexftp-0.23'
  debian/rules:81: recipe for target 'build-stamp' failed
  make: *** [build-stamp] Error 2

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


obexftp.0.23-6.unstable.amd64.log.txt.gz
Description: Binary data


Bug#800272: qmtest: Please migrate a supported debhelper compat level

2015-11-19 Thread Chris Lamb
severity 800272 serious
thanks

> dh_movefiles: Compatibility levels before 3 are no longer supported (level 2 
> requested)


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#804429: python-libpcap: FTBFS: pcap.c:4397:37: error: '_wrap_pcap_doc_swigconstant' undeclared here (not in a function)

2015-11-08 Thread Chris Lamb
_doc_swigconstant",
_wrap_lookupdev_doc_swigconstant, METH_VARARGS,
_doc_lookupdev_doc_swigconstant },
^
  pcap.c:4416:90: error: '_doc_lookupdev_doc_swigconstant' undeclared
  here (not in a function)
{ (char *)"lookupdev_doc_swigconstant",
_wrap_lookupdev_doc_swigconstant, METH_VARARGS,
_doc_lookupdev_doc_swigconstant },

^
  pcap.c:4417:42: error: '_wrap_lookupnet_doc_swigconstant' undeclared
  here (not in a function)
{ (char *)"lookupnet_doc_swigconstant",
_wrap_lookupnet_doc_swigconstant, METH_VARARGS,
_doc_lookupnet_doc_swigconstant },
^
  pcap.c:4417:90: error: '_doc_lookupnet_doc_swigconstant' undeclared
  here (not in a function)
{ (char *)"lookupnet_doc_swigconstant",
_wrap_lookupnet_doc_swigconstant, METH_VARARGS,
_doc_lookupnet_doc_swigconstant },

^
  pcap.c:4418:44: error: '_wrap_findalldevs_doc_swigconstant' undeclared
  here (not in a function)
{ (char *)"findalldevs_doc_swigconstant",
_wrap_findalldevs_doc_swigconstant, METH_VARARGS,
_doc_findalldevs_doc_swigconstant },
  ^
  pcap.c:4418:94: error: '_doc_findalldevs_doc_swigconstant' undeclared
  here (not in a function)
{ (char *)"findalldevs_doc_swigconstant",
_wrap_findalldevs_doc_swigconstant, METH_VARARGS,
_doc_findalldevs_doc_swigconstant },

^
  pcap.c:4419:36: error: '_wrap___doc___swigconstant' undeclared here
  (not in a function)
{ (char *)"__doc___swigconstant", _wrap___doc___swigconstant,
METH_VARARGS, _doc___doc___swigconstant },
  ^
  pcap.c:4419:78: error: '_doc___doc___swigconstant' undeclared here
  (not in a function)
{ (char *)"__doc___swigconstant", _wrap___doc___swigconstant,
METH_VARARGS, _doc___doc___swigconstant },

^
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  dh_auto_build: python setup.py build --force returned exit code 1
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 1
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:


https://reproducible.debian.net/logs/unstable/amd64/python-libpcap_0.6.4-1.build1.log.gz


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


python-libpcap.0.6.4-1.unstable.amd64.log.txt.gz
Description: application/gzip


Bug#802188: bochs: Support building under Linux 4.x

2015-10-18 Thread Chris Lamb
Package: bochs
Version: 2.6-4
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Tags: patch

Hi,

The configure script checks `uname -r` and checks for 2.6 or 3.x, etc.,
rejecting any others. but the latest kernel version at the time of
writing is 4.2.3. Severity serious as this therefore will FTBFS under
your typical developer system running sid.

A patch is attached that reverses this logic, rejecting 2.2 and
essentially allowing anything 2.6+.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/configure.in b/configure.in
index f6f1513..aadb82b 100644
--- a/configure.in
+++ b/configure.in
@@ -713,17 +713,17 @@ AC_ARG_ENABLE(pcidev,
   AC_MSG_NOTICE([Linux detected as host for PCI host device mapping])
   linux_version=`uname -r`
  case "$linux_version" in
+   2.2*)
+   AC_MSG_ERROR([Linux kernel 2.4, 2.6 or 3.x is required 
for PCI host device mapping])
+   ;;
2.4*)
PCIDEV_MODULE_MAKE_ALL="all-kernel24"
KERNEL_MODULE_SUFFIX="o"
;;
-   2.6*|3.*)
+   *)
PCIDEV_MODULE_MAKE_ALL="all-kernel26"
KERNEL_MODULE_SUFFIX="ko"
;;
-   *)
-   AC_MSG_ERROR([Linux kernel 2.4, 2.6 or 3.x is required 
for PCI host device mapping])
-   ;;
  esac
  KERNELDIR="/lib/modules/$linux_version/build"
  LSMOD="lsmod"


Bug#799504: kmldonkey: FTBFS: Missing Build-Depends on libsoprano-dev

2015-09-19 Thread Chris Lamb
Source: kmldonkey
Version: 2.0.5+kde4.3.3-2
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

kmldonkey fails to build from source due to missing Build-Depends on
libsoprano-dev. This was previously pulled-in via a transitive
relationship.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-



Bug#798663: gsm0710muxd: Illegal changelog date format

2015-09-11 Thread Chris Lamb
Package: gsm0710muxd
Version: 1.13-2
Severity: serious
Justification: Policy 4.4
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
Tags: patch

Hi,

The previous debian/changelog entry has a date of:

  Tue, 23 June 2009 10:08:51 +

However, Policy section 4.4 tells us that "month is one of: Jan, Feb,
Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec".

This is important in a practical sense since dpkg-dev 1.18.2, date
parsing is stricter and thus dpkg-parsechangelog, dpkg-genchanges (etc.)
fail to process the file, ending in a FTBFS when genchanges is called to
parse the file.

Simply s/June/Jun/ fixes this; patch attached for clarity.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/changelog b/debian/changelog
index 5350a7e..345edc4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,4 +28,4 @@ gsm0710muxd (1.13-1) unstable; urgency=low
   * Initial Release.
   * closes: bug#534163
 
- -- Johannes Schauer <jo...@pyneo.org>  Tue, 23 June 2009 10:08:51 +
+ -- Johannes Schauer <jo...@pyneo.org>  Tue, 23 Jun 2009 10:08:51 +


Bug#795562: htp: please make the build reproducible

2015-08-15 Thread Chris Lamb
Source: htp
Version: 1.16-5
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch ensures a consistent timezone when building so that
last modified X strings do not vary depending on the host system. Once
applied, htp can be built reproducibly in our reproducible toolchain.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
--- a/debian/rules  2015-08-15 11:07:14.328660231 +0200
--- b/debian/rules  2015-08-15 11:43:11.806046578 +0200
@@ -3,6 +3,8 @@
 
 #export DH_VERBOSE=1
 
+export TZ=UTC
+
 CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)


Bug#775996: 775...@bugs.debian.org

2015-08-09 Thread Chris Lamb
 I want to adopt this orphaned package,
 and require sponsorship to get it uploaded

Uploaded, although please see my comments on mentors.debian.net. Thanks!


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/1439149174.2040684.351698409.2cf56...@webmail.messagingengine.com



Bug#793648: htdig: please make the build reproducible

2015-07-25 Thread Chris Lamb
Source: htdig
Version: 1:3.2.0b6-13
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes the (rather useless) Makefiles from the
html docs dir, in particular Makefile.gz which captured environment from
the build system (eg. USER, etc).

Once applied, htdig can be built reproducibly in our reproducible
toolchain.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/rules b/debian/rules
index 1457d59..c224a51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,7 @@ binary-indep: build
debian/htdig-doc/usr/share/doc/htdig-doc/examples/htdig
mkdir -p debian/htdig-doc/usr/share/doc/htdig-doc/html
cp -r htdoc/* debian/htdig-doc/usr/share/doc/htdig-doc/html
+   rm -f debian/htdig-doc/usr/share/doc/htdig-doc/html/Makefile*
rm -f debian/htdig-doc/usr/share/doc/htdig-doc/html/COPYING
rm -f debian/htdig-doc/usr/share/doc/htdig-doc/examples/rtf2html/COPYING
rmdir debian/htdig-doc/usr/share/doc/htdig-doc/examples/xmlsearch


Bug#778977: museek+: please make the build reproducible

2015-02-22 Thread Chris Lamb
Source: museek+
Version: 1:0.2+svn20100315.r1208-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, museek+ can be built reproducibly in our reproducible
toolchain.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad museek+.orig/museek+-0.2+svn20100315.r1208/debian/rules 
museek+/museek+-0.2+svn20100315.r1208/debian/rules
--- museek+.orig/museek+-0.2+svn20100315.r1208/debian/rules 2015-02-22 
10:58:30.278709694 +
+++ museek+/museek+-0.2+svn20100315.r1208/debian/rules  2015-02-22 
12:07:53.356709026 +
@@ -94,14 +94,14 @@
for size in 16 22 24 32 36 48 64; do \
convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} $(CURDIR)/debian/murmur/usr/share/pixmaps/murmur-$${size}.xpm || exit 
1; \
mkdir -p 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps || exit 
1;  \
-   convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps/murmur.png
 || exit 1; \
+   convert $(CURDIR)/murmur/images/murmur-96px.png -resize 
$${size} +set date:create +set date:modify -define png:exclude-chunk=time 
$(CURDIR)/debian/murmur/usr/share/icons/hicolor/$${size}x$${size}/apps/murmur.png
 || exit 1; \
done
# [Musetup-GTK] Create all size PNG/XPM icons
mkdir -p $(CURDIR)/debian/musetup-gtk/usr/share/pixmaps
for size in 16 22 24 32 36 48 64; do \
convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} 
$(CURDIR)/debian/musetup-gtk/usr/share/pixmaps/musetup-gtk-$${size}.xpm || exit 
1; \
mkdir -p 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps || 
exit 1;  \
-   convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps/musetup-gtk.png
 || exit 1; \
+   convert $(CURDIR)/icons/musetup-gtk.png -resize $${size} +set 
date:create +set date:modify -define png:exclude-chunk=time 
$(CURDIR)/debian/musetup-gtk/usr/share/icons/hicolor/$${size}x$${size}/apps/musetup-gtk.png
 || exit 1; \
done
 
# [Museeq] Create all size PNG/XPM icons
@@ -109,7 +109,7 @@
for size in 16 22 24 32 36 48 64; do \
convert $(CURDIR)/museeq/museeq.png -resize $${size} 
$(CURDIR)/debian/museeq/usr/share/pixmaps/museeq-$${size}.xpm || exit 1; \
mkdir -p 
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps || exit 
1;  \
-   convert $(CURDIR)/museeq/museeq.png -resize $${size} 
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps/museeq.png
 || exit 1; \
+   convert $(CURDIR)/museeq/museeq.png -resize $${size} +set 
date:create +set date:modify -define png:exclude-chunk=time  
$(CURDIR)/debian/museeq/usr/share/icons/hicolor/$${size}x$${size}/apps/museeq.png
 || exit 1; \
done
touch $@
# Install .desktop entries


Bug#778228: xfonts-bolkhov: please make the build reproducible

2015-02-12 Thread Chris Lamb
Source: xfonts-bolkhov
Version: 1.1.20001007-7
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, xfonts-bolkhov can be built reproducibly in our current
experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad xfonts-bolkhov.orig/xfonts-bolkhov-1.1.20001007/debian/rules 
xfonts-bolkhov/xfonts-bolkhov-1.1.20001007/debian/rules
--- xfonts-bolkhov.orig/xfonts-bolkhov-1.1.20001007/debian/rules
2015-02-12 12:49:22.309075744 +
+++ xfonts-bolkhov/xfonts-bolkhov-1.1.20001007/debian/rules 2015-02-12 
13:00:47.774703065 +
@@ -94,7 +94,7 @@
bdftopcf $(@:.pcf=.bdf) $@
 
 $(my_pcfgz_fonts) : %.pcf.gz : %.pcf
-   gzip -9 $(@:.pcf.gz=.pcf) $@
+   gzip -9n $(@:.pcf.gz=.pcf) $@
 
 all_fonts : $(my_pcfgz_fonts)
 


Bug#777492: nitpic: please make the build reproducible

2015-02-08 Thread Chris Lamb
Source: nitpic
Version: 0.1-15
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, nitpic can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad nitpic.orig/nitpic-0.1/debian/rules nitpic/nitpic-0.1/debian/rules
--- nitpic.orig/nitpic-0.1/debian/rules 2015-02-08 19:58:00.083555993 +
+++ nitpic/nitpic-0.1/debian/rules  2015-02-08 20:01:13.312113876 +
@@ -37,7 +37,7 @@
install -c debian/changelog 
$(d)/usr/share/doc/$(package)/changelog.Debian
install -c README $(d)/usr/share/doc/$(package)
install -c test.* $(d)/usr/share/doc/$(package)
-   gzip -9vf $(d)/usr/share/doc/$(package)/*
+   gzip -9nvf $(d)/usr/share/doc/$(package)/*
install -c debian/copyright $(d)/usr/share/doc/$(package)/copyright
 
install -c nitpic $(d)/usr/bin
@@ -48,7 +48,7 @@


install nitpic.man $(d)/usr/share/man/man1/nitpic.1
-   gzip -9vf $(d)/usr/share/man/man1/nitpic.1
+   gzip -9nvf $(d)/usr/share/man/man1/nitpic.1

install -d $(d)/usr/share/lintian/overrides
install -c debian/lintian.overrides 
$(d)/usr/share/lintian/overrides/$(package)


Bug#777301: cvs-buildpackage: please make the build reproducible

2015-02-07 Thread Chris Lamb
Source: cvs-buildpackage
Version: 5.23
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, cvs-buildpackage can be built reproducibly in our current
experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad cvs-buildpackage.orig/cvs-buildpackage-5.23/debian/local.mk 
cvs-buildpackage/cvs-buildpackage-5.23/debian/local.mk
--- cvs-buildpackage.orig/cvs-buildpackage-5.23/debian/local.mk 2015-02-07 
11:26:35.221221937 +
+++ cvs-buildpackage/cvs-buildpackage-5.23/debian/local.mk  2015-02-07 
11:28:31.362333525 +
@@ -43,7 +43,7 @@
$(make_directory)  $(LINTIANDIR)
echo  '$(package): description-synopsis-might-not-be-phrased-properly' \
 $(LINTIANDIR)/$(package)
-   $(MAKE)prefix=$(TMPTOP) install
+   $(MAKE)prefix=$(TMPTOP) GZIP=-9n install
 
 binary/cvs-buildpackage: testroot
$(REASON)


Bug#777296: buxon: please make the build reproducible

2015-02-07 Thread Chris Lamb
Source: buxon
Version: 0.0.5-4
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, buxon can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad buxon.orig/buxon-0.0.5/debian/rules buxon/buxon-0.0.5/debian/rules
--- buxon.orig/buxon-0.0.5/debian/rules 2015-02-07 11:13:00.337318326 +
+++ buxon/buxon-0.0.5/debian/rules  2015-02-07 11:13:49.187471057 +
@@ -20,7 +20,7 @@
dh_testroot
dh_prep
dh_installdirs
-   $(MAKE) DESTDIR=$(CURDIR)/debian/buxon install
+   $(MAKE) DESTDIR=$(CURDIR)/debian/buxon GZIP=-9n install
 
 binary-indep: build install
dh_testdir


Bug#777400: zshdb: please make the build reproducible

2015-02-07 Thread Chris Lamb
Source: zshdb
Version: 0.05+git20101031-3
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, zshdb can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad zshdb.orig/zshdb-0.05+git20101031/debian/rules 
zshdb/zshdb-0.05+git20101031/debian/rules
--- zshdb.orig/zshdb-0.05+git20101031/debian/rules  2015-02-07 
23:03:19.248172163 +
+++ zshdb/zshdb-0.05+git20101031/debian/rules   2015-02-07 23:11:05.592570991 
+
@@ -49,7 +49,7 @@
$(INSTALL_FILE) README debian/copyright 
debian/zshdb/usr/share/doc/zshdb/
$(INSTALL_FILE) debian/NEWS.Debian debian/zshdb/usr/share/doc/zshdb/
 
-   gzip -9fv debian/zshdb/usr/share/doc/zshdb/changelog.Debian \
+   gzip -9nfv debian/zshdb/usr/share/doc/zshdb/changelog.Debian \
  debian/zshdb/usr/share/doc/zshdb/changelog \
  debian/zshdb/usr/share/doc/zshdb/README \
  debian/zshdb/usr/share/doc/zshdb/NEWS.Debian \


Bug#777012: intlfonts: please make the build reproducible

2015-02-03 Thread Chris Lamb
Source: intlfonts
Version: 1.2.1-8
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, intlfonts can be built reproducibly in our current experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad intlfonts.orig/intlfonts-1.2.1/debian/rules 
intlfonts/intlfonts-1.2.1/debian/rules
--- intlfonts.orig/intlfonts-1.2.1/debian/rules 2015-02-04 00:03:15.296189453 
+
+++ intlfonts/intlfonts-1.2.1/debian/rules  2015-02-04 00:09:12.748101755 
+
@@ -10,7 +10,7 @@
 build:
dh_testdir
chmod +x buildfonts.sh
-   ./buildfonts.sh
+   GZIP=-9n ./buildfonts.sh
touch build
 
 clean:


Bug#777011: sgmltools-lite: please make the build reproducible

2015-02-03 Thread Chris Lamb
Source: sgmltools-lite
Version: 3.0.3.0.cvs.20010909-17
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, sgmltools-lite can be built reproducibly in our current
experimental
framework.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff -urNad 
sgmltools-lite.orig/sgmltools-lite-3.0.3.0.cvs.20010909/debian/rules 
sgmltools-lite/sgmltools-lite-3.0.3.0.cvs.20010909/debian/rules
--- sgmltools-lite.orig/sgmltools-lite-3.0.3.0.cvs.20010909/debian/rules
2015-02-04 00:06:24.504613000 +
+++ sgmltools-lite/sgmltools-lite-3.0.3.0.cvs.20010909/debian/rules 
2015-02-04 00:12:04.703738937 +
@@ -119,13 +119,13 @@
sh debian/common/checkdir.sh
bash debian/common/checkroot.sh
sh debian/common/installdocs.sh $(PKG)
-   gzip -9 $(PKGDIR)/usr/share/man/man1/*
+   gzip -9n $(PKGDIR)/usr/share/man/man1/*
install -o 0 -g 0 -p -m 644 debian/changelog \
  $(PKGDOCDIR)/changelog.Debian
install -o 0 -g 0 -p -m 644 src/ChangeLog \
  $(PKGDOCDIR)/changelog
-   gzip -9 $(PKGDOCDIR)/changelog*
-   gzip -9 $(PKGDOCDIR)/README*
+   gzip -9n $(PKGDOCDIR)/changelog*
+   gzip -9n $(PKGDOCDIR)/README*
 
find $(PKGDIR) -print0 2/dev/null | \
  xargs -0r chown --no-dereference 0.0


Bug#776299: twitter-bootstrap: please make the build reproducible

2015-01-26 Thread Chris Lamb
Source: twitter-bootstrap
Version: 2.0.2+dfsg-5
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Hi,

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

The attached patch removes timestamps from the build system. Once
applied, twitter-bootstrap can be built reproducibly in our current
experimental framework.

An alternative solution might be to simply remove the bootstrap.zip from
the final .deb - it does not (or should not!) be used from inside the
-doc package anyway.
 

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/debian/patches/03-reproducible-build.diff 
b/debian/patches/03-reproducible-build.diff
new file mode 100644
index 000..a9cc532
--- /dev/null
+++ b/debian/patches/03-reproducible-build.diff
@@ -0,0 +1,11 @@
+--- a/Makefile.orig2015-01-26 12:21:27.356099504 +
 b/Makefile 2015-01-26 12:21:38.724604940 +
+@@ -11,6 +11,8 @@
+ 
+ docs: bootstrap
+   rm -f docs/assets/bootstrap.zip
++  find bootstrap -depth -newermt '$(BUILD_DATE)' -print0 | \
++   xargs -0r touch --no-dereference --date='$(BUILD_DATE)'
+   zip -r docs/assets/bootstrap.zip bootstrap
+   lessc ${BOOTSTRAP_LESS}  ${BOOTSTRAP}
+   lessc ${BOOTSTRAP_RESPONSIVE_LESS}  ${BOOTSTRAP_RESPONSIVE}
diff --git a/debian/patches/series b/debian/patches/series
index d94f92b..6ef2c0e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 use-nodejs-command.patch
 build-with-node-1.4.2.patch
 drop-nc-from-uglifyjs.patch
+03-reproducible-build.diff


Bug#775996: Add addTimestampsToCompilerOutput=False to make build reproducible

2015-01-22 Thread Chris Lamb
Package: spectacle
Version: 0.22-3
Tags: patch
Severity: wishlist
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Cheetah embeds two timestamps into generated Python code by default
which makes the build not reproducible [0].

Patch attached that adds addTimestampsToCompilerOutput=False.

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


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-
diff --git a/spectacle/dsc/Makefile b/spectacle/dsc/Makefile
index ce2f89e..ed2c6f7 100644
--- a/spectacle/dsc/Makefile
+++ b/spectacle/dsc/Makefile
@@ -8,7 +8,7 @@ TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES))
 all: $(TEMPLATE_MODS)
 
 %.py: %.tmpl
-   $(CHEETAH) compile --settings='useStackFrames=False' $
+   $(CHEETAH) compile 
--settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $
cp $@ __init__.py
 
 clean:
diff --git a/spectacle/spec/Makefile b/spectacle/spec/Makefile
index ce2f89e..ed2c6f7 100644
--- a/spectacle/spec/Makefile
+++ b/spectacle/spec/Makefile
@@ -8,7 +8,7 @@ TEMPLATE_MODS=$(patsubst %.tmpl,%.py,$(TEMPLATES))
 all: $(TEMPLATE_MODS)
 
 %.py: %.tmpl
-   $(CHEETAH) compile --settings='useStackFrames=False' $
+   $(CHEETAH) compile 
--settings='useStackFrames=False,addTimestampsToCompilerOutput=False' $
cp $@ __init__.py
 
 clean:


Bug#591651: sqlrelay: FTBFS: mv: cannot stat `debian/tmp/usr/java/*.jar': No such file or directory

2010-08-07 Thread Chris Lamb
Cyril Brulebois wrote:

 Source: sqlrelay
 Version: 1:0.39.4-10
 Severity: serious
 Justification: FTBFS
 
 (Chris X-D-Cc'd to make sure this bug gets attention.)

Thanks. Unforunately, I don't think is related to something I did (and
it still builds fine for me)  :(


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org
   `-


signature.asc
Description: PGP signature


Bug#590978: amavis-stats: diff for QA upload version 0.1.22+dfsg-1

2010-08-03 Thread Chris Lamb
tags 590978 + pending
thanks

Hi,

The attached file is the diff for my amavis-stats 0.1.22+dfsg-1 QA
upload. The associated changelog entry is:

 amavis-stats (0.1.22+dfsg-1) unstable; urgency=medium

   * QA upload.
   * Remove non-free ChalkboardBold.ttf font (Closes: #590978)
 - Repack orig tarball.
 - Remove installation of ChalkboardBold.ttf from Makefile{,am,in}
 - Use FreeSansBold.ttf from ttf-freefont
   * Bump Standards-Version to 3.9.1.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org
   `-
diff -Nru amavis-stats-0.1.22/debian/changelog 
amavis-stats-0.1.22+dfsg/debian/changelog
--- amavis-stats-0.1.22/debian/changelog2010-03-30 13:54:11.0 
-0400
+++ amavis-stats-0.1.22+dfsg/debian/changelog   2010-08-03 02:20:20.0 
-0400
@@ -1,3 +1,14 @@
+amavis-stats (0.1.22+dfsg-1) unstable; urgency=medium
+
+  * QA upload.
+  * Remove non-free ChalkboardBold.ttf font (Closes: #590978)
+- Repack orig tarball.
+- Remove installation of ChalkboardBold.ttf from Makefile{,am,in}
+- Use FreeSansBold.ttf from ttf-freefont
+  * Bump Standards-Version to 3.9.1.
+
+ -- Chris Lamb la...@debian.org  Tue, 03 Aug 2010 01:56:40 -0400
+
 amavis-stats (0.1.22-2) unstable; urgency=low
 
   * QA upload.
diff -Nru amavis-stats-0.1.22/debian/control 
amavis-stats-0.1.22+dfsg/debian/control
--- amavis-stats-0.1.22/debian/control  2010-03-30 01:36:29.0 -0400
+++ amavis-stats-0.1.22+dfsg/debian/control 2010-08-03 02:17:48.0 
-0400
@@ -3,11 +3,11 @@
 Priority: extra
 Maintainer: Debian QA Group packa...@qa.debian.org
 Build-Depends: debhelper ( 5.0.0), autotools-dev, po-debconf, rrdtool
-Standards-Version: 3.8.1
+Standards-Version: 3.9.1
 
 Package: amavis-stats
 Architecture: all
-Depends: ${misc:Depends}, librrds-perl, rrdtool | php4-rrdtool, 
wwwconfig-common, adduser
+Depends: ${misc:Depends}, librrds-perl, rrdtool | php4-rrdtool, 
wwwconfig-common, adduser, ttf-freefont
 Recommends: amavis 
 Description: Virus statistics RRDtool frontend for Amavis 
  Amavis-stats is a simple Amavis statistics generator based on RRDtool. It
diff -Nru amavis-stats-0.1.22/debian/patches/020_chalkboard_installation.diff 
amavis-stats-0.1.22+dfsg/debian/patches/020_chalkboard_installation.diff
--- amavis-stats-0.1.22/debian/patches/020_chalkboard_installation.diff 
1969-12-31 19:00:00.0 -0500
+++ amavis-stats-0.1.22+dfsg/debian/patches/020_chalkboard_installation.diff
2010-08-03 02:14:09.0 -0400
@@ -0,0 +1,26 @@
+Author: Chris Lamb la...@debian.org
+Description:
+ We repack amavis-stats to remove ChalkboardBold.ttf so we can't install it.
+
+--- amavis-stats-0.1.22.orig/share/Makefile.in
 amavis-stats-0.1.22/share/Makefile.in
+@@ -140,7 +140,7 @@ mylibdir = ${localstatedir}/lib
+ 
+ mycachedir = ${localstatedir}/cache
+ 
+-EXTRA_DATA = ChalkboardBold.ttf \
++EXTRA_DATA = \
+   tab_center_white.png \
+   tab_left_white.png \
+   tab_right_white.png \
+--- amavis-stats-0.1.22.orig/share/Makefile.am
 amavis-stats-0.1.22/share/Makefile.am
+@@ -19,7 +19,7 @@ mylibdir = ${localstatedir}/lib
+ 
+ mycachedir= ${localstatedir}/cache
+ 
+-EXTRA_DATA= ChalkboardBold.ttf \
++EXTRA_DATA= \
+   tab_center_white.png \
+   tab_left_white.png \
+   tab_right_white.png \
diff -Nru amavis-stats-0.1.22/debian/patches/030_freesansbold.diff 
amavis-stats-0.1.22+dfsg/debian/patches/030_freesansbold.diff
--- amavis-stats-0.1.22/debian/patches/030_freesansbold.diff1969-12-31 
19:00:00.0 -0500
+++ amavis-stats-0.1.22+dfsg/debian/patches/030_freesansbold.diff   
2010-08-03 02:20:22.0 -0400
@@ -0,0 +1,25 @@
+Author: Chris Lamb la...@debian.org
+Description: Use FreeSansBold.ttf from ttf-freefont instead of ChalkBoard.ttf
+
+--- amavis-stats-0.1.22+dfsg.orig/doc/amavis-stats.in
 amavis-stats-0.1.22+dfsg/doc/amavis-stats.in
+@@ -79,7 +79,7 @@ SB@PKGCACHEDIR@/@PKGNAME@/
+ 
+ =item FPNG IMAGES AND FONTS FOR BUTTONS
+ 
+-SB@PKGDATADIR@/ChalkboardBold.ttf
++SB/usr/share/fonts/truetype/freefont/FreeSansBold.ttf
+  default truetype font.
+ 
+ SB@PKGDATADIR@/tab_center_blue.png
+--- amavis-stats-0.1.22+dfsg.orig/share/amavis-stats.php.in
 amavis-stats-0.1.22+dfsg/share/amavis-stats.php.in
+@@ -88,7 +88,7 @@ $template_path   = $template ? $t_path .
+ $button_selected  = $button_selected ? $button_selected : 'blue';
+ $button_unselected= $button_unselected ? $button_unselected : 
'white';
+ 
+-if (!$ttfont) $ttfont = $ttfont ? $ttfont : 
$as_root_path./ChalkboardBold.ttf; # default font type
++if (!$ttfont) $ttfont = $ttfont ? $ttfont : 
/usr/share/fonts/truetype/freefont/FreeSansBold.ttf; # default font type
+ 
+ if(!isset($ttsize)) $ttsize = 9; # default font

  1   2   >