Hello everyone,

I am currently trying to produce a flatpak for Smb4K. However, the build 
process always fails when the KAuth helper binary is to be installed into the 
flatpak folder. The following error message is displayed:

[...]
CMake Error at helpers/cmake_install.cmake:55 (file):
  file INSTALL cannot copy file "/run/build/smb4k/helpers/mounthelper" to
  "/usr/lib/x86_64-linux-gnu/libexec/kauth/mounthelper".
Call Stack (most recent call first):
  cmake_install.cmake:110 (include)


make: *** [Makefile:74: install] Error 1
Error: module smb4k: Der Kindprozess wurde mit Status 2 beendet

So, it seems that when the KAuth helper is installed, the installation prefix 
is ignored.

org.kde.Platform//5.12 and org.kde.Sdk//5.12 from flathub are installed and 
the build command looks like this (It's basically the one given on 
community.kde.org):

$ flatpak-builder --ccache --repo=repo --subject="Build of Smb4K 2.9.90" app 
org.kde.smb4k.json

I also attached the (still incomplete) JSON file that is used for the build 
process, so that it can be reviewed if is misconfigured something. 

Has anyone on this list successfully packaged a program with a KAuth helper 
included? Or is it impossible to install a KAuth helper into a flatpak? Help 
is much appreciated.

Thank you very much and kind regards,
Alexander


Attachment: org.kde.smb4k.json
Description: application/json

Reply via email to