Building sci-visualisation/nonolith-connect (but I guess the same applied to other packages as drizzle failed to find boost!):
x86_64-pc-linux-gnu-g++ -o streaming_device/ws_api.o -c -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Ilibusb -Iwebsocketpp/src -Wall streaming_device/ws_api.cpp
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected '}' before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before 'system_time'
line 23 of that file is the first line of this enum:
and of course it's defined now in time.h when ISOC11 is enabled (which seems to be for whatever reason in that case):
# ifdef __USE_ISOC11
/* Time base values for timespec_get. */
# define TIME_UTC 1
Created attachment 317366 [details, diff]
This patch fixes the issue.
not a bug in glibc, so not anything for email@example.com to do i can see
It's fixed in upstream version 1.50, probably upgrading boost would be better.
boost::TIME_UTC has been renamed to boost::TIME_UTC_ in Boost 1.50, which is now available in gentoo-x86.
(In reply to comment #4)
*** Bug 429984 has been marked as a duplicate of this bug. ***
same issue. I've just installed 1.51.0 from poly-c overlay
*** Bug 432586 has been marked as a duplicate of this bug. ***
Having the same symptom but while building boost itself (ie dev-libs/boost-1.49.0-r2) shortly after merging sys-libs/glibc-2.16.0. Can attach emerge --info, boost buildlog, etc if requested.
*** Bug 440688 has been marked as a duplicate of this bug. ***