-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build image, 202111 branch, Error 2 #10055
Comments
Can you provide the following logs (if they exist on the
or the last changed ten (10) logs in the target folder? At first skim, it seems memory related. |
@mfyuce please help and thanks. |
Tried to run it again with
|
Thank you for the information. Logs inside each folder in "target" could be of help. For example "debs", "python-debs" etc folders will contain such logs. On the other hand, there is a bug in p4rt which is solved by this PR which is not integrated in the mainstream yet. Can you cherry pick it and apply it to your codes and then try it? Then lets us know "what happens". I say "what happens" because, that PR was for vs platform and there may be other issues related to broadcom binaries. Other than that, what I can say is, the public relations (PR :) ) at here seems a very early presentation for now, which I am still struggling to keep p4rt binary up inside p4rt docker container. That is to say, it seems, with the merge of "pins" to SONIC, there are things to overcome for easy and smooth working with p4rt. |
Description
Unable to build the image, following instructions on the README.md as per:
https://github.com/Azure/sonic-buildimage
Steps to reproduce the issue:
Fresh Ubuntu 20.04 install
sudo apt install -y python3-pip
sudo pip3 install j2cli
sudo apt install docker.io
sudo gpasswd -a ${USER} docker
git clone -b 202111 https://github.com/Azure/sonic-buildimage.git
sed -i 's/INCLUDE_ICCPD = n/INCLUDE_ICCPD = y/g' sonic-buildimage/rules/config
sudo modprobe overlay
cd sonic-buildimage
make init
make configure PLATFORM=broadcom
make SONIC_BUILD_JOBS=4 all
Also attempted to build without enabling ICCPD with the same results
Describe the results you received:
Build fails with Error 2
Describe the results you expected:
Successful build
Attached build log
buildlog.log
The text was updated successfully, but these errors were encountered: