[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891696: miniupnpc: FTBFS on non-Linux: Cannot find miniupnpc.3.gz

Source: miniupnpc
Version: 2.0.20171212-3
Severity: normal
User: debian-hurd@lists.debian.org
Usertags: hurd

Builds of miniupnpc for hurd-i386 (admittedly not a release
architecture) have been failing lately:

     dh_install -a -O--buildsystem=makefile
  dh_install: Cannot find (any matches for) "usr/share/man/man3/miniupnpc.3.gz" (tried in ., debian/tmp)
  dh_install: libminiupnpc-dev missing files: usr/share/man/man3/miniupnpc.3.gz
  dh_install: missing files, aborting
  debian/rules:12: recipe for target 'binary-arch' failed
  make: *** [binary-arch] Error 2

The issue appears to be that the upstream makefile conditionally
compresses this manpage [1], whereas libminiupnpc.install specifically
expects it to be compressed.  (As such, builds for kFreeBSD would fail
in the same fashion if and when they ever come back.) You might consider
using a wildcard in the install file (.../miniupnpc.3*) and letting
dh_compress take care of compression as needed.

Could you please take a look?


[1] https://sources.debian.org/src/miniupnpc/2.0.20171212-3/Makefile/#L254

Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu

Reply to: