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

Spack go version is old and messes up building gojsonnet for wire-cell-python #7

Open
2 tasks
brettviren opened this issue Jun 26, 2023 · 0 comments
Open
2 tasks

Comments

@brettviren
Copy link
Member

This is a convoluted problem which did not happen on Debian 11 but occurs when setting things up again with Debian 12.

Spack with wire-cell-spack builds go 1.4 which gets used by pip install the wire-cell-python package in the resulting virtual env. Go is needed directly through gojsonet Python bindings and via moo.

The pip install fails due to error:

      running build_ext
      flag provided but not defined: -buildmode

To fix one can remove from the Spack view the very old go provided by Spack in order to pick up the newer version from the host OS:

rm local/bin/go local/bin/gofmt

A better solution is some mix of:

  • upgrade the go package in Spack and/or in wire-cell-spack
  • incorporate installing of wire-cell-python dependencies in wire-cell-spack
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