Skip to content

libevent: remove autotools build deps again#42908

Merged
alalazo merged 1 commit intospack:developfrom
haampie:libevent/dont-autreconf
Feb 29, 2024
Merged

libevent: remove autotools build deps again#42908
alalazo merged 1 commit intospack:developfrom
haampie:libevent/dont-autreconf

Conversation

@haampie
Copy link
Copy Markdown
Member

@haampie haampie commented Feb 28, 2024

The deps were added in #40945 to make it work on macOS 11, because the
old configure scripts only detect macOS 10. Apparently the bundled
autogen.sh script caused issues, later fixed in #41057. However, also
with that fix, things are incorrect, cause people now report:

libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.

I did not check what that error is about exactly, but it looks like
Spack's def autoreconf step does way less than the autogen.sh
script provided in the tarball.

HOWEVER, all this is unnecessary, because the underlying issue was
already fixed long ago, it's just that it regressed at some point. With
#41205 it's back in place, and therefore we can get rid of those
redundant build deps.

The deps were added in spack#40945 to make it work on macOS 11, because the
old configure scripts only detect macOS 10. Apparently people the
autoreconf script caused issues, later fixed in spack#41057. However, also
with that fix, things are incorrect, cause people now report:

```
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
```

I did not check what that error is about exactly, but it looks like
Spack's `def autoreconf` step does way less than the `autgen.sh` script
provided in the source tarball.

HOWEVER, all this is unnecessary, because the underlying issue was
already fixed long ago, it's just that it regressed at some point, but
it's back in place since spack#41205, therefore, get rid of all this madness.
@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Feb 28, 2024

Hi @haampie! I noticed that the following package(s) don't yet have maintainers:

  • libevent

Are you interested in adopting any of these package(s)? If so, simply add the following to the package class:

    maintainers("haampie")

If not, could you contact the developers of this package and see if they are interested? You can quickly see who has worked on a package with spack blame:

$ spack blame libevent

Thank you for your help! Please don't add maintainers without their consent.

You don't have to be a Spack expert or package developer in order to be a "maintainer," it just gives us a list of users willing to review PRs or debug issues relating to this package. A package can have multiple maintainers; just add a list of GitHub handles of anyone who wants to volunteer.

@alalazo alalazo merged commit 0c224ba into spack:develop Feb 29, 2024
@haampie haampie deleted the libevent/dont-autreconf branch February 29, 2024 08:57
mathomp4 pushed a commit to mathomp4/spack that referenced this pull request Mar 27, 2024
The deps were added in spack#40945 to make it work on macOS 11, because the
old configure scripts only detect macOS 10. Apparently people reported the
autoreconf script caused issues, later fixed in spack#41057. However, also
with that fix, things are incorrect, cause people now report:

```
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
```

HOWEVER, all this is unnecessary, because the underlying issue was
already fixed long ago, it's just that it regressed at some point, but
it's back in place since spack#41205.
teaguesterling pushed a commit to teaguesterling/spack that referenced this pull request Jun 15, 2024
The deps were added in spack#40945 to make it work on macOS 11, because the
old configure scripts only detect macOS 10. Apparently people reported the
autoreconf script caused issues, later fixed in spack#41057. However, also
with that fix, things are incorrect, cause people now report:

```
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
```

HOWEVER, all this is unnecessary, because the underlying issue was
already fixed long ago, it's just that it regressed at some point, but
it's back in place since spack#41205.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants