Bug#903182: mtr: FTBFS in buster/sid (dh_installman: Cannot find "mtr/mtr.8")

2018-08-09 Thread Niels Thykier
Samuel Henrique:
> Hello Niels,
> 
> I only had the time to look at this now, thanks for the fix, feel free
> to upload it now if you rather not wait for the 7 (now 4) days.
> 
> Regards,
> 

Thanks for reviewing.  I have uploaded it directly to unstable now. :)

Thanks,
~Niels



Bug#903182: mtr: FTBFS in buster/sid (dh_installman: Cannot find "mtr/mtr.8")

2018-08-09 Thread Samuel Henrique
Hello Niels,

I only had the time to look at this now, thanks for the fix, feel free
to upload it now if you rather not wait for the 7 (now 4) days.

Regards,

-- 
Samuel Henrique 



Bug#903182: mtr: FTBFS in buster/sid (dh_installman: Cannot find "mtr/mtr.8")

2018-07-07 Thread Santiago Vila
Package: src:mtr
Version: 0.92-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:


[...]
 debian/rules build-arch
dh build-arch
   dh_update_autotools_config -a
   dh_autoreconf -a
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<>'
./bootstrap.sh
touch configure.in && \
touch aclocal.m4 && \
touch configure
head -n 1 debian/changelog | sed 's/[^(]*(\([^-]*\)-.*/\1/' > .tarball-version
autoreconf -fi
autoreconf: 'configure.ac' and 'configure.in' both present.
autoreconf: proceeding with 'configure.ac'

[... snipped ...]

dh_auto_install --builddirectory=mtr --destdir=debian/mtr
cd mtr && make -j1 install DESTDIR=/<>/debian/mtr 
AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/<>/mtr'
make[3]: Entering directory '/<>/mtr'
 /bin/mkdir -p '/<>/debian/mtr/usr/bin'
  /usr/bin/install -c mtr mtr-packet '/<>/debian/mtr/usr/bin'
make  install-exec-hook
make[4]: Entering directory '/<>/mtr'
`setcap cap_net_raw+ep /<>/debian/mtr/usr/bin/mtr-packet` \
|| chmod u+s /<>/debian/mtr/usr/bin/mtr-packet
/bin/bash: line 1: setcap: command not found
make[4]: Leaving directory '/<>/mtr'
 /bin/mkdir -p 
'/<>/debian/mtr/usr/share/bash-completion/completions'
 /usr/bin/install -c -m 644 ../bash-completion/mtr 
'/<>/debian/mtr/usr/share/bash-completion/completions'
 /bin/mkdir -p '/<>/debian/mtr/usr/share/man/man8'
 /usr/bin/install -c -m 644 ../mtr.8 ../mtr-packet.8 
'/<>/debian/mtr/usr/share/man/man8'
make[3]: Leaving directory '/<>/mtr'
make[2]: Leaving directory '/<>/mtr'
dh_auto_install --builddirectory=mtr-tiny --destdir=debian/mtr-tiny
cd mtr-tiny && make -j1 install 
DESTDIR=/<>/debian/mtr-tiny AM_UPDATE_INFO_DIR=no
make[2]: Entering directory '/<>/mtr-tiny'
make[3]: Entering directory '/<>/mtr-tiny'
 /bin/mkdir -p '/<>/debian/mtr-tiny/usr/bin'
  /usr/bin/install -c mtr mtr-packet '/<>/debian/mtr-tiny/usr/bin'
make  install-exec-hook
make[4]: Entering directory '/<>/mtr-tiny'
`setcap cap_net_raw+ep /<>/debian/mtr-tiny/usr/bin/mtr-packet` \
|| chmod u+s /<>/debian/mtr-tiny/usr/bin/mtr-packet
/bin/bash: line 1: setcap: command not found
make[4]: Leaving directory '/<>/mtr-tiny'
 /bin/mkdir -p 
'/<>/debian/mtr-tiny/usr/share/bash-completion/completions'
 /usr/bin/install -c -m 644 ../bash-completion/mtr 
'/<>/debian/mtr-tiny/usr/share/bash-completion/completions'
 /bin/mkdir -p '/<>/debian/mtr-tiny/usr/share/man/man8'
 /usr/bin/install -c -m 644 ../mtr.8 ../mtr-packet.8 
'/<>/debian/mtr-tiny/usr/share/man/man8'
make[3]: Leaving directory '/<>/mtr-tiny'
make[2]: Leaving directory '/<>/mtr-tiny'
make[1]: Leaving directory '/<>'
   dh_installdocs -a
   debian/rules override_dh_installchangelogs-arch
make[1]: Entering directory '/<>'
dh_installchangelogs -a NEWS
make[1]: Leaving directory '/<>'
   dh_installman -a
dh_installman: Cannot find (any matches for) "mtr/mtr.8" (tried in .)

dh_installman: Aborting due to earlier error
debian/rules:7: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned 
exit status 2


The build was made with "dpkg-buildpackage -B" in my autobuilder
but it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mtr.html

[ Note: There has been a recent change in debhelper behaviour, the current
  behaviour is the intended one. See Bug #903133 for details ].

Thanks.