LCD g15 driver is not compiled

Bug #218374 reported by Bruce314
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lcdproc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: lcdproc

I've installed g15tools and I tried to use the g15 output in LCDd : Could not open driver module /usr/lib/lcdproc/g15.so: /usr/lib/lcdproc/g15.so: cannot open shared object file: No such file or directory

How to reproduce it :
install g15 tools, by compiling it. Namely and in this order
- libg15
- lig15render
- g15daemon
- g15composer
These are not packaged yet

modify LCDd.conf to use g15 driver (supported since lcdproc 5.2)
# The following drivers are supported:
# bayrad, CFontz, CFontz633, CFontzPacket, curses, CwLnx, ea65,
# EyeboxOne, g15, glcdlib, glk, hd44780, icp_a106, imon, IOWarrior,
# irman, joy, lb216, lcdm001, lcterm, lirc, MD8800, ms6931, mtc_s16209x,
# MtxOrb, NoritakeVFD, picolcd, pyramid, sed1330, sed1520, serialPOS,
# serialVFD, sli, stv5730, svga, t6963, text, tyan, ula200, xosd
Driver=g15

restart LCDd : /etc/init.d/LCDd restart

check syslog :
Apr 16 22:11:28 bruce-desktop LCDd: Could not open driver module /usr/lib/lcdproc/g15.so: /usr/lib/lcdproc/g15.so: cannot open shared object file: No such file or directory
Apr 16 22:11:28 bruce-desktop LCDd: Driver [g15] binding failed
Apr 16 22:11:28 bruce-desktop LCDd: Could not load driver g15
Apr 16 22:11:28 bruce-desktop LCDd: There is no output driver
Apr 16 22:11:28 bruce-desktop LCDd: Critical error while initializing, abort.

root@bruce-desktop:~# find /usr/lib/lcdproc/ -iname '*g15*'
root@bruce-desktop:~#

Tags: patch

Related branches

Revision history for this message
wayne Stallwood (bugs-digimatic) wrote :

Confirmed, this is also true in the upcoming Hardy release, even less excuse there as the G15 tools are available as packages from the Hardy repositories.

I think what is happening is that the package maintainer does not have the G15 build dependencies satisfied as lcdproc will just skip any driver libraries it can't build because of missing development packages.

With the missing G15.so file taken from a complete build of lcdproc, everything works as expected.

Revision history for this message
Hew (hew) wrote :

g15daemon etc are included in the Ubuntu repositories as of Hardy. Does the problem still occur with Hardy or Intrepid? Thanks in advance.

Changed in lcdproc:
status: New → Incomplete
Revision history for this message
wayne Stallwood (bugs-digimatic) wrote :

Not sure about Intrepid, but g15.so is still missing from the Hardy 64bit packages (and I believe the 32bit ones as well).

As I mentioned I think the issue is that the maintainer did not have the libg15 dev packages installed when they built lcdproc. This being the case the lcdproc configure script skips creating the g15 driver library.

Revision history for this message
wayne Stallwood (bugs-digimatic) wrote :

Just to confirm this still appears to be the case in Intrepid (8.10)

Revision history for this message
Hew (hew) wrote :

I can't see g15.so in the Debian lcdproc package either, but it's there in libg15-dev. Marking triaged.

Changed in lcdproc:
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Thea Barnes (tsbarnes) wrote :

This bug could be fixed by build-depending on libg15daemon-client-dev and libg15render-dev.

Changed in lcdproc (Ubuntu):
assignee: nobody → Lars Koslowski (lars-koslowski)
status: Triaged → In Progress
Revision history for this message
Lars Koslowski (lars-koslowski) wrote :

I experienced the problem too, the solution is to simply add the dependencies libg15daemon-client-dev, libg15render-dev and libg15-dev to the debian control file. Then the driver compiles fine. The attached diff output contains the changes I made.
This is my first contribution, so I hope everything is correct :-)

Changed in lcdproc (Ubuntu):
status: In Progress → Confirmed
assignee: Lars Koslowski (lars-koslowski) → nobody
tags: added: patch
Changed in lcdproc (Ubuntu):
assignee: nobody → Ubuntu Sponsors for universe (ubuntu-universe-sponsors)
Revision history for this message
Lars Koslowski (lars-koslowski) wrote :

Here the whole diff file again, now including the changelog entry.

I'm not sure about the version number, I hope it is correct like that.

Revision history for this message
Ilya Barygin (randomaction) wrote :

U-u-s should be subscribed, not assigned; fixing this.

Changed in lcdproc (Ubuntu):
assignee: Ubuntu Sponsors for universe (ubuntu-universe-sponsors) → nobody
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Uploaded. Thanks for your contribution!

I just had to fix the changelog entry :-) Using dch is recommended to avoid having problem with it ;-)

thanks,
Fabrice

Changed in lcdproc (Ubuntu):
assignee: nobody → Fabrice Coutadeur (fabricesp)
status: Confirmed → In Progress
assignee: Fabrice Coutadeur (fabricesp) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lcdproc - 0.5.3-0ubuntu2

---------------
lcdproc (0.5.3-0ubuntu2) lucid; urgency=low

  * debian/control: Added build dependencies on libg15daemon-client-dev,
    libg15render-dev and libg15-dev for compiling g15 driver (LP: #218374)
 -- Lars Koslowski <email address hidden> Tue, 24 Nov 2009 21:03:36 +0100

Changed in lcdproc (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.