Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53168 - [lirc] lircd-setup depends on python3

Attached to Project: Arch Linux
Opened by vrabac (vrabac) - Sunday, 05 March 2017, 19:41 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 March 2017, 15:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned   Reopened
Assigned To Lukas Fleischer (lfleischer)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description: lircd-setup depends on python3 and if you have serial device and configured lircd-options.conf to have [modinit] stuff they are not going to be executed and because of that lircd services would start but will not work.

Additional info:
* package version(s)
lirc 1:0.9.4.d-1

* config and/or log files etc.
# systemctl status lircd-setup.service
● lircd-setup.service - lircd(8) initialization helper tool
Loaded: loaded (/usr/lib/systemd/system/lircd-setup.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2017-03-05 19:49:39 CET; 18min ago
Docs: man:lircd-setup(8)
Process: 649 ExecStart=/usr/sbin/lircd-setup (code=exited, status=127)
Main PID: 649 (code=exited, status=127)

Mar 05 19:49:39 vdr01 systemd[1]: Starting lircd(8) initialization helper tool...
Mar 05 19:49:39 vdr01 lircd-setup[649]: /usr/bin/env: ‘python3’: No such file or directory
Mar 05 19:49:39 vdr01 systemd[1]: lircd-setup.service: Main process exited, code=exited, status=127/n/a
Mar 05 19:49:39 vdr01 systemd[1]: Failed to start lircd(8) initialization helper tool.
Mar 05 19:49:39 vdr01 systemd[1]: lircd-setup.service: Unit entered failed state.
Mar 05 19:49:39 vdr01 systemd[1]: lircd-setup.service: Failed with result 'exit-code'.
# less /usr/lib/systemd/system/lircd-setup.service
# /usr/sbin/lircd-setup
/usr/bin/env: ‘python3’: No such file or directory
#
# which python3
which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
# which python2
/usr/bin/python2
#

Steps to reproduce:
start lircd-setup from CLI (i am over ssh on box)

This task depends upon

Comment by vrabac (vrabac) - Monday, 06 March 2017, 15:23 GMT
  • Field changed: Percent Complete (100% → 0%)
That optional depends is for python in case you use lirc-setup (which is GUI tool to setup lirc). lircd-setup (note D on end of lirc) is to execute [modinit] stuff when reading from lirc-options.conf file.
The lircd-setup need python3 as posted above. Anyway installing python3 solved issue for me.

Loading...