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

Bug#178809: rules for Build-Depends-Indep satisfaction make no sense



Package: debian-policy
Version: 3.5.8.0
Severity: important

Currently, policy says that following about Build-Depends-Indep (section
7.6): 

| The Build-Depends-Indep and Build-Conflicts-Indep fields must be
| satisfied when any of the following targets is invoked: build, clean,
| build-indep, binary and binary-indep.

This makes no sense, because it would mean that Build-Depends-Indep
dependencies would have to be installed anyway (for clean target for
example) even when building only the arch-dependent binary packages.

I had a little conversation on IRC about this:

| <ifvoid> does anyone know why the buildds don't install 
|    Build-Dep-Indep, while they do run "debian/rules build"
| <elmo> because they're running dpkg-buildpackage -B ?
| <elmo> why would they install build-dep-indep when they're only 
|    building the arch dep packages ?
| <elmo> IIRC, someone changed policy to reflect non-reality, but that's 
|    hardly the buildds fault.  they've never installed b-d-i
| <BenC> ifvoid: if indep stuff is built during "build" target, you need 
|    to move those deps to arch-dep, or fix your build
| <ifvoid> no
| <ifvoid> policy says:
| <ifvoid> The Build-Depends-Indep and Build-Conflicts-Indep fields must
|    be satisfied when any of the following targets is invoked: build, 
|    clean, build-indep, binary and binary-indep.
| <ifvoid> note that that includes build
| <elmo> policy is broken
| <BenC> way broken
| <ifvoid> ok
| <BenC> that's just stupid
| <BenC> that pretty much says that indep needs to always be satisfied, 
|    which makes indep useless


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux kalypso 2.4.20 #1 Wed Dec 11 21:12:58 CET 2002 i686
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

-- no debconf information




Reply to: