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> | ^~~~~~~~~ compilation terminated. 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: > > /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> > | ^~~~~~~~~ > 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 Ugh.
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] emerge --info 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.
With same error here: /kde-apps/cantor-21.12.3/work/cantor-21.12.3/src/markdownentry.cpp:36:10: fatal error: mkdio.h: No such file or directory 36 | #include <mkdio.h>
Just get it working disabling ccache and distcc and running emerge with: LC_ALL="en_US.UTF-8" emerge -1uav kde-apps/cantor
(In reply to Samuel Bernardo from comment #6) > With same error here: > > /kde-apps/cantor-21.12.3/work/cantor-21.12.3/src/markdownentry.cpp:36:10: > fatal error: mkdio.h: No such file or directory > > 36 | #include <mkdio.h> Same issue with kde-apps/cantor-22.04.0
Seems to be fixed. If not please reopen.