When updating kde-apps/cantor, I got this error:
/var/tmp/portage/kde-apps/cantor-21.04.1/work/cantor-21.04.1/src/markdownentry.cpp:47:10: fatal error: mkdio.h: No such file or directory
47 | #include <mkdio.h>
mkdio.h is part of app-text/discount, but it was not installed on my system. After installing it, I could compile kde-apps/cantor. So kde-apps/cantor depends on app-text/discount, but it's not declared in the ebuild.
Due to rebuilding, I no longer have the logs that the error message told me to attach.
(In reply to Marton Szasz from comment #0)
> When updating kde-apps/cantor, I got this error:
> markdownentry.cpp:47:10: fatal error: mkdio.h: No such file or directory
> 47 | #include <mkdio.h>
> | ^~~~~~~~~
> compilation terminated.
Confirmed on a "freshly updated stage".
So there's actually two bugs here.
1) kde-apps/cantor bundles a patched version of app-text/discount
We can probably not do much here (due to the patching) except shout at upstream.
2) kde-apps/cantor doesn't find the bundled version of app-text/discount
Marton: please add your emerge --info output!
[it merges fine if I set LC_ALL to a valid locale... this was a build chroot where locale was not fully set up]
Created attachment 739551 [details]
Please note that the contents might have changed, but I've been using relatively aggressive flags even back when I submitted the bug. I believe this issue is not related to my CFLAGS.