-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
sonic-net/sonic-buildimage: Build fails with only BULLSEYE enabled #11769
Comments
same here
|
This looks different from the original issue reported. |
@abdosi FYI- |
FRR bullseye migration change is posted |
This is not a supported build command. As of today, both Buster and Bullseye are needed to build a SONiC image. Is there a reason you are explicitly setting the |
@saiarcot895 To reduce the buildtime/space i thought we can build only one version of the debian distribution and build the image. Do we reuse the pkgs across debian distributions during build ? We should be able to build one version of the debian and create the image. |
Well the first time I tried it was the default makefile strech, buster, bulsseye. Which failed. |
Some containers are currently defined to be on Buster, whereas others are defined to be on Bullseye. For certain platforms, those platforms may have containers that are based on Stretch, and so Stretch will be required as well. Additionally, it is not that a version of Debian is being built; SONiC builds SONiC-specific/modified packages for a particular Debian distribution, which then get used in one of the Docker containers. Packages built for one version of Debian are not reused across Debian distributions, since those packages may need to be recompiled for newer libraries/dependencies.
The expectation is that just running |
Thank you I get it now. Also with latest fixes it builds successfully. |
Thanks @saiarcot895 for the clarification. I observed that for |
No, it's not configurable per platform. However, in terms of additional space/time used, it should only be the Stretch slave container that gets built. |
Thanks @saiarcot895 .. |
Description
Steps to reproduce the issue:
git clone https://github.com/sonic-net/sonic-buildimage
make init
make configure PLATFORM=broadcom
NOJESSIE=1 NOSTRETCH=1 NOBUSTER=1 NOBULLSEYE=0 make target/sonic-broadcom.bin
Describe the results you received:
Build error log below
Make: *** No rule to make target 'target/docker-fpm-frr.gz', needed by 'target/sonic-broadcom.bin'. Stop.
Describe the results you expected:
Build should work fine
The text was updated successfully, but these errors were encountered: