Bug 479819 - Flatpak version gives error
Summary: Flatpak version gives error
Status: RESOLVED FIXED
Alias: None
Product: KDE Itinerary
Classification: Applications
Component: general (other bugs)
Version First Reported In: 23.08.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-14 21:04 UTC by Thibault Molleman
Modified: 2024-01-21 19:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Molleman 2024-01-14 21:04:39 UTC
SUMMARY
I installed the flatpak version on Garuda linux got an error

STEPS TO REPRODUCE
1. flatpak install itinerary (install)
2. flatpak run org.kde.itinerary

OBSERVED RESULT
has portal: true
QQmlApplicationEngine failed to load component
qrc:/main.qml:311:9: Type App.BarcodeScannerPage unavailable
qrc:/BarcodeScannerPage.qml:11:1: plugin cannot be loaded for module "org.kde.prison.scanner": Cannot load library /usr/lib/qml/org/kde/prison/scanner/libprisonscannerquickplugin.so: (/usr/lib/x86_64-linux-gnu/libKF5PrisonScanner.so.5: undefined symbol: _ZN5ZXing11ReadBarcodeERKNS_9ImageViewERKNS_13ReaderOptionsE)

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Garuda Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.12
Kernel Version: 6.6.10-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 62,0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7

ADDITIONAL INFORMATION
Comment 1 Thibault Molleman 2024-01-14 21:05:59 UTC
Just an fyi, if I install the package version, that does work
Comment 2 Bug Janitor Service 2024-01-15 16:45:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/itinerary/-/merge_requests/262
Comment 3 Volker Krause 2024-01-15 17:09:58 UTC
Git commit a637744a176eb8f89c01189a0115b1393cb57cc6 by Volker Krause.
Committed on 15/01/2024 at 17:44.
Pushed by vkrause into branch 'master'.

Build ZXing statically to avoid clashing with the one in the platform

The org.kde.Platform contains an internal dynamically linked ZXing, if
our version differs in an ABI-incompatible way things break. Avoid that
by linking our one statically into KItinerary, the only place needing it
here.

M  +1    -1    .flatpak-manifest.json

https://invent.kde.org/pim/itinerary/-/commit/a637744a176eb8f89c01189a0115b1393cb57cc6
Comment 4 Bug Janitor Service 2024-01-17 16:32:20 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/itinerary/-/merge_requests/264
Comment 5 Volker Krause 2024-01-17 17:08:07 UTC
Git commit dc8bebdf031c26219ac17264d077ad3ffc82b199 by Volker Krause.
Committed on 17/01/2024 at 17:53.
Pushed by vkrause into branch 'release/23.08'.

Build ZXing statically to avoid clashing with the one in the platform

The org.kde.Platform contains an internal dynamically linked ZXing, if
our version differs in an ABI-incompatible way things break. Avoid that
by linking our one statically into KItinerary, the only place needing it
here.
(cherry picked from commit a637744a176eb8f89c01189a0115b1393cb57cc6)

M  +1    -1    .flatpak-manifest.json

https://invent.kde.org/pim/itinerary/-/commit/dc8bebdf031c26219ac17264d077ad3ffc82b199
Comment 6 Volker Krause 2024-01-21 11:33:33 UTC
The fixes have propagated to Flathub meanwhile.
Comment 7 Thibault Molleman 2024-01-21 19:16:43 UTC
Can confirm this fixed it!