Wireshark-dev: [Wireshark-dev] Making .deb packages on Ubuntu 18.04 requires packages not insta
From: Anders Broman <anders.broman@xxxxxxxxxxxx>
Date: Thu, 30 Aug 2018 15:06:53 +0000

Hi,

As the title says trying to build .deb packages on a vanilla Ubuntu 18.04 fails:

 

dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 9) po-debconf python-ply docbook-xsl (>= 1.64.1.0-0) docbook-xml libxml2-utils quilt

dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

dpkg-buildpackage: warning: (Use -d flag to override.)

 

That the debhelper drags in autotools seems a bit unfortunate.

 

ericsson@Ubuntu18:~/ewireshark/trunk$ sudo apt-get install debhelper

Reading package lists... Done

Building dependency tree      

Reading state information... Done

The following additional packages will be installed:

  autoconf automake autopoint dh-autoreconf dh-strip-nondeterminism

  libarchive-cpio-perl libfile-stripnondeterminism-perl libmail-sendmail-perl

  libsys-hostname-long-perl po-debconf

Suggested packages:

  autoconf-archive gnu-standards autoconf-doc dh-make dwz libmail-box-perl

The following NEW packages will be installed:

  autoconf automake autopoint debhelper dh-autoreconf dh-strip-nondeterminism

  libarchive-cpio-perl libfile-stripnondeterminism-perl libmail-sendmail-perl

  libsys-hostname-long-perl po-debconf

0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.

Need to get 2 456 kB of archives.

After this operation, 6 226 kB of additional disk space will be used.

 

ericsson@Ubuntu18:~/ewireshark/trunk$ dpkg-buildpackage -rfakeroot -j6 -us -uc

dpkg-buildpackage: info: source package wireshark

dpkg-buildpackage: info: source version 2.9.0

dpkg-buildpackage: info: source distribution unstable

dpkg-buildpackage: info: source changed by Wireshark Self-made package <wireshark@xxxxxxxxxxx>

dpkg-buildpackage: info: host architecture amd64

dpkg-source --before-build trunk

dpkg-checkbuilddeps: error: Unmet build dependencies: python-ply docbook-xsl (>= 1.64.1.0-0) docbook-xml libxml2-utils quilt

dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

dpkg-buildpackage: warning: (Use -d flag to override.)

 

Should these packages be added to the setup script?

Regards

Anders