Source: similarity-tester
Version: 2.26-1
Severity: serious
Tags: patch

Hi,

your package FTBFS all architecture.
   https://buildd.debian.org/pkg.cgi?pkg=similarity-tester

-----
   dh_auto_install -a
make[1]: Entering directory
`/build/buildd-similarity-tester_2.26-1-i386-eLrlxL/similarity-tester-2.26'
sim_c /home/dick/bin.`arch`/sim_c
/bin/sh: sim_c: not found
make[1]: *** [/home/dick/bin.`arch`/sim_c] Error 127
-----

I made patch to fix this bug. Could you apply this patch?

Best regards,
 Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -urN a/debian/README.source b/debian/README.source
--- a/debian/README.source	1970-01-01 09:00:00.000000000 +0900
+++ b/debian/README.source	2010-07-01 10:46:24.000000000 +0900
@@ -0,0 +1,8 @@
+README.source
+
+The source package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in debian/patches
+and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
diff -urN a/debian/control b/debian/control
--- a/debian/control	2010-07-01 10:48:05.000000000 +0900
+++ b/debian/control	2010-07-01 10:14:45.000000000 +0900
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: Michael Meskes <mes...@debian.org>
-Build-Depends: debhelper (>= 7.0.50~), flex
+Build-Depends: debhelper (>= 7.0.50~), flex, quilt (>= 0.46-7~)
 Standards-Version: 3.8.4
 
 Package: similarity-tester
diff -urN a/debian/patches/disable_env.patch b/debian/patches/disable_env.patch
--- a/debian/patches/disable_env.patch	1970-01-01 09:00:00.000000000 +0900
+++ b/debian/patches/disable_env.patch	2010-07-01 10:12:48.000000000 +0900
@@ -0,0 +1,18 @@
+diff -urN a/Makefile b/Makefile
+--- a/Makefile	2008-09-23 18:07:10.000000000 +0900
++++ b/Makefile	2010-07-01 09:54:29.000000000 +0900
+@@ -42,10 +42,10 @@
+ #
+ 
+ # Locations
+-DIR =		/home/dick
+-BINDIR =	$(DIR)/bin.`arch`
+-MAN1DIR =	$(DIR)/man/man1
+-DICTDIR =	$(DIR)/lib
++#DIR =		/home/dick
++#BINDIR =	$(DIR)/bin.`arch`
++#MAN1DIR =	$(DIR)/man/man1
++#DICTDIR =	$(DIR)/lib
+ 
+ # Which Operating System
+ 
diff -urN a/debian/patches/series b/debian/patches/series
--- a/debian/patches/series	1970-01-01 09:00:00.000000000 +0900
+++ b/debian/patches/series	2010-07-01 10:15:47.000000000 +0900
@@ -0,0 +1 @@
+disable_env.patch
diff -urN a/debian/rules b/debian/rules
--- a/debian/rules	2010-07-01 10:48:05.000000000 +0900
+++ b/debian/rules	2010-07-01 10:42:31.000000000 +0900
@@ -1,13 +1,17 @@
 #!/usr/bin/make -f
 %:
-	dh $@
+	dh --with quilt $@
 
 export AM_CFLAGS=-O2 -Wall -g
 export DIR=`pwd`/debian/similarity-tester
 export MANDIR=.
+export BINDIR=$(DIR)/usr/bin
+export COPY=cp -p
 
 build: build-stamp
 build-stamp:
+	dh_quilt_patch
+
 	dh build
 	touch build-stamp
 
バイナリー・ファイルa/sim.pdfとb/sim.pdfは違います

Reply via email to