freebsd hp-systray: hp-systray[1029]: error: option -s not recognized

David Christensen dpchrist at holgerdanske.com
Thu Jan 26 19:45:18 UTC 2017


freebsd-questions:

I have a computer with Intel DQ67SWR3 motherboard, Intel i7-2600S 
processor, 8 GB RAM, 16 GB SSD, and:

toor at freebsd:/root # freebsd-version
11.0-RELEASE-p7

toor at freebsd:/root # uname -a
FreeBSD freebsd 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu 
Sep 29 03:40:55 UTC 2016 
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

toor at freebsd:/root # pkg info xorg | head -n 1
xorg-7.7_2

toor at freebsd:/root # pkg info xfce | head -n 1
xfce-4.12_1

toor at freebsd:/root # pkg info hplip | head -n 1
hplip-3.16.11


When I login in and 'startx', the following message appears on the console:

Jan 26 09:21:06 freebsd hp-systray: hp-systray[1029]: error: option -s 
not recognized


What is invoking hp-systray with the -s option?


David

--

http://hplipopensource.com/hplip-web/support.html

toor at freebsd:/root # hp-check -t
Saving output in log file: /root/hp-check.log

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

Copyright (c) 2001-15 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.

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

sh: lsb_release: not found
cat: /etc/issue: No such file or directory
warning:  distro is not found in AUTH_TYPES
/ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
\ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
warning: 0- version is not supported. Using 0-0 versions dependencies to 
verify and install...

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

  Kernel: FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: 
Thu Sep 29 03:40:55 UTC 2016 
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
  Host: freebsd
  Proc: FreeBSD 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu 
Sep 29 03:40:55 UTC 2016 
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
  Distribution: 0
  Bitness: 32 bit


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

HPLIP-Version: HPLIP 3.16.11
HPLIP-Home: /usr/local/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 
distro   version

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

[hplip]
version=3.16.11

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/ppd/HP
ppdbase=/usr/local/share/ppd
doc=/usr/local/share/doc/hplip
html=/usr/local/share/doc/hplip
icon=/usr/local/share/applications
cupsbackend=/usr/local/libexec/cups/backend
cupsfilter=/usr/local/libexec/cups/filter
drv=/usr/local/share/cups/drv
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=no
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.16.11
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
  <Package-name>        <Package-Desc>      <Required/Optional> 
<Min-Version> <Installed-Version> <Status>   <Comment>

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

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

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

  libcrypto            libcrypto - OpenSSL cryptographic library 
            REQUIRED        -               1.0.2           OK         -
  python-xml           Python XML libraries 
            REQUIRED        -               2.1.1           OK         -
  libnetsnmp-devel     libnetsnmp-devel - SNMP networking library 
development files REQUIRED        5.0.9           5.7.3           OK 
     -
  sane-devel           SANE - Scanning library development files 
            REQUIRED        -               1.0.25          OK         -
  pil                  PIL - Python Imaging Library (required for 
commandline scanning with hp-scan) OPTIONAL        -               1.1.7 
           OK         -
  pyqt4-dbus           PyQt 4 DBus - DBus Support for PyQt4 
            REQUIRED        4.0             4.11.4          OK         -
  error: libpthread    libpthread - POSIX threads library 
            REQUIRED        -               -               MISSING 
'libpthread needs to be installed'
  error: python-devel  Python devel - Python development files 
            REQUIRED        2.2             -               INCOMPAT 
'python-devel needs to be installed'
  cups-devel           CUPS devel- Common Unix Printing System 
development files    REQUIRED        -               2.2.1           OK 
        -
  python-dbus          Python DBus - Python bindings for DBus 
            REQUIRED        0.80.0          1.2.0           OK         -
  cups-ddk             CUPS DDK - CUPS driver development kit 
            OPTIONAL        -               -               OK         -
  error: reportlab     Reportlab - PDF library for Python 
            OPTIONAL        2.0             -               MISSING 
'reportlab needs to be installed'
  pyqt4                PyQt 4- Qt interface for Python (for Qt version 
4.x)         REQUIRED        4.0             4.11.4          OK         -
  error: libusb        libusb - USB library 
            REQUIRED        -               1.0             MISSING 
'libusb needs to be installed'
  cups-image           CUPS image - CUPS image development files 
            REQUIRED        -               2.2.1           OK         -
  error: python2X      Python 2.2 or greater - Python programming 
language          REQUIRED        2.2             - 
INCOMPAT   'python2X needs to be installed'
  error: python-notify Python libnotify - Python bindings for the 
libnotify Desktop notifications OPTIONAL        -               - 
        MISSING    'python-notify needs to be installed'
  libjpeg              libjpeg - JPEG library 
            REQUIRED        -               -               OK         -
  sane                 SANE - Scanning library 
            REQUIRED        -               1.0.25          OK         -

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

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

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

  gs                   GhostScript - PostScript and PDF language 
interpreter and previewer REQUIRED        7.05            9.16 
  OK         -
  cups                 CUPS - Common Unix Printing System 
            REQUIRED        1.1             2.2.1           OK 
'CUPS Scheduler is running'
  error: network       network -wget 
            OPTIONAL        -               -               MISSING 
'network needs to be installed'
  scanimage            scanimage - Shell scanning program 
            OPTIONAL        1.0             1.0.25          OK         -
  error: policykit     PolicyKit - Administrative policy framework 
            OPTIONAL        -               0.113           MISSING 
'policykit needs to be installed'
  error: xsane         xsane - Graphical scanner frontend for SANE 
            OPTIONAL        0.9             -               MISSING 
'xsane needs to be installed'
\ps: illegal argument: aux

usage: ps [-aCcdefHhjlmrSTuvwXxZ] [-O fmt | -o fmt] [-G gid[,gid...]]
           [-J jid[,jid...]] [-M core] [-N system]
           [-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
        ps [-L]
  error: dbus          DBus - Message bus system 
            REQUIRED        -               1.10.14         MISSING 
'DBUS may not be installed or not running'
  avahi-utils          avahi-utils 
            OPTIONAL        -               0.6.31          OK         -

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

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

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

No Scanner found.

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

No devices found.

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


HP_LaserJet_P2055dn
-------------------
Type: Unknown
Device URI: socket://192.168.1.77:9100
PPD: /usr/local/etc/cups/ppd/HP_LaserJet_P2055dn.ppd
PPD Description: HP LaserJet p2055dn pcl3, hpcups 3.16.11
Printer status: printer HP_LaserJet_P2055dn is idle.  enabled since Tue 
Jan 24 20:52:49 2017
warning: Printer is not HPLIP installed. Printers must use the hp: or 
hpfax: CUPS backend for HP-Devices.


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

error: Failed to find the lsusb command

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

Missing Required Dependencies
-----------------------------
None

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


Total Errors: 13
Total Warnings: 2


Done.


More information about the freebsd-questions mailing list