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

bb build system does not enforce that published binaries are usable on user systems #4190

Open
TomAFrench opened this issue Jan 23, 2024 · 2 comments
Assignees
Labels
C-bb-bin Component: Barretenberg executable binary

Comments

@TomAFrench
Copy link
Member

See linked issue: noir-lang/noir#4132

The crux of this issue is that nargo installs bb to act as a backend however aztec-packages does not expose a simple method to install bb while ensuring that the installer's environment supplies all of bb's dependencies.

The release process for bb should ensure that bb can be easily installed and used on target versions of ubuntu/mac, etc. If dependencies exist which are not provided by standard in these environments then the bb installation method should install these rather than pushing that onto the user.

@Savio-Sou
Copy link
Member

A Noir user also reported the need to manually install libc++-dev in order to unblock himself from running nargo prove with barretenberg.

Discord thread: https://discord.com/channels/1113924620781883405/1204286987843018832/1204427488781144125
(Invite link for joining Noir Discord: https://discord.gg/JtqzkdeQ6G)

@Savio-Sou Savio-Sou added the C-bb-bin Component: Barretenberg executable binary label Feb 6, 2024
@Savio-Sou Savio-Sou added this to Noir Feb 6, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Feb 6, 2024
@ludamad ludamad self-assigned this Feb 8, 2024
@Savio-Sou
Copy link
Member

This existed when libc++-dev version required by bb is newer than the version in certain ubuntu/mac version that users are on.

Now that ubuntu/mac is updated with newer libc++-dev this comes up less frequently amongst users, but would still be good to tackle this to make sure the possibility of such version gap won't plague us again down the road.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bb-bin Component: Barretenberg executable binary
Projects
Status: Todo
Development

No branches or pull requests

3 participants