Closed Bug 794500 Opened 12 years ago Closed 12 years ago

Lightning linux build error 'Requested 'gtk+-2.0 >= 2.18.0' but version of GTK+ is 2.10.4'

Categories

(Calendar :: Build Config, defect)

Lightning 2.0
x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Unassigned)

Details

Lightning Linux builds are broken with the following error: https://tinderbox.mozilla.org/showlog.cgi?log=CalendarTrunk/1348653600.1348654452.24274.gz

> checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0... Requested 'gtk+-2.0 >= 2.18.0' but version of GTK+ is 2.10.4
> configure: error: Library requirements (gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 gobject-2.0 gdk-x11-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
> configure: error: /buildbot/cc-linux-nightly/build/mozilla/configure failed for mozilla
> *** Fix above errors and then restart with               "make -f client.mk build"
> make[1]: Leaving directory `/buildbot/cc-linux-nightly/build'
> make[1]: *** [configure] Error 1
> make: *** [objdir-tb/Makefile] Error 2

This is caused by Bug 793634. It seems that Bug 794285 will add a temporary workaround but sooner or later the Lightning build servers require an platform update like in Thunderbird Bug 794378.
Who has access to the build servers? Is there someone from Thunderbird releng team who could help?
Severity: normal → major
I've pinged Mark & John about this, we will either have to get a centos6 builder (like Thunderbird bug 794378) or we need to move fast on bug 793628.
Requirement for gtk 2.18/glib 2.22 landed in mozilla-aurora today, i.e. in a few days after the next uplift all branches (central, aurora, beta) will be broken.
What, they landed that on aurora before the uplift!? What are they thinking! I would have been ok with things being broken on aurora for a week, but we need beta :-(

I'm currently building the upcoming beta build on aurora already, so we might be safe for beta 1, but this means we either need to move even faster on the tb integration and even do the release and beta builds using that kind of automation, or we indeed need a new solution.
Maybe we can somehow workaround: It seems that a temporary workaround from Bug 794285 (restore support for building against GTK+ 2.10) landed on mozilla-aurora too. If we could apply a similar fix as in http://hg.mozilla.org/comm-central/rev/43533642df86 or Bug 795359 it might work again.
Philipp, did you try the described workaround that was used by Thunderbird and SeaMonkey, i.e. adding the following lines to the Linux mozconfig files?
> ac_add_options --enable-gnomevfs
> ac_add_options --disable-gio
I've just committed a buildbot-config change that does this, seems to be working!
Linux x86_64 build is broken with the same error as in SeaMonkey Bug 798921. Workaround might be to use --disable-webrtc.
I filed bug 800798, I believe I added --disable-webrtc. Need to doublecheck it was picked up.
I guess we can mark this as fixed by Bug 793628 too.

Or do we need to port back the workaround for comm-beta builds of Lightning 2.0?
Lets mark this as fixed. The beta/aurora mozconfigs are now in sync, so the fix is applied there too. I'm still working on getting all 2.0b1 builds up, there are various issues but nothing worth keeping a bug open for.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.