Bug 2255254

Summary: icecat does not launch due to missing dependencies
Product: [Fedora] Fedora Reporter: Lilith <lilithhafner>
Component: icecatAssignee: Antonio T. sagitter <trpost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: lilithhafner, trpost
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: icecat-115.6.0-1.rh1.fc38 icecat-115.6.0-1.rh1.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-31 01:19:21 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 Lilith 2023-12-19 15:29:37 UTC
Launching icecat gives this error

```bash
x@x0:~$ icecat
restorecon: SELinux: Could not get canonical path for /home/x/.mozilla/icecat/* restorecon: No such file or directory.
XPCOMGlueLoad error for file /usr/lib64/icecat/libxul.so:
libdbus-glib-1.so.2: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
```

I was using fedora with KDE-plasma on Asahi. I installed IceCat from the GUI application “Discover” and when I try to launch it via GUI I get a bouncing icon and then nothing. When I launch it via Konsole I get the preceding error message.

From https://discussion.fedoraproject.org/t/gnu-icecat-wont-start/99624/2

Reproducible: Always

Steps to Reproduce:
1. Install "Fedora Asahi Remix 39 with KDE Plasma" on an M2 mac with `curl https://alx.sh | sh`
2. Install "GNU IceCat" from "Discover" vis the GUI
3. Run `icecat` from Konsole

(I expect this issue will be reproducible any time dbus-glib is missing, but those are the exact steps I took)
Actual Results:  
Does not start

Expected Results:  
Automatically installs dependancies when installing the software

Comment 1 Lilith 2023-12-19 16:10:29 UTC
I have reproduced this on a fresh install with GNOME. Running `sudo yum install dbus-glib` is a functional workaround.

Comment 2 Antonio T. sagitter 2023-12-19 20:13:59 UTC
It's a filtering issue probably.
Thank you for this feedback.

Comment 3 Fedora Update System 2023-12-22 11:34:16 UTC
FEDORA-2023-1a66d35239 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1a66d35239

Comment 4 Fedora Update System 2023-12-22 11:34:16 UTC
FEDORA-2023-066a39b52f has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-066a39b52f

Comment 5 Fedora Update System 2023-12-23 04:56:24 UTC
FEDORA-2023-066a39b52f has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-066a39b52f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-066a39b52f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-12-23 05:14:08 UTC
FEDORA-2023-1a66d35239 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1a66d35239`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1a66d35239

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2023-12-31 01:19:21 UTC
FEDORA-2023-1a66d35239 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2023-12-31 02:26:56 UTC
FEDORA-2023-066a39b52f has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.