Bug#682596: gnutls26: Move some dependencies to Build-Depends-Indep

Andreas Metzler ametzler at downhill.at.eu.org
Sun Jul 29 12:20:10 UTC 2012


On 2012-07-24 "P. J. McDermott" <pjm at nac.net> wrote:
> Source: gnutls26
> Version: 2.12.20-1
> Severity: minor
> Tags: patch

> gtk-doc-tools and texinfo are only used in the build-indep target of
> debian/rules.  These build dependencies can therefore be moved to
> Build-Depends-Indep as in the attached patch (tested in a sid chroot).

This does not work for me, makeinfo is invoked by build-arch, as invoking
upstream's default target builds the texinfo docs:

(SID)ametzler at argenau:/tmp/GNUTLS/gnutls-2.12.20$ make
make  all-recursive
make[1]: Entering directory `/tmp/GNUTLS/gnutls-2.12.20'
make[4]: Entering directory `/tmp/GNUTLS/gnutls-2.12.20/doc'
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (/bin/bash /tmp/GNUTLS/gnutls-2.12.20/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
          for f in gnutls.info gnutls.info-[0-9] gnutls.info-[0-9][0-9] gnutls.i[0-9] gnutls.i[0-9][0-9]; do \
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
          done; \
        else :; fi && \
        cd "$am__cwd"; \
        if /bin/bash /tmp/GNUTLS/gnutls-2.12.20/build-aux/missing --run makeinfo -I ../doc  -I . \
         -o gnutls.info gnutls.texi; \
        then \
          rc=0; \
          CDPATH="${ZSH_VERSION+.}:" && cd .; \
        else \
          rc=$?; \
          CDPATH="${ZSH_VERSION+.}:" && cd . && \
          $restore $backupdir/* `echo "./gnutls.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
/tmp/GNUTLS/gnutls-2.12.20/build-aux/missing: line 52: makeinfo: command not found
WARNING: `makeinfo' is missing on your system.  You should only need it if
         you modified a `.texi' or `.texinfo' file, or any other file
         indirectly affecting the aspect of the manual.  The spurious
         call might also be the consequence of using a buggy `make' (AIX,
         DU, IRIX).  You might want to install the `Texinfo' package or
         the `GNU make' package.  Grab either from any GNU archive site.
make[4]: *** [gnutls.info] Error 1
make[4]: Leaving directory `/tmp/GNUTLS/gnutls-2.12.20/doc'

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-gnutls-maint mailing list