Closed Bug 769655 Opened 12 years ago Closed 12 years ago

The installer fails if SeaMonkey was configured with --disable-necko-wifi

Categories

(SeaMonkey :: Build Config, defect, P3)

defect

Tracking

(seamonkey2.11 fixed, seamonkey2.12? fixed)

RESOLVED FIXED
seamonkey2.13
Tracking Status
seamonkey2.11 --- fixed
seamonkey2.12 ? fixed

People

(Reporter: andy, Assigned: andy)

References

Details

(Keywords: regression, Whiteboard: [patchlove])

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/16.0 Firefox/16.0
Build ID: 20120628163319

Steps to reproduce:

Compiled Seamonkey with ac_add_options --disable-necko-wifi in my mozconfig


Actual results:

When I ran make -C moz-build-dir/suite/installer it failed

Error: package error or possible missing or unnecessary file: 
bin/components/necko_wifi.xpt (package-manifest, 155).



Expected results:

It should have built a seamonkey tarball. The attached patch (with code lifted from the browser/installer in current mozilla-central) fixes the issue for me.
Attachment #637898 - Attachment is patch: true
Attachment #637898 - Flags: review?(bugspam.Callek)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → andy
Comment on attachment 637898 [details] [diff] [review]
seamonkey-installer-necko-wifi.patch
[Checked in: See comment 4]

Not sure on my ETA for this one, so giving serge authority to review this.
Attachment #637898 - Flags: review?(sgautherie.bz)
See also Firefox Bug 739132: --disable-necko-wifi causes "Error: package error or possible missing or unnecessary file: bin/components/necko_wifi.xpt"
See Also: → 739132
Depends on: 751597
Blocks: 745998
Status: NEW → ASSIGNED
Flags: in-testsuite-
Keywords: regression
OS: Linux → All
Priority: -- → P3
Hardware: x86_64 → All
See Also: 739132
Summary: The installer fails if Seamonkey was configured with --disable-necko-wifi → The installer fails if SeaMonkey was configured with --disable-necko-wifi
Target Milestone: --- → seamonkey2.13
Comment on attachment 637898 [details] [diff] [review]
seamonkey-installer-necko-wifi.patch
[Checked in: See comment 4]

Review of attachment 637898 [details] [diff] [review]:
-----------------------------------------------------------------

approval‑comm‑aurora=me, as regression fix.

approval‑comm‑beta=?, assuming bug 745998 gets approved first.

::: suite/installer/Makefile.in
@@ +93,2 @@
>  DEFINES += -DMOZ_MOVEMAIL=1
>  endif

This is actually porting bug 751597 :-)

Nit: move it to between LOCALE_BUILD=1 and WIN_OR_OS2=1.

::: suite/installer/package-manifest.in
@@ +258,4 @@
>  @BINPATH@/components/necko_strconv.xpt
>  @BINPATH@/components/necko_viewsource.xpt
>  @BINPATH@/components/necko_websocket.xpt
> +#ifdef NECKO_WIFI

"Good catch".
I fixed this in bug 745998 comment 6.
Attachment #637898 - Flags: review?(sgautherie.bz)
Attachment #637898 - Flags: review?(bugspam.Callek)
Attachment #637898 - Flags: review+
Attachment #637898 - Flags: approval-comm-beta?
Attachment #637898 - Flags: approval-comm-beta? → approval-comm-beta+
serge, needed on aurora?
Keywords: checkin-needed
Whiteboard: [c-n]
(In reply to Justin Wood (:Callek) from comment #5)
> serge, needed on aurora?

Yes, see comment 3.
Keywords: checkin-needed
Whiteboard: [c-n] → [patchlove]
Attachment #637898 - Attachment description: seamonkey-installer-necko-wifi.patch → seamonkey-installer-necko-wifi.patch [Checked in: See comment 4]
Comment on attachment 637898 [details] [diff] [review]
seamonkey-installer-necko-wifi.patch
[Checked in: See comment 4]

> (In reply to Justin Wood (:Callek) from comment #5)
>> serge, needed on aurora?
> Yes, see comment 3.

[Approval Request Comment]
Regression caused by (bug #): Bug 751597
User impact if declined: Linux and other packagers won't be able to package builds with |ac_add_options --disable-necko-wifi|.
Testing completed (on m-c, etc.):  baked on comm-central
Risk to taking this patch (and alternatives if risky): Risks are low to none as official builds don't build with this option.
String changes made by this patch: none.
Attachment #637898 - Flags: approval-comm-aurora?
Attachment #637898 - Flags: approval-comm-aurora? → approval-comm-aurora+
Andrew, can you update your patch per comment 3?
(In reply to Serge Gautherie (:sgautherie) from comment #8)
> Andrew, can you update your patch per comment 3?

serge, I'm pushing this to aurora/trunk right now. Later this evening (after uplift) you have rs+=/a=me to do that nit change.

Andrew thanks for the patch!

http://hg.mozilla.org/releases/comm-aurora/rev/080567bfa72f
http://hg.mozilla.org/comm-central/rev/a4640c86e3a3
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: