Hans-Peter Jansen changed bug 1198794
What Removed Added
CC   hpj@urpla.net

Comment # 17 on bug 1198794 from
Hi Fridrich and Martin,

this is the exact same issue, that I addressed in
home:frispete:Tumbleweed/hplip with hplip-3.20.6-python-includes.patch. Since
this patch is the proper upstream patch, I hope, you Friedrich don't mind, if I
decline your Q&D fix, and replace it with something a bit more elaborated (that
has the chance to get accepted upstream one day). 

I'm testing it now and will submit it.

Before:
$ SANE_DEBUG_DLL=128 scanimage -L
[22:34:06.479988] [sanei_debug] Setting debug level of dll to 128.
[22:34:06.480042] [dll] sane_init: SANE dll backend version 1.0.13 from
sane-backends 1.1.1
[22:34:06.480053] [dll] sane_init/read_dlld: attempting to open directory
`./dll.d'
[22:34:06.480063] [dll] sane_init/read_dlld: attempting to open directory
`/etc/sane.d/dll.d'
[22:34:06.480071] [dll] sane_init/read_dlld: using config directory
`/etc/sane.d/dll.d'
[22:34:06.480080] [dll] sane_init/read_dlld: considering
/etc/sane.d/dll.d/hpaio
[22:34:06.480090] [dll] sane_init/read_config: reading dll.d/hpaio
[22:34:06.480101] [dll] add_backend: adding backend `hpaio'
[22:34:06.480109] [dll] sane_init/read_dlld: considering
/etc/sane.d/dll.d/epkowa.conf
[22:34:06.480118] [dll] sane_init/read_config: reading dll.d/epkowa.conf
[22:34:06.480124] [dll] add_backend: adding backend `epkowa'
[22:34:06.480131] [dll] sane_init/read_dlld: done.
[22:34:06.480140] [dll] sane_init/read_config: reading dll.conf
[22:34:06.480163] [dll] sane_get_devices
[22:34:06.480167] [dll] load: searching backend `epkowa' in
`/usr/local/cuda-11.6/lib64::/usr/lib64/sane'
[22:34:06.480171] [dll] load: trying to load
`/usr/local/cuda-11.6/lib64/libsane-epkowa.so.1'
[22:34:06.480180] [dll] load: couldn't open
`/usr/local/cuda-11.6/lib64/libsane-epkowa.so.1' (No such file or directory)
[22:34:06.480184] [dll] load: trying to load `/libsane-epkowa.so.1'
[22:34:06.480189] [dll] load: couldn't open `/libsane-epkowa.so.1' (No such
file or directory)
[22:34:06.480194] [dll] load: trying to load
`/usr/lib64/sane/libsane-epkowa.so.1'
[22:34:06.480204] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-epkowa.so.1'
[22:34:06.480447] [dll] init: initializing backend `epkowa'
[22:34:07.146713] [dll] init: backend `epkowa' is version 1.0.213
[22:34:07.147485] [dll] load: searching backend `hpaio' in
`/usr/local/cuda-11.6/lib64::/usr/lib64/sane'
[22:34:07.147491] [dll] load: trying to load
`/usr/local/cuda-11.6/lib64/libsane-hpaio.so.1'
[22:34:07.147502] [dll] load: couldn't open
`/usr/local/cuda-11.6/lib64/libsane-hpaio.so.1' (No such file or directory)
[22:34:07.147506] [dll] load: trying to load `/libsane-hpaio.so.1'
[22:34:07.147512] [dll] load: couldn't open `/libsane-hpaio.so.1' (No such file
or directory)
[22:34:07.147516] [dll] load: trying to load
`/usr/lib64/sane/libsane-hpaio.so.1'
[22:34:07.147525] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpaio.so.1'
[22:34:07.160828] [dll] load: dlopen() failed
(/usr/lib64/sane/libsane-hpaio.so.1: undefined symbol: _DBG)
[22:34:07.160840] [dll] sane_get_devices: found 0 devices

Just replacing hplip-sane package from local build

SANE_DEBUG_DLL=128 scanimage -L
[22:46:19.852504] [sanei_debug] Setting debug level of dll to 128.
[22:46:19.852558] [dll] sane_init: SANE dll backend version 1.0.13 from
sane-backends 1.1.1
[22:46:19.852567] [dll] sane_init/read_dlld: attempting to open directory
`./dll.d'
[22:46:19.852575] [dll] sane_init/read_dlld: attempting to open directory
`/etc/sane.d/dll.d'
[22:46:19.852583] [dll] sane_init/read_dlld: using config directory
`/etc/sane.d/dll.d'
[22:46:19.852590] [dll] sane_init/read_dlld: considering
/etc/sane.d/dll.d/hpaio
[22:46:19.852597] [dll] sane_init/read_config: reading dll.d/hpaio
[22:46:19.852605] [dll] add_backend: adding backend `hpaio'
[22:46:19.852610] [dll] sane_init/read_dlld: considering
/etc/sane.d/dll.d/epkowa.conf
[22:46:19.852617] [dll] sane_init/read_config: reading dll.d/epkowa.conf
[22:46:19.852621] [dll] add_backend: adding backend `epkowa'
[22:46:19.852632] [dll] sane_init/read_dlld: done.
[22:46:19.852638] [dll] sane_init/read_config: reading dll.conf
[22:46:19.852658] [dll] sane_get_devices
[22:46:19.852663] [dll] load: searching backend `epkowa' in
`/usr/local/cuda-11.6/lib64::/usr/lib64/sane'
[22:46:19.852669] [dll] load: trying to load
`/usr/local/cuda-11.6/lib64/libsane-epkowa.so.1'
[22:46:19.852677] [dll] load: couldn't open
`/usr/local/cuda-11.6/lib64/libsane-epkowa.so.1' (No such file or directory)
[22:46:19.852681] [dll] load: trying to load `/libsane-epkowa.so.1'
[22:46:19.852685] [dll] load: couldn't open `/libsane-epkowa.so.1' (No such
file or directory)
[22:46:19.852691] [dll] load: trying to load
`/usr/lib64/sane/libsane-epkowa.so.1'
[22:46:19.852699] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-epkowa.so.1'
[22:46:19.852812] [dll] init: initializing backend `epkowa'
[22:46:20.527721] [dll] init: backend `epkowa' is version 1.0.213
[22:46:20.528520] [dll] load: searching backend `hpaio' in
`/usr/local/cuda-11.6/lib64::/usr/lib64/sane'
[22:46:20.528528] [dll] load: trying to load
`/usr/local/cuda-11.6/lib64/libsane-hpaio.so.1'
[22:46:20.528538] [dll] load: couldn't open
`/usr/local/cuda-11.6/lib64/libsane-hpaio.so.1' (No such file or directory)
[22:46:20.528543] [dll] load: trying to load `/libsane-hpaio.so.1'
[22:46:20.528547] [dll] load: couldn't open `/libsane-hpaio.so.1' (No such file
or directory)
[22:46:20.528551] [dll] load: trying to load
`/usr/lib64/sane/libsane-hpaio.so.1'
[22:46:20.528561] [dll] load: dlopen()ing `/usr/lib64/sane/libsane-hpaio.so.1'
[22:46:20.534272] [dll] init: initializing backend `hpaio'
[22:46:20.535245] [dll] init: backend `hpaio' is version 1.0.0
[22:46:21.564031] [dll] sane_get_devices: found 1 devices
device `hpaio:/net/HP_LaserJet_CM1415fnw?hostname=hp1415.lisa.loc' is a
Hewlett-Packard HP_LaserJet_CM1415fnw all-in-one
[22:46:21.564066] [dll] sane_exit: exiting
[22:46:21.564073] [dll] sane_exit: calling backend `epkowa's exit function
[22:46:21.564216] [dll] sane_exit: calling backend `hpaio's exit function
[22:46:21.564616] [dll] sane_exit: finished


You are receiving this mail because: