Package: src:auctex
Version: 11.88-1.2
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
/bin/bash: git: command not found
dh build-indep --exclude .eperl --with tex
   dh_testdir -i -O--exclude=.eperl
   dh_update_autotools_config -i -O--exclude=.eperl
   dh_auto_configure -i -O--exclude=.eperl
        ./configure --build=x86_64-linux-gnu --prefix=/usr 
--includedir=\${prefix}/include --mandir=\${prefix}/share/man 
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
--disable-silent-rules --libexecdir=\${prefix}/lib/auctex 
--disable-maintainer-mode --disable-dependency-tracking
checking for make... make
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for date in ChangeLog... 2014-11-01
checking for release in ChangeLog... not found, using 2014-11-01 instead
checking for date in ChangeLog... 2014-10-29

[... snipped ...]

config.status: creating Makefile
config.status: creating tex-site.el.out
config.status: creating preview/preview.el
config.status: creating doc/Makefile
config.status: creating auctex.el
=== configuring in preview (/<<PKGBUILDDIR>>/preview)
configure: running /bin/bash ./configure --disable-option-checking 
'--prefix=/usr'  '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' 
'--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 
'--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' 
'--libexecdir=${prefix}/lib/auctex' '--disable-maintainer-mode' 
'--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 
--cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for /usr/bin/emacs... /usr/bin/emacs
checking if /usr/bin/emacs is XEmacs... no
checking for Emacs prefix... "/usr"
checking if Emacs is recent enough... yes
checking if build directory is valid... yes
checking where lisp files go... ${datadir}/emacs/site-lisp
checking what file to use for preview startup... 
${datadir}/emacs/site-lisp/preview-latex.el
checking where the package lisp files go... ${datadir}/emacs/site-lisp/auctex
checking where the data files go... ${datadir}/emacs/site-lisp/auctex
checking for the location of AUCTeX's tex-site.el... ..
checking for gs... gs
checking for latex... /usr/bin/latex
checking for pdflatex... /usr/bin/pdflatex
checking for tex... /usr/bin/tex
checking for prefix from kpsepath... "/usr"
checking for TDS-compliant directory... ${datadir}/texmf
Preview will be placed in ${datadir}/texmf/tex/latex/preview
Preview docs will be placed in ${datadir}/texmf/doc/latex/styles
checking for texhash... /usr/bin/texhash
checking for initexmf... /usr/bin/texhash
checking for glaring installation conflicts... probably none
configure: creating ./config.status
config.status: creating Makefile
config.status: creating auto.el
config.status: creating latex/Makefile

Congratulations!  Configuration of preview is complete.


Congratulations!  Configuration of AUCTeX is complete.

Type "make" at the prompt to build.
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/bash: git: command not found
chmod a+x debian/elcc
chmod: cannot access 'debian/elcc': No such file or directory
debian/rules:43: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:52: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The relevant part of the build log is included above.

Please note that there is both a "build" target and an
"override_dh_auto_build" target, but there are not build-arch or
build-indep targets.

This is not very orthodox and leads to funny failures like this one,
where "dpkg-buildpackage -A" and "dpkg-buildpackage" have different
results even if package is "Arch: all".

I would try removing the build target (and also fixing
override_dh_auto_build), since this package is supposed to have
switched to "dh".

While we are at it, we have now an "Arch: all" autobuilder. Please
consider uploading in source-only form so that these kind of bugs are
discovered earlier and do not propagate to testing.

Thanks.

Reply via email to