Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904690 - app-misc/lirc-0.10.2 use flag "ftdi" incorrect libftdi dependency version/slot
Summary: app-misc/lirc-0.10.2 use flag "ftdi" incorrect libftdi dependency version/slot
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 02:24 UTC by Goon
Modified: 2023-04-23 01:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.