Closed Bug 291234 Opened 20 years ago Closed 20 years ago

--with-toolkit=cairo-gtk2 build fails in netwerk/tests

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file)

The tests in netwerk/tests link with TK_LIBS because apparently they (used to?) depend on GTK (via chrome registry and themes). With cairo-gtk2 TK_LIBS contains MOZ_CAIRO_LIBS which are built by gfx. But netwerk builds before gfx so the tests fail to link.
Attached patch fixSplinter Review
As far as I can tell, the netwerk tests still work with this patch.
Attachment #181369 - Flags: superreview?(tor)
Attachment #181369 - Flags: review?(benjamin)
Hrm... last year I needed to call gtk_init and friends prior to starting XPCOM in order to make these tests work due to some crash in the widget code. Please don't break the network tests! ;-)
Like I said ... they seem to work, although some of them I don't know how to tell if they succeeded or failed.
ok, ok ;-) so long as "TestProtocols -verbose http://www.mozilla.org/" spits out HTML at you, all is good.
and, non-cairo gtk2 builds are happy too? maybe widget code was fixed to not crash anymore if gtk_init hasn't happened?
Yes, non-Cairo gtk2 builds are still happy. If I understand correctly, bsmedberg removed the dependency on widget a while ago.
Comment on attachment 181369 [details] [diff] [review] fix r+sr=darin
Attachment #181369 - Flags: superreview?(tor)
Attachment #181369 - Flags: superreview+
Attachment #181369 - Flags: review?(benjamin)
Attachment #181369 - Flags: review+
Comment on attachment 181369 [details] [diff] [review] fix This patch gets Cairo-gtk2 closer to working and only affects netwerk tests (and I checked that they still work).
Attachment #181369 - Flags: approval1.8b2?
Attachment #181369 - Flags: approval1.8b2? → approval1.8b2+
checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: