From 4403aa97a15ba49b3dfa0d4c66de76edc4b3d536 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Wed, 17 Jan 2024 23:47:15 +0800 Subject: [PATCH] Fix FreeBSD and NetBSD builds --- .builds/freebsd.yml | 2 +- .builds/netbsd.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml index 6ab714d64f6..dac6ced27d7 100644 --- a/.builds/freebsd.yml +++ b/.builds/freebsd.yml @@ -39,7 +39,7 @@ tasks: # Running the unit tests ninja -C build test - test: | - sudo python3 -m ensurepip + python3 -m pip install --user requests cd rizin export PATH=${HOME}/bin:${PATH} export LD_LIBRARY_PATH=${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH} diff --git a/.builds/netbsd.yml b/.builds/netbsd.yml index 097bb718f0c..23c8da72956 100644 --- a/.builds/netbsd.yml +++ b/.builds/netbsd.yml @@ -47,6 +47,8 @@ tasks: export PATH=${HOME}/bin:/usr/local/bin:${PATH} export LD_LIBRARY_PATH=${HOME}/lib:${HOME}/lib64:${LD_LIBRARY_PATH} export PKG_CONFIG_PATH=${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH} + # Workaround to allow using /usr/bin/env python3 shebangs + sudo ln -s /usr/bin/python3.8 /usr/bin/python3 # Workaround until the feature request is solved # https://todo.sr.ht/~sircmpwn/builds.sr.ht/274 ln -s ${HOME}/rizin-testbins test/bins