Compilation dies with the following: main.c: In function ‘main’: main.c:171:5: error: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations] g_type_init(); Reproducible: Always Steps to Reproduce: 1. emerge udisks-glue 2. 3. Actual Results: compilation fails Expected Results: compilation succeeds
Created attachment 376898 [details] emerge --info output was above 0x4000 char limit
FWIW I have glib 2.38.2-r1 installed: [ebuild R ] dev-libs/glib-2.38.2-r1:2 USE="xattr -debug (-fam) (-selinux) -static-libs -systemtap {-test} -utils" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7 (-python2_6)" 8,447 kB
and this is deprecated since 2.36: # grep g_type_init /usr/include/ -rn -B 1 (snip) /usr/include/glib-2.0/gobject/gtype.h-668-GLIB_DEPRECATED_IN_2_36 /usr/include/glib-2.0/gobject/gtype.h:669:void g_type_init (void);
Please attach the entire build log to this bug report.
Created attachment 376906 [details] build.log
I have the same problem
We need 1.3.5 stable, thanks for the comment to remember the issue ;)
x86 stable
amd64 stable by ago: https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/udisks-glue/udisks-glue-1.3.5.ebuild?revision=1.2&view=markup Last arch. Closing.