Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Making .deb packages on Ubuntu 18.04 requires packages not i

From: Anders Broman <a.broman58@xxxxxxxxx>
Date: Thu, 30 Aug 2018 17:42:19 +0200


Den tors 30 aug. 2018 17:34Dario Lombardo <lomato@xxxxxxxxx> skrev:
They've been recently removed by me since they're not needed anymore to build wireshark. I'm not sure about adding them to the script: that would force anyone using it and just building (like me and all the debian based CI platforms that rely on it) to have autotools back. Perhaps a new cmd line switch (atm we have --install-optional)? Like --install-deb-deps or similar?

Sounds good to me.
Regards 
Anders


On Thu, Aug 30, 2018 at 5:14 PM Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:

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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


--
Naima is online.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe