help-libidn
[Top][All Lists]
Advanced

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

Bug#949705: libidn2: binary-arch target depends on makeinfo (but texinfo


From: Salvatore Bonaccorso
Subject: Bug#949705: libidn2: binary-arch target depends on makeinfo (but texinfo is in Build-Depends-Indep)
Date: Thu, 23 Jan 2020 22:53:58 +0100

Source: libidn2
Version: 2.2.0-2
Severity: serious
Justification: FTBFS
Control: found -1 2.0.5-1

Hi

The binary-arch target would depend on makeinfo, but texinfo is only
listed in Build-Depends-Indep. 

When there is need to patch libidn2 and builds are then done by
buildds this would cause FTBFS on every architecture. How to
reproduce:

Install only the Build-Depends as done on buildds.

touch lib/lookup.c and only build the arch:any binary packages
(dpkg-buildpackage -G or debian/rules build-arch). From the build log:

> [...]
> mkdir -p `dirname texi/lookup.c.texi`
> ../doc/gdoc -texinfo  ../lib/lookup.c > texi/lookup.c.texi
> mkdir -p `dirname texi/idn2_lookup_u8.texi`
> ../doc/gdoc -texinfo  -function idn2_lookup_u8 ../lib/lookup.c > 
> texi/idn2_lookup_u8.texi
> mkdir -p `dirname texi/idn2_lookup_ul.texi`
> ../doc/gdoc -texinfo  -function idn2_lookup_ul ../lib/lookup.c > 
> texi/idn2_lookup_ul.texi
> mkdir -p `dirname texi/idn2_to_ascii_4i.texi`
> ../doc/gdoc -texinfo  -function idn2_to_ascii_4i ../lib/lookup.c > 
> texi/idn2_to_ascii_4i.texi
> mkdir -p `dirname texi/idn2_to_ascii_4i2.texi`
> ../doc/gdoc -texinfo  -function idn2_to_ascii_4i2 ../lib/lookup.c > 
> texi/idn2_to_ascii_4i2.texi
> mkdir -p `dirname texi/idn2_to_ascii_4z.texi`
> ../doc/gdoc -texinfo  -function idn2_to_ascii_4z ../lib/lookup.c > 
> texi/idn2_to_ascii_4z.texi
> mkdir -p `dirname texi/idn2_to_ascii_8z.texi`
> ../doc/gdoc -texinfo  -function idn2_to_ascii_8z ../lib/lookup.c > 
> texi/idn2_to_ascii_8z.texi
> mkdir -p `dirname texi/idn2_to_ascii_lz.texi`
> ../doc/gdoc -texinfo  -function idn2_to_ascii_lz ../lib/lookup.c > 
> texi/idn2_to_ascii_lz.texi
> restore=: && backupdir=".am$$" && \
> am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
> rm -rf $backupdir && mkdir $backupdir && \
> if (/bin/bash /build/libidn2-2.2.0/build-aux/missing makeinfo --version) 
> >/dev/null 2>&1; then \
>   for f in libidn2.info libidn2.info-[0-9] libidn2.info-[0-9][0-9] 
> libidn2.i[0-9] libidn2.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 /build/libidn2-2.2.0/build-aux/missing makeinfo   -I . \
>  -o libidn2.info libidn2.texi; \
> then \
>   rc=0; \
>   CDPATH="${ZSH_VERSION+.}:" && cd .; \
> else \
>   rc=$?; \
>   CDPATH="${ZSH_VERSION+.}:" && cd . && \
>   $restore $backupdir/* `echo "./libidn2.info" | sed 's|[^/]*$||'`; \
> fi; \
> rm -rf $backupdir; exit $rc
> /build/libidn2-2.2.0/build-aux/missing: line 81: makeinfo: command not found
> WARNING: 'makeinfo' is missing on your system.
>          You should only need it if you modified a '.texi' file, or
>          any other file indirectly affecting the aspect of the manual.
>          You might want to install the Texinfo package:
>          <https://www.gnu.org/software/texinfo/>
>          The spurious makeinfo call might also be the consequence of
>          using a buggy 'make' (AIX, DU, IRIX), in which case you might
>          want to install GNU make:
>          <https://www.gnu.org/software/make/>
> make[6]: *** [Makefile:1173: libidn2.info] Error 127
> make[6]: Leaving directory '/build/libidn2-2.2.0/doc'
> make[5]: *** [Makefile:1426: all-recursive] Error 1
> make[5]: Leaving directory '/build/libidn2-2.2.0/doc'
> make[4]: *** [Makefile:1131: all] Error 2
> make[4]: Leaving directory '/build/libidn2-2.2.0/doc'
> make[3]: *** [Makefile:1098: all-recursive] Error 1
> make[3]: Leaving directory '/build/libidn2-2.2.0'
> make[2]: *** [Makefile:1007: all] Error 2
> make[2]: Leaving directory '/build/libidn2-2.2.0'
> dh_auto_build: error: make -j1 returned exit code 2
> make[1]: *** [debian/rules:34: override_dh_auto_build] Error 25
> make[1]: Leaving directory '/build/libidn2-2.2.0'
> make: *** [debian/rules:7: build-arch] Error 2

Regards,
Salvatore



reply via email to

[Prev in Thread] Current Thread [Next in Thread]