Bug#444956: libgtk2.0-dev: Deprecated routines dropped from -dev without incrementing SONAME

Sebastian Dröge slomo at circular-chaos.org
Tue Oct 2 08:27:07 UTC 2007


severity 444956 normal
thanks

Am Dienstag, den 02.10.2007, 08:55 +0100 schrieb Neil Williams:
> Package: libgtk2.0-dev
> Version: 2.12.0-2
> Severity: serious
> Justification: Policy 8.1
> 
> The version of quicklist in experimental used to build correctly against
> libgtk2.0-dev until the 2.12.0-2 upload. Now, I get two build errors due
> to deprecated functions that are missing from the new version of gtk
> without migrating to libgtk3.
> 
> Build error 1:
> 
> cc1: warnings being treated as errors
> dialog_initial.c: In function ‘main_window’:
> dialog_initial.c:86: warning: implicit declaration of function
> ‘gtk_notebook_set_group_id’
> dialog_initial.c:86: warning: nested extern declaration of
> ‘gtk_notebook_set_group_id’
> make[2]: *** [dialog_initial.o] Error 1
> 
> When that line is commented out, another build error follows:
> 
> cc1: warnings being treated as errors
> help.c: In function ‘qlhelp_credits’:
> help.c:54: warning: implicit declaration of function
> ‘gtk_about_dialog_set_name’
> help.c:54: warning: nested extern declaration of
> ‘gtk_about_dialog_set_name’
> make[2]: *** [help.o] Error 1
> 
> gtk2 should not remove interfaces without incrementing the SONAME. As a
> GTK3 transition would not appear to be the intention, maybe some of the
> deprecated interfaces should be restored.
> 
> libgtk2.0-dev (2.12.0-2) therefore causes a FTBFS in at least this
> package.
> 
> Other packages in unstable may be affected.

Are you building with GTK_DISABLE_DEPRECATED? That's the only case where
the declaration can miss from the headers, otherwise it's always there.
Also the symbols are in the library in any case...







More information about the pkg-gnome-maintainers mailing list