Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922690 - dev-libs/libcec-6.0.2-r1[cubox]: fails check for TDA995x support silently and installs library with unresolved symbols
Summary: dev-libs/libcec-6.0.2-r1[cubox]: fails check for TDA995x support silently and...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 818262 824978
  Show dependency tree
 
Reported: 2024-01-22 10:31 UTC by Alfred Wingate
Modified: 2024-01-22 10:36 UTC (History)
1 user (show)

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 Alfred Wingate 2024-01-22 10:31:42 UTC
$ objdump -T --demangle /usr/lib64/libcec.so.6.0.2 | grep TDA995x
0000000000000000      D  *UND*  0000000000000000  Base        CEC::CTDA995xCECAdapterDetection::FindAdapter()
0000000000000000      D  *UND*  0000000000000000  Base        CEC::CTDA995xCECAdapterCommunication::CTDA995xCECAdapterCommunication(CEC::IAdapterCommunicationCallback*)

libcec adds the functions to the interface if HAVE_TDA995X_API is defined, but does a separate check for headers (which fails) for building the implemented functions.

https://github.com/Pulse-Eight/libcec/blob/master/src/libcec/adapter/TDA995x/TDA995xCECAdapterDetection.cpp#L37
https://github.com/Pulse-Eight/libcec/blob/master/src/libcec/cmake/CheckPlatformSupport.cmake#L137

This then leads to failed builds elsewhere such as with kodi.

I don't have a good idea where these headers are from. I'm only seeing that android's fork of the kernel had tda998x_ioctl.h at some point.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-22 10:36:09 UTC
My guess is linux-headers installed it once upon a time and it got dropped.