Build git without gettext to avoid missing msgfmt

The pypa manylinux_2_34 base image does not provide the msgfmt binary,
causing the git source build to fail. Git translations are not needed
in a build container.
This commit is contained in:
Julian Oes
2026-04-10 09:32:01 +12:00
parent ad3c0cad8c
commit 7264bf7768
+2 -2
View File
@@ -33,8 +33,8 @@ tar xvzf "${GIT_ROOT}.tar.gz" --no-same-owner
pushd "${GIT_ROOT}"
./configure --prefix=/usr/local --with-curl
make -j"$(nproc)"
make install
make -j"$(nproc)" NO_GETTEXT=YesPlease
make NO_GETTEXT=YesPlease install
popd
rm -rf "${GIT_ROOT}" "${GIT_ROOT}.tar.gz"