Skip to content

AutotoolsPackage: add aclocal for all build deps#15784

Merged
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:features/autotools-aclocal
Apr 17, 2020
Merged

AutotoolsPackage: add aclocal for all build deps#15784
adamjstewart merged 1 commit intospack:developfrom
adamjstewart:features/autotools-aclocal

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

During the autoreconf phase, we need to explicitly pass a list of directories in which to look for m4 headers. Previously, we only checked for pkgconfig, but there are many other packages that provide m4 headers. For example, among the software I currently have installed, I see the following packages with m4 headers:

  • automake
  • cmake
  • freetype
  • gettext
  • libgpg-error
  • libksba
  • libassuan
  • curl
  • libgcrypt
  • libtool
  • npth
  • autoconf-archive

For a concrete example, while working on #15783, autoreconf failed unless autoconf-archive was added. I've also had problems with gettext being missing in the past.

@adamjstewart
Copy link
Copy Markdown
Member Author

Ping @scheibelp

Copy link
Copy Markdown
Member

@alalazo alalazo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using only build dependencies seems the right thing to do 👍

@adamjstewart
Copy link
Copy Markdown
Member Author

Ping ping @scheibelp

@adamjstewart adamjstewart merged commit ea8793f into spack:develop Apr 17, 2020
@adamjstewart adamjstewart deleted the features/autotools-aclocal branch April 17, 2020 21:30
iomaganaris added a commit to BlueBrain/spack that referenced this pull request Apr 30, 2020
@adamjstewart adamjstewart mentioned this pull request Apr 30, 2020
4 tasks
iomaganaris added a commit to BlueBrain/spack that referenced this pull request May 11, 2020
* Added gcc 9.3.0 to compilers.yaml

* Fix issue with libconv in gcc

* Fixed mpfr and mpc packages

* Added autoconf-archive needed by mpfr

* Search for all dependencies in autotools package for m4 header files

- Similarly to spack#15784
ReinhardPrix pushed a commit to ReinhardPrix/spack that referenced this pull request Jun 5, 2020
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.

3 participants