Skip to content
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

Build failure in 202405 due to ipmitool debian version changed #20301

Closed
krismarvell opened this issue Sep 19, 2024 · 1 comment
Closed

Build failure in 202405 due to ipmitool debian version changed #20301

krismarvell opened this issue Sep 19, 2024 · 1 comment

Comments

@krismarvell
Copy link
Contributor

krismarvell commented Sep 19, 2024

Description

SONiC 202405 build is failing with below errors.

[ FAIL LOG START ] [ target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb ]
Build start time: Wed Sep 18 17:55:23 UTC 2024
[ REASON ] : target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: Entering directory '/sonic/src/ipmitool'
Remove any stale files
rm -rf ./ipmitool-1.8.19 ./ipmitool*.{deb,udeb,dsc,gz,xz}
Obtain ipmitool
dget https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc
Build source and Debian packages
pushd ipmitool-1.8.19
git init
git add -f *
git commit -m "unmodified ipmitool source"
Apply patches
stg init
stg import -s ../patch/series
dpkg-buildpackage -rfakeroot -d -b -us -uc -j8 --admindir /sonic/dpkg/tmp.ZjNAfDiqv9
popd
mv ipmitool_1.8.19-4_amd64.deb ipmitool-dbgsym_1.8.19-4_amd64.deb /sonic/target/debs/bookworm/
dget: retrieving https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc
get_url_version https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc failed
dget: curl ipmitool_1.8.19-4.dsc https://deb.debian.org/debian/pool/main/i/ipmitool/ipmitool_1.8.19-4.dsc failed
make[1]: *** [Makefile:9: /sonic/target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb] Error 1
make[1]: Leaving directory '/sonic/src/ipmitool'
[ FAIL LOG END ] [ target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb ]

Steps to reproduce the issue:

  1. make configure PLATFORM=innovium
  2. make target/sonic-innovium.bin --> Fails for regular make here

Describe the results you received:

Build to be successful

Describe the results you expected:

Build has failed

Output of show version:

NA

Output of show techsupport:

NA

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

The reason for failure seems to be the below dsc file has been upgraded to 1.8.19-7 in the debian folders and the old 1.8.19-4 version dsc files has been removed. Changing the rules/ipmitool.mk file with 1.8.19-4+deb12u1 version helps solve the issue

@krismarvell
Copy link
Contributor Author

I see already this issue has been addressed in #20241 and backport for 202405 has been already made. Hence closing this issue

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

No branches or pull requests

1 participant