[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806218: base-installer: FTBFS when built with dpkg-buildpackage -A (Directory nonexistent)



Package: src:base-installer
Version: 1.157
User: sanvila@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>>'
debian/templates-build.pl amd64 < debian/templates-arch > debian/templates.gen
# give the new templates file the same mtime as the input file, so
# that po2debconf doesn't decide that it needs to run
# debconf-updatepo
touch -mr debian/templates-arch debian/templates.gen
/usr/bin/make small 

[... snipped ...]

armeb: 6 passes, 0 failures.
armel: 92 passes, 0 failures.
armhf: 104 passes, 0 failures.
hppa: 36 passes, 0 failures.
i386: 314 passes, 0 failures.
ia64: 22 passes, 0 failures.
m68k: 14 passes, 0 failures.
mips: 97 passes, 0 failures.
mipsel: 85 passes, 0 failures.
powerpc: 134 passes, 0 failures.
ppc64el: 16 passes, 0 failures.
s390x: 7 passes, 0 failures.
sh4: 20 passes, 0 failures.
sparc: 36 passes, 0 failures.
kfreebsd-amd64: 16 passes, 0 failures.
kfreebsd-i386: 32 passes, 0 failures.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/kernel'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 fakeroot debian/rules binary-indep
dh binary-indep
   dh_testroot -i
   dh_prep -i
   dh_auto_install -i
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
if [ -e "kernel/amd64.sh" ]; then \
	install -D -m644 "kernel/amd64.sh" \
	                 debian/bootstrap-base/usr/lib/base-installer/kernel.sh; \
fi
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_installdocs -i
   dh_installchangelogs -i
   debian/rules override_dh_installdebconf
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_installdebconf
(echo ; cat debian/templates.gen) >> debian/bootstrap-base/DEBIAN/templates
/bin/sh: 1: cannot create debian/bootstrap-base/DEBIAN/templates: Directory nonexistent
debian/rules:40: recipe for target 'override_dh_installdebconf' failed
make[1]: *** [override_dh_installdebconf] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: 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.

In this case, I see that you are using "dh", which allow
(independently) optional targets override_dh_foo-arch and
override_dh_foo-indep (for several values of "foo").

Maybe using them this problem could be fixed.

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 to: