All of lore.kernel.org
 help / color / mirror / Atom feed
* openbmc build issue.
@ 2020-04-30  6:23 Kumar Thangavel
  2020-05-04 15:53 ` Andrew Geissler
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Thangavel @ 2020-04-30  6:23 UTC (permalink / raw)
  To: openbmc; +Cc: Velumani T-ERS,HCLTech


[-- Attachment #1.1: Type: text/plain, Size: 1584 bytes --]

Hi All,

YV2 Build failing in latest LF openbmc master. PFB the reason and the detailed log file. Please let me know if there are suggestions to resolve.
ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!

Please fine the attachment.

Thanks,
Kumar.
::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

[-- Attachment #1.2: Type: text/html, Size: 3601 bytes --]

[-- Attachment #2: yv2_image_size_too_large.txt --]
[-- Type: text/plain, Size: 8607 bytes --]



Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:04
Sstate summary: Wanted 294 Found 0 Missed 294 Current 1129 (0% match, 79% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!


DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/velu/buildtest/openbmc/meta/recipes-kernel/dtc/dtc_1.5.1.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/rpm/rpm_4.14.2.1.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-core/glibc/cross-localedef-native_2.30.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/createrepo-c/createrepo-c_0.15.1.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-devtools/gcc/gcc-cross_9.2.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-bsp/u-boot/u-boot-tools_2019.10.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/bison/bison_3.4.2.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta-aspeed/recipes-bsp/u-boot/u-boot-aspeed_2016.07.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-core/os-release/os-release.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/opkg-utils/opkg-utils_0.4.1.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta-aspeed/recipes-kernel/linux/linux-aspeed_git.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-devtools/binutils/binutils-cross_2.32.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/opkg/opkg_0.4.1.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/home/velu/buildtest/openbmc/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/mtd/mtd-utils_git.bb:do_populate_sysroot', 'virtual:native:/home/velu/buildtest/openbmc/meta/recipes-devtools/dnf/dnf_4.2.2.bb:do_populate_sysroot']
NOTE: u-boot-aspeed exists in sysroot, but is stale (u-boot-aspeed.4fab314760474e3dd71ca52e6b63e450ad0914a7fadc98b36ac4cb6ec80a60fa vs. u-boot-aspeed.b89d4b22bdf50cd4ddc6bb3b8f462111c3078dd090ca56058a3933d3470940be), removing.
DEBUG: Removing manifest: /home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/recipe-sysroot/sysroot-providers/u-boot
DEBUG: Removing manifest: /home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/recipe-sysroot/sysroot-providers/u-boot-aspeed
DEBUG: Removing manifest: /home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/recipe-sysroot/sysroot-providers/virtual_bootloader
DEBUG: Removing manifest: /home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/recipe-sysroot/sysroot-providers/
NOTE: Installed into sysroot: ['u-boot-aspeed']
NOTE: Skipping as already exists in sysroot: ['dtc-native', 'kern-tools-native', 'pseudo-native', 'mklibs-native', 'ldconfig-native', 'rpm-native', 'cross-localedef-native', 'createrepo-c-native', 'gcc-cross-arm', 'u-boot-tools-native', 'kmod-native', 'bison-native', 'pigz-native', 'makedevs-native', 'squashfs-tools-native', 'xz-native', 'lzop-native', 'os-release', 'depmodwrapper-cross', 'opkg-utils-native', 'prelink-native', 'linux-aspeed', 'binutils-cross-arm', 'bc-native', 'opkg-native', 'qemuwrapper-cross', 'quilt-native', 'update-rc.d-native', 'mtd-utils-native', 'dnf-native', 'systemd-systemctl-native', 'debianutils-native', 'openssl-native', 'qemu-native', 'autoconf-native', 'automake-native', 'libtool-native', 'gnu-config-native', 'gettext-minimal-native', 'shadow-native', 'elfutils-native', 'dbus-native', 'db-native', 'bzip2-native', 'python3-native', 'file-native', 'popt-native', 'perl-native', 'libarchive-native', 'nss-native', 'pkgconfig-native', 'cpio-native', 'zlib-native', 'flex-native', 'mpfr-native', 'linux-libc-headers', 'texinfo-dummy-native', 'libmpc-native', 'gmp-native', 'gtk-doc-native', 'glibc', 'gcc-runtime', 'python3-iniparse-native', 'ninja-native', 'cmake-native', 'libdnf-native', 'librepo-native', 'libcomps-native', 'curl-native', 'glib-2.0-native', 'libxml2-native', 'sqlite3-native', 'expat-native', 'attr-native', 'lz4-native', 'lzo-native', 'binutils-native', 'readline-native', 'libsolv-native', 'util-linux-native', 'e2fsprogs-native', 'acl-native', 'm4-native', 'libnsl2-native', 'gdbm-native', 'libtirpc-native', 'libffi-native', 'nspr-native', 'libgcc', 'python3-six-native', 're2c-native', 'ncurses-native', 'json-c-native', 'gobject-introspection-native', 'libcheck-native', 'libmodulemd-v1-native', 'swig-native', 'gpgme-native', 'gettext-native', 'meson-native', 'libpcre-native', 'libcap-ng-native', 'python3-setuptools-native', 'libyaml-native', 'libgpg-error-native', 'libassuan-native', 'unzip-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_generate_static
DEBUG: Executing shell function do_mk_static_nor_image
32768+0 records in
32768+0 records out
33554432 bytes (34 MB, 32 MiB) copied, 0.0558507 s, 601 MB/s
DEBUG: Shell function do_mk_static_nor_image finished
DEBUG: Considering file size=236280 name=/home/velu/buildtest/openbmc/build/tmp/deploy/images/yosemitev2/u-boot.bin
DEBUG: Spanning start=0K end=512K
DEBUG: Compare needed=236280 available=524288 margin=288008
230+1 records in
230+1 records out
236280 bytes (236 kB, 231 KiB) copied, 0.0336958 s, 7.0 MB/s
DEBUG: Considering file size=3941256 name=/home/velu/buildtest/openbmc/build/tmp/deploy/images/yosemitev2/fitImage-obmc-phosphor-initramfs-yosemitev2-yosemitev2
DEBUG: Spanning start=512K end=4864K
DEBUG: Compare needed=3941256 available=4456448 margin=515192
3848+1 records in
3848+1 records out
3941256 bytes (3.9 MB, 3.8 MiB) copied, 0.0253864 s, 155 MB/s
DEBUG: Considering file size=26984448 name=/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz
DEBUG: Spanning start=4864K end=28672K
DEBUG: Compare needed=26984448 available=24379392 margin=-2605056
ERROR: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!
DEBUG: Python function do_generate_static finished

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

* Re: openbmc build issue.
  2020-04-30  6:23 openbmc build issue Kumar Thangavel
@ 2020-05-04 15:53 ` Andrew Geissler
  2020-05-05 10:17   ` Kumar Thangavel
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Geissler @ 2020-05-04 15:53 UTC (permalink / raw)
  To: Kumar Thangavel; +Cc: openbmc, Velumani T-ERS,HCLTech



> On Apr 30, 2020, at 1:23 AM, Kumar Thangavel <thangavel.k@hcl.com> wrote:
> 
> Hi All,
>  
> YV2 Build failing in latest LF openbmc master. PFB the reason and the detailed log file. Please let me know if there are suggestions to resolve.
> ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!

Hi Kumar, you’ve exceeded the allowed size for you rootfs. You’ll need
to pull some functions out. The biggest bang for your buck if possible
is to remove python usage. Otherwise, you’ll need to find some functions
to pull out.

What probably caused this is upstream moved from python2 to
python3. python3 takes significantly more space in the image.


> Please fine the attachment. 
>  
> Thanks,
> Kumar.

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

* RE: openbmc build issue.
  2020-05-04 15:53 ` Andrew Geissler
@ 2020-05-05 10:17   ` Kumar Thangavel
  2020-05-05 17:31     ` Sui Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Kumar Thangavel @ 2020-05-05 10:17 UTC (permalink / raw)
  To: Andrew Geissler; +Cc: openbmc, Velumani T-ERS,HCLTech

Hi Andrew,

             Thanks for your response and information. We are checking on the python3 issue.

Thanks,
Kumar.

-----Original Message-----
From: Andrew Geissler <geissonator@gmail.com>
Sent: Monday, May 4, 2020 9:23 PM
To: Kumar Thangavel <thangavel.k@hcl.com>
Cc: openbmc@lists.ozlabs.org; Velumani T-ERS,HCLTech <velumanit@hcl.com>
Subject: Re: openbmc build issue.

[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]

> On Apr 30, 2020, at 1:23 AM, Kumar Thangavel <thangavel.k@hcl.com> wrote:
>
> Hi All,
>
> YV2 Build failing in latest LF openbmc master. PFB the reason and the detailed log file. Please let me know if there are suggestions to resolve.
> ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!

Hi Kumar, you’ve exceeded the allowed size for you rootfs. You’ll need to pull some functions out. The biggest bang for your buck if possible is to remove python usage. Otherwise, you’ll need to find some functions to pull out.

What probably caused this is upstream moved from python2 to python3. python3 takes significantly more space in the image.


> Please fine the attachment.
>
> Thanks,
> Kumar.

::DISCLAIMER::
________________________________
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
________________________________

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

* Re: openbmc build issue.
  2020-05-05 10:17   ` Kumar Thangavel
@ 2020-05-05 17:31     ` Sui Chen
  0 siblings, 0 replies; 4+ messages in thread
From: Sui Chen @ 2020-05-05 17:31 UTC (permalink / raw)
  To: Kumar Thangavel; +Cc: Andrew Geissler, openbmc, Velumani T-ERS, HCLTech

Hi Kumar,

I remember there are "python-core" and "python3-core" packages that
are much smaller than "python" and "python3" packags respectively.
(around 2MB vs 8MB if I remember correctly, with the difference causd
by all the Python packages that come with "python" and "python3")
So if you don't need all the Python packages it might be possible to
save space by installing the core Python and only the packages that
are used (for example, in one of my experiments, I included just
python-core and python-subprocess).

Thanks
Sui

On Tue, May 5, 2020 at 6:49 AM Kumar Thangavel <thangavel.k@hcl.com> wrote:
>
> Hi Andrew,
>
>              Thanks for your response and information. We are checking on the python3 issue.
>
> Thanks,
> Kumar.
>
> -----Original Message-----
> From: Andrew Geissler <geissonator@gmail.com>
> Sent: Monday, May 4, 2020 9:23 PM
> To: Kumar Thangavel <thangavel.k@hcl.com>
> Cc: openbmc@lists.ozlabs.org; Velumani T-ERS,HCLTech <velumanit@hcl.com>
> Subject: Re: openbmc build issue.
>
> [CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.]
>
> > On Apr 30, 2020, at 1:23 AM, Kumar Thangavel <thangavel.k@hcl.com> wrote:
> >
> > Hi All,
> >
> > YV2 Build failing in latest LF openbmc master. PFB the reason and the detailed log file. Please let me know if there are suggestions to resolve.
> > ERROR: obmc-phosphor-image-1.0-r0 do_generate_static: Image '/home/velu/buildtest/openbmc/build/tmp/work/yosemitev2-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/deploy-obmc-phosphor-image-image-complete/obmc-phosphor-image-yosemitev2.squashfs-xz' is too large!
>
> Hi Kumar, you’ve exceeded the allowed size for you rootfs. You’ll need to pull some functions out. The biggest bang for your buck if possible is to remove python usage. Otherwise, you’ll need to find some functions to pull out.
>
> What probably caused this is upstream moved from python2 to python3. python3 takes significantly more space in the image.
>
>
> > Please fine the attachment.
> >
> > Thanks,
> > Kumar.
>
> ::DISCLAIMER::
> ________________________________
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
> ________________________________

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

end of thread, other threads:[~2020-05-05 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  6:23 openbmc build issue Kumar Thangavel
2020-05-04 15:53 ` Andrew Geissler
2020-05-05 10:17   ` Kumar Thangavel
2020-05-05 17:31     ` Sui Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.