Closed
Bug 710972
Opened 13 years ago
Closed 13 years ago
Build failure: nsGSettingsService.cpp:298:36: error: ‘G_VARIANT_TYPE_STRING_ARRAY’ was not declared in this scope
Categories
(Firefox :: Shell Integration, defect)
Tracking
()
RESOLVED
FIXED
Firefox 12
People
(Reporter: nulldomain, Assigned: glandium)
References
Details
(Keywords: regression, Whiteboard: [inbound])
Attachments
(1 file, 1 obsolete file)
1.34 KB,
patch
|
karlt
:
review+
akeybl
:
approval-mozilla-beta-
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0a1) Gecko/20100101 Firefox/11.0a1 Build ID: 20111130105716 Steps to reproduce: I get build failure with trunk on Linux x86_64: /home/user/mozilla-central/toolkit/system/gnome/nsGSettingsService.cpp: In member function ‘virtual nsresult nsGSettingsCollection::GetStringList(const nsACString&, nsIArray**)’: /home/user/mozilla-central/toolkit/system/gnome/nsGSettingsService.cpp:298:36: error: ‘G_VARIANT_TYPE_STRING_ARRAY’ was not declared in this scope make[6]: *** [nsGSettingsService.i_o] Error 1 make[6]: *** Waiting for unfinished jobs.... /home/user/mozilla-central/toolkit/system/gnome/nsGIOService.cpp: In member function ‘virtual nsresult nsGIOMimeApp::GetCommand(nsACString&)’: /home/user/mozilla-central/toolkit/system/gnome/nsGIOService.cpp:115:70: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object make[6]: Leaving directory `/home/user/firefox-build/toolkit/system/gnome' make[5]: *** [libs_tier_platform] Error 2 make[5]: Leaving directory `/home/user/firefox-build' make[4]: *** [tier_platform] Error 2 make[4]: Leaving directory `/home/user/firefox-build' make[3]: *** [default] Error 2 make[3]: Leaving directory `/home/user/firefox-build' make[2]: *** [realbuild] Error 2 make[2]: Leaving directory `/home/user/mozilla-central' make[1]: *** [profiledbuild] Error 2 make[1]: Leaving directory `/home/user/mozilla-central' make: *** [build] Error 2 I backed out bug 682832 then I was able to get a clean build. I'm not sure if it's related, but I use these two switches --enable-gio and --disable-gnomevfs. Also I'm building for gnome2.
Reporter | ||
Updated•13 years ago
|
Assignee | ||
Updated•13 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 1•13 years ago
|
||
G_VARIANT_TYPE_STRING_ARRAY is apparently new to glib 2.26. You're probably building against an older version of glib. I got the same problem on Debian squeeze, which comes with glib 2.24.
Assignee | ||
Comment 2•13 years ago
|
||
This should do the right thing.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Updated•13 years ago
|
Attachment #584090 -
Flags: review?(karlt)
Assignee | ||
Comment 3•13 years ago
|
||
Better without the spurious change in makemakefile.pm
Assignee | ||
Updated•13 years ago
|
Attachment #584090 -
Attachment is obsolete: true
Attachment #584090 -
Flags: review?(karlt)
Assignee | ||
Updated•13 years ago
|
Attachment #584536 -
Flags: review?(karlt)
Updated•13 years ago
|
Attachment #584536 -
Flags: review?(karlt) → review+
Updated•13 years ago
|
Updated•13 years ago
|
status-firefox11:
--- → affected
tracking-firefox11:
--- → ?
Updated•13 years ago
|
Keywords: regression
Assignee | ||
Comment 5•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/8ec9356640fd
Whiteboard: [inbound]
Comment 6•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/8ec9356640fd
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 12
Assignee | ||
Comment 7•12 years ago
|
||
Comment on attachment 584536 [details] [diff] [review] Define G_VARIANT_TYPE_STRING_ARRAY when building against older glib [Approval Request Comment] Regression caused by bug #682832 Firefox 11 fails to build on older Linux distros when building with --enable-gio (which, it should be noted, is not the default) Requesting per mail request from akeybl, but i don't believe this is important enough (that is, it is probably an edge case).
Attachment #584536 -
Flags: approval-mozilla-beta?
Comment 8•12 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #7) > Firefox 11 fails to build on older Linux distros when building with > --enable-gio (which, it should be noted, is not the default) > Requesting per mail request from akeybl, but i don't believe this is > important enough (that is, it is probably an edge case). My only concern was that this would unnecessarily cause issues for Linux distros building Firefox 11 post-release. If that's not the case (and this is just an edge case), then there's no need to take on Beta 11.
Updated•12 years ago
|
Attachment #584536 -
Flags: approval-mozilla-beta? → approval-mozilla-beta-
You need to log in
before you can comment on or make changes to this bug.
Description
•