gdebi --apt-line doesn't resolve versioned build-depends correctly

Bug #373154 reported by Michael Bienia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
Undecided
Michael Vogt

Bug Description

Binary package hint: gdebi

I use pbuilder with pbuilder-satisfydepends-gdebi and tried to build a package in my karmic pbuilder which failed as a versioned build-dependency didn't get installed.

The package in question has "libpod-simple-perl (>= 3.07)" in it's Build-Depends-Indep line while the output of gdebi --apt-line for that dsc-file didn't list it:

$ gdebi --quiet --root /var/cache/pbuilder/build/26750/ --apt-line -o APT::Install-Recommends=false libperl-minimumversion-perl_1.20-1build1.dsc
debhelper libipc-run3-perl bsdmainutils gettext libfile-find-rule-perl liblist-moreutils-perl libclone-perl libppi-perl libnumber-compare-perl libtest-pod-perl libmagic1 libparse-cpan-meta-perl file groff-base intltool-debian libtest-script-perl man-db po-debconf libfile-find-rule-perl-perl libxml2 libtest-cpan-meta-perl libio-string-perl libparams-util-perl libio-stringy-perl html2text libtext-glob-perl gettext-base libcroco3 libglib2.0-0 libtask-weaken-perl

My assumption is that's because of perl-modules providing libpod-simple-perl, therefore gdebi assumes that this dependency is fulfilled and doesn't check the version requested.

Related branches

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This was indeed the problem, it tried to resolve dependencies and did not check that the version requirement
was there (and that that can not be satisfied with virtual packages).

Changed in gdebi (Ubuntu):
assignee: nobody → Michael Vogt (mvo)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.5.0

---------------
gdebi (0.5.0) karmic; urgency=low

  [ Anders Kaseorg ]
  * GDebi/DebPackage.py:
    - Look for Pre-Depends instead of PreDepends. (Closes: #435577)
      (LP: #392714)

  [ Michael Vogt ]
  * GDebi/DebPackage.py:
    - fix typo (LP: #387022)
  * data/gdebi-kde.desktop:
    - increase initialPreference value (LP: #379150)
  * data/gdebi.ui:
    - ported to GtkBuilder
  * fix crash because we made the window sensitive too early
    (LP: #355268)
  * do not resolve versionized dependencies with virtual
    packages (LP: #373154)
  * honor "GDEBI_DEBUG_LEVEL" environment var
  * GDebi/GDebi.py:
    - workaround bug in vte where forkpty() does not pass the
      environment (LP: #367959)
    - set the image in the gtkbuilder file, hopefully fixes
      (LP: #345260)
  * debian/rules:
    - build with DY_PYCENTRAL=include-links

 -- Michael Vogt <email address hidden> Thu, 16 Jul 2009 21:06:27 +0200

Changed in gdebi (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.