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

Try building HIP again #42

Closed
wants to merge 3 commits into from
Closed

Try building HIP again #42

wants to merge 3 commits into from

Conversation

davidbeckingsale
Copy link
Collaborator

No description provided.

@vsoch
Copy link
Contributor

vsoch commented Oct 7, 2021

@davidbeckingsale do we need to add the flag to allow not having a checksum?

 ==> Warning: There is no checksum on file to fetch llvm@13.0.0 safely.
==> Error: FetchError: Will not fetch llvm@13.0.0
    Add a checksum or use --no-checksum to skip this check.

/opt/spack/lib/spack/spack/package.py:1345, in do_fetch:
       1342                    tty.debug('Fetching with no checksum. {0}'
       1343                              .format(ck_msg))
       1344
  >>   1345            if not ignore_checksum:
       1346                raise FetchError("Will not fetch %s" %
       1347                                 self.spec.format('{name}{@version}'), ck_msg)
       1348

@davidbeckingsale
Copy link
Collaborator Author

Good question - I think LLVM 13 is new and uptodate has just found it in the spack package? I'm not sure why there wouldn't be a checksum.

@vsoch
Copy link
Contributor

vsoch commented Oct 7, 2021

That's a good question - it does look like it's added to spack, so maybe we've hit a bug? We haven't built it before (but cool that uptodate found it!) https://github.com/rse-radiuss/docker-images/pkgs/container/clang-ubuntu-20.04/versions

@vsoch
Copy link
Contributor

vsoch commented Oct 7, 2021

@vsoch
Copy link
Contributor

vsoch commented Oct 8, 2021

Looks like the updated spack doesn't build with 16.04:

==> Bootstrapping clingo from pre-built binaries
==> Installing pkgconf-1.8.0-wrfzcxiwuxp6n35gbncfhkne3rorsypj
==> Warning: Skipping build of ncurses-6.2-m6pjkausvlwxp4hvk4qkog72bhtbpyua since pkgconf-1.8.0-wrfzcxiwuxp6n35gbncfhkne3rorsypj failed
==> Warning: Skipping build of cmake-3.20.4-d4anms4mhkpm4244d2zmzv3ityjb6hx6 since ncurses-6.2-m6pjkausvlwxp4hvk4qkog72bhtbpyua failed
==> Error: Failed to install pkgconf due to SyntaxError: invalid syntax (auth.py, line 121)
[+] /usr (external perl-5.22.1-csfqvfq5zyh7ulrfmwoxcvvgtudzzuh3)
==> Installing zlib-1.2.11-265kubw7f4z72djuxdloupfvtn7nmr3c
==> Warning: Skipping build of openssl-1.1.1l-6ag5xtyphgnay2eotbaetzctzavfr7fb since zlib-1.2.11-265kubw7f4z72djuxdloupfvtn7nmr3c failed
==> Error: Failed to install zlib due to SyntaxError: invalid syntax (auth.py, line 121)
==> Error: cmake-3.20.4-d4anms4mhkpm4244d2zmzv3ityjb6hx6: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).
The command '/bin/sh -c spack external find &&     spack install cmake@3.20.4' returned a non-zero code: 1

Error: Process completed with exit code 1.

This is from the merge into main: https://github.com/rse-radiuss/docker-images/actions/runs/1321731890. I guess we need to look for an auth.py?

@vsoch
Copy link
Contributor

vsoch commented Oct 9, 2021

Good news - we've resolved issues with llvm 13! Bad news, some new error with hip?

==> Error: ProcessError: Command exited with status 2:
    'make' '-j2' 'V=1'
See build log for details:
  /tmp/root/spack-stage/spack-stage-mesa18-18.3.6-fezogr2nwx7qnrreyjaykrgror4jgmjk/spack-build-out.txt

==> Warning: Skipping build of hip-4.0.0-yxdtjodptoplrhmwjkitloln4yueuex5 since mesa18-18.3.6-fezogr2nwx7qnrreyjaykrgror4jgmjk failed
==> Warning: Skipping build of hip-rocclr-4.0.0-ldfbispsgu2yhgzoig6ukh6wwgcuctob since mesa18-18.3.6-fezogr2nwx7qnrreyjaykrgror4jgmjk failed
==> Error: hip-4.0.0-yxdtjodptoplrhmwjkitloln4yueuex5: Package was not installed
==> Error: Installation request failed.  Refer to reported errors for failing package(s).
The command '/bin/sh -c spack install hip@${hip_version}' returned a non-zero code: 1

Doesn't seem to be a lot of information there. :/

@vsoch
Copy link
Contributor

vsoch commented Oct 10, 2021

okay just rebased with fixes for ubuntu 16.04 (the error was that Python 3.5 doesn't have format strings, which pkgconf expected)

@vsoch vsoch closed this Feb 9, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants