Package: libgconf2-dev
Version: 3.2.6-5ubuntu1
Severity: normal
Tags: patch upstream
Control: forwarded -1 https://gitlab.gnome.org/Archive/gconf/merge_requests/1
Hi there,
gconf's headers contains functions which refer to types that are
deprecated in GLib 2.62. For example, gconf's autopkgtest starts failing
due to this:
autopkgtest [13:41:39]: test build: [-----------------------
In file included from /usr/include/gconf/2/gconf/gconf-schema.h:26,
from /usr/include/gconf/2/gconf/gconf.h:27,
from /usr/include/gconf/2/gconf/gconf-client.h:25,
from build_test.c:1:
/usr/include/gconf/2/gconf/gconf-value.h:139:3: error: ‘GTime’ is deprecated:
Use 'GDateTime' instead [-Werror=deprecated-declarations]
139 | GTime mod_time; /* time of the modification */
| ^~~~~
/usr/include/gconf/2/gconf/gconf-value.h:144:1: error: ‘GTime’ is deprecated:
Use 'GDateTime' instead [-Werror=deprecated-declarations]
144 | GTime gconf_meta_info_mod_time (GConfMetaInfo *gcmi);
| ^~~~~
/usr/include/gconf/2/gconf/gconf-value.h:153:46: error: ‘GTime’ is deprecated:
Use 'GDateTime' instead [-Werror=deprecated-declarations]
153 | GTime mod_time);
| ^~~~~
cc1: all warnings being treated as errors
autopkgtest [13:41:40]: test build: -----------------------]
autopkgtest [13:41:40]: test build: - - - - - - - - - - results - - - - - - -
- - -
build FAIL non-zero exit status 1
(https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/arm64/g/gconf/20190825_134153_ffcc3@/log.gz)
I wrote a patch to turn off these warnings - since it's not really
possible to fix as that would be an API break - and forwarded it
upstream. I was about to upload to Debian and then I noticed that gconf
isn't pkg-gnome any more.
https://gitlab.gnome.org/iainl/gconf/commit/6b97432b90c595ed799dce681101748568ae7f20
Cheers,
--
Iain Lane [ [email protected] ]
Debian Developer [ [email protected] ]
Ubuntu Developer [ [email protected] ]