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

Bug#648223: [Pkg-hpijs-devel] Bug#648223: [hplip] hp-check fails to detect libusb



Thanks Mark,

On 2012-02-22 04:31, Mark Purcell wrote:
On Tue, 21 Feb 2012 14:35:53 Filipus Klutiero wrote:
ii  libusb-0.1-4
2:0.1.12-20                                            userspace USB
programming library
ii  libusb-1.0-0
2:1.0.9~rc3-3                                          userspace USB
programming library
Filipus,

`hp-check -r` does not check for libusb-dev.
`hp-check -c` does check to libusb-dev as it is a compile time requirement.
`hp-check` by default checks for both.

Both what?
Your log shows correctly that you do not have libusb-dev installed and thus
cannot compile hplip.

I don't know about libusb-dev, but the part this report is about is libusb, as I quoted in the report text:

> Checking for dependency: libusb - USB library...
> error: NOT FOUND! This is a REQUIRED dependency. Please make sure that
> this dependency is installed before installing or running HPLIP.

I wasn't compiling hplip, just troubleshooting a printer problem, and hp-check threw the above.

Please submit the output from the runtime check `hp-check -r` to this bug
report to verify that the checking logic is correct.


Attached. hp-check -r doesn't find any false positive, but strangely, it doesn't mention libusb.
hp-check[30854]: info: :
Initializing. Please wait...
Debian

testing

scheduler is running

Linux vinci 3.2.0-1-amd64 #1 SMP Mon Feb 6 00:49:35 UTC 2012 x86_64 GNU/Linux

hp-check[30854]: info: :
hp-check[30854]: info: :---------------
hp-check[30854]: info: :| SYSTEM INFO |
hp-check[30854]: info: :---------------
hp-check[30854]: info: :
hp-check[30854]: info: :[01mBasic system information:[0m
hp-check[30854]: info: :Linux vinci 3.2.0-1-amd64 #1 SMP Mon Feb 6 00:49:35 UTC 2012 x86_64 GNU/Linux
hp-check[30854]: info: :
hp-check[30854]: info: :[01mDistribution:[0m
hp-check[30854]: info: :debian testing
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking Python version...[0m
hp-check[30854]: info: :OK, version 2.7.2 installed
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking PyQt 4.x version...[0m
hp-check[30854]: info: :OK, version 4.9 installed.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for CUPS...[0m
hp-check[30854]: info: :Status: scheduler is running
warning: Version: (cups-config) Not available. Unable to determine installed version of CUPS.)
hp-check[30854]: info: :error_log is set to level: warn
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dbus/python-dbus...[0m
hp-check[30854]: info: :dbus daemon is running.
hp-check[30854]: info: :python-dbus version: 0.84.0
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :------------------------
hp-check[30854]: info: :| RUNTIME DEPENDENCIES |
hp-check[30854]: info: :------------------------
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: CUPS - Common Unix Printing System...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: CUPS DDK - CUPS driver development kit...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: PolicyKit - Administrative policy framework...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: PyQt 4 DBus - DBus Support for PyQt4...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: Python DBus - Python bindings for DBus...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: Python XML libraries...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: Python 2.3 or greater - Required for fax functionality...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: Reportlab - PDF library for Python...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: SANE - Scanning library...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: scanimage - Shell scanning program...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for dependency: xsane - Graphical scanner frontend for SANE...[0m
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :----------------------
hp-check[30854]: info: :| HPLIP INSTALLATION |
hp-check[30854]: info: :----------------------
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :[01mCurrently installed HPLIP version...[0m
hp-check[30854]: info: :HPLIP 3.12.2 currently installed in '/usr/share/hplip'.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[30854]: info: :# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.12.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
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
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.12.2
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no

hp-check[30854]: info: :
hp-check[30854]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state' file:[0m
hp-check[30854]: info: :# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0


hp-check[30854]: info: :
hp-check[30854]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[30854]: info: :[settings]
systray_visible = 0
systray_messages = 0

[last_used]
device_uri = "hp:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ"
printer_name = 
working_dir = .

[commands]
scan = 

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

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 2012-02-22 16:35:16
version = 3.12.2


hp-check[30854]: info: :
hp-check[30854]: info: :--------------------------
hp-check[30854]: info: :| DISCOVERED USB DEVICES |
hp-check[30854]: info: :--------------------------
hp-check[30854]: info: :
hp-check[30854]: info: :  Device URI                                               Model                                                 
hp-check[30854]: info: :  -------------------------------------------------------  ------------------------------------------------------
hp-check[30854]: info: :  hp:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ  HP Deskjet 3050A J611 series                          
hp-check[30854]: info: :
hp-check[30854]: info: :---------------------------------
hp-check[30854]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[30854]: info: :---------------------------------
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :[01mDeskjet_3050A_J611[0m
hp-check[30854]: info: :[01m------------------[0m
hp-check[30854]: info: :Type: Printer
hp-check[30854]: info: :Device URI: hp:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ
hp-check[30854]: info: :PPD: /etc/cups/ppd/Deskjet_3050A_J611.ppd
hp-check[30854]: info: :PPD Description: HP Deskjet 3050a j611 Series, hpcups 3.12.2
hp-check[30854]: info: :Printer status: printer Deskjet_3050A_J611 is idle.  enabled since lun 06 fév 2012 17:03:16 EST
hp-check[30854]: info: :Communication status: Good
hp-check[30854]: info: :
hp-check[30854]: info: :[01mDeskjet_3050A_J611_series[0m
hp-check[30854]: info: :[01m-------------------------[0m
hp-check[30854]: info: :Type: Printer
hp-check[30854]: info: :Device URI: hp:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ
hp-check[30854]: info: :PPD: /etc/cups/ppd/Deskjet_3050A_J611_series.ppd
hp-check[30854]: info: :PPD Description: HP Deskjet 3050a j611 Series, hpcups 3.12.2
hp-check[30854]: info: :Printer status: printer Deskjet_3050A_J611_series is idle.  enabled since sam 10 déc 2011 13:11:52 EST
hp-check[30854]: info: :Communication status: Good
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :----------------------
hp-check[30854]: info: :| SANE CONFIGURATION |
hp-check[30854]: info: :----------------------
hp-check[30854]: info: :
hp-check[30854]: info: :[01m'hpaio' in '/etc/sane.d/dll.conf'...[0m
hp-check[30854]: info: :[01m'hpaio' in '/etc/sane.d/dll.d/hplip'...[0m
hp-check[30854]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking output of 'scanimage -L'...[0m
hp-check[30854]: info: :device `v4l:/dev/video0' is a Noname Video WebCam virtual device
device `hpaio:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ' is a Hewlett-Packard Deskjet_3050A_J611_series all-in-one

hp-check[30854]: info: :
hp-check[30854]: info: :---------------------
hp-check[30854]: info: :| PYTHON EXTENSIONS |
hp-check[30854]: info: :---------------------
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking 'cupsext' CUPS extension...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking 'pcardext' Photocard extension...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking 'hpmudext' I/O extension...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking 'scanext' SANE scanning extension...[0m
hp-check[30854]: info: :OK, found.
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :
hp-check[30854]: info: :-----------------
hp-check[30854]: info: :| USB I/O SETUP |
hp-check[30854]: info: :-----------------
hp-check[30854]: info: :
hp-check[30854]: info: :[01mChecking for permissions of USB attached printers...[0m
hp-check[30854]: info: :
HP Device 0xa011 at 001:006: 
hp-check[30854]: info: :    Device URI: hp:/usb/Deskjet_3050A_J611_series?serial=CN182482Z505PJ
hp-check[30854]: info: :    Device node: /dev/bus/usb/001/006
hp-check[30854]: info: :    Mode: 0664
hp-check[30854]: info: :getfacl : suppression du premier << / >> des noms de chemins absolus
# file: dev/bus/usb/001/006
# owner: root
# group: lp
# flags: --t
user::rw-
user:chealer:rw-
group::rw-
mask::rw-
other::r--


hp-check[30854]: info: :
hp-check[30854]: info: :---------------
hp-check[30854]: info: :| USER GROUPS |
hp-check[30854]: info: :---------------
hp-check[30854]: info: :
hp-check[30854]: info: :chealer lp dialout cdrom floppy audio video plugdev netdev scanner lpadmin wireshark

hp-check[30854]: info: :[32;01mUser member of group 'lp'. Enables print/ scan/ fax.[0m
hp-check[30854]: info: :[32;01mUser member of group 'lpadmin'.[0m
hp-check[30854]: info: :
hp-check[30854]: info: :-----------
hp-check[30854]: info: :| SUMMARY |
hp-check[30854]: info: :-----------
hp-check[30854]: info: :
error: 2 errors and/or warnings.
hp-check[30854]: info: :
hp-check[30854]: info: :Please refer to the installation instructions at:
hp-check[30854]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[30854]: info: :
hp-check[30854]: info: :Done.

Reply to: