Package: htdig
Version: 1:3.1.6-11
Severity: serious
Tags: patch

Hi,

building the package htdig in a clean sid build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
c++ -c -DCONFIG_DIR=\"/etc/htdig\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated htsearch.cc
htsearch.cc: In function 'void setupWords(char*, List&, int, Parser*, String&)':
htsearch.cc:467: warning: comparison is always true due to limited range of 
data type
htsearch.cc:471: warning: comparison is always true due to limited range of 
data type
c++ -c -DCONFIG_DIR=\"/etc/htdig\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated parser.cc
c++ -o htsearch -L../htlib -L../htcommon -L/usr/lib Display.o DocMatch.o 
ResultList.o ResultMatch.o Template.o TemplateList.o WeightWord.o htsearch.o 
parser.o ../htfuzzy/libfuzzy.a ../htcommon/libcommon.a ../htlib/libht.a -ldb 
-lz 
make[2]: Leaving directory `/tmp/buildd/htdig-3.1.6/htsearch'
make[2]: Entering directory `/tmp/buildd/htdig-3.1.6/htmerge'
c++ -c -DSORT_PROG=\"/usr/bin/sort\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated db.cc
c++ -c -DSORT_PROG=\"/usr/bin/sort\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated docs.cc
c++ -c -DSORT_PROG=\"/usr/bin/sort\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated htmerge.cc
c++ -c -DSORT_PROG=\"/usr/bin/sort\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated words.cc
c++ -o htmerge -L../htlib -L../htcommon -L/usr/lib db.o docs.o htmerge.o 
words.o  ../htcommon/libcommon.a ../htlib/libht.a -ldb -lz 
make[2]: Leaving directory `/tmp/buildd/htdig-3.1.6/htmerge'
make[2]: Entering directory `/tmp/buildd/htdig-3.1.6/htnotify'
c++ -c -DSENDMAIL=\"/usr/lib/sendmail\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated EmailNotification.cc
c++ -c -DSENDMAIL=\"/usr/lib/sendmail\" 
-DDEFAULT_CONFIG_FILE=\"/etc/htdig/htdig.conf\" -I../htlib -I../htcommon 
-I../include -Wno-deprecated htnotify.cc
c++ -o htnotify -L../htlib -L../htcommon -L/usr/lib EmailNotification.o 
htnotify.o ../htcommon/libcommon.a ../htlib/libht.a -ldb -lz 
make[2]: Leaving directory `/tmp/buildd/htdig-3.1.6/htnotify'
make[1]: Leaving directory `/tmp/buildd/htdig-3.1.6'
touch build
 fakeroot debian/rules binary
dh_testdir
dh_testroot
#dh_testversion 2.0.40
dh_clean -k -i
dh_installdirs -i
cp -a contrib debian/htdig-doc/usr/share/doc/htdig-doc/examples/
cp: target `debian/htdig-doc/usr/share/doc/htdig-doc/examples/' is not a 
directory: No such file or directory
make: *** [binary-indep] Error 1
=========================================================================

The following patch helps:

=========================================================================
--- debian/rules.orig   2005-11-27 17:38:56.000000000 +0100
+++ debian/rules        2005-11-27 17:38:38.000000000 +0100
@@ -39,8 +39,8 @@
        dh_clean -k -i
        dh_installdirs -i

-       cp -a contrib debian/htdig-doc/usr/share/doc/htdig-doc/examples/
-       cp -a htdoc debian/htdig-doc/usr/share/doc/htdig-doc/html/
+       cp -a contrib debian/htdig-doc/usr/share/doc/htdig-doc/examples
+       cp -a htdoc debian/htdig-doc/usr/share/doc/htdig-doc/html
        rm debian/htdig-doc/usr/share/doc/htdig-doc/html/COPYING
        find debian/htdig-doc/usr/share/doc -type f | xargs chmod -x

=========================================================================

Thanks for considering.


--
DARTS - Debian Archive Regression Test Suite
http://darts.alioth.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to