Main problem from config.log is:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
TIME_UTC=1,
Later boost versions changed this to TIME_UTC_.
I'm not sure what the proper way to resolve this is, apart from upgrading boost.
In any case this is a boost issue, it also appears on Google various places outside the context of building bitcoin. There are some workarounds:
- https://bbs.archlinux.org/viewtopic.php?id=144593
- https://stackoverflow.com/questions/17599377/boost-error-trouble-compiling-xtime-hpp
- https://svn.boost.org/trac/boost/ticket/6940