[Openvpn-devel] travis: Fix make distcheck failure

Message ID 20200720103822.26088-1-davids@openvpn.net
State Accepted
Headers show
Series [Openvpn-devel] travis: Fix make distcheck failure | expand

Commit Message

David Sommerseth July 20, 2020, 12:38 a.m. UTC
Since commit f500c49c8e0, the man page and html documentation need to be
generated when building out of the git repository, as both openvpn.8 and
openvpn.8.html will be shipped pregenerated inside the tarball generated
by 'make dist'.

Travis was lacking the python-docutils package, which made the
'make distcheck' build test fail.

Signed-off-by: David Sommerseth <davids@openvpn.net>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arne Schwabe July 20, 2020, 1:19 a.m. UTC | #1
Am 20.07.20 um 12:38 schrieb David Sommerseth:
> Since commit f500c49c8e0, the man page and html documentation need to be
> generated when building out of the git repository, as both openvpn.8 and
> openvpn.8.html will be shipped pregenerated inside the tarball generated
> by 'make dist'.
> 
> Travis was lacking the python-docutils package, which made the
> 'make distcheck' build test fail.
>

Acked-By: Arne Schwabe <arne@rfc2549.org>

Tested on my own repo and Travis runs fine now.
Gert Doering July 20, 2020, 1:26 a.m. UTC | #2
Your patch has been applied to the master branch.

commit df85950a61879517ae77472eeef526cdd1906662
Author: David Sommerseth
Date:   Mon Jul 20 12:38:22 2020 +0200

     travis: Fix make distcheck failure

     Signed-off-by: David Sommerseth <davids@openvpn.net>
     Acked-by: Arne Schwabe <arne@rfc2549.org>
     Message-Id: <20200720103822.26088-1-davids@openvpn.net>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20497.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/.travis.yml b/.travis.yml
index 925d09ea..b154277e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -111,7 +111,7 @@  jobs:
 addons:
   apt:
     update: true
-    packages: [ liblzo2-dev, libpam0g-dev, liblz4-dev, linux-libc-dev, man2html, mingw-w64, clang-9, libcmocka-dev ]
+    packages: [ liblzo2-dev, libpam0g-dev, liblz4-dev, linux-libc-dev, man2html, mingw-w64, clang-9, libcmocka-dev, python3-docutils ]
   homebrew:
     update: true
     packages: [ lzo, lz4, cmocka ]