I’m new to building flatpak’s but think I’ve got an okay grip on creating manifest.
a project uses cmake and as lsb_release as a needed dependency.
when I try to compile the project with flatpak I get this error:
CMake Error at CMake/Utils.cmake:238 (message):
Could not detect lsb_release executable, can not gather required
information
Call Stack (most recent call first):
CMakeLists.txt:71 (get_linux_lsb_release_information)
I tried to fix this error by installing the fedora package in the flatpak but I still get the same error:
{
"name": "lsb",
"buildsystem": "simple",
"subdir": "lsb-release_os-release-3.3/",
"build-commands": ["make"],
"sources": [
{
"type": "archive",
"url": "https://kojipkgs.fedoraproject.org//packages/lsb_release/3.3/3.fc40/src/lsb_release-3.3-3.fc40.src.rpm",
"sha512": "986ef66be589db99e10cdbdea7d56c9326a52c1b3e8933f7095f53dcef60423570c88f29aa4d3a0a8a78ea1a2c5ac7bb8101e4e83a98e258518868b8137abce4"
},
{
"type": "shell",
"commands": ["tar -xvf lsb-release_os-release-3.3.tar.gz"]
}
]
}
can I get information if flatpak-builder or org.freedesktop or kde.platform is supposed to come with lsb_release or not?
and is this issue upstream or in my flatpak?
if it is my flatpak (which I’m pretty sure it is), any tips on how to fix this issue?
I also know a very similar question was asked in #3884 but it didn’t really clear up any questions I had