FS#66704 - [hplip] Unable to Scan to HP Envy Printers on 3.20.5

Attached to Project: Arch Linux
Opened by Karl Hernandez (SirMars) - Monday, 18 May 2020, 22:16 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 19 May 2020, 12:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description: On hplip 3.20.5, I was unable to scan as I get the error that my printer (HP ENVY 7640) did not have that feature. However, on 3.20.3, this functionality works perfectly.


Additional info:
* package version(s): hplip 3.20.5

Steps to reproduce:

$ hp-scan -d'hpaio:/net/ENVY_7640_series?ip=192.168.1.6'
raises the error: 'hpaio:/net/ENVY_7640_series?ip=192.168.1.6' device doesn't support this feature (or) Invalid device URI
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 19 May 2020, 12:20 GMT
Reason for closing:  Fixed
Comment by Otto Bo-Shao Lin (otlin100) - Monday, 18 May 2020, 22:50 GMT
Same behavior here on HP OfficeJet 3830

In addition,

$ scanimage -L

doesn't show the device in 3.20.5.

In 3.20.3 the device is listed.
Comment by Andreas Radke (AndyRTR) - Tuesday, 19 May 2020, 05:55 GMT Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 06:53 GMT
Same here with my HP Deskjet 3050a J611.

Setting SANE_DEBUG_DLL=128 gives me the following error:
[dll] load: dlopen() failed (/usr/lib/sane/libsane-hpaio.so.1: undefined symbol: _DBG)

Looking at the symbols with nm -Du does indeed reports an undefined _DBG symbol.
Comment by Andreas Radke (AndyRTR) - Tuesday, 19 May 2020, 07:03 GMT
Does a package rebuild solves this for you? We had a sane pkg update lately.
Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 07:08 GMT
Nope. Rebuilding 3.20.5 after the sane update exhibits the same issue. Rebuilding 3.20.3 after the sane update still works.
Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 07:10 GMT Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 07:19 GMT
Well, the provided patch in the launchpad bug report does not fix it for me...
Comment by Antonio Rojas (arojas) - Tuesday, 19 May 2020, 10:37 GMT
This has nothing to do with sane, the configure script is broken. This should fix it

--- hplip-3.20.5/configure.in.orig 2020-05-19 12:13:40.680518253 +0200
+++ hplip-3.20.5/configure.in 2020-05-19 12:13:44.527246776 +0200
@@ -604,7 +604,7 @@
fi
fi

-SAVE_CPPFLAGS="$CPPFLAGS"
+save_CFLAGS="$CFLAGS"
CFLAGS=`python-config --includes`
if [ $? -eq 0 ]
then
Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 10:56 GMT
My bad. I must have made a mistake while testing the patch from the launchpad bug report... It _does_ fixes the issue, so does Antonio's patch.
Comment by Andreas Radke (AndyRTR) - Tuesday, 19 May 2020, 11:32 GMT
Please try 3.20.5-2 from testing repo.
Comment by Cédric Schieli (sdrik) - Tuesday, 19 May 2020, 11:38 GMT
3.20.5-2 works for me.
Many thanks !

Loading...