Add comprehensive debugging to CI workflow
All checks were successful
Build ostree packages from sid to trixie / build (push) Successful in 50s

- Add verbose output to dpkg-buildpackage command
- Show debian/rules and debian/changelog contents
- Add more detailed error checking for build failures
- This will help identify why only source packages are being created
This commit is contained in:
robojerk 2025-09-06 09:47:38 -07:00
parent 0224f0cbca
commit f75745e90c

View file

@ -115,6 +115,10 @@ jobs:
ls -la debian/
echo 'Control file:'
cat debian/control
echo 'Rules file:'
cat debian/rules
echo 'Changelog:'
head -20 debian/changelog
# Build packages
echo 'Building ostree packages...'
@ -129,7 +133,8 @@ jobs:
dpkg -l | grep libfuse3-dev || echo "libfuse3-dev not found"
dpkg -l | grep libsystemd-dev || echo "libsystemd-dev not found"
if dpkg-buildpackage -us -uc -b; then
echo 'Running dpkg-buildpackage with verbose output...'
if dpkg-buildpackage -us -uc -b -v; then
echo 'Build successful!'
else
echo 'Build failed! Checking for any partial packages...'
@ -138,6 +143,10 @@ jobs:
ls -la /tmp/ostree-*/ 2>/dev/null || echo 'No build directory found'
echo 'Checking for build errors...'
find /tmp -name "*.log" -exec echo "=== {} ===" \; -exec cat {} \; 2>/dev/null || echo 'No log files found'
echo 'Checking debian/rules...'
cat debian/rules 2>/dev/null || echo 'No debian/rules found'
echo 'Checking debian/control...'
cat debian/control 2>/dev/null || echo 'No debian/control found'
exit 1
fi