[Pkg-ganeti-devel] Bug#816978: ganeti: FTBFS when built with dpkg-buildpackage -A (Could not parse literal_block as "javascript".)

Santiago Vila sanvila at debian.org
Sun Mar 6 23:27:05 UTC 2016


Package: src:ganeti
Version: 2.15.2-2
User: sanvila at debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with python2,sphinxdoc,bash_completion,autoreconf
   dh_testdir -i
   dh_update_autotools_config -i
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_autoreconf /<<PKGBUILDDIR>>/autogen.sh
configure.ac:15: installing 'autotools/install-sh'
configure.ac:15: installing 'autotools/missing'
Makefile.am:443: installing 'autotools/py-compile'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_configure

[... snipped ...]

set -e; \
{ echo '.. This file is automatically updated at build time from NEWS.'; \
  echo '.. Do not edit.'; \
  echo; \
  cat NEWS; \
} > doc/news.rst
set -e; \
{ echo '.. This file is automatically updated at build time from UPGRADE.'; \
  echo '.. Do not edit.'; \
  echo; \
  cat UPGRADE; \
} > doc/upgrade.rst
if test -n ''; then \
  echo 'Man pages in documentation were disabled at configure time' >&2; \
  exit 1; \
fi
dir=doc/html/ && \
/bin/mkdir -p $dir && \
PYTHONPATH=. ENABLE_MANPAGES= COPY_DOC=1 \
        HTML_THEME=classic \
./autotools/run-in-tempdir autotools/sphinx-wrapper /usr/bin/sphinx-build -q -W -b html \
    -d . \
    -D version="2.15" \
    -D release="2.15.2" \
    -D graphviz_dot="/usr/bin/dot" \
    doc /<<PKGBUILDDIR>>/$dir && \
rm -f $dir/.buildinfo $dir/objects.inv

Warning, treated as error:
/tmp/gntbuild.Yf1yXf9O/doc/design-chained-jobs.rst:87: WARNING: Could not parse literal_block as "javascript". highlighting skipped.

Makefile:4283: recipe for target 'doc/html/index.html' failed
make[2]: *** [doc/html/index.html] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:76: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:15: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.



More information about the Pkg-ganeti-devel mailing list