Bug#472407: gdebi pbuilder bdep resolution fix

Loïc Minier lool at dooz.org
Sat Dec 12 14:21:16 UTC 2009


        Hi

 I revisited this; $DEBIAN_CONTROL is either the .dsc or the control
 file; I copied it into the chroot with the attached patch.

 I think we want to prefer the gdebi outside of the chroot instead of
 installing one in the chroot, but I'm not sure whether we want to
 support both cases, will check with other pbuilder maints.

   Thanks

On Fri, Jun 27, 2008, Loïc Minier wrote:
>         Hi Michael,
> 
>  I had a look in pbuilder's git, and it looks like it's using the
>  control file, not the .dsc file:
>     INSTALL=$($CHROOTEXEC /usr/bin/gdebi --quiet --apt-line $DEBIAN_CONTROL)
>  odly it's the same in the hardy and intrepid pbuilders:
>     INSTALL=$(/usr/bin/gdebi --quiet --apt-line --root $CHROOT $DEBIAN_CONTROL)
> 
>  [ DEBIAN_CONTROL is only defined to debian/control, so I'm a bit
>    surprized about Debian #472407 which fails with:
>       > gdebi error, file not found: ../mythplugins_0.21-0.4.dsc
>    perhaps an older implementation? ]
> 
>  I'm surprized it works at all in Ubuntu with the control file, I
>  discovered that control files were not properly parsed in gdebi (see
>  the commits I made for 0.3.12, r197 and 198) when wrapped over multiple
>  lines.  Perhaps there's a flow in my logic if it works for you: I don't
>  quite understand how changing between inside and outside the chroot
>  helps with locating a .dsc file when I see debian/control hardcoded.
> 
> 
>  I simply don't know what to do with the proposed pbuilder patch to run
>  gdebi outside the chroot from there.
> 
>    Cheers,
> -- 
> Loïc Minier
> 
> 
> 

-- 
Loïc Minier


More information about the Pbuilder-maint mailing list