Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629906 - dev-libs/boost-1.65 triggers rebuild of dev-db/mongodb-3.4.6 and compilation fails
Summary: dev-libs/boost-1.65 triggers rebuild of dev-db/mongodb-3.4.6 and compilation ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lujeni
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-sysmacros
  Show dependency tree
 
Reported: 2017-09-04 19:15 UTC by Andrés Becerra Sandoval
Modified: 2017-09-05 16:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2017-09-04 19:15:06 UTC
- 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)
Comment 1 David Seifert gentoo-dev 2017-09-05 08:01:47 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2017-09-05 08:17:23 UTC
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(-)
Comment 3 Andrés Becerra Sandoval 2017-09-05 16:40:16 UTC
Thank you for the explanation and closing the bug David!