Package: log4cpp Version: 1.0-2 Followup-For: Bug #451513 The problem was not only in timestamps. I had also implement 02_doc_install patch, case $(DESTDIR) was missing in install target of doc/Makefile.in
Here is my patch in attachment. -- System Information: Debian Release: lenny/sid APT prefers testing-proposed-updates APT policy: (700, 'testing-proposed-updates'), (700, 'testing'), (670, 'proposed-updates'), (670, 'stable'), (600, 'unstable'), (550, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.22-3-vserver-686 (SMP w/2 CPU cores) Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Shell: /bin/sh linked to /bin/bash
diff -raNu log4cpp-1.0.orig/debian/changelog log4cpp-1.0/debian/changelog --- log4cpp-1.0.orig/debian/changelog 2007-12-20 02:29:02.000000000 +0300 +++ log4cpp-1.0/debian/changelog 2007-12-20 02:37:17.000000000 +0300 @@ -1,3 +1,12 @@ +log4cpp (1.0-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS caused by autotools call (closes: #451513): + + debian/rules: touch autotools source files to prevent autoconf run; + + 02_doc_install.diff: install some docs into $(DESTDIR)/path. + + -- Alexander GQ Gerasiov <[EMAIL PROTECTED]> Thu, 20 Dec 2007 02:34:41 +0300 + log4cpp (1.0-2) unstable; urgency=low * Bump SONAME. (Closes: #445928). diff -raNu log4cpp-1.0.orig/debian/patches/02_doc_install.diff log4cpp-1.0/debian/patches/02_doc_install.diff --- log4cpp-1.0.orig/debian/patches/02_doc_install.diff 1970-01-01 03:00:00.000000000 +0300 +++ log4cpp-1.0/debian/patches/02_doc_install.diff 2007-12-20 02:29:19.000000000 +0300 @@ -0,0 +1,30 @@ +--- log4cpp-1.0.orig/doc/Makefile.in 2007-09-03 13:53:35.000000000 +0400 ++++ log4cpp-1.0/doc/Makefile.in 2007-12-20 02:16:06.000000000 +0300 +@@ -525,18 +525,18 @@ + ln -s ./latex/refman.pdf @[EMAIL PROTECTED] + + install-data-local: +- $(mkinstalldirs) $(man3dir) ++ $(mkinstalldirs) $(DESTDIR)$(man3dir) + @for i in ./man/man3/log4cpp.3 ./man/man3/log4cpp_*.3; do \ + inst=`basename $$i | sed 's/_/::/g'`; \ +- echo "$(INSTALL_DATA) $$i$(man3dir)/$$inst"; \ +- $(INSTALL_DATA) $$i $(man3dir)/$$inst; \ ++ echo "$(INSTALL_DATA) $$i $(DESTDIR)$(man3dir)/$$inst"; \ ++ $(INSTALL_DATA) $$i $(DESTDIR)$(man3dir)/$$inst; \ + done +- $(mkinstalldirs) $(docdir) +- cp -r html/. $(docdir) +- $(RM) -r -f $(docdir)/CVS \ +- $(docdir)/Makefile.am \ +- $(docdir)/Makefile.in \ +- $(docdir)/Makefile ++ $(mkinstalldirs) $(DESTDIR)$(docdir) ++ cp -r html/. $(DESTDIR)$(docdir) ++ $(RM) -r -f $(DESTDIR)$(docdir)/CVS \ ++ $(DESTDIR)$(docdir)/Makefile.am \ ++ $(DESTDIR)$(docdir)/Makefile.in \ ++ $(DESTDIR)$(docdir)/Makefile + + uninstall-local: + $(RM) $(man3dir)/log4cpp.3 diff -raNu log4cpp-1.0.orig/debian/patches/series log4cpp-1.0/debian/patches/series --- log4cpp-1.0.orig/debian/patches/series 2007-12-20 02:29:02.000000000 +0300 +++ log4cpp-1.0/debian/patches/series 2007-12-20 02:29:19.000000000 +0300 @@ -1 +1,2 @@ 01_bump_soname.diff +02_doc_install.diff diff -raNu log4cpp-1.0.orig/debian/rules log4cpp-1.0/debian/rules --- log4cpp-1.0.orig/debian/rules 2007-12-20 02:29:02.000000000 +0300 +++ log4cpp-1.0/debian/rules 2007-12-20 02:29:19.000000000 +0300 @@ -1,5 +1,8 @@ #!/usr/bin/make -f +configure/liblog4cpp5:: + touch -r aclocal.m4 configure.in + include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk