Commit 4409f4891a8fe2f7c547961ca57c00b2fb578c59, which upgraded Givaro to 4.2.0, broke math/linbox. To unbreak linbox, it must be upgraded to 1.7.0 Sablet, but it does not compile on -CURRENT, because Givaro installs headers containing incompatible code. See <https://github.com/linbox-team/givaro/issues/225>.
I'm not sure I understand the details enough to be able to provide a fix. If you have a suggestion, please provide a patch.
In the GH issue for Mac OS X <https://github.com/linbox-team/givaro/issues/129>, the OP suggested to rename bool_constant, and it seems a good idea also for me, but it has been rejected by upstream, without an explicit reason.