[SERVER-20712] Build failure with --use-cpu-profiler on linux Created: 01/Oct/15  Updated: 15/Oct/15  Resolved: 09/Oct/15

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.1.8
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: David Daly Assignee: Jonathan Reams
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-19661 Build fails: error: expected expression Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

scons --use-cpu-profiler

Sprint: Build A (10/09/15)
Participants:

 Description   

Build on linux fails with the --use-cpu-profiler option. Errors include:

src/third_party/gperftools-2.2/src/base/logging.h:195:19: note: in expansion of macro 'INFO'
enum LogSeverity

Unknown macro: {INFO = -1, WARNING = -2, ERROR = -3, FATAL = -4}

;
^
In file included from src/third_party/s2/util/math/vector3-inl.h:39:0,
from src/third_party/s2/s2.h:26,
from src/mongo/db/geo/s2.h:40,
from src/mongo/db/geo/big_polygon.h:33,
from src/mongo/db/geo/shapes.h:37,
from src/mongo/db/query/expression_index.h:34,
from src/mongo/db/query/expression_index.cpp:29:
src/third_party/gperftools-2.2/src/base/logging.h:195:66: error: expected declaration before '}' token
enum LogSeverity

;
^

The issue starts on commit

[f725d04705a2019ab1949ced290158397d9365b0] SERVER-19661 Give vendored include paths higher priority



 Comments   
Comment by Githook User [ 09/Oct/15 ]

Author:

{u'username': u'jbreams', u'name': u'Jonathan Reams', u'email': u'jbreams@mongodb.com'}

Message: SERVER-20712 Build cpuprofiler command as separate library
Branch: master
https://github.com/mongodb/mongo/commit/cdc4aad91327b36f23d10e3a0595b2e8b7f294dc

Comment by David Daly [ 01/Oct/15 ]

jbreams Could you take a quick look at this? The failure starts with your commit. Thanks.

Generated at Thu Feb 08 03:55:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.