[Build-common-hackers] Bug#244692: cdbs: common-post-build-arch runs during install
Daniel Jacobowitz
Daniel Jacobowitz <dan@debian.org>, 244692@bugs.debian.org
Mon, 19 Apr 2004 11:24:57 -0400
Package: cdbs
Version: 0.4.21
Severity: normal
There are two spurious failures in the GDB testsuite when run under
fakeroot. I didn't explicitly ask to run it under fakeroot, so I went
digging to find out why it happened. Here's the problem:
# This rule is for stuff to run after the build process. Typically
# this will be things like 'make check'.
common-post-build-arch:: common-build-arch $(patsubst %,build/%,$(DEB_ARCH_PACKAGES))
common-install-arch:: testdir common-install-prehook-arch common-post-build-arch
So nothing in "build" causes common-post-build-arch to run, making it
essentially identical to common-install-prehook-arch. If someone were to
build using -rsudo (does anyone do that any more?), this could be a real
problem - you'd be running the testsuite with root priviledges unexpectedly.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-nevyn
Locale: LANG=en_US, LC_CTYPE=en_US
-- no debconf information
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer