Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest foundryup does not properly install tools #5903

Closed
2 tasks done
cam-schultz opened this issue Sep 25, 2023 · 3 comments · Fixed by #5904
Closed
2 tasks done

Latest foundryup does not properly install tools #5903

cam-schultz opened this issue Sep 25, 2023 · 3 comments · Fixed by #5904
Labels
T-bug Type: bug

Comments

@cam-schultz
Copy link

Component

Foundryup

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What command(s) is the bug in?

foundryup

Operating System

Linux

Describe the bug

Installing and running foundryup according to the installation instructions emits errors related to missing GLIBC libraries. I am running curl -L https://foundry.paradigm.xyz | bash, which to my knowledge pulls master. I have verified that libc6 is up to date on my system. The same behavior occurs on Ubuntu 20.04 (native and in a Docker container) and MacOs Ventura (native only).

Here's the foundryup output:

$ foundryup


.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx
 
 ╔═╗ ╔═╗ ╦ ╦ ╔╗╔ ╔╦╗ ╦═╗ ╦ ╦         Portable and modular toolkit
 ╠╣  ║ ║ ║ ║ ║║║  ║║ ╠╦╝ ╚╦╝    for Ethereum Application Development 
 ╚   ╚═╝ ╚═╝ ╝╚╝ ═╩╝ ╩╚═  ╩                 written in Rust.

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

Repo       : https://github.com/foundry-rs/
Book       : https://book.getfoundry.sh/                      
Chat       : https://t.me/foundry_rs/                         
Support    : https://t.me/foundry_support/
Contribute : https://github.com/orgs/foundry-rs/projects/2/

.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx.xOx

foundryup: installing foundry (version nightly, tag nightly-35b6c011678ed8b7563819de095a9a68600a9752)
foundryup: downloading latest forge, cast, anvil, and chisel
################################################################################################################################################################################################## 100.0%
foundryup: downloading manpages
################################################################################################################################################################################################## 100.0%
/home/cscultz/.foundry/bin/forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/cscultz/.foundry/bin/forge)
/home/cscultz/.foundry/bin/forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/cscultz/.foundry/bin/forge)
/home/cscultz/.foundry/bin/forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/cscultz/.foundry/bin/forge)
foundryup: command failed: /home/cscultz/.foundry/bin/forge --version
foundryup: installed - 
/home/cscultz/.foundry/bin/cast: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/cscultz/.foundry/bin/cast)
/home/cscultz/.foundry/bin/cast: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/cscultz/.foundry/bin/cast)
/home/cscultz/.foundry/bin/cast: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/cscultz/.foundry/bin/cast)
foundryup: command failed: /home/cscultz/.foundry/bin/cast --version
foundryup: installed - 
/home/cscultz/.foundry/bin/anvil: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/cscultz/.foundry/bin/anvil)
/home/cscultz/.foundry/bin/anvil: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/cscultz/.foundry/bin/anvil)
/home/cscultz/.foundry/bin/anvil: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/cscultz/.foundry/bin/anvil)
foundryup: command failed: /home/cscultz/.foundry/bin/anvil --version
foundryup: installed - 
/home/cscultz/.foundry/bin/chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /home/cscultz/.foundry/bin/chisel)
/home/cscultz/.foundry/bin/chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /home/cscultz/.foundry/bin/chisel)
/home/cscultz/.foundry/bin/chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /home/cscultz/.foundry/bin/chisel)
foundryup: command failed: /home/cscultz/.foundry/bin/chisel --version
foundryup: installed - 
foundryup: done!

Similarly,

$ forge --version
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by forge)
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by forge)
forge: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by forge)
@cam-schultz cam-schultz added the T-bug Type: bug label Sep 25, 2023
@gakonst gakonst added this to Foundry Sep 25, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Sep 25, 2023
@mattsse
Copy link
Member

mattsse commented Sep 25, 2023

ffs not this again...

@DaniPopes this is the ubuntu runner...

@mattsse
Copy link
Member

mattsse commented Sep 25, 2023

new release triggered

@cam-schultz
Copy link
Author

cam-schultz commented Sep 25, 2023

@mattsse I'm still seeing the same issue. Looks like the release workflow failed: #5905

foundryup is working as expected. Thanks!

alexghr added a commit to AztecProtocol/aztec-packages that referenced this issue Sep 27, 2023
Bump version of foundry to a newer version. The previous nightly tag
didn't have any release binaries up on Github (maybe they got deleted by
their CI?) so it was failing to install.

They have fixed the libc issue (see foundry-rs/foundry#5903) as well so
we could potentially move back to installing latest but it might break
again if they do decide to build on a newer Ubuntu version.

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
DaniPopes added a commit to paradigmxyz/reth that referenced this issue Sep 28, 2023
As we know [from Foundry](foundry-rs/foundry#5903), we only need to pin to Ubuntu-20.04
when building release binaries which users will consume, since
otherwise they'll get libc errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants