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
#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128

-----

> [stage-0 7/11] 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:

47.59 warning [email protected]: Invalid bin field for "mini-css-extract-plugin".

62.90 error Command failed.

62.90 Exit code: 128

62.90 Command: git

62.90 Arguments: ls-remote --tags --heads https://github.com/ethereumjs/ethereumjs-abi.git

62.90 Directory: /app

62.90 Output:

62.90 /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)

62.90 /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)

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

-----



Dockerfile:21

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

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
#11 ERROR: process "/bin/bash -ol pipefail -c yarn install --check-cache" did not complete successfully: exit code: 128

-----

> [stage-0 7/11] 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:

47.59 warning [email protected]: Invalid bin field for "mini-css-extract-plugin".

62.90 error Command failed.

62.90 Exit code: 128

62.90 Command: git

62.90 Arguments: ls-remote --tags --heads https://github.com/ethereumjs/ethereumjs-abi.git

62.90 Directory: /app

62.90 Output:

62.90 /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)

62.90 /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)

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

-----



Dockerfile:21

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

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
unfortunately it still did not work
28 replies
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
Using Nixpacks

╔════════════════════ Nixpacks v1.16.0 ═══════════════════╗

#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1695081795

#4 [stage-0 1/11] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1695081795@sha256:861b494e331a1102d04519741af1e4d8960da8314c21c39b8ad8b7c161ee4c98

#6 [stage-0 3/11] COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix

#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
Using Nixpacks

╔════════════════════ Nixpacks v1.16.0 ═══════════════════╗

#3 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1695081795

#4 [stage-0 1/11] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1695081795@sha256:861b494e331a1102d04519741af1e4d8960da8314c21c39b8ad8b7c161ee4c98

#6 [stage-0 3/11] COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix

#8 [stage-0 4/11] RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d
the latest one that worked was this
28 replies
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
I see, but that config still failed, is the recommendation to just keep downgrading the nixpacksVersion
28 replies
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
also it still failed
28 replies
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
may I ask why this is needed? I don't think this was needed before and things were ok prior to this
28 replies