Bug 1301958

Summary: Retire xulrunner package from Fedora
Product: [Fedora] Fedora Reporter: Martin Stransky <stransky>
Component: xulrunnerAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: caillon+fedoraproject, gecko-bugs-nobody, jeischma, jmagne, john.j5live, kengert, mjuszkie, nkinder, pjasicek, stransky, tuanta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-15 12:41:20 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 Martin Stransky 2016-01-26 12:46:41 UTC
Description of problem:

Xulrunner is no longer supported/developed by Mozilla and the XUL interface is going to be removed. So let's remove this package from new Fedora release.

Comment 1 Jan Kurik 2016-02-24 14:20:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 2 Marcin Juszkiewicz 2016-02-26 07:48:44 UTC
+1 to that as it ftbfs on aarch64 (after patching webrtc again):

Warning: Skipping install_app.py
Warning: Skipping js
Warning: Skipping nsinstall
Warning: Skipping run-mozilla.sh
Warning: Skipping xpcshell
Executing /builddir/build/BUILD/xulrunner-44.0/firefox-44.0/objdir/dist/bin/xpcshell -g /builddir/build/BUILD/xulrunner-44.0/firefox-44.0/objdir/dist/bin/ -a /builddir/build/BUILD/xu
lrunner-44.0/firefox-44.0/objdir/dist/bin/ -f /builddir/build/BUILD/xulrunner-44.0/firefox-44.0/toolkit/mozapps/installer/precompile_cache.js -e precompile_startupcache("resource://g
re/");
Traceback (most recent call last):
  File "/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/toolkit/mozapps/installer/packager.py", line 405, in <module>
    main()
  File "/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/toolkit/mozapps/installer/packager.py", line 399, in main
    args.source, gre_path, base)
  File "/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/toolkit/mozapps/installer/packager.py", line 161, in precompile_cache
    errors.fatal('Error while running startup cache precompilation')
  File "/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/python/mozbuild/mozpack/errors.py", line 103, in fatal
    self._handle(self.FATAL, msg)
  File "/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/python/mozbuild/mozpack/errors.py", line 98, in _handle
    raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/toolkit/mozapps/installer/packager.mk:41: recipe for target 'stage-package' failed
make[1]: Leaving directory '/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/objdir/xulrunner/installer'
/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/xulrunner/build.mk:12: recipe for target 'install' failed
make: Leaving directory '/builddir/build/BUILD/xulrunner-44.0/firefox-44.0/objdir'
make[1]: *** [stage-package] Error 1

Comment 3 Jan Horak 2017-06-01 10:23:08 UTC
Kai, what do you think about this?

Comment 4 Jan Horak 2017-06-01 10:24:03 UTC
dnf repoquery --whatrequires xulrunner:
esc-0:1.1.0-31.fc26.x86_64
gecko-sharp2-0:0.13-32.fc26.x86_64
nss-gui-0:0.3.10-23.fc26.x86_64
pencil-0:2.0.18-2.fc26.noarch
xulrunner-devel-0:44.0-9.fc26.i686
xulrunner-devel-0:44.0-9.fc26.x86_64

Comment 5 Kai Engert (:kaie) (inactive account) 2017-06-01 10:44:36 UTC
I cannot comment on the gecko-sharp2 and pencil packages.

I have asked around regarding nss-gui and esc, and will provide feedback soon.

Comment 6 Nathan Kinder 2017-06-01 20:10:43 UTC
We need esc to be able to enroll smart cards for Dogtag (the pki-* packages in Fedora).  That is the only way it works.  Without esc, the entire smart card management aspect of Dogtag doesn't work.

We have talked about re-implementing esc to not rely on xulrunner, but I'm not sure how large of a task this would be (and when it could be done).  I have set a NEEDINFO for Jack, who should have an idea about the scope and possible timing of this work.

Comment 7 Jan Horak 2017-06-02 10:46:08 UTC
If we're going to keep esc then we should consider to bundle xulrunner to the esc package instead of keeping outdated xulrunner package in Fedora to avoid possible usage of it.

Comment 8 Martin Stransky 2017-06-15 12:41:20 UTC
We'll support xulrunner in Fedora 26 and the package was retired from master (Fedora 27 and newer). If any project need it it has to bundle it for rawhide.