[Pkg-bazaar-maint] Bug#562911: bzr-builddeb: import-dsc does not work with '3.0 (quilt)' source format

Tommi Vainikainen thv+debian at iki.fi
Tue Dec 29 05:55:31 UTC 2009


Package: bzr-builddeb
Version: 2.1.1
Severity: normal

I'm using bzr-builddeb from experimental, and I noticed that when trying
to import a .dsc which uses '3.0 (quilt)' source format, bzr-builddeb
fails. Problematic code is at least import_dsc.py's extract_dsc which
calls "dpkg-source -su -x" (-su is not supported with '3.0 (quilt)', but
instead --skip-debianization does similar thing except directory
naming1).

bzr: ERROR: exceptions.AssertionError: 

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 842, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1037, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 654, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb/cmds.py", line 714, in run
    self.import_many(db, files_list, orig_target)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb/cmds.py", line 657, in import_many
    db.import_package(os.path.join(orig_target, filename))
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb/import_dsc.py", line 2032, in import_package
    (_, md5) = self.get_native_part(dsc)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb/import_dsc.py", line 1852, in get_native_part
    assert not path.endswith(".orig.tar.gz")
AssertionError

bzr 2.0.3 on python 2.5.4 (Linux-2.6.31-1-amd64-x86_64-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'import-dsc', '../ftp.debian.org/gnus_5.11+v0.10.dfsg-2.dsc']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fi_FI.UTF-8'
plugins:
  builddeb             /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [unknown]
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.0.1]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.0.3]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.0.3]
  rebase               /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.5.4]
  svn                  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [1.0.0]



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-builddeb depends on:
ii  bzr                          2.0.3-1     easy to use distributed version co
ii  bzrtools                     2.0.1-1     Collection of tools for bzr
ii  devscripts                   2.10.59     scripts to make the life of a Debi
ii  dpkg-dev                     1.15.5.5    Debian package development tools
ii  fakeroot                     1.14.4-1    Gives a fake root environment
ii  patchutils                   0.3.1-2     Utilities to work with patches
ii  pristine-tar                 1.00        regenerate pristine tarballs
ii  python                       2.5.4-5     An interactive high-level object-o
ii  python-apt                   0.7.13.4    Python interface to libapt-pkg
ii  python-central               0.6.14+nmu2 register and build utility for Pyt
ii  python-debian                0.1.14      Python modules to work with Debian

bzr-builddeb recommends no packages.

Versions of packages bzr-builddeb suggests:
ii  bzr-svn                       1.0.0-1    Bazaar plugin providing Subversion

-- no debconf information

-- 
Tommi Vainikainen





More information about the Pkg-bazaar-maint mailing list