Debian Bug report logs - #665519
cluster-glue: Including individual glib headers no longer supported

version graph

Package: src:cluster-glue; Maintainer for src:cluster-glue is Debian HA Maintainers <debian-ha-maintainers@alioth-lists.debian.net>;

Affects: src:pacemaker-mgmt, src:heartbeat, src:ocfs2-tools, src:redhat-cluster, src:pacemaker

Reported by: biebl@debian.org

Date: Sat, 24 Mar 2012 19:00:43 UTC

Severity: important

Tags: patch

Merged with 665558, 665587, 665592, 665606, 666611, 666667

Found in version cluster-glue/1.0.9+hg2665-1

Fixed in version 1.0.10+hg2722-1

Done: Michael Biebl <biebl@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Information forwarded to Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>:
Bug#665519; Package src:cluster-glue. (Sat, 24 Mar 2012 19:00:46 GMT) (full text, mbox, link).


Acknowledgement sent to biebl@debian.org:
Extra info received and forwarded to maintainer. Copy sent to Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>. (Sat, 24 Mar 2012 19:00:46 GMT) (full text, mbox, link).


Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):

From: biebl@debian.org
To: maintonly@bugs.debian.org
Subject: cluster-glue: Including individual glib headers no longer supported
Date: Sat, 24 Mar 2012 19:59:30 +0100
Source: cluster-glue
Version: 1.0.9+hg2665-1
Severity: important
User: pkg-gnome-maintainers@lists.alioth.debian.org
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 cluster-glue failed to build with the new glib [2].

Please update cluster-glue 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/cluster-glue_1.0.9+hg2665-1.log
[3] http://people.debian.org/~biebl/fix-glib-includes.sh





Merged 665519 665558 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:39:15 GMT) (full text, mbox, link).


Added indication that 665519 affects src:heartbeat Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:39:18 GMT) (full text, mbox, link).


Merged 665519 665558 665587 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:13 GMT) (full text, mbox, link).


Removed indication that 665519 affects src:heartbeat Added indication that 665519 affects src:ocfs2-tools Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:16 GMT) (full text, mbox, link).


Merged 665519 665558 665587 665592 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:28 GMT) (full text, mbox, link).


Removed indication that 665519 affects src:ocfs2-tools Added indication that 665519 affects src:pacemaker-mgmt Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:34 GMT) (full text, mbox, link).


Merged 665519 665558 665587 665591 665592 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:51 GMT) (full text, mbox, link).


Added indication that 665519 affects src:pacemaker Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:54:56 GMT) (full text, mbox, link).


Disconnected #665591 from all other report(s). Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 14:57:04 GMT) (full text, mbox, link).


Merged 665519 665558 665587 665592 665606 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 15:06:18 GMT) (full text, mbox, link).


Added indication that 665519 affects src:redhat-cluster, src:ocfs2-tools, and src:heartbeat Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 15:06:21 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>:
Bug#665519; Package src:cluster-glue. (Sun, 25 Mar 2012 17:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>. (Sun, 25 Mar 2012 17:03:03 GMT) (full text, mbox, link).


Message #32 received at 665519@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 665519@bugs.debian.org
Cc: control@bugs.debian.org
Subject: cluster-glue: Including individual glib headers no longer supported
Date: Sun, 25 Mar 2012 18:59:24 +0200
[Message part 1 (text/plain, inline)]
tags 665519 + patch
thanks

Attached is a build-tested patch which only needs to be added to
debian/patches/series.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
[glib-single-include.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

Added tag(s) patch. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sun, 25 Mar 2012 17:03:07 GMT) (full text, mbox, link).


Added tag(s) sid and wheezy. Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sat, 31 Mar 2012 22:57:05 GMT) (full text, mbox, link).


Merged 665519 665558 665587 665592 665606 666611 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sat, 31 Mar 2012 22:57:11 GMT) (full text, mbox, link).


Merged 665519 665558 665587 665592 665606 666611 666667 Request was from Michael Biebl <biebl@debian.org> to control@bugs.debian.org. (Sat, 31 Mar 2012 23:03:33 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:07 GMT) (full text, mbox, link).


Notification sent to biebl@debian.org:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:07 GMT) (full text, mbox, link).


Message #45 received at 665519-done@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: 665519-done@bugs.debian.org
Subject: cluster-glue: Including individual glib headers no longer supported
Date: Sun, 16 Dec 2012 06:13:10 +0100
[Message part 1 (text/plain, inline)]
Version: 1.0.10+hg2722-1

Current version in sid builds fine, so closing.
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:07 GMT) (full text, mbox, link).


Notification sent to biebl@debian.org:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:07 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:08 GMT) (full text, mbox, link).


Notification sent to biebl@debian.org:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:08 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:08 GMT) (full text, mbox, link).


Notification sent to biebl@debian.org:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:09 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:09 GMT) (full text, mbox, link).


Notification sent to biebl@debian.org:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:09 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:10 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:10 GMT) (full text, mbox, link).


Reply sent to Michael Biebl <biebl@debian.org>:
You have taken responsibility. (Sun, 16 Dec 2012 05:15:10 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Sun, 16 Dec 2012 05:15:10 GMT) (full text, mbox, link).


Added tag(s) jessie. Request was from Julien Cristau <jcristau@debian.org> to control@bugs.debian.org. (Thu, 18 Apr 2013 17:33:43 GMT) (full text, mbox, link).


Removed tag(s) sid, wheezy, and jessie. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Fri, 01 Nov 2013 22:32:31 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 30 Nov 2013 07:28:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 24 22:16:20 2026; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.