Your message dated Mon, 4 Jun 2012 13:10:27 +0200
with message-id <[email protected]>
and subject line Re: Bug#666607: ofono: FTBFS: gversionmacros.h:28:2: error:
#error "Only <glib.h> can be included directly."
has caused the Debian Bug report #666607,
regarding ofono: Including individual glib headers no longer supported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
666607: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=666607
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ofono
Version: 0.53-2
Severity: important
User: [email protected]
Usertags: glib-single-include
Hi,
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.32 (2.31.x) are available in experimental.
During a test-rebuild ofono failed to build with the new glib [2].
Please update ofono at your earliest convenience, so once we move
the glib version from experimental to unstable, your package will remain
buildable.
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.
A simple shell script [3] has been written, that can help you
generate a patch which should fix the includes in most cases.
It's most likely not bug free and very limited, so please check the
resulting patch carefully.
Thanks!
Michael,
on behalf of the Debian GNOME team.
[1]
http://git.gnome.org/browse/glib/commit/?id=7455dd370eb37ce3b0b409ff6120501f37b50569
[2] http://people.debian.org/~biebl/glib-single-include/ofono_0.53-2.log
[3] http://people.debian.org/~biebl/fix-glib-includes.sh
--- End Message ---
--- Begin Message ---
On Sat, Mar 31, 2012 at 09:20:57PM +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
A newer version in sid 1.6 was built successfully. Hence closing this bug
report.
Feel free to reopen if problem persists.
Regards
--- End Message ---