turbo: [turborepo] Heroku build failing on v1.7

What version of Turborepo are you using?

1.7.2

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Linux

Describe the Bug

After updating to 1.7.2 I’m unable to build my app on Heroku (Heroku-22 stack).

thread 'main' panicked at 'Failed to execute turbo.: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', crates/turborepo/src/main.rs:50:10

Full stacktrace: https://pastebin.com/v67Z624V

Expected Behavior

Builds should pass like on v1.6.3 which I’m downgrading to for now.

To Reproduce

Attempt to build a node app with turbo v1.7.2 on Heroku

Reproduction Repo

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

It turns out the error is caused by the missing libc6-compat library (depending on your distro the package might have a different name).

This isn’t a problem with turbo, it’s a consequence of using Rust. Its binaries depend on this lib.

Since @pete-willard reports that it worked on a canary & @emko notes that it works on latest I’m going to preemptively close, and lock after I hear back. 👍

This could possibly be fixed by #4123.