When running the testsuite lirc crashes with this Python backtrace:
[ 30s] Traceback (most recent call last): [ 30s] File "./data2hwdb", line 112, in <module> [ 30s] main() [ 30s] File "./data2hwdb", line 100, in main [ 30s] db = database.Database(configdir, yamldir) [ 30s] File "/home/abuild/rpmbuild/BUILD/lirc-0.10.1/python-pkg/lirc/database.py", line 135, in __init__ [ 30s] cf = yaml.load(f.read()) [ 30s] TypeError: load() missing 1 required positional argument: 'Loader' [ 30s] xsltproc --html docpage.xsl \ [ 30s] $(echo ./html/srm7500atilibusb.html | /usr/bin/sed 's|html/|plugindocs/|') > html/srm7500atilibusb.html [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/imon.html [ 30s] xsltproc --html docpage.xsl \ [ 30s] $(echo ./html/tira.html | /usr/bin/sed 's|html/|plugindocs/|') > html/tira.html [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/imon-24g.html [ 30s] make[2]: *** [Makefile:1258: lirc.hwdb] Error 1 [ 30s] make[2]: *** Waiting for unfinished jobs.... [ 30s] xsltproc --html docpage.xsl \ [ 30s] $(echo ./html/udp.html | /usr/bin/sed 's|html/|plugindocs/|') > html/udp.html [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/irtoy.html [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/srm7500atilibusb.html [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/tira.html [ 30s] Traceback (most recent call last): [ 30s] File "./data2table", line 118, in <module> [ 30s] main() [ 30s] File "./data2table", line 101, in main [ 30s] db = database.Database(configdir, yamldir) [ 30s] File "/home/abuild/rpmbuild/BUILD/lirc-0.10.1/python-pkg/lirc/database.py", line 135, in __init__ [ 30s] cf = yaml.load(f.read()) [ 30s] TypeError: load() missing 1 required positional argument: 'Loader' [ 30s] /usr/bin/sed -i "s/@version@/0.10.1/" html/udp.html [ 30s] -:1: HTML parser error : Document is empty
Attached is the log of the build process with all the versions of packages used and all steps taken.
The attached patch should fix the issue.
Should be fixed