dpkg-buildpackage build-dep list should be easier to install

Bug #1822496 reported by Shawn Landden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dpkg (Ubuntu)
New
Undecided
Unassigned

Bug Description

When building from source dpkg-buildpackage very kindly tells you what build-dep packages are not installed. Usually, I just want install all these packages. However this list, because of the version requirements, cannot be copied and pasted with "apt install" in front. There are three way to fix this

1. teach apt to understand these version requirements
2. have dpkg output another line without the versions
3. add a flag to dpkg-buildpackage that makes it call into apt to install these (not recommended)

$ dpkg-buildpackage -b
dpkg-buildpackage: info: source package network-manager
dpkg-buildpackage: info: source version 1.16.0-1
dpkg-buildpackage: info: source distribution experimental
dpkg-buildpackage: info: source changed by Michael Biebl <email address hidden>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: intltool ppp-dev (>= 2.4.7-1+1) libpolkit-gobject-1-dev libpolkit-agent-1-dev (>= 0.97) libaudit-dev libsystemd-dev (>= 209) libgirepository1.0-dev (>= 0.10.7-1~) gobject-introspection (>= 0.9.12-4~) python-gi libpsl-dev (>= 0.1) libcurl4-gnutls-dev (>= 7.24.0) gtk-doc-tools libyaml-perl libglib2.0-doc libmm-glib-dev (>= 0.7.991) libndp-dev libreadline-dev libnewt-dev (>= 0.52.15) libteam-dev (>= 1.9) libjansson-dev libbluetooth-dev (>= 5) valac (>= 0.17.1.24) python-dbus

ProblemType: Bug
DistroRelease: Ubuntu 19.04
Package: dpkg 1.19.5ubuntu1
ProcVersionSignature: Ubuntu 5.0.0-8.9-generic 5.0.1
Uname: Linux 5.0.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu23
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun Mar 31 14:12:05 2019
InstallationDate: Installed on 2019-02-23 (36 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203)
SourcePackage: dpkg
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Shawn Landden (scientes) wrote :
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.