https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-libs/volk-2.5.1 installs less files with clang stricter. Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: To reproduce this issue: 1) Install the package with CC=clang - CXX=clang++ 2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 ) 3) Install the package with CC=clang - CXX=clang++ - CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types 4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 ) 5) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 ) On this machine: - the installed files with clang are 189 - the installed files with clang stricter are 180 This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask. In any case I'm providing a diff.
DIFF: --- /dev/fd/63 2022-12-17 09:45:06.503040633 +0100 +++ /dev/fd/62 2022-12-17 09:45:06.503040633 +0100 @@ -1,10 +1,6 @@ -/usr/bin/list_cpu_features /usr/bin/volk-config-info /usr/bin/volk_modtool /usr/bin/volk_profile -/usr/include/cpu_features/cpu_features_cache_info.h -/usr/include/cpu_features/cpu_features_macros.h -/usr/include/cpu_features/cpuinfo_x86.h /usr/include/volk/constants.h /usr/include/volk/saturation_arithmetic.h /usr/include/volk/volk.h @@ -173,15 +169,10 @@ /usr/lib/python3.10/site-packages/volk_modtool/__pycache__/volk_modtool_generate.cpython-310.pyc /usr/lib/python3.10/site-packages/volk_modtool/cfg.py /usr/lib/python3.10/site-packages/volk_modtool/volk_modtool_generate.py -/usr/lib64/cmake/CpuFeatures/CpuFeaturesConfig.cmake -/usr/lib64/cmake/CpuFeatures/CpuFeaturesConfigVersion.cmake -/usr/lib64/cmake/CpuFeatures/CpuFeaturesTargets-none.cmake -/usr/lib64/cmake/CpuFeatures/CpuFeaturesTargets.cmake /usr/lib64/cmake/volk/VolkConfig.cmake /usr/lib64/cmake/volk/VolkConfigVersion.cmake /usr/lib64/cmake/volk/VolkTargets-none.cmake /usr/lib64/cmake/volk/VolkTargets.cmake -/usr/lib64/libcpu_features.a /usr/lib64/libvolk.so /usr/lib64/libvolk.so.2.5 /usr/lib64/libvolk.so.2.5.1
This bug actually turns out to be completely unrelated to clang stricter, but thanks for the report. I have reported this upstream and pushed a short term fix to gentoo. https://github.com/gnuradio/volk/issues/626
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e357a38f91c29a5730232ff07cef4b0728dffd97 commit e357a38f91c29a5730232ff07cef4b0728dffd97 Author: Rick Farina <zerochaos@gentoo.org> AuthorDate: 2023-08-03 18:56:38 +0000 Commit: Rick Farina <zerochaos@gentoo.org> CommitDate: 2023-08-03 18:57:57 +0000 sci-libs/volk: fix incorrect circular deps Also allow FEATURES="test" and don't install files which are only needed for testing. Signed-off-by: Rick Farina <zerochaos@gentoo.org> Fixes: https://bugs.gentoo.org/886593 .../volk/{volk-3.0.0.ebuild => volk-3.0.0-r1.ebuild} | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-)