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

dget: curl ipmitool_1.8.19-4.dsc failed in building SONiC image #20442

Closed
Pan-XT opened this issue Oct 8, 2024 · 1 comment
Closed

dget: curl ipmitool_1.8.19-4.dsc failed in building SONiC image #20442

Pan-XT opened this issue Oct 8, 2024 · 1 comment

Comments

@Pan-XT
Copy link

Pan-XT commented Oct 8, 2024

Build start time: Tue Oct 8 05:51:26 UTC 2024
[ REASON ] : target/debs/bookworm/ipmitool_1.8.19-4_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j32 forced in submake: resetting jobserver mode.
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 -j32 --admindir /sonic/dpkg/tmp.pQ0SycQvu5
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
mkdir: cannot create directory '/vcache/sonic-slave-bookworm/web': Permission denied
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'

@Pan-XT Pan-XT closed this as completed Oct 9, 2024
@Pan-XT
Copy link
Author

Pan-XT commented Oct 9, 2024

Update ipmitool version to ipmitool_1.8.19-4+deb12u1 (#20241)

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