[Pkg-zsh-devel] Bug#902526: zsh-syntax-highlighting: FTBFS in buster/sid (does not work with recent debhelper)

Santiago Vila sanvila at debian.org
Wed Jun 27 13:50:53 BST 2018


Package: src:zsh-syntax-highlighting
Version: 0.6.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A"
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
   dh_auto_build -i
	make -j1
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cd docs && \
cp highlighters.md all.md && \
printf '\n\nIndividual highlighters documentation\n=====================================' >> all.md && \
for doc in highlighters/*.md; do printf '\n\n'; cat "$doc"; done >> all.md
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

[... snipped ...]

ok 1 - [1,8] «rm -rf /»
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   create-stamp debian/debhelper-build-stamp
 fakeroot debian/rules binary-indep
dh binary-indep
   dh_testroot -i
   dh_prep -i
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_install -- PREFIX=/usr
	make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting AM_UPDATE_INFO_DIR=no PREFIX=/usr
make[2]: Entering directory '/<<PKGBUILDDIR>>'
cd docs && \
cp highlighters.md all.md && \
printf '\n\nIndividual highlighters documentation\n=====================================' >> all.md && \
for doc in highlighters/*.md; do printf '\n\n'; cat "$doc"; done >> all.md
install -c -d /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting
install -c -d /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting
cp .version zsh-syntax-highlighting.zsh /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting
cp COPYING.md README.md changelog.md /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting
sed -e '1s/ .*//' -e '/^\[build-status-[a-z]*\]: /d' < README.md > /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting/README.md
printf "%s_%s%s\n" "0.6.0-1" "debian" """" \
	> /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting/.version
printf "%s/%s\n" "debian" "0.6.0-1" \
	> /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting/.revision-hash
:
for dirname in highlighters highlighters/*/ ; do \
	install -c -d /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting/"$dirname"; \
	for fname in "$dirname"/*.zsh ; do [ -e "$fname" ] && cp "$fname" /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/zsh-syntax-highlighting"/$dirname"; done; \
done
cp -R docs/* /<<PKGBUILDDIR>>/debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting/COPYING.md
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -i
   debian/rules override_dh_installchangelogs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installchangelogs
rm debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting/changelog.md
rm: cannot remove 'debian/zsh-syntax-highlighting/usr/share/doc/zsh-syntax-highlighting/changelog.md': No such file or directory
debian/rules:14: recipe for target 'override_dh_installchangelogs' failed
make[1]: *** [override_dh_installchangelogs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is how the build ends in my autobuilder and it's not
necessarily the relevant part.

The failure is not, however, related to using dpkg-buildpackage -A,
as it also fails in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/zsh-syntax-highlighting.html

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the page for this package.

[ But in this case, I believe this is caused by a behaviour change in debhelper
  and I suppose you will have to cope with it ].

Thanks.



More information about the Pkg-zsh-devel mailing list