[Build-common-hackers] Bug#296354: "clean" rules & build-dependancies

ms419@freezone.co.uk, 296354@bugs.debian.org ms419@freezone.co.uk, 296354@bugs.debian.org
Mon, 21 Feb 2005 14:17:01 -0800


Package: cdbs
Version: 0.4.27-1

pdebuild of "pbuilder", for example, automatically satisfies packages' 
build-dependancies *after* running their "clean" rules, leaving the 
user to manually install "type-handling", for example, or encounter -


	[...]
	make[1]: type-handling: Command not found
	[...]
  	-> Considering  libasound2-dev []
	   -> This package is not for this architecture
	[...]
	dpkg-checkbuilddeps: Unmet build dependencies: libasound2-dev 
libcap-dev libraw1394-dev
	[...]


Consequently, "cdbs" should perhaps recommend "type-handling", to help 
users with what is otherwise a mysterious error?

However, not even installing "type-hangling" enables cdbs packages' 
"clean" rules to run before their build-dependancies are satisfied -


	[...]
	/usr/share/cdbs/1/rules/buildcore.mk:71: Parsing 
jack-audio-connection-kit-0.99.0.tar.gz...
	[...]
	# make sure new build-depends are installed
	dpkg-checkbuilddeps -B
	dpkg-checkbuilddeps: Unmet build dependencies: autotools-dev 
patchutils dh-buildinfo libasound2-dev libsndfile1-dev doxygen 
libcap-dev autotools-dev libreadline4-dev libraw1394-dev automake1.7 
libtool
	make: *** [debian/control] Error 1


Does Debian really require all build-dependancies to be installed, for 
"clean" rules to be run? pdebuild, for example, automatically satisfies 
build-dependancies *after* running "clean".

Thanks!

Jack