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

hip failing: meson no such file or directory #81

Open
vsoch opened this issue Mar 5, 2022 · 10 comments
Open

hip failing: meson no such file or directory #81

vsoch opened this issue Mar 5, 2022 · 10 comments

Comments

@vsoch
Copy link
Contributor

vsoch commented Mar 5, 2022

image

@trws what can I try to fix this?

@trws
Copy link
Collaborator

trws commented Mar 8, 2022

I think you did this already, but installing meson should do it. The "right" solution is probably to make sure that meson is a dependency in spack as well, probably in the MesonPackage build system.

@vsoch
Copy link
Contributor Author

vsoch commented Mar 8, 2022

yep I think this is fixed! The new error is:

image

@trws
Copy link
Collaborator

trws commented Mar 8, 2022

Ah, that makes sense now. That's a bug in either the hip package or the upstream repos somewhere, it's an LLVM symbol that's not defined, so that's on them not us.

@vsoch
Copy link
Contributor Author

vsoch commented Mar 8, 2022

Is there somewhere we can report it? I guess for the time being all our builds will fail because of it, at least until we can get a new version.

@trws
Copy link
Collaborator

trws commented Mar 8, 2022

Could report it on the spack repo. It might also be possible to specify a different gallium version in our build for a while if there's one that works, but it would take some experimentation to find one. What's the spec that's dying to cause this?

@vsoch
Copy link
Contributor Author

vsoch commented Mar 8, 2022

Looks to be mesa!

==> Installing mesa-21.3.1-jyo4fe55ufprn73pu3eia7kp52iwrczk
==> No binary for mesa-21.3.1-jyo4fe55ufprn73pu3eia7kp52iwrczk found: installing from source
==> Fetching https://mirror.spack.io/_source-cache/archive/2b/2b0dc2540cb192525741d00f706dbc4586349185dafc[657](https://github.com/rse-ops/docker-images/runs/5458943568?check_suite_focus=true#step:8:657)29c7fda0800cc474d.tar.xz
==> Applied patch /opt/spack/var/spack/repos/builtin/packages/mesa/mesa_check_llvm_version_suffix.patch
==> mesa: Executing phase: 'meson'
==> mesa: Executing phase: 'build'
==> Error: ProcessError: Command exited with status 1:
    'ninja' '-j2' '-v'

@trws
Copy link
Collaborator

trws commented Mar 8, 2022

oh wait a minute, this might be because they changed their default to build with ~llvm instead of +llvm, maybe hip was counting on that being set?

@vsoch
Copy link
Contributor Author

vsoch commented Mar 8, 2022

maybe - how do we fixit?

@trws
Copy link
Collaborator

trws commented Mar 8, 2022

If that's what it is, then adding ^mesa+llvm to the hip spec string should take care of it.

@vsoch
Copy link
Contributor Author

vsoch commented Mar 8, 2022

Will try that!

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

2 participants