Build failure: cp: cannot stat 'FAQ'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tmux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm trying to build the latest (bionic) package from source using backportpackage on trusty. This is my command line:
backportpackage --workdir . --build --dont-sign --source bionic tmux
This build fails with the following messages in the end:
...
make[1]: Leaving directory `/tmp/buildd/
dh_installdocs -O--parallel
cp: cannot stat 'FAQ': No such file or directory
dh_installdocs: cp -a FAQ debian/
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/
backportpackage: Error: Failed to build tmux_2.
I guess it has to do with the FAQ being removed from the upstream repository with version 2.6.
Hi,
actually even on the bionic build this is missing.
See [1] throwing:
dh_installdocs -O--parallel
dh_installdocs: Cannot find (any matches for) "FAQ" (tried in .)
So I'd assume that the new debhelper is more tolerant about that but it would be nice to fix in newer releases just as much.
It just seems non fatal with newer debhelper and compat level.
For you I'd say just drop FAQ from debian/docs:1:FAQ
This is not so much a bug in Ubuntu - neither tmux nor debhelper so I set the bug to incomplete.
If you think it is please explain and set it back to new.
I hope the explanation helps.
[1]: https:/ /launchpadlibra rian.net/ 343997307/ buildlog_ ubuntu- bionic- amd64.tmux_ 2.6-1_BUILDING. txt.gz