Skip to content

SONiC image build error caused by isc-dhcp package build failure #15000

@patilshashidhar

Description

@patilshashidhar

Description

make[1]: Entering directory '/sonic/src/isc-dhcp'
# Remove any stale files
rm -rf ./isc-dhcp-4.4.1
# Get isc-dhcp release, debian files
dget http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.dsc
pushd ./isc-dhcp-4.4.1
# Create a git repository here for stg to apply patches
git init
git add -f *
git commit -qm "initial commit"
# Apply patches
stg init
stg import -s ../patch/series
# Build source and Debian packages
dpkg-buildpackage -rfakeroot -b -us -uc -j8 --admindir /sonic/dpkg/tmp.iGyqnlTHaI
popd
# Move the newly-built .deb packages to the destination directory
mv isc-dhcp-relay-dbgsym_4.4.1-2.3+deb11u1_amd64.deb isc-dhcp-relay_4.4.1-2.3+deb11u1_amd64.deb /sonic/target/debs/bullseye/
dget: retrieving http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.dsc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2716  100  2716    0     0  60355      0 --:--:-- --:--:-- --:--:-- 60355
dget: retrieving http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1.orig.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 1162k  100 1162k    0     0   368k      0  0:00:03  0:00:03 --:--:--  368k
dget: retrieving http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz
get_url_version http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz failed
dget: curl isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz failed
isc-dhcp_4.4.1-2.3+deb11u1.dsc:
      Good signature found
   validating isc-dhcp_4.4.1.orig.tar.gz
   skipping  isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz (not present)
All files validated successfully.
dpkg-source: error: cannot fstat file ./isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz: No such file or directory

The root cause is that isc-dhcp_4.4.1-2.3+deb11u1* files are unavailable. It looks like isc-dhcp_4.4.1-2.3+deb11u2 is the latest version.

Steps to reproduce the issue:

Build Sonic. This issue, strangely, is not seen in the mainline build . The packages may have been obtained from http proxy cache.

Describe the results you received:

curl -I  http://deb.debian.org/debian/pool/main/i/isc-dhcp/isc-dhcp_4.4.1-2.3+deb11u1.debian.tar.xz
HTTP/1.1 404 Not Found
Server: Apache
X-Content-Type-Options: nosniff

Describe the results you expected:

No build Errors.

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions