Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
patilshashidhar opened this issue May 10, 2023 · 0 comments · Fixed by #15002
Closed

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

patilshashidhar opened this issue May 10, 2023 · 0 comments · Fixed by #15002

Comments

@patilshashidhar
Copy link

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):

StormLiangMS pushed a commit that referenced this issue May 11, 2023
…5002)

Why I did it
Fix #15000
isc-dhcp 4.4.1-2.3+deb11u1 is no longer available in debian repository

How I did it
update isc-dhcp to new version 4.4.1-2.3+deb11u2
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 11, 2023
…nic-net#15002)

Why I did it
Fix sonic-net#15000
isc-dhcp 4.4.1-2.3+deb11u1 is no longer available in debian repository

How I did it
update isc-dhcp to new version 4.4.1-2.3+deb11u2
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 20, 2023
…nic-net#15002)

Why I did it
Fix sonic-net#15000
isc-dhcp 4.4.1-2.3+deb11u1 is no longer available in debian repository

How I did it
update isc-dhcp to new version 4.4.1-2.3+deb11u2
volodymyrsamotiy pushed a commit to volodymyrsamotiy/sonic-buildimage that referenced this issue Sep 26, 2023
…15002)

Why I did it
Fix sonic-net#15000
isc-dhcp 4.4.1-2.3+deb11u1 is no longer available in debian repository

How I did it
update isc-dhcp to new version 4.4.1-2.3+deb11u2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant