Could not reproduce under a yakkety chroot - but seeing a failure in ppa builders:
[ 60%] Building C object examples/CMakeFiles/mir_demo_client_cursors.dir/cursors_demo_client.c.o
cd /«BUILDDIR»/mir-0.23.3+16.10.20160707/obj-arm-linux-gnueabihf/examples && /usr/bin/arm-linux-gnueabihf-gcc -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_LIBINPUT_HAS_ACCEL_PROFILE=1 -DMIR_VERSION_MAJOR=0 -DMIR_VERSION_MICRO=2 -DMIR_VERSION_MINOR=23 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/common -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/cookie -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/obj-arm-linux-gnueabihf/src/protobuf -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/server -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/client -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/platform -I/«BUILDDIR»/mir-0.23.3+16.10.20160707/include/renderers/gl -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -Werror -Wall -pedantic -Wextra -fPIC -flto -std=c99 -Wall -fno-strict-aliasing -Wextra -o CMakeFiles/mir_demo_client_cursors.dir/cursors_demo_client.c.o -c /«BUILDDIR»/mir-0.23.3+16.10.20160707/examples/cursors_demo_client.c
/usr/bin/arm-linux-gnueabihf-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -std=c++14 -Werror -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -flto -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--no-undefined CMakeFiles/mir_demo_client_egltriangle.dir/egltriangle.c.o -o ../bin/mir_demo_client_egltriangle.bin -rdynamic libeglapp.a ../lib/libmirclient.so.9 ../lib/libmircommon.so.6 -lboost_date_time -lboost_system -lboost_program_options -lboost_filesystem -ldl -lxkbcommon ../lib/libmirprotobuf.so.3 -lprotobuf-lite ../lib/libmircookie.so.2 -lnettle -lEGL -lGLESv2
In file included from /usr/include/stdint.h:25:0,
from /usr/lib/gcc/arm-linux-gnueabihf/5/include/stdint.h:9,
from /«BUILDDIR»/mir-0.23.3+16.10.20160707/include/client/mir_toolkit/events/event.h:23,
from /«BUILDDIR»/mir-0.23.3+16.10.20160707/include/client/mir_toolkit/client_types.h:24,
from /«BUILDDIR»/mir-0.23.3+16.10.20160707/include/client/mir_toolkit/mir_connection.h:21,
from /«BUILDDIR»/mir-0.23.3+16.10.20160707/include/client/mir_toolkit/mir_client_library.h:21,
from /«BUILDDIR»/mir-0.23.3+16.10.20160707/examples/cursors_demo_client.c:21:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
1. We should remove #define _BSD_SOURCE" as silo might still fail when it encounters this. Or does that cause something else to fail?
2. you need to remove the other instance in progressbar.c.
3. Yet another instance is in src/CMakeLists.txt (which also has "_DEFAULT_SOURCE" defined).