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

Additional packages needed to build version 1.6.0 on local machine with Ubuntu 22.04LTS #1023

Closed
gmao-cda opened this issue Mar 8, 2024 · 3 comments · Fixed by #1025
Closed
Assignees
Labels
bug Something is not working INFRA JEDI Infrastructure

Comments

@gmao-cda
Copy link
Contributor

gmao-cda commented Mar 8, 2024

Describe the bug
I'm following this tutorial (https://spack-stack.readthedocs.io/en/1.6.0/NewSiteConfigs.html#prerequisites-ubuntu-one-off) to build spack & template unified-dev on my local (os: Kubuntu 22.04 LTS, 6.5.0-21-generic #21~22.04.1-Ubuntu, gcc@11.4.0).

For the section "Install basic OS packages as root", bullet "#Misc", I need two more packages, autopint and gettext, otherwise, I encountered problems and failed to finish building stack.

To Reproduce
Follow the section 6.2.2. "Prerequisites: Ubuntu (one-off)" (https://spack-stack.readthedocs.io/en/1.6.0/NewSiteConfigs.html#prerequisites-ubuntu-one-off)"

Expected behavior
I got two errors

  1. Problem related to autopoint:
Can't exec "autopoint": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm.
  1. Problem related to gettext:
/bin/bash: line 1: xgettext: command not found
make[2]: *** [Makefile:674: cxpm.po] Error 127
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/cxpm.Tpo .deps/cxpm.Po
make[2]: Leaving directory '/home/cda/fast/pkg/spack-stack/cache/build_stage/spack-stage-libxpm-3.5.17-psnzjhv7rkydtqscil7kgk3hsu27i4j2/spack-src/cxpm'
make[1]: *** [Makefile:491: all-recursive] Error 1
make[1]: Leaving directory '/home/cda/fast/pkg/spack-stack/cache/build_stage/spack-stage-libxpm-3.5.17-psnzjhv7rkydtqscil7kgk3hsu27i4j2/spack-src'
make: *** [Makefile:400: all] Error 2

System:
Local machine:

  • os: Kubuntu 22.04 LTS, 6.5.0-21-generic #21~22.04.1-Ubuntu
  • gcc@11.4.0

Solution
I Need to install the additional packages

sudo apt-get install autopoint
sudo apt-get install gettext

Consequence
Successfully passed these previously-failed sections, and finished the installation

@gmao-cda gmao-cda added the bug Something is not working label Mar 8, 2024
@climbfuji
Copy link
Collaborator

Thanks for the bug report. Looks like the installation of autoconf was incomplete. Either way, both of these packages are really basic and probably should be installed by the OS. Would you mind opening a PR to update the documentation, please?

@climbfuji climbfuji added the INFRA JEDI Infrastructure label Mar 8, 2024
@climbfuji climbfuji self-assigned this Mar 8, 2024
@gmao-cda
Copy link
Contributor Author

gmao-cda commented Mar 8, 2024

Thank you for the explanation! I have submitted PR #1025, to fix the develop branch. It should also apply to other versions.

@climbfuji
Copy link
Collaborator

Thanks for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working INFRA JEDI Infrastructure
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants