Package: eclipse
Version: 3.8.0~rc4-1
Severity: normal
Tags: patch
User: pkg-gnome-maintain...@lists.alioth.debian.org
Usertags: glib-2.32-ftbfs

Including invidiual glib headers has been deprecated for several years.

Starting with glib 2.32 it is now mandatory to include glib.h instead
of individual headers [1], or the compiler will generate an error.

With the notable exception of:
 glib/gi18n.h
 glib/gi18n-lib.h
 glib/gprintf.h
 glib/gstdio.h
Those header files are still meant to be included separately.

Development releases of 2.34 (2.33.x) are available in experimental.
During a test-rebuild eclipse failed to build with the new glib [2].

Please update eclipse at your earliest convenience, so once we move
the glib version from experimental to unstable, your package will remain
buildable. Note that this change won't be made before Wheezy is released.

Usually, simply replacing #include <glib/foo.h> with #include <glib.h>
is all that is needed (while keeping the above list of exceptions in
mind)
You can use the glib version from experimental to test if your package
builds correctly.

Patch attached.

Thanks!

Jeremy,
on behalf of the Debian GNOME team.

[1] 
http://git.gnome.org/browse/glib/commit/?id=7455dd370eb37ce3b0b409ff6120501f37b50569
[2] 
https://launchpadlibrarian.net/108718133/buildlog_ubuntu-quantal-i386.eclipse_3.8.0~rc3-4_FAILEDTOBUILD.txt.gz

- -- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'),
(500, 'quantal-proposed'), (500, 'quantal'), (100,
'quantal-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-1-generic (SMP w/2 CPU cores)

Attachment: glib-single-include.patch
Description: Binary data

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to