Skip to content

Commit

Permalink
Fix bison/gettext builds
Browse files Browse the repository at this point in the history
bison and gettext have a conftest that checks getcwd when
length > 4k, which results in a deep dir created that cannot be
removed in some enviroments. This makes CI jobs fail with:

confdir3/.../confdir3: file name too long

This patch overcomes this issue by creating shorter paths with the
following configure arg:

gl_cv_func_getcwd_path_max="yes, but with shorter paths"
  • Loading branch information
rafaelfolco committed Oct 7, 2024
1 parent 2d9bb90 commit ba6c089
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workshop.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"unpack": "tar -xf bison.tar.xz",
"get_dir": "tar -tf bison.tar.xz | head -n 1",
"commands": [
"./configure",
"./configure gl_cv_func_getcwd_path_max='yes, but with shorter paths'",
"make -j32 install",
"ldconfig",
"rm -rf *"
Expand All @@ -58,7 +58,7 @@
"unpack": "tar -xf gettext.tar.xz",
"get_dir": "tar -tf gettext.tar.xz | head -n 1",
"commands": [
"./configure",
"./configure gl_cv_func_getcwd_path_max='yes, but with shorter paths'",
"make -j32 install",
"ldconfig",
"rm -rf *"
Expand Down

0 comments on commit ba6c089

Please sign in to comment.