Bug 2272376
| Summary: | Contact import produces VCF parsing error | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vsevolod <tsilvs> |
| Component: | gnome-contacts | Assignee: | Yaakov Selkowitz <yselkowi> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 40 | CC: | gnome-sig, harrymichal, kalev, klember, yselkowi |
| Target Milestone: | --- | Keywords: | Desktop, UserExperience |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-12-14 03:27:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Vsevolod
2024-03-31 13:17:08 UTC
`flathub` repository version doesn't have this malfunction, so the issue should be with the build in `fedora` Flatpak repo. @harrymichal are you still the maintainer of this package? I only really built the original flatpak and have not been involved with it ever since. Looking at the git history, @klember or @yselkowi could know a bit more. Confirmed, but cause still unclear. The cause is the use of LD_LIBRARY_PATH for adding flatpak directories to the linker search path. When loading a .vcf file, Contacts passes this to another process (presumably in order to avoid the app itself crashing in the case of invalid input) but does not pass the environment (specifically LD_LIBRARY_PATH) to it, and as that binary depends on libfolks (which is in /app), it fails to launch. The solution is to not rely on LD_LIBRARY_PATH and instead use dynamic ld.so.cache generation as in Flathub flatpaks. https://src.fedoraproject.org/rpms/flatpak-runtime-config/c/641ea400561c1c79405c4e88aa248c8add914e19?branch=f41 https://src.fedoraproject.org/flatpaks/flatpak-runtime/c/1fc0fa62adcf01ee11fede5889416fbe4a24637d?branch=f41 The fix will end up being in an updated runtime, which will have this bug attached when ready. FEDORA-FLATPAK-2024-947f40556a (flatpak-runtime-f41-17 and flatpak-sdk-f41-14) has been submitted as an update to Fedora 41 Flatpaks. https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2024-947f40556a FEDORA-FLATPAK-2024-947f40556a has been pushed to the Fedora 41 Flatpaks testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-FLATPAK-2024-947f40556a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-FLATPAK-2024-947f40556a (flatpak-runtime-f41-17 and flatpak-sdk-f41-14) has been pushed to the Fedora 41 Flatpaks stable repository. If problem still persists, please make note of it in this bug report. |