hp-doctor does not install required libtool

Bug #1490322 reported by Nathan Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
New
Undecided
Unassigned

Bug Description

hp-check reports that libtool is required and that hp-doctor should be run to resolve the issue.

However, running hp-doctor does not install libtool.

$ hp-check
Saving output in log file: /home/nate/hp-check.log

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

Copyright (c) 2001-15 Hewlett-Packard 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: ubuntu-15.04 version is not supported. Using ubuntu-14.10 versions dependencies to verify and install...

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

 Kernel: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
 Host: neredium
 Proc: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
 Distribution: ubuntu 15.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.15.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 15.04 version

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

[hplip]
version=3.15.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.15.2
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
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=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.15.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.15.2

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 1
systray_messages = 0

[last_used]
device_uri =
printer_name =
working_dir = /home/downloads/software/drivers/hp/hplip-3.15.2-plugin.run

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1440591398
pending_upgrade_time = 0

[installation]
date_time = 08/30/15 15:21:37
version = 3.15.2

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

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

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.15 OK -
 dbus DBus - Message bus system REQUIRED - 1.8.12 OK -
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
 avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.0.2 OK 'CUPS Scheduler is running'
 network network -wget OPTIONAL - 1.16.1 OK -

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

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

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

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

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

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

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

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

-----------------------
| Other Dependencies |
-----------------------

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

device `hpaio:/net/HP_LaserJet_CM1415fnw?ip=192.168.1.6' is a Hewlett-Packard HP_LaserJet_CM1415fnw all-in-one

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

No devices found.

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

HP_LaserJet_CM1415fnw
---------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_CM1415fnw?ip=192.168.1.6
PPD: /etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd ppd file
PPD Description:
Printer status: printer HP_LaserJet_CM1415fnw is idle. enabled since Wed 26 Aug 2015 08:17:32 AM EDT
Required plug-in status: Installed
Communication status: Good

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

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

Missing Required Dependencies
-----------------------------
error: 'libtool' package is missing/incompatible

Missing Optional Dependencies
-----------------------------
None

Total Errors: 2
Total Warnings: 0

Run 'hp-doctor' command to prompt and fix the issues.

Done.

$ hp-doctor

HP Linux Imaging and Printing System (ver. 3.15.2)
Self Diagnse Utility and Healing Utility ver. 1.0

Copyright (c) 2001-15 Hewlett-Packard 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 Deprecated items....
error: This distro (i.e ubuntu 15.04) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):

Checking for HPLIP updates....
error: Failed to locate hp-upgrade utility

Checking for Dependencies....
warning: ubuntu-15.04 version is not supported. Using ubuntu-14.10 versions dependencies to verify and install...

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

 Kernel: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
 Host: neredium
 Proc: 3.19.0-26-generic #28-Ubuntu SMP Tue Aug 11 14:16:32 UTC 2015 GNU/Linux
 Distribution: ubuntu 15.04
 Bitness: 64 bit

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

HPLIP-Version: HPLIP 3.15.2
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro 15.04 version

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

[hplip]
version=3.15.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
html=/usr/share/doc/hplip-3.15.2
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
bin=/usr/bin

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
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=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.15.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.15.2

Current contents of '~/.hplip/hplip.conf' file:
[settings]
systray_visible = 1
systray_messages = 0

[last_used]
device_uri =
printer_name =
working_dir = /home/downloads/software/drivers/hp/hplip-3.15.2-plugin.run

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
interval = 5
device_list =

[fax]
voice_phone =
email_address =

[upgrade]
notify_upgrade = false
last_upgraded_time = 1440591398
pending_upgrade_time = 0

[installation]
date_time = 08/30/15 15:22:48
version = 3.15.2

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

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

 avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
 network network -wget OPTIONAL - 1.16.1 OK -
 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.15 OK -
 scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.24 OK -
 dbus DBus - Message bus system REQUIRED - 1.8.12 OK -
 cups CUPS - Common Unix Printing System REQUIRED 1.1 2.0.2 OK 'CUPS Scheduler is running'
 xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.998 OK -
 policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -

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

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

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

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

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

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

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

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

-----------------------
| Other Dependencies |
-----------------------

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

device `hpaio:/net/HP_LaserJet_CM1415fnw?ip=192.168.1.6' is a Hewlett-Packard HP_LaserJet_CM1415fnw all-in-one

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

No devices found.

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

HP_LaserJet_CM1415fnw
---------------------
Type: Printer
Device URI: hp:/net/HP_LaserJet_CM1415fnw?ip=192.168.1.6
PPD: /etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd ppd file
PPD Description:
Printer status: printer HP_LaserJet_CM1415fnw is idle. enabled since Wed 26 Aug 2015 08:17:32 AM EDT
Required plug-in status: Installed
Communication status: Good

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

Missing Required Dependencies
-----------------------------
error: 'libtool' package is missing/incompatible

ENTER SUDO PASSWORD
-------------------
Please enter the sudoer (nate)'s password:
Do you want to update repository and Install missing/incompatible packages. (a=install all*, c=custom_install, s=skip):
Updating repository
-------------------
cmd =sudo dpkg --configure -a
cmd =sudo apt-get install --yes --force-yes -f
cmd =sudo apt-get update
Installing Missing/Incompatible packages
----------------------------------------
cmd =sudo apt-get install --assume-yes libtool

Checking Permissions....
Permissions are correct.

Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/HP_LaserJet_CM1415fnw.ppd
warning: Could not complete Queue(s) configuration check

Checking for HP Properitery Plugin's....
Plugin's already installed

Diagnose completed...

More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html

Revision history for this message
Nathan Adams (nadams) wrote :

It looks like libtool (and python3-reportlab-accel) are already installed, but hp-check/hp-doctor can't find them:

$ sudo apt-get install libtool libtool-doc python3-reportlab python3-reportlab-accel python3-reportlab-accel-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtool is already the newest version.
python3-reportlab is already the newest version.
python3-reportlab-accel is already the newest version.
The following NEW packages will be installed:
  libtool-doc python3-reportlab-accel-dbg
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
Need to get 313 kB of archives.
After this operation, 1,336 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ vivid/main libtool-doc all 2.4.2-1.11 [264 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ vivid/main python3-reportlab-accel-dbg amd64 3.1.44-1 [49.6 kB]
Fetched 313 kB in 0s (1,033 kB/s)
Selecting previously unselected package libtool-doc.
(Reading database ... 225468 files and directories currently installed.)
Preparing to unpack .../libtool-doc_2.4.2-1.11_all.deb ...
Unpacking libtool-doc (2.4.2-1.11) ...
Selecting previously unselected package python3-reportlab-accel-dbg:amd64.
Preparing to unpack .../python3-reportlab-accel-dbg_3.1.44-1_amd64.deb ...
Unpacking python3-reportlab-accel-dbg:amd64 (3.1.44-1) ...
Processing triggers for install-info (5.2.0.dfsg.1-6) ...
Processing triggers for doc-base (0.10.6) ...
Processing 1 added doc-base file...
Setting up libtool-doc (2.4.2-1.11) ...
Setting up python3-reportlab-accel-dbg:amd64 (3.1.44-1) ...

Revision history for this message
goutam (goutamkk) wrote :

Thank you for reporting this bug. We will look into it ..
Can you try installing the latest hplip-3.15.7 package from hplip-3.15.7.run auto-installer file download-able @ http://hplipopensource.com/hplip-web/gethplip.html
Let us know if you still see same error from hp-check/hp-doctor utilities.

Thanks,
goutam

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.