Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828666 - app-admin/conky-1.12.2 - /.../main.cc: fatal error: defconfig.h: No such file or directory
Summary: app-admin/conky-1.12.2 - /.../main.cc: fatal error: defconfig.h: No such file...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL: https://github.com/brndnmtthws/conky/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-10 08:35 UTC by Toralf Förster
Modified: 2023-04-08 13:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.36 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
app-admin:conky-1.12.2:20211210-012355.log (app-admin:conky-1.12.2:20211210-012355.log,28.67 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,36.82 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
environment (environment,130.73 KB, text/plain)
2021-12-10 08:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.45 KB, application/x-bzip)
2021-12-10 08:35 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.99 KB, application/x-bzip)
2021-12-10 08:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,171.20 KB, application/x-bzip)
2021-12-10 08:35 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-10 08:35:08 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 08:35:09 UTC
Created attachment 757880 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 08:35:10 UTC
Created attachment 757881 [details]
app-admin:conky-1.12.2:20211210-012355.log
Comment 3 Toralf Förster gentoo-dev 2021-12-10 08:35:11 UTC
Created attachment 757882 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-10 08:35:12 UTC
Created attachment 757883 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-10 08:35:14 UTC
Created attachment 757884 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 08:35:15 UTC
Created attachment 757885 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-10 08:35:16 UTC
Created attachment 757886 [details]
temp.tar.bz2
Comment 8 Daniel Pielmeier gentoo-dev 2021-12-11 09:08:06 UTC
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.
Comment 9 Petr Vaněk gentoo-dev 2022-06-22 12:26:04 UTC
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.
Comment 10 Daniel Pielmeier gentoo-dev 2023-04-08 13:59:01 UTC
Should have been fixed with conky 1.13.1