Openbmc archive at lore.kernel.org
 help / color / Atom feed
* The latest code of openbmc-master failed to compile, please take a look, thank you.
@ 2020-10-13  8:35 周 远清
  2020-10-13  9:21 ` Andrew Jeffery
  0 siblings, 1 reply; 4+ messages in thread
From: 周 远清 @ 2020-10-13  8:35 UTC (permalink / raw)
  To: openbmc; +Cc: uperic


[-- Attachment #1: Type: text/plain, Size: 5586 bytes --]

Hello everyone,

        I downloaded the latest code from git@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

[-- Attachment #2: Type: text/html, Size: 8453 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: The latest code of openbmc-master failed to compile,  please take a look, thank you.
  2020-10-13  8:35 The latest code of openbmc-master failed to compile, please take a look, thank you 周 远清
@ 2020-10-13  9:21 ` Andrew Jeffery
  2020-10-13  9:45   ` 回复: " 周 远清
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Jeffery @ 2020-10-13  9:21 UTC (permalink / raw)
  To: zhouyuanqing8, openbmc; +Cc: uperic



On Tue, 13 Oct 2020, at 19:05, 周 远清 wrote:

...

> 
> 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/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

Looks like you need more RAM for your build machine.

Andrew

^ permalink raw reply	[flat|nested] 4+ messages in thread

* 回复: The latest code of openbmc-master failed to compile, please take a look, thank you.
  2020-10-13  9:21 ` Andrew Jeffery
@ 2020-10-13  9:45   ` 周 远清
  2020-10-14 16:56     ` Patrick Williams
  0 siblings, 1 reply; 4+ messages in thread
From: 周 远清 @ 2020-10-13  9:45 UTC (permalink / raw)
  To: Andrew Jeffery, openbmc; +Cc: uperic


[-- Attachment #1: Type: text/plain, Size: 1908 bytes --]

Hi,

   I modified the RAM space to 13G, and I tried the same error. And I have always used 8G RAM space to compile.

harley
________________________________
发件人: Andrew Jeffery <andrew@aj.id.au>
发送时间: 2020年10月13日 17:21
收件人: zhouyuanqing8@outlook.com <zhouyuanqing8@outlook.com>; openbmc <openbmc@lists.ozlabs.org>
抄送: uperic@163.com <uperic@163.com>
主题: Re: The latest code of openbmc-master failed to compile, please take a look, thank you.



On Tue, 13 Oct 2020, at 19:05, 周 远清 wrote:

...

>
> 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/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

Looks like you need more RAM for your build machine.

Andrew

[-- Attachment #2: Type: text/html, Size: 3780 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 回复: The latest code of openbmc-master failed to compile, please take a look, thank you.
  2020-10-13  9:45   ` 回复: " 周 远清
@ 2020-10-14 16:56     ` Patrick Williams
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick Williams @ 2020-10-14 16:56 UTC (permalink / raw)
  To: 周 远清; +Cc: Andrew Jeffery, uperic, openbmc


[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

On Tue, Oct 13, 2020 at 09:45:01AM +0000, 周 远清 wrote:
> Hi,
> 
>    I modified the RAM space to 13G, and I tried the same error. And I have always used 8G RAM space to compile.

> > virtual memory exhausted: Cannot allocate memory

Are you trying to build on a 32-bit platform?  The message here of
'virtual memory exhausted' to me would be an indication not that you've
ran out of RAM but that the address space is totally filled up.

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-13  8:35 The latest code of openbmc-master failed to compile, please take a look, thank you 周 远清
2020-10-13  9:21 ` Andrew Jeffery
2020-10-13  9:45   ` 回复: " 周 远清
2020-10-14 16:56     ` Patrick Williams

Openbmc archive at lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/openbmc/0 openbmc/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 openbmc openbmc/ https://lore.kernel.org/openbmc \
		openbmc@lists.ozlabs.org openbmc@ozlabs.org
	public-inbox-index openbmc

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.ozlabs.lists.openbmc


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git