Build keeps failing
rossfreedman
PROOP

5 months ago

Region: us-east4]

==============

Using Nixpacks

==============

context: 9v37-zc0N

╔══════════════════════════════ Nixpacks v1.38.0 ══════════════════════════════╗

║ setup │ python311, python311Packages.pip, postgresql.lib, openssl, ║

║ │ postgresql_15, zlib, pkgconfig ║

║──────────────────────────────────────────────────────────────────────────────║

║ install │ pip install --upgrade pip setuptools wheel ║

║ │ pip install --break-system-packages --no-cache-dir ║

║ │ --timeout=300 --retries=5 psycopg2-binary ║

║ │ pip install --break-system-packages --no-cache-dir ║

║ │ --timeout=300 --retries=5 -r requirements.txt ║

║──────────────────────────────────────────────────────────────────────────────║

║ start │ python production_server.py

╚══════════════════════════════════════════════════════════════════════════════╝

internal

load build definition from Dockerfile

0ms

internal

load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1745885067

136ms

internal

load .dockerignore

0ms

internal

load build context

0ms

stage-0

WORKDIR /app/ cached

0ms

stage-0

COPY .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix

474ms

stage-0

RUN nix-env -if .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix && nix-collect-garbage -d

29s

unpacking 'https://github.com/NixOS/nixpkgs/archive/ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.tar.gz' into the Git cache...

unpacking 'https://github.com/railwayapp/nix-npm-overlay/archive/main.tar.gz' into the Git cache...

installing 'ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env'

error:

… while calling the 'derivationStrict' builtin

at <nix/derivation-internal.nix>:37:12:

36|

37| strict = derivationStrict drvAttrs;

| ^

38|

… while evaluating derivation 'ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env'

whose name attribute is located at /nix/store/lwi59jcfwk2lnrakmm1y5vw85hj3n1bi-source/pkgs/stdenv/generic/make-derivation.nix:375:7

… while evaluating attribute 'passAsFile' of derivation 'ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7-env'

at /nix/store/lwi59jcfwk2lnrakmm1y5vw85hj3n1bi-source/pkgs/build-support/trivial-builders/default.nix:60:9:

59| inherit buildCommand name;

60| passAsFile = [ "buildCommand" ]

| ^

61| ++ (derivationArgs.passAsFile or [ ]);

(stack trace truncated; use '--show-trace' to show the full, detailed trace)

error: undefined variable 'pkgconfig'

at /app/.nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix:19:17:

18| '')

19| openssl pkgconfig postgresql.lib postgresql_15 python311 python311Packages.pip zlib

| ^

20| ];

Dockerfile:8

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

6 |

7 | COPY .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix

8 | >>> RUN nix-env -if .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix && nix-collect-garbage -d

9 |

10 |

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

ERROR: failed to build: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-ffeebf0acf3ae8b29f8c7049cd911b9636efd7e7.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1

Error: Docker build failed

Solved

5 Replies

Railway
BOT

5 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


echohack
EMPLOYEE

5 months ago

Hello,

We are experiencing degraded performance on Metal US-West builders. You can always see our latest status on https://status.railway.com

https://status.railway.com/cmfyx7f3h06p7201ekb67tmir


Status changed to Awaiting User Response Railway 6 months ago


Railway
BOT

5 months ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


Railway
BOT

5 months ago

✅ The ticket Slow Build and Deployment Times Reported has been marked as completed.


Railway
BOT

5 months ago

✅ The ticket Slow Builds and Deployments Issue has been marked as completed.


Railway
BOT

5 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 5 months ago


Loading...