Bug#472407: gdebi pbuilder bdep resolution fix

Loïc Minier lool at dooz.org
Fri Jun 27 20:50:11 UTC 2008


        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





More information about the Pbuilder-maint mailing list