Package: src:lilo
Version: 1:24.2-1
User: sanv...@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
   dh_testdir -i
   dh_auto_configure -i
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
        make -j1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
./checkit
GCC version 3.3.5 or later is required
gcc version 5.2.1

[... snipped ...]

make[2]: Leaving directory '/<<PKGBUILDDIR>>/hooks'
make -C sample install
make[2]: Entering directory '/<<PKGBUILDDIR>>/sample'
mkdir -p $DESTDIR/etc
install -m 0644 lilo.example.conf $DESTDIR/etc/lilo.conf_example
make[2]: Leaving directory '/<<PKGBUILDDIR>>/sample'
make -C scripts install
make[2]: Entering directory '/<<PKGBUILDDIR>>/scripts'
mkdir -p $DESTDIR/usr/sbin
install -m 0755  liloconfig  $DESTDIR/usr/sbin
install -m 0755  lilo-uuid-diskid  $DESTDIR/usr/sbin
make[2]: Leaving directory '/<<PKGBUILDDIR>>/scripts'
make -C man install
make[2]: Entering directory '/<<PKGBUILDDIR>>/man'
mkdir -p $DESTDIR/usr/share/man/man5
for MF in lilo.conf; do \
  install -m 0644  $MF.5  $DESTDIR/usr/share/man/man5; \
done
mkdir -p $DESTDIR/usr/share/man/man8
for MF in keytab-lilo lilo-uuid-diskid lilo liloconfig mkrescue; do \
  install -m 0644  $MF.8  $DESTDIR/usr/share/man/man8; \
done
make[2]: Leaving directory '/<<PKGBUILDDIR>>/man'
make -C dos install
make[2]: Entering directory '/<<PKGBUILDDIR>>/dos'
if [ -d $DESTDIR/dosC/boot -a -f lilo.com ]; then \
  cp lilo.com $DESTDIR/dosC/boot; fi
make[2]: Leaving directory '/<<PKGBUILDDIR>>/dos'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
Set execute flag to chattr-lilo hook scripts
chmod 0755 debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo
chmod: cannot access 'debian/lilo/usr/lib/lilo/hooks/kernel/*/chattr-lilo': No 
such file or directory
debian/rules:20: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:10: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-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.

Reply via email to