plugin installation fails on OpenSuse Tumbleweed (missing x86_64-linux-gnu and i386-linux-gnu paths)

Bug #1832454 reported by Ronald Schreiber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

I am not sure if this is a bug in hplip or in OpenSuse Tumbleweed.

Installation of the proprietary plugin fails:

####################################################
sbr@capella:~/Downloads> hp-setup -g

HP Linux Imaging and Printing System (ver. 3.19.3)
Printer/Fax Setup Utility ver. 9.0

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.

hp-setup[25214]: debug: param=
hp-setup[25214]: debug: selected_device_name=None
hp-setup[25214]: debug: Using PyQt5
hp-setup[25214]: debug: Sys.argv=['/usr/bin/hp-setup', '-g'] printer_name=None param= jd_port=1 device_uri=None remove=False
hp-setup[25214]: debug: Starting GUI Event Loop...
hp-setup[25214]: debug: Cache miss: hp_laserjet_cp_1025nw
hp-setup[25214]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[25214]: debug: Searching for section [hp_laserjet_cp_1025nw] in file /usr/share/hplip/data/models/models.dat
hp-setup[25214]: debug: Found section [hp_laserjet_cp_1025nw] in file /usr/share/hplip/data/models/models.dat
Found device: hp:/net/HP_LaserJet_CP_1025nw?hostname=laserjet.fritz.box
hp-setup[25214]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
hp-setup[25214]: debug: Unable to open file /var/lib/hp/hplip.state for reading.
hp-setup[25214]: debug: hp-plugin -u --required --reason 1

HP Linux Imaging and Printing System (ver. 3.19.3)
Plugin Download and Install Utility ver. 2.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.

HP Linux Imaging and Printing System (ver. 3.19.3)
Plugin Download and Install Utility ver. 2.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.

Checking for network connection...
Downloading plug-in from:
Receiving digital keys: /usr/bin/gpg --homedir /home/sbr/.hplip/.gnupg --no-permission-warning --keyserver pgp.mit.edu --recv-keys 0x4ABA2F66DBD5A95894910E0673D770CDA59047B9
Creating directory plugin_tmp
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.3 Plugin Self Extracting Archive..............................................................

HP Linux Imaging and Printing System (ver. 3.19.3)
Plugin Installer ver. 3.0

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.

Plug-in version: 3.19.3
Installed HPLIP version: 3.19.3
Number of files to install: 64

note: Using PyQt5

Done.
 Plug-in installation successful

Done.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_escl.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_escl.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_marvell.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_orblite.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_orblite.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_soap.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/scan/plugins/bb_soapht.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/fax/plugins/fax_marvell.so library status: 1
hp-setup[25214]: debug: /usr/share/hplip/prnt/plugins/hbpl1.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/prnt/plugins/hbpl1.so library status: 1
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/sane/hpgt2500_ntdcmsdll.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[25214]: debug: /usr/lib/sane/hpgt2500_ntdcmsdll.so library file present.
hp-setup[25214]: debug: /usr/lib/sane/hpgt2500_ntdcmsdll.so library status: 1
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[25214]: debug: /usr/lib64/sane/hpgt2500_ntdcmsdll.so library file present.
hp-setup[25214]: debug: /usr/lib64/sane/hpgt2500_ntdcmsdll.so library status: 1
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/sane/hpgt2500_ntdcmsdll.so library status: 0
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/libjpeg.so.9 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[25214]: debug: /usr/lib/libjpeg.so.9 library file present.
hp-setup[25214]: debug: /usr/lib/libjpeg.so.9 library status: 1
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/libjpeg.so.9 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[25214]: debug: /usr/lib64/libjpeg.so.9 library file present.
hp-setup[25214]: debug: /usr/lib64/libjpeg.so.9 library status: 1
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/libjpeg.so.9 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/libjpeg.so.9 library status: 0
hp-setup[25214]: debug: /usr/local/lib/libjpeg.so.9 library file present.
hp-setup[25214]: debug: /usr/local/lib/libjpeg.so.9 library status: 1
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[25214]: debug: /usr/lib/sane/libsane-hp2000S1.so library file present.
hp-setup[25214]: debug: /usr/lib/sane/libsane-hp2000S1.so library status: 1
hp-setup[25214]: debug: /usr/lib/sane/libsane-hp2000S1.so.1 library file present.
hp-setup[25214]: debug: /usr/lib/sane/libsane-hp2000S1.so.1 library status: 1
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hp2000S1.so library file present.
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hp2000S1.so library status: 1
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hp2000S1.so.1 library file present.
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hp2000S1.so.1 library status: 1
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so library status: 0
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hp2000S1.so.1 library status: 0
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[25214]: debug: Either /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/i386-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[25214]: debug: /usr/lib/sane/libsane-hpgt2500.so library file present.
hp-setup[25214]: debug: /usr/lib/sane/libsane-hpgt2500.so library status: 1
hp-setup[25214]: debug: /usr/lib/sane/libsane-hpgt2500.so.1 library file present.
hp-setup[25214]: debug: /usr/lib/sane/libsane-hpgt2500.so.1 library status: 1
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[25214]: debug: Either /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hpgt2500.so library file present.
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hpgt2500.so library status: 1
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hpgt2500.so.1 library file present.
hp-setup[25214]: debug: /usr/lib64/sane/libsane-hpgt2500.so.1 library status: 1
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so library status: 0
hp-setup[25214]: debug: Either /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 file is not present or symbolic link is missing
hp-setup[25214]: debug: /usr/lib64/x86_64-linux-gnu/sane/libsane-hpgt2500.so.1 library status: 0
hp-setup[25214]: debug: /usr/share/hplip/prnt/plugins/lj.so library file present.
hp-setup[25214]: debug: /usr/share/hplip/prnt/plugins/lj.so library status: 1
error: The device you are trying to setup requires a binary plug-in. Some functionalities may not work as expected without plug-ins. Please run 'hp-plugin' as normal user to install plug-ins. Visit http://hplipopensource.com for more infomation.

####################################################

The plugin installation tries to create links in the folders
/usr/lib/i386-linux-gnu
/usr/lib/x86_64-linux-gnu
/usr/lib64/x86_64-linux-gnu

Tumbleweed does not have the "i386-linux-gnu" and "x86_64-linux-gnu" folders and the installation can not create the links there. I could not find out if these paths are standard.

As far as I see the instructions to create the links is specified in "plugin.spec" (part of the proprietary plugin). When I commend out all lines starting with:
link=/usr/lib/i386-linux-gnu/
link=/usr/lib/x86_64-linux-gnu/
link=/usr/lib64/x86_64-linux-gnu/

the installation finishes successful and the printer works.

Revision history for this message
Ronald Schreiber (scriptorron) wrote :

Forgot to mention: same happens with hplip 3.19.5

Revision history for this message
shivani mandora (shivani1708) wrote :

Hi Ronald,
Opensuse Tumbleweed(OpenSuse 15.1) is not supported by HPLIP yet. Hence you are not able to install HPLIP on that. Please see supported distros in HPLIP from below link:

https://developers.hp.com/hp-linux-imaging-and-printing/release_notes

We will support OPenSuse 15.1 in future releases.

Thanks,
Shivani Mandora

Changed in hplip:
status: New → In Progress
Revision history for this message
Sylvain_07 (sylvain-marcon) wrote :

Built folder :
/usr/lib/x86_64-linux-gnu/sane/
and
/usr/lib/i386-linux-gnu/sane/

and build in this folder
symbolic link lost to the lib or lib64 library :

It's good worked for me :
-------------
[sylvain-sa@SYLVAIN-SA ~]$ dir --file-type /usr/lib/i386-linux-gnu
libjpeg.so.9@ sane/
[sylvain-sa@SYLVAIN-SA ~]$ dir --file-type /usr/lib/i386-linux-gnu/sane/
hpgt2500@ libsane-hp2000S1.so@ libsane-hpgt2500.so@
hpgt2500_ntdcmsdll.so@ libsane-hp2000S1.so.1@ libsane-hpgt2500.so.1@
[sylvain-sa@SYLVAIN-SA ~]$ dir --file-type /usr/lib/x86_64-linux-gnu
libjpeg.so.9@ sane/
[sylvain-sa@SYLVAIN-SA ~]$ dir --file-type /usr/lib/x86_64-linux-gnu/sane
hpgt2500_ntdcmsdll.so@ libsane-hp2000S1.so.1@ libsane-hpgt2500.so.1@
libsane-hp2000S1.so@ libsane-hpgt2500.so@
--------

Revision history for this message
Sylvain_07 (sylvain-marcon) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.