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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-20 02:24 UTC by Goon
Modified: 2025-05-05 15:18 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.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-05 15:13:55 UTC
I was just looking into this and indeed, it uses ftdi:1. Fixing.
Comment 2 Larry the Git Cow gentoo-dev 2025-05-05 15:17:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fd415720119444d0cf295b85e2675f74a29d79

commit 12fd415720119444d0cf295b85e2675f74a29d79
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-05 15:14:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-05 15:17:11 +0000

    app-misc/lirc: fix dev-libs/libftdi dependency
    
    ... which was the last reverse dependency of dev-embedded/libftdi:0.
    
    Bug: https://bugs.gentoo.org/952289
    Closes: https://bugs.gentoo.org/904690
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/lirc/{lirc-0.10.1_p7.ebuild => lirc-0.10.1_p7-r1.ebuild} | 4 ++--
 app-misc/lirc/{lirc-0.10.2-r1.ebuild => lirc-0.10.2-r2.ebuild}    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)