ERROR: dev-libs/libdbusmenu-0.6.2 failed (compile phase): Reproducible: Always Steps to Reproduce: 1.dev-libs/libdbusmenu 2. 3. Actual Results: /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Werror -Wno-error=deprecated-declarations -DG_LOG_DOMAIN="\"LIBDBUSMENU-GLIB\"" -O2 -pipe -Wno-Werror -c -o libdbusmenu_glib_la-menuitem-marshal.lo `test -f 'menuitem-marshal.c' || echo './'`menuitem-marshal.c cc1: warnings being treated as errors menuitem.c: In function ‘dbusmenu_menuitem_property_set_byte_array’: menuitem.c:1150:3: error: implicit declaration of function ‘g_variant_new_fixed_array’ menuitem.c:1150:11: error: assignment makes pointer from integer without a cast At top level: cc1: error: unrecognized command line option "-Wno-Werror" make[3]: *** [libdbusmenu_glib_la-menuitem.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Werror -Wno-error=deprecated-declarations -DG_LOG_DOMAIN=\"LIBDBUSMENU-GLIB\" -O2 -pipe -Wno-Werror -c menuitem-marshal.c -fPIC -DPIC -o .libs/libdbusmenu_glib_la-menuitem-marshal.o Expected Results: merge without error
Created attachment 319534 [details] Build Log
Created attachment 319536 [details] emerge info
Created attachment 319538 [details] emerge --info '=dev-libs/libdbusmenu-0.6.2'
Created attachment 319540 [details] emerge -pqv '=dev-libs/libdbusmenu-0.6.2
Created attachment 319542 [details] ebuild environment
emerge --info see attachments
yeah, typing error of -Wno-error, fixed now
Now I get the next error: libtool: link: gcc -o /var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib/tmp-introspectTbQSNE/.libs/Dbusmenu-0.4 -O2 -pipe -Wno-error -pthread /var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib/tmp-introspectTbQSNE/Dbusmenu-0.4.o -Wl,--export-dynamic -L. ./.libs/libdbusmenu-glib.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread ./.libs/libdbusmenu-glib.so: undefined reference to `g_variant_new_fixed_array' collect2: ld returned 1 exit status linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib/tmp-introspectTbQSNE/Dbusmenu-0.4', '-export-dynamic', '-O2', '-pipe', '-Wno-error', '-L.', 'libdbusmenu-glib.la', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib/tmp-introspectTbQSNE/Dbusmenu-0.4.o']' returned non-zero exit status 1 make[3]: *** [Dbusmenu-0.4.gir] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2/libdbusmenu-glib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2' make: *** [all] Error 2 * ERROR: dev-libs/libdbusmenu-0.6.2 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/libdbusmenu-0.6.2'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libdbusmenu-0.6.2'`. * The complete build log is located at '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2' * S: '/var/tmp/portage/dev-libs/libdbusmenu-0.6.2/work/libdbusmenu-0.6.2'
What version of dev-libs/glib? Works here with 2.32.3. Tried `emerge -C libdbusmenu` before emerging it (again) yet?
I use the last stable one 2.30.3 The Version 0.6.2 of libdbusmenu is the onlyone in Portage. My last installed Version is 0.5.1-r300. If I remove this version I fear the new one will not install and I break my system. What shout I do? PS I tried to install glib 2.32.4 and now libdbusmenu installed fine without error.
Symbol g-variant-new-fixed-array was introduced by 2.32 wrt: http://developer.gnome.org/glib/2.33/glib-GVariant.html#g-variant-new-fixed-array Fixed in Portage by simple dependency adjustment: + 05 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> libdbusmenu-0.6.2.ebuild: + Pull in dev-libs/glib >= 2.32 for symbol g_variant_new_fixed_array wrt + #428448 by Markus Preis http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdbusmenu/libdbusmenu-0.6.2.ebuild?r1=1.3&r2=1.4