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

Warnings on autotools 2.70 #9918

Closed
pieterlexis opened this issue Jan 7, 2021 · 2 comments · Fixed by #9920
Closed

Warnings on autotools 2.70 #9918

pieterlexis opened this issue Jan 7, 2021 · 2 comments · Fixed by #9920
Assignees

Comments

@pieterlexis
Copy link
Contributor

  • Program: Authoritative, Recursor, dnsdist
  • Issue type: Bug report

Short description

When running make or autoreconf, there are a bunch of warnings from the latest autotools.

Environment

  • Operating system: ArchLinux
  • Software version: git commit 99ab312
  • Software source: git

Steps to reproduce

  1. Install autotools 2.70
  2. run autoreconf

Expected behaviour

No warnings.

Actual behaviour

configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
configure.ac:27: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from...
m4/pdns_check_flex.m4:1: PDNS_CHECK_FLEX is expanded from...
configure.ac:27: the top level
configure.ac:77: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:77: You should run autoupdate.
./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2248: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2269: AC_CACHE_CHECK is expanded from...
m4/tm-gmtoff.m4:5: MC_TM_GMTOFF is expanded from...
configure.ac:77: the top level
configure.ac:226: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:226: You should run autoupdate.
./lib/autoconf/general.m4:203: AC_HELP_STRING is expanded from...
m4/pdns_check_lmdb.m4:2: PDNS_CHECK_LMDB is expanded from...
configure.ac:226: the top level
configure.ac:232: warning: back quotes and double quotes must not be escaped in: remotebackend \"zeromq\" selected but the \"remote\" backend itself is not selected. Please add \"remote\" to your modules or dynmodules list and re-run configure!
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
m4/pdns_enable_remotebackend_zeromq.m4:1: PDNS_ENABLE_REMOTEBACKEND_ZEROMQ is expanded from...
configure.ac:232: the top level
configure.ac:24: installing 'build-aux/compile'
configure.ac:16: installing 'build-aux/missing'
ext/ipcrypt/Makefile.am: installing 'build-aux/depcomp'

Other information

I'm assigning this to me and will shave this yak

@rgacogne
Copy link
Member

rgacogne commented Jan 7, 2021

A lot of things have been deprecated in 2.70, and it doesn't seem obvious how to deal with that in a compatible way :'(

@pieterlexis
Copy link
Contributor Author

A lot of things have been deprecated in 2.70, and it doesn't seem obvious how to deal with that in a compatible way :'(

I've just fixed all these warnings and tested on CentOS 7 and Ubuntu Bionic (autotools 2.69), which are the oldest OS's we officially support. Even Ubuntu Xenial (EOL in April) already has autotools 2.69. I think bumping the AC_PREREQ to 2.69 would be fine. As those with older OS's and autotools can always use the configure script distributed in the tarball (and not run autoreconf to regenerate configure).

pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 7, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 8, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
pieterlexis added a commit to pieterlexis/pdns that referenced this issue Jan 11, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
chbruyand pushed a commit to chbruyand/pdns that referenced this issue Mar 9, 2021
This bumps the minimal autoconf requirement to 2.69 as well. This
version is on Ubuntu 16.04 (EOL due in 3 months) and CentOS 7.

Closes PowerDNS#9918
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants