Package: xsane
Version: 0.999-5
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
this bug report is closely related to #852840.
I downloaded the source of xsane:
apt-get source xsane
mk-build-deps xsane
sudo dpkg -i xsane-build-deps_0.999-5_all.deb
sudo aptitude => fix the broken xsane-build-deps package by
installing all dependencies
Then I tried to compile it on my machine:
cd xsane-0.999
./configure
The configure step failed with the following message:
checking for sane-config... no
checking for SANE - version >= 1.0.0... no
*** The sane-config script installed by SANE could not be found
*** If SANE was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SANE_CONFIG environment variable to the
*** full path to sane-config.
...
ERROR: SANE-1.0.0 or newer is needed for compiling xsane
- if you installed SANE as rpm make sure you also included
sane-devel
The underlying problem is already fixed in #852840 by patching configure.in,
and I can work around the problem by executing
autoreconf -f -i
before running
./configure
As I understand debian source packages, the autoreconf thing should not be
necessary for building a package.
The error still exists in V 0.999-6.
Thank you, Johann
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages xsane depends on:
ii libc6 2.24-11+deb9u3
ii libgimp2.0 2.8.18-1+deb9u1
ii libglib2.0-0 2.50.3-2
ii libgtk2.0-0 2.24.31-2
ii libjpeg62-turbo 1:1.5.1-2
ii liblcms2-2 2.8-4+deb9u1
ii libpng16-16 1.6.28-1
ii libsane 1.0.25-4.1
ii libtiff5 4.0.8-2+deb9u2
ii xsane-common 0.999-5
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages xsane recommends:
ii cups-client 2.2.1-8+deb9u2
ii firefox-esr [www-browser] 60.3.0esr-1~deb9u1
ii sugar-browse-activity [www-browser] 200+20170502-1
ii w3m [www-browser] 0.5.3-34+deb9u1
Versions of packages xsane suggests:
ii gimp 2.8.18-1+deb9u1
pn gocr | cuneiform | tesseract-ocr | ocrad <none>
ii gv 1:3.7.4-1+b1
pn hylafax-client | mgetty-fax <none>
-- no debconf information