0.2.3: build fails with latest glib
glib 2.75.0 and build fails with
+ /usr/bin/make -O -j48 V=1 VERBOSE=1
/usr/bin/make all-recursive
Making all in data
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/data'
sed -e "s^\@PACKAGE_EXEC\@^`echo xfce4-volumed-pulse | sed 's&^&&'`^g" < xfce4-volumed-pulse.desktop.in > xfce4-volumed-pulse.desktop
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/data'
Making all in src
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"`echo xfce4-volumed-pulse | sed 's&^&&'`\" -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/keybinder-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wshadow -Wdeclaration-after-statement -Wnested-externs -Wold-style-definition -c -o xfce4_volumed_pulse-xvd_keys.o `test -f 'xvd_keys.c' || echo './'`xvd_keys.c
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/keybinder-3.0/keybinder.h:27,
from xvd_keys.c:25:
/usr/include/glib-2.0/glib/gversionmacros.h:478:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
478 | #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
| ^~~~~
make[2]: *** [Makefile:529: xfce4_volumed_pulse-xvd_keys.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"`echo xfce4-volumed-pulse | sed 's&^&&'`\" -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/keybinder-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wshadow -Wdeclaration-after-statement -Wnested-externs -Wold-style-definition -c -o xfce4_volumed_pulse-xvd_xfconf.o `test -f 'xvd_xfconf.c' || echo './'`xvd_xfconf.c
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from xvd_data_types.h:28,
from xvd_xfconf.h:24,
from xvd_xfconf.c:21:
/usr/include/glib-2.0/glib/gversionmacros.h:478:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
478 | #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
| ^~~~~
make[2]: *** [Makefile:557: xfce4_volumed_pulse-xvd_xfconf.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"`echo xfce4-volumed-pulse | sed 's&^&&'`\" -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/keybinder-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wshadow -Wdeclaration-after-statement -Wnested-externs -Wold-style-definition -c -o xfce4_volumed_pulse-xvd_notify.o `test -f 'xvd_notify.c' || echo './'`xvd_notify.c
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/libnotify/notify.h:25,
from xvd_notify.c:25:
/usr/include/glib-2.0/glib/gversionmacros.h:478:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
478 | #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
| ^~~~~
make[2]: *** [Makefile:571: xfce4_volumed_pulse-xvd_notify.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"`echo xfce4-volumed-pulse | sed 's&^&&'`\" -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/keybinder-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wshadow -Wdeclaration-after-statement -Wnested-externs -Wold-style-definition -c -o xfce4_volumed_pulse-xvd_pulse.o `test -f 'xvd_pulse.c' || echo './'`xvd_pulse.c
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from xvd_data_types.h:28,
from xvd_pulse.h:25,
from xvd_pulse.c:28:
/usr/include/glib-2.0/glib/gversionmacros.h:478:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
478 | #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
| ^~~~~
xvd_pulse.c: In function 'xvd_notify_mic_callback':
xvd_pulse.c:366:25: warning: unused variable 'r_curv' [-Wunused-variable]
366 | guint32 r_oldv, r_curv;
| ^~~~~~
xvd_pulse.c:366:17: warning: unused variable 'r_oldv' [-Wunused-variable]
366 | guint32 r_oldv, r_curv;
| ^~~~~~
make[2]: *** [Makefile:543: xfce4_volumed_pulse-xvd_pulse.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"`echo xfce4-volumed-pulse | sed 's&^&&'`\" -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/keybinder-3.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -D_REENTRANT -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Wshadow -Wdeclaration-after-statement -Wnested-externs -Wold-style-definition -c -o xfce4_volumed_pulse-main.o `test -f 'main.c' || echo './'`main.c
In file included from /usr/include/glib-2.0/glib/gtypes.h:36,
from /usr/include/glib-2.0/glib/galloca.h:34,
from /usr/include/glib-2.0/glib.h:32,
from /usr/include/gtk-3.0/gdk/gdkconfig.h:8,
from /usr/include/gtk-3.0/gdk/gdk.h:30,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from main.c:35:
/usr/include/glib-2.0/glib/gversionmacros.h:478:2: error: #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
478 | #error "GLIB_VERSION_MIN_REQUIRED must be >= GLIB_VERSION_2_26"
| ^~~~~
make[2]: *** [Makefile:515: xfce4_volumed_pulse-main.o] Error 1
make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfce4-volumed-pulse-0.2.3/src'
make[1]: *** [Makefile:436: all-recursive] Error 1
make: *** [Makefile:368: all] Error 2