- In ~amd64 boost-1.65 is unmasked now - merging boost-1.65 triggers a rebuild of several packages (libreoffice, lyx, mongodb ...) - compilation of dev-db/mongodb-3.4.6 fails at: src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp: In function 'void mongo::{anonymous}::checkReadAhead(const string&)': src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:176:70: error: 'major' was not declared in this scope string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev) ^ src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:176:91: error: 'minor' was not declared in this scope string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
This is not a Boost bug but rather a glibc-related bug. You're only seeing it because your glibc likely got upgraded after the last boost update, but before this one. The fix is generally easy.
Bug has been closed via the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faee40dcab8c8344b772f0d414aa95b2579494d5 commit faee40dcab8c8344b772f0d414aa95b2579494d5 Author: David Seifert <soap@gentoo.org> AuthorDate: 2017-09-05 08:15:17 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2017-09-05 08:15:17 +0000 dev-db/mongodb: Add missing sys/sysmacros.h include Closes: https://bugs.gentoo.org/show_bug.cgi?id=629906 Package-Manager: Portage-2.3.8, Repoman-2.3.3 .../files/mongodb-3.4.6-sysmacros-include.patch | 38 ++++++++++++++++++++++ dev-db/mongodb/mongodb-3.4.6.ebuild | 13 ++++---- 2 files changed, 45 insertions(+), 6 deletions(-)
Thank you for the explanation and closing the bug David!