https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-admin/conky-1.17.0 fails to compile (MUSL-CLANG-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Created attachment 850700 [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: FAILED: src/CMakeFiles/conky.dir/c++wrap.cc.o FAILED: src/CMakeFiles/conky.dir/colours.cc.o FAILED: src/CMakeFiles/conky.dir/combine.cc.o FAILED: src/CMakeFiles/conky.dir/common.cc.o FAILED: src/CMakeFiles/conky.dir/conky.cc.o FAILED: src/CMakeFiles/conky.dir/core.cc.o FAILED: src/CMakeFiles/conky.dir/cpu.cc.o FAILED: src/CMakeFiles/conky.dir/main.cc.o FAILED: src/CMakeFiles/tcp-portmon.dir/libtcp-portmon.cc.o /var/tmp/portage/app-admin/conky-1.17.0/work/conky-1.17.0/src/libtcp-portmon.cc:30:10: fatal error: 'cstdio' file not found
I don't have a musl system but I guess this is more related to clang. I can not reproduce this issue when compiling conky with clang. For clang cstdio is shipped by libc++ (sys-libs/libcxx). I can provoke this error here by temporary renaming the include file. In your log I see -stdlib=libc++ is set properly as COMPILE_OPTION by the build system. Still fails to find the includes. Could this be caused by the tinderbox setup.
python-3.12_tinderbox has reproduced this issue with version 1.19.6-r2 - Updating summary.
clang-lld_tinderbox has reproduced this issue with version 1.19.8 - Updating summary.