Bug#887032: sane-backends: FTBFS twice in a row

2018-04-01 Thread Jörg Frings-Fürst
Hello Andreas,

thank you for spending your time helping to make Debian better with
this bug report. 

I have fix the bug with the attached diff file.

CU
Jörg


-- 
New:
GPG Fingerprint: 63E0 075F C8D4 3ABB 35AB  30EE 09F8 9F3C 8CA1 D25D
GPG key (long) : 09F89F3C8CA1D25D
GPG Key: 8CA1D25D
CAcert Key S/N : 0E:D4:56

Old pgp Key: BE581B6E (revoked since 2014-12-31).

Jörg Frings-Fürst
D-54470 Lieser

Threema:  SYR8SJXB
Wire: @joergfringsfuerst
Skype:joergpenguin
Ring: jff
Telegram: @joergfringsfuerst

IRC: j_...@freenode.net
 j_...@oftc.net

My wish list: 
 - Please send me a picture from the nature at your home.
diff --git a/debian/changelog b/debian/changelog
index f76a538..5e05986 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 sane-backends (1.0.27-1~experimental4) UNRELEASED; urgency=medium
 
   * Change to my new email address.
+  * debian/rules:
+- Add override_dh_autoreconf to prevend delete of libtool.m4
+  (Closes: #887032).
 
  -- Jörg Frings-Fürst   Sun, 12 Nov 2017 13:59:10 +0100
 
diff --git a/debian/rules b/debian/rules
index 293d798..3d56db8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -39,6 +39,9 @@ override_dh_auto_configure:
 		--with-usb \
 		--without-v4l
 
+override_dh_autoreconf:
+	dh_autoreconf -Xlibtool.m4
+
 override_dh_auto_build-indep:
 	# generate POT file for translators
 	(cd po && make sane-backends.pot)


signature.asc
Description: This is a digitally signed message part


Bug#887032: sane-backends: FTBFS twice in a row

2018-01-12 Thread Andreas Beckmann
Source: sane-backends
Version: 1.0.27-1~experimental3
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

sane-backends FTBFS twice in a row. The first build succeeds, the
following 'debian/rules clean' deletes 'm4/libtool.m4' and the subsequent
autoreconf does not call 'libtoolize' ...

>From the attached buildlog:

// first build, successful:

 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
Copying file m4/codeset.m4
Copying file m4/fcntl-o.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/printf-posix.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makevars.template
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:66: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its 
use is discouraged.
configure.ac:66: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro 
instead,
configure.ac:66: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your 
Makefile.am files.
configure.ac:42: installing './compile'
configure.ac:14: installing './missing'
backend/Makefile.am:28: warning: '%'-style pattern rules are a GNU make 
extension
backend/Makefile.am: installing './depcomp'
   debian/rules override_dh_auto_configure
[...]

// clean the tree:

 fakeroot debian/rules clean
dh clean
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/sane-backends-1.0.27'
# Autoconf-generated files
rm -f include/byteorder.h include/_stdint.h
# Add here commands to clean up after the build process.
[ ! -f Makefile ] || /usr/bin/make distclean
make[2]: Entering directory '/build/sane-backends-1.0.27'
Making distclean in include
[...]
make[2]: Leaving directory '/build/sane-backends-1.0.27'
rm -f debian/libsane1.udev
dh_auto_clean
make[1]: Leaving directory '/build/sane-backends-1.0.27'
   dh_autoreconf_clean
   dh_clean

// The deletion of m4/libtool.m4 was silent ...


// build the source package, again, here we get a list of the deleted files

 dpkg-source -b sane-backends-1.0.27
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building sane-backends using existing 
./sane-backends_1.0.27.orig.tar.gz
dpkg-source: warning: ignoring deletion of file ltmain.sh, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file configure, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file INSTALL, use --include-removal 
to override
dpkg-source: warning: ignoring deletion of file Makefile.in, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file missing, use --include-removal 
to override
dpkg-source: warning: ignoring deletion of file ar-lib, use --include-removal 
to override
dpkg-source: warning: ignoring deletion of file test-driver, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file depcomp, use --include-removal 
to override
dpkg-source: warning: ignoring deletion of file aclocal.m4, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file compile, use --include-removal 
to override
dpkg-source: warning: ignoring deletion of file install-sh, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file backend/Makefile.in, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file frontend/Makefile.in, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file testsuite/Makefile.in, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file testsuite/sanei/Makefile.in, 
use --include-removal to override
dpkg-source: warning: ignoring deletion of file testsuite/tools/Makefile.in, 
use --include-removal to override
dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use 
--include-removal to override
dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use 
--include-removal to override