While building the package for operations/software/tools-webservice (https://gerrit.wikimedia.org/r/#/c/430647/) the debian glue job fails to find the package name:
I: user script /srv/pbuilder/build/cow.29670/tmp/hooks/B90lintian starting + apt-get -y install lintian + lintian --version Lintian v2.5.22ubuntu1 +++ realpath /tmp/buildd/toollabs-webservice-0.39+0~20180504000124.1185+trusty~1.gbpce2144/debian/.. /tmp/hooks/B90lintian: line 21: realpath: command not found ++ basename '' + PACKAGE_NAME= + echo 'Found package name: ' Found package name: + lintian_out=/tmp/buildd/.lintian.txt
Eventually the Jenkins job fails to find a lintian.txt file and errors out:
[debian-glue] $ /bin/bash -xe /tmp/jenkins1156461214733163554.sh + suffix=.lintian.txt + for x in '*$suffix' + echo 'Converting lintian file *.lintian.txt' Converting lintian file *.lintian.txt + cat '*.lintian.txt' cat: *.lintian.txt: No such file or directory Build step 'Execute shell' marked build as failure
/usr/bin/realpath is provided by coreutils and is not a build dependency of operations/software/tools-webservice.
See:
https://github.com/mika/jenkins-debian-glue/pull/193#pullrequestreview-117716778