You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ic...@apache.org on 2022/05/11 08:02:02 UTC

svn commit: r1900804 - /httpd/httpd/branches/2.4.x/test/travis_run_linux.sh

Author: icing
Date: Wed May 11 08:02:02 2022
New Revision: 1900804

URL: http://svn.apache.org/viewvc?rev=1900804&view=rev
Log:
  *) test: backport the cbindgen workaround for building rustls-ffi
     so that rustc and cbindget are in a combination that works on
     focal.


Modified:
    httpd/httpd/branches/2.4.x/test/travis_run_linux.sh

Modified: httpd/httpd/branches/2.4.x/test/travis_run_linux.sh
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/test/travis_run_linux.sh?rev=1900804&r1=1900803&r2=1900804&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/test/travis_run_linux.sh (original)
+++ httpd/httpd/branches/2.4.x/test/travis_run_linux.sh Wed May 11 08:02:02 2022
@@ -60,7 +60,10 @@ if test -v TEST_MOD_TLS; then
   pushd "$RUSTLS_HOME"
     git fetch origin
     git checkout tags/$RUSTLS_VERSION
-    make install DESTDIR="$PREFIX"
+    # force an update to cbindgen as focal seems to deliver v0.12.1
+    # always something changes with rust/cargo every few weeks, sigh.
+    cargo install --force cbindgen
+    PATH="${HOME}/.cargo/bin:${PATH}" make install DESTDIR="$PREFIX"
   popd
   CONFIG="$CONFIG --with-tls --with-rustls=$PREFIX"
 fi