Closed Bug 756786 Opened 13 years ago Closed 13 years ago

xulrunner won't start on linux (and probably mac)

Categories

(Toolkit Graveyard :: XULRunner, defect)

All
Linux
defect
Not set
normal

Tracking

(firefox13 unaffected, firefox14 affected, firefox15 fixed, firefox16 fixed)

RESOLVED FIXED
mozilla17
Tracking Status
firefox13 --- unaffected
firefox14 --- affected
firefox15 --- fixed
firefox16 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(3 files)

(I think this also affects mac) Bug 743560 moved run-mozilla.sh to the SDK. But xulrunner is still the script that calls run-mozilla.sh to call xulrunner-bin. This makes running xulrunner application.ini fail. (although, using the stub works). We should either ship run-mozilla.sh again with xulrunner (easy) or switch xulrunner to the standalone glue (less easy, but all other apps have been switched already, so it's mostly copy/paste)
Summary: xulrunner won't start → xulrunner won't start on linux (and probably mac)
Attachment #629708 - Flags: review?(benjamin)
Assignee: nobody → mh+mozilla
Attachment #629708 - Flags: review?(benjamin) → review+
Comment on attachment 629710 [details] [diff] [review] Use XPCOM standalone glue in nsXULRunnerApp.cpp I don't think we need/want AutoXPCOMGlue, because XPCOMGlueShutdown is pretty much a joke that should be removed. r=me with that removed
Attachment #629710 - Flags: review?(benjamin) → review+
err, there were 2 parts. Here is the second: https://hg.mozilla.org/integration/mozilla-inbound/rev/d8764ae15bf1
Comment on attachment 629708 [details] [diff] [review] Remove NSPR usage from nsXULRunnerApp.cpp [Approval Request Comment] Bug caused by bug 743560 User impact if declined: xulrunner doesn't work on linux (and maybe mac) Risk to taking this patch (and alternatives if risky): No code change that affects Firefox. Only affects xulrunner.
Attachment #629708 - Flags: approval-mozilla-beta?
Attachment #629708 - Flags: approval-mozilla-aurora?
Comment on attachment 629710 [details] [diff] [review] Use XPCOM standalone glue in nsXULRunnerApp.cpp [Approval Request Comment] See comment 7.
Attachment #629710 - Flags: approval-mozilla-beta?
Attachment #629710 - Flags: approval-mozilla-aurora?
Attachment #629708 - Flags: approval-mozilla-beta?
Attachment #629708 - Flags: approval-mozilla-beta+
Attachment #629708 - Flags: approval-mozilla-aurora?
Attachment #629708 - Flags: approval-mozilla-aurora+
Attachment #629710 - Flags: approval-mozilla-beta?
Attachment #629710 - Flags: approval-mozilla-beta+
Attachment #629710 - Flags: approval-mozilla-aurora?
Attachment #629710 - Flags: approval-mozilla-aurora+
Depends on: 764237
Gah, it appears the patch was not enough: the script hasn't been modified and still tries to run run-mozilla.sh. The xulrunner script needs to go, and xulrunner-bin needs to be renamed as xulrunner.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #644666 - Flags: review?(benjamin) → review+
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Any reason why "status-firefox16: affected" has been removed? For me, xulrunner 16 is clearly affected in the same way as xulrunner 14 and 15 are: $ xulrunner-16.0 Cannot find XULRunner runtime directory. Exiting.
Comment on attachment 644666 [details] [diff] [review] Install the xulrunner binary as xulrunner instead of xulrunner-bin, and get rid of the xulrunner wrapper script [Approval Request Comment] Bug caused by bug 743560 ; previous fix was incomplete User impact if declined: xulrunner doesn't work on linux (and maybe mac) Risk to taking this patch (and alternatives if risky): No code change that affects Firefox. Only affects xulrunner.
Attachment #644666 - Flags: approval-mozilla-beta?
Attachment #644666 - Flags: approval-mozilla-aurora?
(In reply to Axel Beckert from comment #16) > Any reason why "status-firefox16: affected" has been removed? For me, > xulrunner 16 is clearly affected in the same way as xulrunner 14 and 15 are: Because the first patches landed on 16.0, but not the latest one.
Target Milestone: mozilla16 → mozilla17
Attachment #644666 - Flags: approval-mozilla-beta?
Attachment #644666 - Flags: approval-mozilla-beta+
Attachment #644666 - Flags: approval-mozilla-aurora?
Attachment #644666 - Flags: approval-mozilla-aurora+
Comment on attachment 644666 [details] [diff] [review] Install the xulrunner binary as xulrunner instead of xulrunner-bin, and get rid of the xulrunner wrapper script The released xulrunner is broken on (at least) linux. The patch only changes xulrunner code, is it possible (and desirable) to do a xulrunner-only point release?
Attachment #644666 - Flags: approval-mozilla-release?
Comment on attachment 644666 [details] [diff] [review] Install the xulrunner binary as xulrunner instead of xulrunner-bin, and get rid of the xulrunner wrapper script Checked with RelEng and it's not possible to rebuild xulrunner without building Firefox as well so this would be too much of a PITA to do when we'll have a new beta out this week with this patch in it and a new release of xulrunner in ~2 weeks.
Attachment #644666 - Flags: approval-mozilla-release? → approval-mozilla-release-
Depends on: 931841
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: