https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/libad9361-iio-0.2 fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses CLANG as a compiler and LLD as a linker
Created attachment 762359 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) ld.lld: error: libad9361.so.0.2: undefined reference to acos [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to atan2 [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to ceil [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to cos [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to exp [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to exp2 [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to floor [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to fmod [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to log [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to log10 [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to pow [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to round [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to sin [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to sqrt [--no-allow-shlib-undefined] ld.lld: error: libad9361.so.0.2: undefined reference to round [--no-allow-shlib-undefined]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e92180dd9914751b757db65136aa6ea97d1e8ee7 commit e92180dd9914751b757db65136aa6ea97d1e8ee7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-14 18:43:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-14 18:44:02 +0000 net-libs/libad9361-iio: EAPI 8; fix lld build; GNUInstallDirs ... and fix libdir in installed .pc file. Closes: https://bugs.gentoo.org/831322 Signed-off-by: Sam James <sam@gentoo.org> .../libad9361-iio-0.2-cmake-gnuinstalldirs.patch | 50 ++++++++++++++++++++++ .../files/libad9361-iio-0.2-fix-lld-tests.patch | 49 +++++++++++++++++++++ .../files/libad9361-iio-0.2-libdir-pkgconfig.patch | 14 ++++++ net-libs/libad9361-iio/libad9361-iio-0.2-r1.ebuild | 28 ++++++++++++ net-libs/libad9361-iio/libad9361-iio-9999.ebuild | 22 +++++----- 5 files changed, 152 insertions(+), 11 deletions(-)