Skip to content

docker编译出错 [205/678] Building CXX object src/http/CMakeFiles/Webserver.dir/action/mini_load.cpp.o #6080

@gooqhy

Description

@gooqhy

镜像:apachedoris/doris-dev:build-env-1.3
下载最新源码和0.14.0.tar.gz版本的代码执行 sh build.sh的时候都会错误终止,日志:

[205/678] Building CXX object src/http/CMakeFiles/Webserver.dir/action/mini_load.cpp.o
In file included from /var/local/thirdparty/installed/include/boost/bind.hpp:30,
from ../src/runtime/client_cache.h:21,
from ../src/http/action/mini_load.cpp:51:
/var/local/thirdparty/installed/include/boost/config/pragma_message.hpp:24:34: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.'
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
/var/local/thirdparty/installed/include/boost/config/pragma_message.hpp:24:34: note: in definition of macro 'BOOST_PRAGMA_MESSAGE'
24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
| ^~~~~~~
ninja: build stopped: subcommand failed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions