sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
715 stars 1.37k forks source link

SONiC 202205 build fails to retrieve hiredis_0.14.0-3~bpo9+1.dsc #15588

Open spilkey-cisco opened 1 year ago

spilkey-cisco commented 1 year ago

Description

hiredis_0.14.0-3~bpo9+1.dsc does not exist in http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis Looks like it was moved from main to archive: http://archive.debian.org/debian/pool/main/h/hiredis/

Location: http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.dsc [following]
--2023-06-20 21:48:26--  http://cdn-fastly.deb.debian.org/debian/pool/main/h/hiredis/hiredis_0.14.0-3~bpo9+1.dsc
2023-06-20 21:48:26 ERROR 404: Not Found.

Steps to reproduce the issue:

make all of sonic-buildimage 202205 branch

Removing ~bpo9+1 from https://github.com/sonic-net/sonic-buildimage/blob/202205/rules/hiredis.mk#L4 was used as a workaround, and the build succeeded.

Similar to issue https://github.com/sonic-net/sonic-buildimage/issues/14854

chidanandg commented 1 year ago

Yes, this link http://archive.debian.org/debian/pool/main/h/hiredis/ worked for me. I modified the hiredis Makefile with the said link and my sonic build went through.

I am using older version of sonic (from Jun 2022). Would it be right to change the Makefile? Is there any other generic option ?

mestery commented 1 year ago

Hitting the same issue here. What would the correct fix for this be on the 202205 branch?

tjchadaga commented 1 year ago

@spilkey-cisco - Appears to be fixed by https://github.com/sonic-net/sonic-buildimage/pull/15651. Please verify