too long lines were shrinked: [37/58] /usr/bin/x86_64-gentoo-linux-musl-g++ -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -I/var/tmp/portage/app-admin/conky-1.12.2/work/conky-1.12.2/3rdparty/toluapp/include -I. -I/usr/include/lua5.3 -Idata -std=c++17 -pipe -march=native -fno-diagnostics-color -O2 -std=c++17 -MD -MT src/CMakeF [38/58] /usr/bin/x86_64-gentoo-linux-musl-g++ -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -I/var/tmp/portage/app-admin/conky-1.12.2/work/conky-1.12.2/3rdparty/toluapp/include -I. -I/usr/include/lua5.3 -Idata -std=c++17 -pipe -march=native -fno-diagnostics-color -O2 -std=c++17 -MD -MT src/CMakeF FAILED: src/CMakeFiles/conky.dir/main.cc.o /usr/bin/x86_64-gentoo-linux-musl-g++ -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -I/var/tmp/portage/app-admin/conky-1.12.2/work/conky-1.12.2/3rdparty/toluapp/include -I. -I/usr/include/lua5.3 -Idata -std=c++17 -pipe -march=native -fno-diagnostics-color -O2 -std=c++17 -MD -MT src/CMakeFiles/con /var/tmp/portage/app-admin/conky-1.12.2/work/conky-1.12.2/src/main.cc:51:10: fatal error: defconfig.h: No such file or directory 51 | #include "defconfig.h" | ^~~~~~~~~~~~~ compilation terminated. [39/58] /usr/bin/x86_64-gentoo-linux-musl-g++ -D_LARGEFILE64_SOURCE -D_POSIX_C_SOURCE=200809L -I/var/tmp/portage/app-admin/conky-1.12.2/work/conky-1.12.2/3rdparty/toluapp/include -I. -I/usr/include/lua5.3 -Idata -std=c++17 -pipe -march=native -fno-diagnostics-color -O2 -std=c++17 -MD -MT src/CMakeF ------------------------------------------------------------------- This is an stable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl_hardened-j4_stable-20211209-194823 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-11.2.0 * Python 3.9.9 Available Rust versions: [1] rust-bin-1.56.1 * php cli: HEAD of ::gentoo commit fcac4407d226ee54f0c57af2d89756b4e26deef0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 10 00:36:44 2021 +0000 2021-12-10 00:36:41 UTC emerge -qpvO app-admin/conky [ebuild N ] app-admin/conky-1.12.2 USE="iconv ipv6 ncurses portmon -X -apcupsd -bundled-toluapp -cmus -curl -doc -hddtemp -ical -imlib -intel-backlight -iostats -irc -lua-cairo -lua-imlib -lua-rsvg -math -moc -mpd -mysql -nano-syntax -nvidia -pulseaudio -rss (-systemd) -thinkpad -truetype -vim-syntax -weather-metar -webserver -wifi -xinerama -xmms2" LUA_SINGLE_TARGET="lua5-3"
Created attachment 757880 [details] emerge-info.txt
Created attachment 757881 [details] app-admin:conky-1.12.2:20211210-012355.log
Created attachment 757882 [details] emerge-history.txt
Created attachment 757883 [details] environment
Created attachment 757884 [details] etc.portage.tar.bz2
Created attachment 757885 [details] logs.tar.bz2
Created attachment 757886 [details] temp.tar.bz2
Likely ninja and musl related. Here the corresponding bug (https://github.com/brndnmtthws/conky/issues/1118) especially (https://github.com/brndnmtthws/conky/issues/1118#issuecomment-892186257) There is also a pull request (https://github.com/brndnmtthws/conky/pull/1122) for fixing this in conky. I am unsure if I should merge this as it is apparently a ninja/musl issue and it will be fixed with ninja 1.11.0.
Yes, this issue is related to ninja and musl, but it is still bug in conky's CMakeLists because of missing dependency in build graph. Now, it is silently expected that independent rules will be build in specific order, which apparently does not need to be always true. I just want to clarify that with ninja-1.11 this issue will probably disappear, but the bug in conky will remain. Unfortunately, upstream is for over a year quiet.
Should have been fixed with conky 1.13.1