JC
JC
RRailway
Created by JC on 10/4/2023 in #✋|help
Seeing a bunch of build error even when rolling back to commits where builds used to works
Project ID: b08731c2-2a20-4ba4-b7b2-a97b42af589f In our build logs for the backend for both our staging and prod we're facing this error even though we've rolled back to commits which used to build out well.
#11 62.25 /usr/lib/git-core/git-remote-https: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2)

#11 62.25 /usr/lib/git-core/git-remote-https: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libpthread.so.0)

#11 62.25 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.



#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128
#11 62.25 /usr/lib/git-core/git-remote-https: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2)

#11 62.25 /usr/lib/git-core/git-remote-https: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libpthread.so.0)

#11 62.25 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.



#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128
19 | COPY . /app/.

20 | RUN --mount=type=cache,id=s/91e262ef-85b0-4b77-b60c-089a327c9b02-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 npm install -g corepack && corepack enable

21 | >>> RUN --mount=type=cache,id=s/91e262ef-85b0-4b77-b60c-089a327c9b02-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --check-cache

22 |

23 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128



Error: Docker build failed
19 | COPY . /app/.

20 | RUN --mount=type=cache,id=s/91e262ef-85b0-4b77-b60c-089a327c9b02-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 npm install -g corepack && corepack enable

21 | >>> RUN --mount=type=cache,id=s/91e262ef-85b0-4b77-b60c-089a327c9b02-/usr/local/share/cache/yarn/v6,target=/usr/local/share/.cache/yarn/v6 yarn install --check-cache

22 |

23 | # build phase

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128



Error: Docker build failed
To be more precise here are the logs. Would appreciate some guidance as to how to resolve this.
28 replies