Skip to content

Commit

Permalink
Ignore the included uid in the jemalloc tar archive
Browse files Browse the repository at this point in the history
Otherwise this fails with `Cannot change ownership to uid 66878, gid
100: Invalid argument`, at least with podman.
  • Loading branch information
hashworks committed Jul 5, 2024
1 parent 9b2aba9 commit e42f654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc/prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit e42f654

Please sign in to comment.