[ovs-git] [openvswitch/ovs] b0e853: debian: Fix package dependencies

Ilya Maximets noreply at github.com
Wed Aug 26 12:13:46 UTC 2020


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: b0e8532d01a4106da28db6240a4a54634280da2e
      https://github.com/openvswitch/ovs/commit/b0e8532d01a4106da28db6240a4a54634280da2e
  Author: Roi Dayan <roid at mellanox.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M debian/control

  Log Message:
  -----------
  debian: Fix package dependencies

In python2 package was python-twisted-conch but it looks like
for python3 it's just python3-twisted.
For zope interface the python3 package name is python3-zope.interface.

Fixes: 1ca0323e7c29 ("Require Python 3 and remove support for Python 2.")
Signed-off-by: Roi Dayan <roid at mellanox.com>
Acked-by: Ansis Atteka <aatteka at ovn.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: 895fc1839334cdf781b0f81b2fa985f6ec57c964
      https://github.com/openvswitch/ovs/commit/895fc1839334cdf781b0f81b2fa985f6ec57c964
  Author: Ansis Atteka <aatteka at ovn.org>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M debian/control

  Log Message:
  -----------
  debian: Add python3-sphinx to ovs build dependencies

python3-sphinx has become mandatory build dependency since patch
39b5e46 ("Documentation: Convert multiple manpages to ReST."), because,
otherwise, without this dependency installed, packaging of OVS debian
packages fails with an error that generated man pages can't be found.

Fixes: 39b5e46312 ("Documentation: Convert multiple manpages to ReST.")
CC: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ansis Atteka <aatteka at ovn.org>
Reported-by: Artem Teleshev <artem.teleshev at gmail.com>
Acked-by: Greg Rose <gvrose8192 at gmail.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: 823bea7797f707026cde36bdc4725f6a8683cd5c
      https://github.com/openvswitch/ovs/commit/823bea7797f707026cde36bdc4725f6a8683cd5c
  Author: Ansis Atteka <aatteka at ovn.org>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M debian/openvswitch-common.manpages
    M debian/openvswitch-switch.manpages
    M debian/openvswitch-test.manpages

  Log Message:
  -----------
  debian: Fix broken build after some man pages became generated from RST

As far as I know, the official way to build debian packages is by invoking
following command:

> fakeroot debian/rules binary

However, that command started to fail with these errors:

dh_installman --language=C
dh_installman: Cannot find (any matches for) "utilities/ovs-appctl.8" (tried in .)
dh_installman: Cannot find (any matches for) "utilities/ovs-l3ping.8" (tried in .)
dh_installman: Cannot find (any matches for) "utilities/ovs-tcpdump.8" (tried in .)

because the generated manpages are not part of the source tree anymore.  This
patch updates debian *.manpages files to point to the generted files.

Fixes: 39b5e46312 ("Documentation: Convert multiple manpages to ReST.")
CC: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ansis Atteka <aatteka at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>


  Commit: 14c5912a7b9bdd518d3ae9630054668e788fbbb7
      https://github.com/openvswitch/ovs/commit/14c5912a7b9bdd518d3ae9630054668e788fbbb7
  Author: Ilya Maximets <i.maximets at ovn.org>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M .travis.yml
    M .travis/linux-build.sh
    M .travis/linux-prepare.sh

  Log Message:
  -----------
  travis: Test build of debian packages.

We had a lot of issues with debian packaging lately.  This job will
check build and installation of debian packages to avoid most of such
issues in the future.

Installing only minimal set of tools, most of dependencies will be
installed according to package description, this way we will check if
we have all required dependencies listed.

Not trying to install openvswitch-ipsec package as there is an issue
that python from the pyenv for some reason doesn't see ovs packages
installed from python3-openvswitch, i.e. ipsec service is not able to
start.

Tests are skipped because they are tested in many other scenarios.
No need to waste time.

Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
Acked-by: Aaron Conole <aconole at redhat.com>


Compare: https://github.com/openvswitch/ovs/compare/0427918d891f...14c5912a7b9b


More information about the git mailing list