Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510302 - sys-fs/udisks-glue-1.3.5 stable request (Was: sys-fs/udisks-glue-1.3.4 - main.c:171:5: error: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations])
Summary: sys-fs/udisks-glue-1.3.5 stable request (Was: sys-fs/udisks-glue-1.3.4 - main...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2014-05-14 11:21 UTC by Burak Arslan
Modified: 2015-04-21 10:25 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (emerge___info,20.12 KB, text/plain)
2014-05-14 11:24 UTC, Burak Arslan
Details
build.log (build.log,7.66 KB, text/plain)
2014-05-14 15:42 UTC, Burak Arslan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Burak Arslan 2014-05-14 11:21:58 UTC
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
Comment 1 Burak Arslan 2014-05-14 11:24:01 UTC
Created attachment 376898 [details]
emerge --info output

was above 0x4000 char limit
Comment 2 Burak Arslan 2014-05-14 11:31:19 UTC
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
Comment 3 Burak Arslan 2014-05-14 11:37:48 UTC
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);
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-14 15:14:28 UTC
Please attach the entire build log to this bug report.
Comment 5 Burak Arslan 2014-05-14 15:42:22 UTC
Created attachment 376906 [details]
build.log
Comment 6 Pierre 2014-12-09 11:05:13 UTC
I have the same problem
Comment 7 Pacho Ramos gentoo-dev 2014-12-09 11:25:50 UTC
We need 1.3.5 stable, thanks for the comment to remember the issue ;)
Comment 8 Pacho Ramos gentoo-dev 2015-04-18 15:57:02 UTC
x86 stable
Comment 9 Chema Alonso Josa (RETIRED) gentoo-dev 2015-04-21 10:25:32 UTC
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.