Hello,
I am trying to create zuluCrypt Flatpak package.
It need dev-mapper as dependency.
dev-mapper is from LVM2.
Here is the Flatpak manifest.
app-id: io.github.mhogomchunhu.zuluCrypt
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: ‘20.08’
command: zulucrypt
finish-args:
–share=ipc
–socket=wayland
–socket=fallback-x11
–device=dri
modules:shared-modules/libsecret/libsecret.json
name: libaio
no-autogen: true
make-install-args:
- includedir=/app/include
- libdir=/app/lib
sources:- type: git
url: https://pagure.io/libaio.gitname: LVM2
sources:
- type: archive
url: https://mirrors.kernel.org/sourceware/lvm2/LVM2.2.03.11.tgz
sha256: 842c4510d4653990927d4518a5bf2743126a37531671a05842cdaf8d54bb9dd4name: cryptsetup
sources:
- type: archive
url: https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.3/cryptsetup-2.3.5.tar.xz
sha256: ced9946f444d132536daf92fc8aca4277638a3c2d96e20540b2bae4d36fd70c1
But I cannot build LVM2.
I get this error.
make[1]: Leaving directory ‘/run/build/LVM2/man’
make -C scripts install
make[1]: Entering directory ‘/run/build/LVM2/scripts’
make[1]: Leaving directory ‘/run/build/LVM2/scripts’
make -C tools install
make[1]: Entering directory ‘/run/build/LVM2/tools’
[INSTALL] lvm
Creating symbolic links for individual commands in /app/sbin
make[1]: Leaving directory ‘/run/build/LVM2/tools’
compressing debuginfo in: /home/kev/Desktop/Software/Flatpak/zuluCrypt/flathub/.flatpak-builder/rofiles/rofiles-HRFkIN/files/lib/libdevmapper.so.1.02
processing: /home/kev/Desktop/Software/Flatpak/zuluCrypt/flathub/.flatpak-builder/rofiles/rofiles-HRFkIN/files/lib/libdevmapper.so.1.02
[29] .debug_aranges compressed -> .zdebug_aranges (1040 => 314 30.19%)
[30] .debug_info compressed -> .zdebug_info (338117 => 155819 46.08%)
[31] .debug_abbrev compressed -> .zdebug_abbrev (20576 => 4350 21.14%)
[32] .debug_line compressed -> .zdebug_line (134161 => 65901 49.12%)
[33] .debug_str compressed -> .zdebug_str (33597 => 12000 35.72%)
[34] .debug_loc compressed -> .zdebug_loc (502654 => 98028 19.50%)
[35] .debug_ranges compressed -> .zdebug_ranges (45120 => 8693 19.27%)
[38] Updating section string table
stripping /home/kev/Desktop/Software/Flatpak/zuluCrypt/flathub/.flatpak-builder/rofiles/rofiles-HRFkIN/files/lib/libdevmapper.so.1.02 to /home/kev/Desktop/Software/Flatpak/zuluCrypt/flathub/.flatpak-builder/rofiles/rofiles-HRFkIN/files/lib/debug/lib/libdevmapper.so.1.02.debug
eu-strip: while opening ‘/home/kev/Desktop/Software/Flatpak/zuluCrypt/flathub/.flatpak-builder/rofiles/rofiles-HRFkIN/files/lib/libdevmapper.so.1.02’: Permission denied
Error: module LVM2: Child process exited with code 1