Bug 487358 - Flatpak version of kcachegrind unable to run dot
Summary: Flatpak version of kcachegrind unable to run dot
Status: RESOLVED NOT A BUG
Alias: None
Product: kcachegrind
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Josef Weidendorfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-22 08:02 UTC by Amanda Stjerna
Modified: 2024-07-15 07:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
attachment-1960862-0.html (935 bytes, text/html)
2024-07-15 07:42 UTC, Amanda Stjerna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amanda Stjerna 2024-05-22 08:02:13 UTC
I have a Fedora Kinoite system (Fedora Linux 40 (Forty) 40 (x86_64)) with kcachegrind 24.02.2 installed from Flatpak. Whenever I open a dump file and try to view the call graph, I get an error running dot.

Dot/graphviz is installed and available on standard PATH, but I assume it should also be in the flatpak, however that works. I have tried to give kcachegrind every conceivable permission but it doesn't seem to change the situation.

The culprit seems to be this:
$ flatpak enter org.kde.kcachegrind dot --version  
error: Failed to execute child process “dot” (No such file or directory)

$ ls -al /usr/bin/dot
-rwxr-xr-x. 3 root root 16000 Jan  1  1970 /usr/bin/dot

$ dot --version
dot - graphviz version 9.0.0 (20230911.1827)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Kinoite 40
KDE Plasma Version:  6.0.4
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.0
Comment 1 Josef Weidendorfer 2024-07-12 21:20:35 UTC
This bugtracker is about bugs/issues in kcachegrind source code. KDE only releases source.
So I have no influence on packaging done by distributions.

Please use the bug tracker for Fedora Kinoite.
Comment 2 Amanda Stjerna 2024-07-15 07:33:37 UTC
Sorry about that, the reason I reported it to the KDE bug tracker is that I used the official KDE-branded flatpak that’s made to look as if it’s from the KDE organisation and the contribute section links to the “report a bug” button which goes to here.

Do you know who in the organisation is responsible for the flatpaks? I think I could fix this bug and I’d be happy to do so but I don’t know where to start.

> On 12 Jul 2024, at 23:20, Josef Weidendorfer <bugzilla_noreply@kde.org> wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=487358
>
> Josef Weidendorfer <josef.weidendorfer@gmx.de> changed:
>
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>             Status|REPORTED                    |RESOLVED
>         Resolution|---                         |NOT A BUG
>
> --- Comment #1 from Josef Weidendorfer <josef.weidendorfer@gmx.de> ---
> This bugtracker is about bugs/issues in kcachegrind source code. KDE only
> releases source.
> So I have no influence on packaging done by distributions.
>
> Please use the bug tracker for Fedora Kinoite.
>
> --
> You are receiving this mail because:
> You reported the bug.
>
> VARNING: Klicka inte på länkar och öppna inte bilagor om du inte känner igen avsändaren och vet att innehållet är säkert.
> CAUTION: Do not click on links or open attachments unless you recognise the sender and know the content is safe.
>








När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy
Comment 3 Amanda Stjerna 2024-07-15 07:41:59 UTC
Created attachment 171668 [details]
attachment-1960862-0.html

Wait, isn’t the source for the flatpak *in the source tree* for kcachegrind: https://invent.kde.org/sdk/kcachegrind/-/blob/master/.flatpak-manifest.json?ref_type=heads







När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy