ubuntu-dev-tools needs to declare dependency to dput

Bug #1086342 reported by H.-Dirk Schmitt on 2012-12-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)

Bug Description

I try to use 'backportpackage' and run in the problem that dput isn't installed.
After installing dput backport works :-)

Successfully signed dsc and changes files
Please check tomcat7 7.0.30-0ubuntu1~precise1~ppa1 in file:///tmp/backportpackage-5a4v92 carefully!
Do you want to upload the package to ppa:dirk-computer42/c42-edge [Y|n]? Y
Traceback (most recent call last):
  File "/usr/bin/backportpackage", line 322, in <module>
  File "/usr/bin/backportpackage", line 314, in main
  File "/usr/bin/backportpackage", line 269, in do_backport
    upload, prompt)
  File "/usr/bin/backportpackage", line 233, in do_upload
    check_call(['dput', upload, changes], cwd=workdir)
  File "/usr/bin/backportpackage", line 49, in check_call
    ret = subprocess.call(cmd, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntutools/subprocess.py", line 59, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/dist-packages/ubuntutools/subprocess.py", line 44, in __init__
    subprocess.Popen.__init__(self, *args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: ubuntu-dev-tools 0.141ubuntu0.1
ProcVersionSignature: Ubuntu 3.5.0-19.30~precise1-generic 3.5.7
Uname: Linux 3.5.0-19-generic x86_64
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Tue Dec 4 12:57:03 2012
MarkForUpload: True
PackageArchitecture: all
SourcePackage: ubuntu-dev-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Stefano Rivera (stefanor) wrote :

There is actually a Recommends on dput, and recommends are installed by default. Still, this should display a more useful error message.

Changed in ubuntu-dev-tools (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-dev-tools - 0.146

ubuntu-dev-tools (0.146) experimental; urgency=low

  [ Benjamin Drung ]
  * sponsor-patch: Use ubuntu profile when running lintian.
  * Bump Standards-Version to 3.8.4 (no changes needed).

  [ Dmitrijs Ledkovs ]
  * dgetlp: drop it, and hence remove python-gnupginterface dependency.
  * mk-sbuild: change lvm volume names to include target (LP: #1087194)

  [ Benjamin Kerensa ]
  * setup-packaging-environment: update developer guide URL (LP: #1068049)

  [ Julian Taylor ]
  * stop suggesting ipython, lp-shell has been moved to lptools

  [ Stefano Rivera ]
  * pbuilder-dist: Build with -proposed enabled for Ubuntu dev releases.
    Thanks Scott Kitterman (LP: #1082452)
  * backportpackage:
    - Don't ignore -k (LP: #1083688)
    - Check that dput is installed when uploading, thanks H.-Dirk Schmitt
      (LP: #1086342)
  * ubuntu-build: Default to DEV-proposed in batch mode. Thanks Scott
    Kitterman (LP: #1088010)
  * seeded-in-ubuntu: Clarify that "not seeded" binary packages may not exist
    (LP: #1029620)
  * mk-sbuild:
    - Name cross chroots after the build architecture and target
      (LP: #1087194)
    - Use the sbuild schroot profile.

  [ Iain Lane ]
  * sponsor-patch: Allow all supported bare releases now that LP rewrites
    these to contain '-proposed' for us.

 -- Benjamin Drung <email address hidden> Wed, 27 Feb 2013 19:56:12 +0100

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

Other bug subscribers