Bug 2083110

Summary: Error usr/bin/icecat: line 72: fg: no job control when starting icecat from a terminal
Product: [Fedora] Fedora Reporter: grumpey0
Component: icecatAssignee: Antonio T. sagitter <trpost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 36CC: kai-engert-fedora, trpost
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: icecat-91.9.0-2.rh1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-20 01:24:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description grumpey0 2022-05-09 10:19:42 UTC
Description of problem:
When starting icecat on a terminal receive an error: /usr/bin/icecat: line 72: fg: no job control

Version-Release number of selected component (if applicable):
GNU IceCat 91.9.0esr

How reproducible:
Open Terminal, type icecat and enter

Steps to Reproduce:
1. Open Terminal
2. Type icecat
3. Hit Enter

Actual results:
Receive Error usr/bin/icecat: line 72: fg: no job control

Expected results:
No Errors

Additional info:
In /usr/bin/icecat, line 72: 
if %{wayland_default} && ! [ $MOZ_DISABLE_WAYLAND ]; then

In the spec file, this looks like it may be the issue. 
line 669 in the spec file 
%{__sed} -e 's/__DEFAULT_WAYLAND__/%{wayland_default}/' \

sed -e 's/__DEFAULT_WAYLAND__/\[ \$WAYLAND_DISPLAY \]/' works on the command line.

Bug was pointed out here: https://ask.fedoraproject.org/t/fedora-35-and-icecat-browser/22060/2

Comment 1 Fedora Update System 2022-05-10 15:04:42 UTC
FEDORA-2022-2090d24863 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-2090d24863

Comment 2 Fedora Update System 2022-05-11 02:45:27 UTC
FEDORA-2022-2090d24863 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-2090d24863`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-2090d24863

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

Comment 3 Fedora Update System 2022-05-11 09:22:16 UTC
FEDORA-2022-4b31163857 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-4b31163857

Comment 4 Fedora Update System 2022-05-12 03:07:15 UTC
FEDORA-2022-4b31163857 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-4b31163857`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-4b31163857

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

Comment 5 Fedora Update System 2022-05-19 01:22:42 UTC
FEDORA-2022-2090d24863 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-05-20 01:24:54 UTC
FEDORA-2022-4b31163857 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.