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

Bug#545381: edos-builddebcheck: Always consider built-essential packages installable



On Sun, Sep 27, 2009 at 10:07:50PM +0200, Kurt Roeckx wrote:
> I'm now running your version, but with the deb822.py merged into
> it again.
[...]
> I've just added hurd-i386 to buildd.debian.org, and they have
> the following problem:
>     debhelper (= 7.4.2) depends on perl {perl (= 5.10.0-19)}
>     perl (= 5.10.0-19) depends on hurd {hurd (= 20090404-1)}
>     hurd (= 20090404-1) depends on sysv-rc {sysv-rc (= 2.87dsf-6)}
>     sysv-rc (= 2.87dsf-6) depends on insserv (>> 1.12.0-10) {NOT AVAILABLE}
> 
> Since perl is one of the packages that's build-essential,
> they shouldn't get that error.

So looking at what is happening, it seems you remove
the dependencies for build-essential packages from
the source packages.  But those don't build-depend
on it in the first place.  You need to change
the Depends on the Packages themself, so
that the files going to edos-debcheck
does not have Depends: perl for debhelper.

I've tried adding a package that provides all the build-essential
packages in 1 package, but that seems to cause problems too.

This has atleast 2 problems:
- Versioned depedencies don't work.  We have things like
  - libtext-format-perl (= 0.52-21) depends on perl (>= 5.6.0-16)
  - autoconf (= 2.64-4) depends on perl (>> 5.005)
  (I've only seen it with perl so far)
- You need to add provides for all the provides the packages
  you try to replace have.  And perl has alot of them.

It might also need to be arch specific, I think hurd has conflicts
with packages that are essential on other arches.

This atleast seems to be giving reasonable results, it might
not be perfect, but would atleast not get us completly stuck.


Kurt




Reply to: