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

External dependencies required for build #220

Closed
rpwoodbu opened this issue Feb 26, 2022 · 1 comment
Closed

External dependencies required for build #220

rpwoodbu opened this issue Feb 26, 2022 · 1 comment
Assignees

Comments

@rpwoodbu
Copy link
Owner

rpwoodbu commented Feb 26, 2022

In the process of building in a clean Crostini environment, I discovered that I needed to install the following packages:

  • build-essential
  • python
  • gettext
  • zip

build-essential is for GCC, in order to build tests on the local host. This was expected, although I didn't think it would block building without tests.
python is required for pnacl-clang, it would seem.
gettext provides envsubst, which is required for building //mosh_app:manifest.
zip is required to build the various uploadable packages.

These should either be included in the repo or pulled in by WORKSPACE. In either case, Bazel should be configured so it cannot see unspecified dependencies.

@rpwoodbu rpwoodbu self-assigned this Feb 26, 2022
@rpwoodbu
Copy link
Owner Author

rpwoodbu commented Mar 1, 2022

Getting rid of gettext (which has envsubst) is really the main one to contend with. All sane build environments should have the others. I'd prefer it to be more hermetic, but for a standalone project, that doesn't seem to be terribly realistic. (One can use the "docker" strategy in Bazel to build against a well-known environment, but that is very slow.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant