[Marvell-arm64]: Fix SYNCD_RPC build #17266
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Change-Id: I0bd4932d03141f3f7bc523b49a1bf3d1809817a8
Why I did it
With 'ENABLE_SYNCD_RPC' flag enabled, compilation for marvell-arm64 was failing. Failure was due to bookworm now being default docker and absence of python2 support in it.
dh: error: unable to load addon python2: Can't locate Debian/Debhelper/Sequence/python2.pm in @inc (you may need to install the Debian::Debhelper::Sequence::python2 module) (@inc contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/aarch64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at (eval 11) line 1.
BEGIN failed--compilation aborted at (eval 11) line 1.
make[2]: *** [debian/rules:91: clean] Error 25
make[2]: Leaving directory '/sonic/src/thrift/thrift-0.11.0'
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
make[1]: *** [Makefile:16: /sonic/target/debs/bookworm/libthrift-0.11.0_0.11.0-4_arm64.deb] Error 2
make[1]: Leaving directory '/sonic/src/thrift'
Work item tracking
How I did it
Marking syncd_rpc components also to be built with bullsyeye.
How to verify it
Completion of build with 'ENABLE_SYNCD_RPC' flag enabled and checked for "show interface up" by loading the image.
Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)