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

Re: Dual-Life Modules



On Wed, 2009-08-05 at 09:52 -0400, Jonathan Yu wrote:
> I'm not sure if they are broken, I recall that there were issues with
> sbuild and dependency detection due to the way perl-modules Provides:
> things.

Yeah, I ran into this with a dependency of sympa (libcgi-pm-perl).  Note
the Policy section about 'Provides' - you cannot specify a version:
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-virtual

perl-modules therefore "Provides: libcgi-pm-perl" (for example), and
sympa "Build-Depends: libcgi-pm-perl (>= 3.35)".  Only the real package
satisfies this dependency, not the virtual package.

There was a bug in sbuild (#395271) where perl-modules was considered to
satisfy this, and the separate libcgi-pm-perl package would not get
installed in the chroot.  When dpkg-buildpackage was called, the build
would of course fail (through unsatisfied dependencies).

This was fixed.  But some of the buildds for less common architectures
have not updated their copy of sbuild (because they have applied custom
patches and so on).  So sympa has not got built on those architectures,
and will not migrate to testing.

I asked around at DebConf about this, and was told the buildds were
gradually getting transferred to DSA (I think), and things were slowly
getting fixed. But it's difficult to know how to move things forward.

So there's nothing /actually/ wrong with dual-life modules on Debian,
just some temporary technical problems on the buildds.

-- 
Tim Retout <tim@retout.co.uk>


Reply to: