Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 904690

Summary: app-misc/lirc-0.10.2 use flag "ftdi" incorrect libftdi dependency version/slot
Product: Gentoo Linux Reporter: Goon <ahiredgoon>
Component: Current packagesAssignee: Craig Andrews <candrews>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Goon 2023-04-20 02:24:18 UTC
Building current Lirc ebuilds with the ftdi use flag brings in libftdi-0.20 via "ftdi? ( dev-embedded/libftdi:0 )" in the dependency check.  During compile libftdi is not found as it is looking for version >= 1.0.  The ebuild completes fine as it is an optional component.

Reproducible: Always

Steps to Reproduce:
1. Emerge Lirc with "ftdi" use flag
2. 
3.
Actual Results:  
No ftdi driver installs (/usr/lib64/lirc/plugins/ftdi.so missing)

Expected Results:  
ftdi.so should be found in /usr/lib64/lirc/plugins/. 
ftdi driver should be an option in using lirc and its tools

All 3 current ebuilds: lirc-0.10.1_p7.ebuild, lirc-0.10.1-r4.ebuild, and lirc-0.10.2.ebuild contain the incorrect dependency call.

This issue is fixed by changing:
-       ftdi? ( dev-embedded/libftdi:0 )
+       ftdi? ( dev-embedded/libftdi:1 )

in the ebuilds which brings in libftdi-1.5-r5.  This version is correctly found during confirguration/compile and the driver builds and installs.  Lirc and its tools now have this driver available to use.

I tested and confirmed this change in my local overlay with a modified lirc-0.10.2.ebuild.