osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-upf/+/31942 )
Change subject: contrib/jenkins.sh: build nftables without python ......................................................................
contrib/jenkins.sh: build nftables without python
We don't use the python bindings of nftables with osmo-upf, so don't build them. Without this, it tries to build them with python2 for some reason and since a recent nftables commit it fails with:
running install Checking .pth file support in /build/deps/install/stow/nftables/lib/python2.7/site-packages/ /usr/bin/python -E -c pass TEST FAILED: /build/deps/install/stow/nftables/lib/python2.7/site-packages/ does NOT support .pth files error: bad install directory or PYTHONPATH
Change-Id: Ie172dca3e6953c353239173bca07b1f62fbf4c34 --- M contrib/jenkins.sh 1 file changed, 24 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-upf refs/changes/42/31942/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index d00281c..8739baa 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -50,7 +50,11 @@ git clone "https://git.netfilter.org/$project" "$project" cd "$project" autoreconf --install --force - ./configure --prefix="$inst/stow/$project" --without-cli --disable-man-doc + ./configure \ + --prefix="$inst/stow/$project" \ + --without-cli \ + --disable-man-doc \ + --enable-python=no $MAKE install STOW_DIR="$inst/stow" stow --restow $project }