When compiling lcdproc-0.5.6 with LCD_DEVICES="imon" the imon driver is not found in /usr/lib64/lcdproc/. When starting LCDd with Driver=imon log says: LCDd: Could not open driver module /usr/lib64/lcdproc/imon.so: /usr/lib64/lcdproc/imon.so: cannot open shared object file: No such file or directory LCDd: Driver [imon] binding failed LCDd: Could not load driver imon LCDd: There is no output driver LCDd: Critical error while initializing, abort. Reproducible: Always Steps to Reproduce: 1. LCD_DEVICES="imon" emerge -1av =app-misc/lcdproc-0.5.6 2. Configure /etc/LCDd.conf to use Driver=imon 3. /etc/init.d/LCDd start Actual Results: /etc/init.d/LCDd status says: * status: crashed Expected Results: /etc/init.d/LCDd status says: * status: running and IMON VFD shows data as configured
Hi, I too use this driver. I suspect the error is in the ebuild? It somehow expands the use flags into the configure phase --enable-drives=xxx,yyy,zzz parameters. But I don't understand how the ebuild does this. Anyways, in 0.5.5 it seemed to work, in 0.5.6 the imon device is not build (but imonlcd is, althought I have not set it to build - but it was also built in 0.5.5), as I have set LCD_DEVICES="imon" in make.conf. Configuring manually allows the driver to be compiled and installed.
I've got a similar problem: When I set LCD_DEVICES="imonlcd", I get the IOWarrier driver. The reason is as follows: The ebuild's lookup mechanism for the (seemingly) correct driver to compile is done in a very "dirty" way. Line 23 ff. lists the driver names that can be given in LCD_DEVICES (variable IUSE_LCD_DEVICES). Line 85 ff. then lists the "real" driver names in the variable DEVICE_DRIVERS. Those two variables are then matched index-wise to find the driver name according to the use flag (line 100 ff.) If you compare both variables manually, you'll notice that "cfontz633" from IUSE_LCD_DEVICES doesn't have a matching counterpart in DEVICE_DRIVERS. Thus, the index of DEVICE_DRIVERS is off by 1 starting with the 4th entry. To workaround the problem with "missing" imon, you could for now simply set LCD_DEVICES="icpa106", which will install the next driver in the list, "imon". You could even set LCD_DEVICES="icpa106 imon", so you aren't busted again once the problem with the ebuild is resolved. Meanwhile, the maintainer can perhaps reach a more "stable" way for matching the driver names... ;-) Best, Torsten
*** Bug 463638 has been marked as a duplicate of this bug. ***
Thanks for the comment 2. + 18 Apr 2013; Michael Weber <xmw@gentoo.org> -lcdproc-0.5.6.ebuild, + +lcdproc-0.5.6-r1.ebuild, metadata.xml: + Fix IUSE_LCD_DRIVERS alignment (bug 462170), add additional drivers, add IUSE + png and truetype. +