The Flatpak installs successfully on aarch64 (ARM64 / Asahi Linux), but fails immediately on execution. The wrapper script cannot locate the main executable.
Steps to Reproduce
- Install the Flatpak on an
aarch64 machine:
flatpak install flathub net.code_industry.MasterPDFEditor
- Launch the application:
flatpak run net.code_industry.MasterPDFEditor
Actual Behavior
The application fails to start and outputs the following error:
/app/bin/masterpdfeditor5wrapper: line 4: /app/bin/masterpdfeditor5: No such file or directory
Additional Context & Root Cause
Inspecting the sandbox filesystem shows that /app/bin/masterpdfeditor5 is a symlink pointing to /app/extra/masterpdfeditor5, but the /app/extra directory doesn't exist.
The extra-data download and extraction script in the manifest appears to be skipping or failing the file extraction process when executed on an aarch64 host. Since the vendor now officially provides a native ARM64 Linux build (master-pdf-editor-5.x.x-qt5.arm64.tar.gz), the manifest needs to be updated to conditionally fetch the correct architecture package for aarch64 refs.
The Flatpak installs successfully on
aarch64(ARM64 / Asahi Linux), but fails immediately on execution. The wrapper script cannot locate the main executable.Steps to Reproduce
aarch64machine:flatpak install flathub net.code_industry.MasterPDFEditorflatpak run net.code_industry.MasterPDFEditorActual Behavior
The application fails to start and outputs the following error:
/app/bin/masterpdfeditor5wrapper: line 4: /app/bin/masterpdfeditor5: No such file or directoryAdditional Context & Root Cause
Inspecting the sandbox filesystem shows that
/app/bin/masterpdfeditor5is a symlink pointing to/app/extra/masterpdfeditor5, but the/app/extradirectory doesn't exist.The
extra-datadownload and extraction script in the manifest appears to be skipping or failing the file extraction process when executed on anaarch64host. Since the vendor now officially provides a native ARM64 Linux build (master-pdf-editor-5.x.x-qt5.arm64.tar.gz), the manifest needs to be updated to conditionally fetch the correct architecture package foraarch64refs.