ossobv / sonic-buildimage

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

build: Binary blobs missing :cry: #22

Open wdoekes opened 1 week ago

wdoekes commented 1 week ago

And so it begins...

[ FAIL LOG START ] [ target/files/bookworm/bcmcmd ]
Build start time: Fri Nov 8 16:37:30 UTC 2024
get_url_version https://sonicstorage.blob.core.windows.net/public/20190307/bcmcmd failed
[  FAIL LOG END  ] [ target/files/bookworm/bcmcmd ]
$ curl https://sonicstorage.blob.core.windows.net/public/20190307/dsserve
<?xml version="1.0" encoding="utf-8"?><Error><Code>PublicAccessNotPermitted</Code><Message>Public access is not permitted on this storage account.
RequestId:e40f122e-501e-0027-63fc-31d693000000

~Upstream: #-20737~

Upstream issue

github.com/sonic-net/sonic-buildimage/issues?x#20755

wdoekes commented 1 week ago

Makefile for gathering libsaibcm*:

.PHONY: all
all: \
    11.2.13.1 \
    11.2.12.1 \
    11.2.11.1 \
    11.2.9.1 \
    11.2.8.1 \
    11.2.7.1 \
    11.2.5.1 \
    11.2.4.1 \
    10.1.42.0 \
    9.2.12.1 \
    8.4.31.0 \
    7.1.111.1 \
    6.1.0.3 \
    6.0.0.10-1 \
    5.0.0.8 \
    4.3.3.5-1 \
    3.7.3.3 \
    3.1.3.5-12 \
    2.1.5.1-16-20170712202323.49 \
    2.0.3.7-1 \
    2.0.3.7

11.2.%:
    $(MAKE) BCMVER=$@ BCMBRANCH=SAI_11.2.0_GA libsaibcm_amd64.deb libsaibcm-dev_amd64.deb libsaibcm_dnx_amd64.deb libsaibcm_dnx-dev_amd64.deb
10.1.%:
    $(MAKE) BCMVER=$@ BCMBRANCH=SAI_10.1.0_GA libsaibcm_amd64.deb libsaibcm-dev_amd64.deb libsaibcm_dnx_amd64.deb libsaibcm_dnx-dev_amd64.deb
9.2.%:
    $(MAKE) BCMVER=$@ BCMBRANCH=SAI_9.2.0.3 libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
8.4.%:
    $(MAKE) BCMVER=$@ BCMBRANCH=SAI_8.4.0_GA libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
7.1.%:
    $(MAKE) BCMVER=$@ BCMPATH=public/sai/bcmsai/REL_7.0_SAI_1.11/$@ libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
6.1.%:
    $(MAKE) BCMVER=$@ BCMPATH=public/sai/bcmsai/REL_6.1/$@ libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
6.0.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai/6.0/master/XGS libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
5.0.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai/5.0/master libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
4.3.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai/4.3/master libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
3.7.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai/3.7 libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
3.5.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai/3.5 libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
3.1.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages/bcmsai libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
3.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
2.%:
    $(MAKE) BCMVER=$@ BCMPATH=packages libsaibcm_amd64.deb libsaibcm-dev_amd64.deb

.PHONY: libsaibcm_amd64.deb libsaibcm-dev_amd64.deb
libsaibcm_amd64.deb: libsaibcm_$(BCMVER)_amd64.deb
libsaibcm-dev_amd64.deb: libsaibcm-dev_$(BCMVER)_amd64.deb

.PHONY: libsaibcm_dnx_amd64.deb libsaibcm_dnx-dev_amd64.deb
libsaibcm_dnx_amd64.deb: libsaibcm_dnx_$(BCMVER)_amd64.deb
libsaibcm_dnx-dev_amd64.deb: libsaibcm_dnx-dev_$(BCMVER)_amd64.deb

ifneq (,$(BCMPATH))
libsaibcm_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/$(BCMPATH)/$@
libsaibcm-dev_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/$(BCMPATH)/$@
else
libsaibcm_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/public/sai/sai-broadcom/$(BCMBRANCH)/$(BCMVER)/xgs/$@
libsaibcm-dev_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/public/sai/sai-broadcom/$(BCMBRANCH)/$(BCMVER)/xgs/$@
libsaibcm_dnx_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/public/sai/sai-broadcom/$(BCMBRANCH)/$(BCMVER)/dnx/$@
libsaibcm_dnx-dev_$(BCMVER)_amd64.deb:
    wget https://sonicstorage.blob.core.windows.net/public/sai/sai-broadcom/$(BCMBRANCH)/$(BCMVER)/dnx/$@
endif