flathub / flathub/net.code_industry.MasterPDFEditor

The Flatpak installs successfully on aarch64 (ARM64 / Asahi Linux), but fails immediately on execution.

Open
#115 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1
Forks
8
Avg merge
6h 30m
Merged PRs (30d)
3

Description

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
1. Install the Flatpak on an `aarch64` machine:
`flatpak install flathub net.code_industry.MasterPDFEditor`
2. 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the Flatpak manifest's extra-data download and extraction logic, then check /app/bin/masterpdfeditor5wrapper and its /app/extra/masterpdfeditor5 target. Verify how the manifest handles aarch64 and the vendor's master-pdf-editor-5.x.x-qt5.arm64.tar.gz package. Done means the ARM64 package is extracted and the Flatpak launches successfully on aarch64.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.