tar_1.29b-2ubuntu0.3 fails to build with nodoc build profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tar (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
tar source package fails to build with nodoc build profile (DEB_BUILD_
$ lsb_release -rd
Description: Ubuntu 18.04.6 LTS
Release: 18.04
$ apt-get source tar
$ cd tar-1.29b
$ DEB_BUILD_
...
dh_testdir
dh_testroot
dh_installdocs
mv -f debian/
mv: cannot stat 'debian/
debian/rules:87: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
-----
dh_installdocs and dh_installman are no-op under nodoc profile so build script should not assume that doc files are present:
diff -ru tar-1.29b.
--- tar-1.29b.
+++ tar-1.29b/
@@ -88,15 +88,15 @@
dh_testroot
mv -f debian/
- debian/
+ debian/
mv -f debian/
- debian/
+ debian/
mv debian/
- debian/
+ debian/
rm -f debian/