[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961028: marked as done (hplip: No scanner found: SANE cannot load the hpaio backend)



Your message dated Sun, 24 May 2020 16:34:28 +0000
with message-id <E1jcta0-00065V-Qy@fasolo.debian.org>
and subject line Bug#961028: fixed in hplip 3.20.5+dfsg0-3
has caused the Debian Bug report #961028,
regarding hplip: No scanner found: SANE cannot load the hpaio backend
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
961028: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961028
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.20.5+dfsg0-2
Severity: important

Dear Maintainer,

The current version of hplip seems to come with a non functional
libsane-hpaio. This bug happens with a printer-scanner model.

The CUPS print queue is configured using hp-setup and works well.

The scanner is not detected anymore since the latest upgrade from
3.20.3+dfsg0-2 to 3.20.5+dfsg0-2. Running "scanimage -L" does not
detect any device.

I've also tried (removed lines are about other backends):
# export SANE_DEBUG_DLL=128
# scanimage -d 'hpaio:/net/Officejet_Pro_8600?ip=192.168.0.21'
[sanei_debug] Setting debug level of dll to 128.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.27
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
(...)
[dll] sane_open: trying to open `hpaio:/net/Officejet_Pro_8600?ip=192.168.0.21'
[dll] load: searching backend `hpaio' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1'
[dll] load: dlopen() failed (/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1: undefined symbol: _DBG)
scanimage: open of device hpaio:/net/Officejet_Pro_8600?ip=192.168.0.21 failed: Invalid argument
[dll] sane_exit: exiting
[dll] sane_exit: finished

The last lines seem to explain why no scanner is detected.

I've finally manually downgraded libsane-hpaio to version 3.20.3+dfsg0-2
(and only this package, keeping 3.20.5 for other hplip related
packages). The scanner works fine again.

Regards.

-- Package-specific info:
Saving output in log file: /home/florian/hp-check.log

HP Linux Imaging and Printing System (ver. 3.20.5)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.                                
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.                         
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies).                                                                                    

Check types:                                                                                                                                                                                                                                  
a. EXTERNALDEP - External Dependencies                                                                                                                                                                                                        
b. GENERALDEP - General Dependencies (required both at compile and run time)                                                                                                                                                                  
c. COMPILEDEP - Compile time Dependencies                                                                                                                                                                                                     
d. [All are run-time checks]                                                                                                                                                                                                                  
PYEXT SCANCONF QUEUES PERMISSION                                                                                                                                                                                                              

Status Types:
    OK
    MISSING       - Missing Dependency or Permission or Plug-in
    INCOMPAT      - Incompatible dependency-version or Plugin-version

warning: debian-testing version is not supported. Using debian-10.3 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) GNU/Linux
 Host: soto
 Proc: 5.6.0-1-amd64 #1 SMP Debian 5.6.7-1 (2020-04-29) GNU/Linux
 Distribution: debian testing
 Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.20.5
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  testing version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.20.5

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip
html=/usr/share/doc/hplip-doc
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.20.5
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 05/19/20 15:40:34
version = 3.20.5


 <Package-name>        <Package-Desc>      <Required/Optional> <Min-Version> <Installed-Version> <Status>   <Comment>

-------------------------
| External Dependencies |
-------------------------

 error: cups          CUPS - Common Unix Printing System                           REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'
 gs                   GhostScript - PostScript and PDF language interpreter and previewer REQUIRED        7.05            9.52            OK         -
 xsane                xsane - Graphical scanner frontend for SANE                  OPTIONAL        0.9             0.999           OK         -
 scanimage            scanimage - Shell scanning program                           OPTIONAL        1.0             1.0.27          OK         -
 dbus                 DBus - Message bus system                                    REQUIRED        -               1.12.16         OK         -
 policykit            PolicyKit - Administrative policy framework                  OPTIONAL        -               0.105           OK         -
 network              network -wget                                                OPTIONAL        -               1.20.3          OK         -
 avahi-utils          avahi-utils                                                  OPTIONAL        -               0.8             OK         -

------------------------
| General Dependencies |
------------------------

 libjpeg              libjpeg - JPEG library                                       REQUIRED        -               -               OK         -
 cups-devel           CUPS devel- Common Unix Printing System development files    REQUIRED        -               -               OK         -
 cups-image           CUPS image - CUPS image development files                    REQUIRED        -               -               OK         -
 libpthread           libpthread - POSIX threads library                           REQUIRED        -               b'2.30'         OK         -
 error: libusb        libusb - USB library                                         REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 SANE - Scanning library                                      REQUIRED        -               -               OK         -
 error: sane-devel    SANE - Scanning library development files                    REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED        5.0.9           -               MISSING    'libnetsnmp-devel needs to be installed'
 libcrypto            libcrypto - OpenSSL cryptographic library                    REQUIRED        -               1.1.1           OK         -
 python3X             Python 2.2 or greater - Python programming language          REQUIRED        2.2             3.8.3           OK         -
 error: python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL        -               -               MISSING    'python3-notify2 needs to be installed'
 error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4                         OPTIONAL        4.0             -               MISSING    'python3-pyqt4-dbus needs to be installed'
 error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x)         REQUIRED        4.0             -               MISSING    'python3-pyqt4 needs to be installed'
 python3-dbus         Python DBus - Python bindings for DBus                       REQUIRED        0.80.0          1.2.16          OK         -
 python3-xml          Python XML libraries                                         REQUIRED        -               2.2.9           OK         -
 python3-devel        Python devel - Python development files                      REQUIRED        2.2             3.8.3           OK         -
 python3-pil          PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL        -               7.0.0           OK         -
 python3-reportlab    Reportlab - PDF library for Python                           OPTIONAL        2.0             3.5.34          OK         -

--------------
| COMPILEDEP |
--------------

 error: libtool       libtool - Library building support services                  REQUIRED        -               -               MISSING    'libtool needs to be installed'
 gcc                  gcc - GNU Project C and C++ Compiler                         REQUIRED        -               9.3.0           OK         -
 make                 make - GNU make utility to maintain groups of programs       REQUIRED        3.0             4.2.1           OK         -

---------------------
| Python Extentions |
---------------------

 cupsext              CUPS-Extension                                               REQUIRED        -               3.20.5          OK         -
 hpmudext             IO-Extension                                                 REQUIRED        -               3.20.5          OK         -

----------------------
| Scan Configuration |
----------------------

'/etc/sane.d/dll.d/hpaio' not found.
 hpaio                HPLIP-SANE-Backend                                           REQUIRED        -               3.20.5          OK         'hpaio found in /etc/sane.d/dll.conf'
 scanext              Scan-SANE-Extension                                          REQUIRED        -               3.20.5          OK         -

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

No Scanner found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------


my_monster
----------
Type: Printer
Device URI: hp:/net/Officejet_Pro_8600?ip=192.168.0.21
PPD: /etc/cups/ppd/my_monster.ppd
warning: Failed to read /etc/cups/ppd/my_monster.ppd ppd file
PPD Description: 
Printer status: printer my_monster is idle.  enabled since Tue May 19 15:21:40 2020
Communication status: Good

my_monster_fax
--------------
Type: Fax
Device URI: hpfax:/net/Officejet_Pro_8600?ip=192.168.0.21
PPD: /etc/cups/ppd/my_monster_fax.ppd
warning: Failed to read /etc/cups/ppd/my_monster_fax.ppd ppd file
PPD Description: 
Printer status: printer my_monster_fax is idle.  enabled since Tue May 19 15:21:45 2020
Communication status: Good


--------------
| PERMISSION |
--------------


-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'cups' package is missing or 'cups' service is not running.
error: 'libcups2' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 
error: 'snmp' package is missing/incompatible 
error: 'python3-pyqt4' package is missing/incompatible 
error: 'gtk2-engines-pixbuf' package is missing/incompatible 
error: 'libtool' package is missing/incompatible 
error: 'libtool-bin' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'python3-notify2' package is missing/incompatible 
error: 'python3-dbus.mainloop.qt' package is missing/incompatible 

Total Errors: 8
Total Warnings: 3


Done.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (102, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser                3.118
ii  cups                   2.3.3-1
ii  hplip-data             3.20.5+dfsg0-2
ii  libc6                  2.30-8
ii  libcups2               2.3.3-1
ii  libdbus-1-3            1.12.16-2
ii  libhpmud0              3.20.5+dfsg0-2
ii  libpython3.8           3.8.3-1
ii  libsane                1.0.27-3.2+b1
ii  libsane-hpaio          3.20.5+dfsg0-2
ii  lsb-base               11.1.0
ii  printer-driver-hpcups  3.20.5+dfsg0-2
ii  python3                3.8.2-3
ii  python3-dbus           1.2.16-2
ii  python3-gi             3.36.0-3
ii  python3-pexpect        4.6.0-3
ii  python3-pil            7.0.0-4+b1
ii  python3-reportlab      3.5.34-1
ii  wget                   1.20.3-1+b2
ii  xz-utils               5.2.4-1+b1

Versions of packages hplip recommends:
ii  avahi-daemon                  0.8-1
ii  policykit-1                   0.105-26
ii  printer-driver-postscript-hp  3.20.5+dfsg0-2
ii  sane-utils                    1.0.27-3.2+b1

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
pn  python3-notify2        <none>
ii  system-config-printer  1.5.12-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 3.20.5+dfsg0-3
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 961028@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 24 May 2020 17:56:09 +0200
Source: hplip
Architecture: source
Version: 3.20.5+dfsg0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 961028
Changes:
 hplip (3.20.5+dfsg0-3) unstable; urgency=medium
 .
   * Import patch from Fedora to fix upstream CFLAGS override (Closes: #961028)
Checksums-Sha1:
 de081c4ce23cf832d3251b8f3c1f57c537a21a5c 3179 hplip_3.20.5+dfsg0-3.dsc
 7726902688dab4bc7deede06fa89a89a41e50ca5 136176 hplip_3.20.5+dfsg0-3.debian.tar.xz
Checksums-Sha256:
 9c3bbaae0a0d790e2b293e917513edf70c1fb7e39a669a1464e6e1b06cb08ee8 3179 hplip_3.20.5+dfsg0-3.dsc
 24db8b31b242ed73ac89cc92205e5d1a289d7e214277c4b78a18103e8175dcb5 136176 hplip_3.20.5+dfsg0-3.debian.tar.xz
Files:
 b7c1ce7163adab6d597b8a0429bf300f 3179 utils optional hplip_3.20.5+dfsg0-3.dsc
 a9cee291e428e013fa93e5756f842336 136176 utils optional hplip_3.20.5+dfsg0-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl7KnA8ACgkQqcb6xg1j
AWkdIxAAhpyJ9wmbzQkLUUouVXZb8VvNSm+KAT3ebP7YGGNTQZ5GZNPeVI3cGEHd
VpTG3zLEDRTH7D/aHIlVPrbcHbRUBinme7Eg/ZhGuxoAcKY/2SbQkGdkpx24a3dA
gj1T44fQ1XEemqyJrH+ubjeS/EE2MC950QhesFhNSljtaGmYG1E1+7khWpjnH2+R
Gi7M0zN28wYVVnuampl+A7GSHWPKQDHUlaon8rEZsM2HgaeqOTssU6y2/KUNRYd9
mdf7XktKAqIS/D4UMyDYafFjmEHPl1f3kvw/TvX2e3pviFqMnQRY9hZAiY7T2y2F
+FKbZBFh7xkix1t3FvWvcqKiqA6KT4Mc2xjiV+2KZj0zDcw3srh90wS+c/VCqNIN
NlIFMhb1eZylgVTuKqOLnos25yplbgISEFHsJQ39oQuhKomDFpVKmhOzZDGoJlCc
tZM++BPE8ljL2hOm43P7slllb5RTr+vq0NhhxY6yZ4wOBuecE857mTtsOtjdVhGZ
N1WgoFFf3jt8/TvKP3TI2trxbLFOXtjpQn+OwRVyFUGOFOxzUMkWxrAEcyAjyP54
XfiQfP8upYTEDJ1+mMvdFuYq2N84FiFwruklMjReBRdQF3yI9cW2HzOogCbdYNl6
/TJJi/KpD6FiYpRS+bAUHnl4TV4KdkW86m4eQQ06FVE+IKGubDU=
=KWNC
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: