Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794706

Summary: kde-apps/cantor does not find bundled, patched app-text/discount
Product: Gentoo Linux Reporter: Marton Szasz <szaszm01>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: CONFIRMED ---    
Severity: normal CC: dilfridge, sam
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=410802
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Marton Szasz 2021-06-07 09:17:27 UTC
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.
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2021-09-15 15:29:57 UTC
(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".
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2021-09-15 18:57:35 UTC
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.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2021-09-15 19:06:49 UTC
Marton: please add your emerge --info output!
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2021-09-15 19:13:12 UTC
[it merges fine if I set LC_ALL to a valid locale... this was a build chroot where locale was not fully set up]
Comment 5 Marton Szasz 2021-09-16 11:41:10 UTC
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.
Comment 6 Samuel Bernardo 2022-03-12 14:28:03 UTC
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>
Comment 7 Samuel Bernardo 2022-03-12 15:03:06 UTC
Just get it working disabling ccache and distcc and running emerge with:

LC_ALL="en_US.UTF-8" emerge -1uav kde-apps/cantor
Comment 8 Samuel Bernardo 2022-04-25 23:01:28 UTC
(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