openbmc build issue.
suichen6 at gmail.com
Wed May 6 03:31:44 AEST 2020
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).
On Tue, May 5, 2020 at 6:49 AM Kumar Thangavel <thangavel.k at hcl.com> wrote:
> Hi Andrew,
> Thanks for your response and information. We are checking on the python3 issue.
> -----Original Message-----
> From: Andrew Geissler <geissonator at gmail.com>
> Sent: Monday, May 4, 2020 9:23 PM
> To: Kumar Thangavel <thangavel.k at hcl.com>
> Cc: openbmc at lists.ozlabs.org; Velumani T-ERS,HCLTech <velumanit at 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 at 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.
> 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.
More information about the openbmc