Skip to content

test-crossbuild-*: dch: command not found

While reviewing build logs I noticed that the test-crossbuild-* jobs emit:

$ if ! grep -qE "^Architecture:\s*${pattern}" debian/control; then
$ unset pattern
$ cd ${OLDPWD}
$ cd "${WORKING_DIR}/${SOURCE_DIR}"
$ dist=$(dpkg-parsechangelog --show-field=distribution || echo UNRELEASED)
/usr/bin/bash: line 269: dpkg-parsechangelog: command not found
$ clbak="/tmp/debian.changelog"
$ cp debian/changelog "${clbak}"
$ if [ "$VENDOR" = ubuntu ] && [ "${dist}" = UNRELEASED ]
then
  dist=questing
elif [ "${dist}" = UNRELEASED ]
then
  dch --release foo || true; dist=$(dpkg-parsechangelog --show-field=distribution || echo UNRELEASED); cat "${clbak}" >debian/changelog;
fi
/usr/bin/bash: line 281: dch: command not found
/usr/bin/bash: line 281: dpkg-parsechangelog: command not found

However, the script does not stop executing on this error.

This should probably be fixed by making sure that registry.salsa.debian.org/salsa-ci-team/pipeline/base:unstable and other images used in crossbuilds have dch and dpkg-parsechangelog installed.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information