From e42f654f22ba0902ac6aaca1c602604f98e7309b Mon Sep 17 00:00:00 2001 From: hashworks Date: Sat, 15 Jun 2024 15:55:11 +0200 Subject: [PATCH] Ignore the included uid in the jemalloc tar archive Otherwise this fails with `Cannot change ownership to uid 66878, gid 100: Invalid argument`, at least with podman. --- misc/prerequisites.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/prerequisites.sh b/misc/prerequisites.sh index cc7f2a8f9..a7f373cf6 100755 --- a/misc/prerequisites.sh +++ b/misc/prerequisites.sh @@ -348,7 +348,7 @@ install_jemalloc() (DIR=${TEMP_PATH}/jemalloc && \ mkdir -p ${DIR} && \ cd ${DIR} && \ - curl -sSLf https://github.com/jemalloc/jemalloc/releases/download/${JEMALLOC_VERSION}/jemalloc-${JEMALLOC_VERSION}.tar.bz2 | tar -jx --strip-components=1 && \ + curl -sSLf https://github.com/jemalloc/jemalloc/releases/download/${JEMALLOC_VERSION}/jemalloc-${JEMALLOC_VERSION}.tar.bz2 | tar -jx --strip-components=1 --no-same-owner && \ ./configure --prefix="${PREFIX}" && \ make -j$(nproc) && \ sudo make install_include install_lib && \