The latest code of openbmc-master failed to compile, please take a look, thank you.

周 远清 zhouyuanqing8 at outlook.com
Tue Oct 13 19:35:23 AEDT 2020


Hello everyone,

        I downloaded the latest code from git at github.com:openbmc/openbmc.git yesterday, compiled it without any modification, and found the following two problems, please help to see what's going on, thank you!

the error as follow:
zma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failederror: liblzma: Memory allocation failedWrote: /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/perl/5.32.0-r0/deploy-rpms/arm1176jzs/perl-module-pod-perldoc-toman-5.32.0-r0.arm1176jzs.rpm
Wrote: /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/perl/5.32.0-r0/deploy-rpms/arm1176jzs/perl-pod-5.32.0-r0.arm1176jzs.rpm
Wrote: /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/perl/5.32.0-r0/deploy-rpms/arm1176jzs/perl-doc-5.32.0-r0.arm1176jzs.rpm


RPM build errors:
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!
    Deprecated external dependency generator is used!


den -fvisibility-inlines-hidden -fstack-protector-strong -fPIE -fPIC -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -DBOOST_ASIO_USE_TS_EXECUTOR_AS_DEFAULT -DBOOST_ASIO_DISABLE_THREADS -DBOOST_BEAST_USE_STD_STRING_VIEW -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ASIO_NO_DEPRECATED -DBOOST_NO_RTTI -DBOOST_NO_TYPEID
-DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DBOOST_URL_STANDALONE -DBOOST_URL_HEADER_ONLY -Os -fvisibility-inlines-hidden -DBOOST_ALL_NO_LIB -MD -MQ bmcweb.p/src_webserver_main.cpp.o -MF bmcweb.p/src_webserver_main.cpp.o.d -o bmcweb.p/src_webserver_main.cpp.o -c ../git/src/webserver_main.cpp
In file included from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/config/header_deprecated.hpp:18,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/detail/scoped_enum_emulation.hpp:15,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/coroutine/exceptions.hpp:14,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/coroutine/asymmetric_coroutine.hpp:24,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/coroutine/coroutine.hpp:10,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/coroutine/all.hpp:11,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/asio/spawn.hpp:19,
                 from /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/sdbusplus/asio/connection.hpp:28,
                 from ../git/include/dbus_singleton.hpp:2,
                 from ../git/include/sessions.hpp:12,
                 from ../git/http/http_request.h:5,
                 from ../git/http/app.h:3,
                 from ../git/src/webserver_main.cpp:1:
/home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/recipe-sysroot/usr/include/boost/detail/scoped_enum_emulation.hpp:17:1: note: '#pragma message: This header is deprecated. Use <boost/core/scoped_enum.hpp> instead.'
   17 | BOOST_HEADER_DEPRECATED("<boost/core/scoped_enum.hpp>")
      | ^~~~~~~~~~~~~~~~~~~~~~~
virtual memory exhausted: Cannot allocate memory
ninja: build stopped: subcommand failed.
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /home/zyq/master-openbmc/openbmc/build/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+gitAUTOINC+e436008377-r0/temp/log.do_compile.3417
Log data follows:
| DEBUG: Executing shell function do_compile

harley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201013/522cf1a0/attachment.htm>


More information about the openbmc mailing list