I hit the same bug on Gentoo with glibc-2.29-r2 and alsa-lib-1.1.8. Looking at the code, I see they do something similar to the suggestion made in https://stackoverflow.com/a/32672476.
It would appear this kludge no longer works. Down later the suggestion was to tweak the -std=XXX flag passed to gcc. After unsuccessfully trying to set this in CFLAGS, I got things compiling with this: diff --git a/CMakeLists.txt b/CMakeLists.txt index 639fdc711..2d1c744f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ include ("${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/GNUInstallDirs.cmake") project ("cairo-dock-plugins") set (VERSION "3.4.1") -add_definitions (-std=c99 -Wall -Werror-implicit-function-declaration) # -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes -Wreturn-type -Wparentheses -Warray-bounds) +add_definitions (-std=gnu99 -Wall -Werror-implicit-function-declaration) # -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -Wstrict-prototypes -Wreturn-type -Wparentheses -Warray-bounds) if (NOT DEFINED CMAKE_BUILD_TYPE) add_definitions (-O3) endif() cairo-dock-plug-ins now build. I'm just trying them out to see if there are any ill effects from doing the above hack. ** Also affects: cairo-dock-plug-ins (Gentoo Linux) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1730947 Title: package fails to build with glibc-2.26 To manage notifications about this bug go to: https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/1730947/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs