Conversation
I could see the source target appearing twice and then the algorithm eventually bailing out. We were building the path twice. G_MESSAGES_DEBUG=all appstreamcli compose --components=org.kde.Platform --origin=org.kde.Platform /tmp
Emphasis on the "indexed location" line. |
|
Which version of AppStream is this? Does indeed look odd... |
|
I could reproduce this issue both on master and the one in freedesktop-sdk from 25.08. That said, I was given a different call to initialise it and it seems to work. Maybe we just need some input sanitisation? https://gitlab.com/freedesktop-sdk/flatpak-kde-runtime/-/merge_requests/7#note_2819751947 |
|
Oh, from that command, I think you might be using the tool wrong. So I also think this patch is wrong. You need to figure out what you set as prefix for the buildsystem (Meson, Automake, CMake, etc.) and pass that path as prefix. Then just point compose at all the directories it should look into for data (as positional arguments). |
I could see the source target appearing twice and then the algorithm eventually bailing out. We were building the path twice.