Package: r-base
Version: 3.2.1-1
Severity: serious
Tags: patch

The build system believes that texi2any's version is < 5.1 and will
therefore not build the documentation, and then the package fails
because the docs are missing.

LaTeX was updated recently and now we have:

$ texi2any --version
texi2any (GNU texinfo) 6.0

which ./configure believes is smaller than 5.1.

I've attached a patch against configure, although I wonder whether
configure.ac or some other script needs to be patched.  Do you know if
that MAKEINFO configure code is r-base specific or does it come from
somewhere else?

Martin


> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
....
> checking for makeindex... /usr/bin/makeindex
> checking for texi2any... /usr/bin/texi2any
> checking whether texi2any version is at least 5.1... no
...
> make[3]: Entering directory '/«PKGBUILDDIR»/doc/manual'
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-FAQ.html will be missing and linked from CRAN
> creating doc/manual/version.texi
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-admin.html will be missing and linked from CRAN
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-data.html will be missing and linked from CRAN
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-exts.html will be missing and linked from CRAN
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-intro.html will be missing and linked from CRAN
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-ints.html will be missing and linked from CRAN
> 'texi2any' v5.1 or later needed to make HTML docs but missing on your system.
> file R-lang.html will be missing and linked from CRAN
...
> touch install-indep-stamp
> gunzip -9v /«PKGBUILDDIR»/debian/r-base-core/usr/share/info/*.gz
> gzip: /«PKGBUILDDIR»/debian/r-base-core/usr/share/info/*.gz: No such file or 
> directory
> debian/rules:395: recipe for target 'install-arch-stamp' failed
> make: *** [install-arch-stamp] Error 1
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
> 2
> ────────────────────────────────────────────────────────────────────────────────

-- 
Martin Michlmayr
Linux for HP Helion OpenStack, Hewlett-Packard
--- configure~	2015-06-29 14:47:14.497520859 +0000
+++ configure	2015-06-29 14:52:04.313526857 +0000
@@ -5269,6 +5269,8 @@
 if test -z "${texi2any_version_maj}" \
      || test -z "${texi2any_version_min}"; then
   r_cv_prog_texi2any_v5=no
+elif test ${texi2any_version_maj} -gt 5; then
+  r_cv_prog_texi2any_v5=yes
 elif test ${texi2any_version_maj} -lt 5 \
      || test ${texi2any_version_min} -lt 1; then
   r_cv_prog_texi2any_v5=no

Reply via email to