Greetings,

I am writing to seek assistance regarding an issue I've encountered while attempting to build SONiC for the Broadcom ASIC from the master branch.
The build process is currently failing due to the following error:

[ FAIL LOG START ] [ target/debs/bookworm/libsnmp-dev_5.9.3+dfsg-2_amd64.deb-install ]
Build start time: Wed Jan 14 13:31:16 UTC 2026
dpkg: warning: downgrading libsnmp-dev from 5.9.3+dfsg-2+deb12u1 to 5.9.3+dfsg-2
(Reading database ... 226131 files and directories currently installed.)
Preparing to unpack .../libsnmp-dev_5.9.3+dfsg-2_amd64.deb ...
Unpacking libsnmp-dev (5.9.3+dfsg-2) over (5.9.3+dfsg-2+deb12u1) ...
dpkg: dependency problems prevent configuration of libsnmp-dev:
 libsnmp-dev depends on libnetsnmptrapd40 (= 5.9.3+dfsg-2); however:
  Version of libnetsnmptrapd40:amd64 on system is 5.9.3+dfsg-2+deb12u1.
dpkg: error processing package libsnmp-dev (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Errors were encountered while processing:
 libsnmp-dev
[  FAIL LOG END  ] [ target/debs/bookworm/libsnmp-dev_5.9.3+dfsg-2_amd64.deb-install ]

Could anyone who has faced a similar issue provide guidance on how to resolve this problem?

Any assistance would be greatly appreciated.

Thank you for your time and help.

--
Rankan Sen
 

Cloud&Heat

Cloud&Heat Technologies GmbH
Königsbrücker Straße 96 (Halle 15) | 01099 Dresden
+49 351 479 367 00
rankan.sen@cloudandheat.com | www.cloudandheat.com

Green, Open, Efficient.
Ihr Cloud-Service- und Cloud-Technologie-Provider aus Dresden.

Commercial Register: District Court Dresden
Register Number: HRB 30549
VAT ID No.: DE281093504
Managing Director: Nicolas Röhrs
Authorized signatory: Dr. Marius Feldmann