Source: sane-backends
Version: 1.1.1-6
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd
Control: found -1 1.2.1-3

Hi,

starting from sane-backends 1.1.1-6, there are in effect changes to the
Debian packaging that cause --enable-parport-directio to be enabled
only on hurd-386 [1][2][3]. In reality parallel port is not supported
on the Hurd, and thus sane-backends FTBFS on hurd-i386 since
1.1.1-6 [4][5].

The fix here is to not use --enable-parport-directio, as it used to be
in versions before 1.1.1-6; since the INS_CONF variable in d/rules is
used only for this, then it can be dropped altogether. Easy patch
attached.

[1] 
https://git.jff.email/cgit/sane-backends.git/commit/debian/rules?id=a7fdf31671fc8393d8c50ad2e14668ce5d78282a
[2] 
https://git.jff.email/cgit/sane-backends.git/commit/debian/rules?id=8a20544b5a6784e2c5ecbafc4ba2fa91c26c16aa
[3] 
https://git.jff.email/cgit/sane-backends.git/commit/debian/rules?id=1e25318379249c8c4c2c55c741b409a858b1f52e
[4] 
https://buildd.debian.org/status/fetch.php?pkg=sane-backends&arch=hurd-i386&ver=1.1.1-6&stamp=1664715955&raw=0
[5] 
https://buildd.debian.org/status/fetch.php?pkg=sane-backends&arch=hurd-i386&ver=1.2.1-3&stamp=1688016732&raw=0

Thanks,
-- 
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -14,13 +14,6 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_
        STRIP = ""
 endif
 
-ifeq (,$(filter hurd-i386,$(DEB_HOST_ARCH)))
-       INS_CONF = ""
-else
-       INS_CONF = --enable-parport-directio
-endif
-
-
 %:
        dh $@
 
@@ -56,8 +49,7 @@ endif
                --enable-pnm-backend \
                --with-usb \
                --without-v4l \
-               --disable-locking \
-               $(INS_CONF)
+               --disable-locking
 
 override_dh_autoreconf:
        dh_autoreconf -Xlibtool.m4

Reply via email to