[Pkg-mongodb-maintainers] Bug#882643: mongodb FTBFS with glibc 2.25
Adrian Bunk
bunk at debian.org
Sat Nov 25 07:59:40 UTC 2017
Source: mongodb
Version: 1:3.2.17-1
Severity: serious
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mongodb.html
...
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:170:13: error: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>. [-Werror]
string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:170:13: error: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>. [-Werror]
string path = str::stream() << "/sys/dev/block/" << major(dev) << ':' << minor(dev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:176:13: error: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>. [-Werror]
str::stream() << "/sys/dev/block/" << major(dev) << ':'
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mongo/db/storage/mmap_v1/mmap_v1_engine.cpp:177:13: error: In the GNU C Library, "minor" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "minor", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"minor", you should undefine it after including <sys/types.h>. [-Werror]
<< minor(dev) // this is a symlink
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Generating placeholder library build/opt/mongo/db/storage/mmap_v1/librecord_store_v1.a
More information about the Pkg-mongodb-maintainers
mailing list