when attempting to emerge meanwhile, the following error occurs: if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"meanwhile\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"meanwhile\" -O2 -march=pentium3 -pipe -fomit-frame-pointer -Wall -Werror -MT libmeanwhile_la-session.lo -MD -MP -MF ".deps/libmeanwhile_la-session.Tpo" -c -o libmeanwhile_la-session.lo `test -f 'session.c' || echo './'`session.c; \ then mv -f ".deps/libmeanwhile_la-session.Tpo" ".deps/libmeanwhile_la-session.Plo"; else rm -f ".deps/libmeanwhile_la-session.Tpo"; exit 1; fi if /bin/sh ../libtool --silent --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"meanwhile\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -I. -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DG_LOG_DOMAIN=\"meanwhile\" -O2 -march=pentium3 -pipe -fomit-frame-pointer -Wall -Werror -MT libmeanwhile_la-srvc_aware.lo -MD -MP -MF ".deps/libmeanwhile_la-srvc_aware.Tpo" -c -o libmeanwhile_la-srvc_aware.lo `test -f 'srvc_aware.c' || echo './'`srvc_aware.c; \ then mv -f ".deps/libmeanwhile_la-srvc_aware.Tpo" ".deps/libmeanwhile_la-srvc_aware.Plo"; else rm -f ".deps/libmeanwhile_la-srvc_aware.Tpo"; exit 1; fi In file included from session.c:10: mw_debug.h:12:1: "g_debug" redefined In file included from /usr/include/glib-2.0/glib.h:52, from session.c:3: /usr/include/glib-2.0/glib/gmessages.h:138:1: this is the location of the previous definition In file included from srvc_aware.c:10: mw_debug.h:12:1: "g_debug" redefined In file included from /usr/include/glib-2.0/glib.h:52, from srvc_aware.c:3: /usr/include/glib-2.0/glib/gmessages.h:138:1: this is the location of the previous definition make[1]: *** [libmeanwhile_la-session.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [libmeanwhile_la-srvc_aware.lo] Error 1 make[1]: Leaving directory `/var/tmp/portage/meanwhile-0.3-r2/work/meanwhile-0.3/src' make: *** [all-recursive] Error 1 !!! ERROR: net-libs/meanwhile-0.3-r2 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge meanwhile 2. 3. Actual Results: emake failed Expected Results: compile and emerge normally
I need 'emerge info' output as well as version of glib you have.
Known upstream issue. GLib decided to add a g_debug() function. I'm duplicating now. Testing patch and should have a fix shortly.
ok -r3 is committed with the necessary patch.