[Bug 216213] databases/mongodb: fails to build with clang 4.0 (3 ports skipped)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 18 08:23:15 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216213
Bug ID: 216213
Summary: databases/mongodb: fails to build with clang 4.0 (3
ports skipped)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: needs-patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ale at FreeBSD.org
Reporter: jbeich at FreeBSD.org
Blocks: 216008
Flags: maintainer-feedback?(ale at FreeBSD.org)
Assignee: ale at FreeBSD.org
In file included from src/mongo/db/fts/fts_command.cpp:35:
In file included from src/mongo/db/fts/fts_util.h:37:
In file included from src/mongo/db/storage/record.h:35:
In file included from src/mongo/db/storage/extent.h:34:
src/mongo/db/structure/catalog/namespace.h:58:65: error: ordered comparison
between pointer and zero ('const char *' and 'int')
bool hasDollarSign() const { return strchr( buf , '$' ) > 0; }
~~~~~~~~~~~~~~~~~~~ ^ ~
In file included from src/mongo/s/shard.cpp:33:
In file included from src/mongo/s/shard.h:35:
src/mongo/client/connpool.h:326:40: error: ordered comparison between pointer
and zero ('mongo::DBClientBase *' and 'int')
bool ok() const { return _conn > 0; }
~~~~~ ^ ~
In file included from src/mongo/s/shard.cpp:33:
src/mongo/s/shard.h:295:40: error: ordered comparison between pointer and zero
('mongo::DBClientBase *' and 'int')
bool ok() const { return _conn > 0; }
~~~~~ ^ ~
In file included from src/mongo/db/dbcommands_generic.cpp:44:
In file included from src/mongo/db/db.h:33:
src/mongo/db/client.h:263:59: error: ordered comparison between pointer and
zero ('mongo::Client *' and 'int')
inline bool haveClient() { return currentClient.get() > 0; }
~~~~~~~~~~~~~~~~~~~ ^ ~
build log: http://sprunge.us/gicD
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list