ossobv / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
0 stars 0 forks source link

build: Missing target/docker-gbsyncd-credo.gz rule #9

Open wdoekes opened 2 weeks ago

wdoekes commented 2 weeks ago

What

[ 01 ] [ target/debs/bookworm/libteam5_1.31-1_amd64.deb ]
[ 01 ] [ target/debs/bookworm/libsaivs-dev_1.0.0_amd64.deb-install ]
dpkg-query: package 'libsaibcm-dev' is not installed and no information is available
[ 01 ] [ target/debs/bookworm/swss_1.0.0_amd64.deb ]
[ 01 ] [ target/debs/bookworm/sonic-mgmt-common_1.0.0_amd64.deb ]
[ 01 ] [ target/debs/bookworm/sonic-gnmi_0.1_amd64.deb ]
[ 01 ] [ target/debs/bookworm/lldpd_1.0.16-1+deb12u1_amd64.deb ]
[ 01 ] [ target/python-wheels/bookworm/sonic_d-2.0.0-py3-none-any.whl ]
[ 01 ] [ target/debs/bookworm/iptables_1.8.9-2_amd64.deb ]
[ 01 ] [ target/python-wheels/bookworm/scapy-2.4.5-py2.py3-none-any.whl ]
[ 01 ] [ target/debs/bookworm/lm-sensors_3.6.0-7.1_amd64.deb ]
[ 01 ] [ target/python-wheels/bookworm/sonic_ledd-1.1-py3-none-any.whl ]
[ 01 ] [ target/python-wheels/bookworm/sonic_pcied-1.0-py3-none-any.whl ]
[ 01 ] [ target/python-wheels/bookworm/sonic_stormond-1.0-py3-none-any.whl ]
[ 01 ] [ target/python-wheels/bookworm/sonic_platform_pddf_common-1.0-py3-none-any.whl ]
[ 01 ] [ target/debs/bookworm/sonic-rest-api_1.0.1_amd64.deb ]
[ 01 ] [ target/debs/bookworm/hsflowd_2.0.51-26_amd64.deb ]
[ 01 ] [ target/debs/bookworm/sflowtool_5.04_amd64.deb ]
[ 01 ] [ target/debs/bookworm/psample_1.1-1_amd64.deb ]
[ 01 ] [ target/debs/bookworm/sonic-mgmt-framework_1.0-01_amd64.deb ]
[ 01 ] [ target/debs/bookworm/libsaibcm_11.2.13.1_amd64.deb ]
[ 01 ] [ target/debs/bookworm/libsaibcm-dev_11.2.13.1_amd64.deb-install ]
dpkg-query: package 'libsaivs-dev' is not installed and no information is available
[ 01 ] [ target/debs/bookworm/syncd_1.0.0_amd64.deb ]
[ 01 ] [ target/debs/bookworm/libsaibcm_dnx_11.2.9.1_amd64.deb ]
make: *** No rule to make target 'target/docker-gbsyncd-credo.gz', needed by 'target/sonic-broadcom.bin'.  Stop.
make[1]: *** [Makefile.work:605: all] Error 2
make[1]: Leaving directory '/home/sonic-builder/build/sonic-buildimage'
make: *** [Makefile:49: all] Error 2

Fix?

--- a/rules/config
+++ b/rules/config
@@ -180,7 +180,7 @@ ENABLE_NATIVE_WRITE = y
 INCLUDE_MACSEC = y

 # INCLUDE_GBSYNCD - build docker-gbsyncd-* for gearbox support
-INCLUDE_GBSYNCD ?= y
+INCLUDE_GBSYNCD ?= n

 # INCLUDE_TEAMD - build docker-teamd for LAG protocol support
 INCLUDE_TEAMD ?= y

We don't need gearbox support. I think...

The question remains why we didn't have this problem with the 202405 build.