From da8838df36ef00d59ede487654d1cabc10d927d1 Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Thu, 11 Sep 2025 17:25:45 -0600 Subject: [PATCH 1/5] fix: fix relative path build issue Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-3rd-parties.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-scripts/ubuntu-2204/build-3rd-parties.sh b/build-scripts/ubuntu-2204/build-3rd-parties.sh index 03be8f31e..fd137e39e 100755 --- a/build-scripts/ubuntu-2204/build-3rd-parties.sh +++ b/build-scripts/ubuntu-2204/build-3rd-parties.sh @@ -3,7 +3,8 @@ set -e set -x -OUTPUT_PATH=${1:-.} +# Ensure the output is an absolute path and not a relative path +OUTPUT_PATH="$(readlink -f ${1:-.})" wheel2debconf="$(dirname "$(realpath "$0")")"/wheel2deb.yml From 972d1306bd7df17d0c35e637a8134b997a71a092 Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Fri, 12 Sep 2025 09:08:07 -0600 Subject: [PATCH 2/5] fix: fix relative path build issue Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-3rd-parties.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/ubuntu-2204/build-3rd-parties.sh b/build-scripts/ubuntu-2204/build-3rd-parties.sh index fd137e39e..f0ddb5a51 100755 --- a/build-scripts/ubuntu-2204/build-3rd-parties.sh +++ b/build-scripts/ubuntu-2204/build-3rd-parties.sh @@ -4,7 +4,7 @@ set -e set -x # Ensure the output is an absolute path and not a relative path -OUTPUT_PATH="$(readlink -f ${1:-.})" +OUTPUT_PATH="$(realpath ${1:-.})" wheel2debconf="$(dirname "$(realpath "$0")")"/wheel2deb.yml From 0cc75fbdbed083c4197268a0a42026afd69ace4a Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Fri, 12 Sep 2025 09:15:46 -0600 Subject: [PATCH 3/5] fix: fix relative path build issue Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-3rd-parties.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/ubuntu-2204/build-3rd-parties.sh b/build-scripts/ubuntu-2204/build-3rd-parties.sh index f0ddb5a51..6f92673df 100755 --- a/build-scripts/ubuntu-2204/build-3rd-parties.sh +++ b/build-scripts/ubuntu-2204/build-3rd-parties.sh @@ -4,7 +4,7 @@ set -e set -x # Ensure the output is an absolute path and not a relative path -OUTPUT_PATH="$(realpath ${1:-.})" +OUTPUT_PATH="$(realpath -m ${1:-.})" wheel2debconf="$(dirname "$(realpath "$0")")"/wheel2deb.yml From c6c751171c25767ef9d22808c5bf372590e1c0fe Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Fri, 12 Sep 2025 09:25:10 -0600 Subject: [PATCH 4/5] fix: fix apt issue Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-3rd-parties.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-scripts/ubuntu-2204/build-3rd-parties.sh b/build-scripts/ubuntu-2204/build-3rd-parties.sh index 6f92673df..ac397eacd 100755 --- a/build-scripts/ubuntu-2204/build-3rd-parties.sh +++ b/build-scripts/ubuntu-2204/build-3rd-parties.sh @@ -141,7 +141,7 @@ pushd `dirname ${SCRIPT_PATH}` >/dev/null # Install any python requirements needed for the builds. pip install -r requirements.txt -pip3 install wheel2deb && apt-get install -y debhelper +pip3 install wheel2deb && apt update && apt install -y debhelper apt-get install -y cython3 # Build rocksdb at first From b086a29aa160e3ce1b5f4d59627c522a486dcab5 Mon Sep 17 00:00:00 2001 From: Kim Ebert Date: Fri, 12 Sep 2025 10:48:15 -0600 Subject: [PATCH 5/5] fix: fix missing dir Signed-off-by: Kim Ebert --- build-scripts/ubuntu-2204/build-3rd-parties.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build-scripts/ubuntu-2204/build-3rd-parties.sh b/build-scripts/ubuntu-2204/build-3rd-parties.sh index ac397eacd..3c30762b6 100755 --- a/build-scripts/ubuntu-2204/build-3rd-parties.sh +++ b/build-scripts/ubuntu-2204/build-3rd-parties.sh @@ -24,6 +24,7 @@ function build_rocksdb_deb { # Install it in the system as it is needed by python-rocksdb. make install cd - + mkdir -p ${OUTPUT_PATH} cp /tmp/rocksdb/package/rocksdb_${VERSION}_amd64.deb $OUTPUT_PATH rm -rf /tmp/rocksdb }