RedisGears / RedisGears/LibMR

Vendored libevent 2.1.12 triggers 6 obsolete-macro warnings under modern autoconf (2.72+)

Open
#114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
5
Forks
6
Avg merge
3h 52m
Merged PRs (30d)
1

Description

LibMR vendors libevent 2.1.12-stable (deps/libevent) and runs autoreconf on it at build time. With autoconf 2.72+ (current on Alpine 3.24 and most 2025+ distros), this prints six obsolete-macro warnings on every build:

  • AC_HAVE_LIBRARY (configure.ac:351)
  • AC_HEADER_TIME (configure.ac:357)
  • AC_LANG_C + AC_TRY_LINK (via ACX_PTHREAD, m4/acx_pthread.m4)
  • AC_PROG_GCC_TRADITIONAL
  • AC_OUTPUT with arguments

Harmless, but noisy in CI. Note that no stable libevent fixes this: 2.1.13-stable (July 2026) still carries all the old macros — the modernized configure.ac (AX_PTHREAD etc.) only exists on the 2.2 line, which is still alpha (2.2.2-alpha).

Filing this mostly as a tracking issue: once a stable 2.2 ships, bumping the vendored libevent would silence the warnings for every downstream builder (we hit this building RedisTimeSeries as a redis 8.8.0 module). Observed with RedisTimeSeries v8.8.0 / current LibMR on Alpine 3.24.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Track the vendored libevent copy under deps/libevent, including configure.ac and m4/acx_pthread.m4. Revisit when a stable libevent 2.2 release is available, then update the vendored dependency and run autoreconf on Alpine 3.24 or another autoconf 2.72+ environment. Done means the build completes without the six obsolete-macro warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.