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

ci-env: build_and_test fails on centos6 and centos6_roundtrip #3102

Closed
hirooih opened this issue Jul 24, 2021 · 0 comments
Closed

ci-env: build_and_test fails on centos6 and centos6_roundtrip #3102

hirooih opened this issue Jul 24, 2021 · 0 comments

Comments

@hirooih
Copy link
Contributor

hirooih commented Jul 24, 2021

The version of ctags: current HEAD

Since I merged #3054, build_and_test fails on centos6 and centos6_roundtrip.

...
m4/00gnulib.m4:78: error: m4_defn: undefined macro: _AC_CHECK_DECL_BODY
m4/00gnulib.m4:78: the top level
...

It failed on the following code in m4/00gnulib.m4 added by #3054;

dnl Redefine _AC_CHECK_DECL_BODY so that it references ac_compile_for_check_decl
dnl instead of ac_compile.  If, for whatever reason, the override of AC_PROG_CC
dnl in zzgnulib.m4 is inactive, use the original ac_compile.
m4_define([_AC_CHECK_DECL_BODY],
[  ac_save_ac_compile="$ac_compile"
  if test -n "$ac_compile_for_check_decl"; then
    ac_compile="$ac_compile_for_check_decl"
  fi]
m4_defn([_AC_CHECK_DECL_BODY])[  ac_compile="$ac_save_ac_compile"
])

According to this article of the Gnulib ML, the code above should fail on RHEL 6 / CentOS 6 which are shipped with autoconf 2.63.
This was known issue.

Strange thing to me is it passed during debugging #3054 like this.
I don't see any commits related to this after the test passed.

Shall we remove centos6 and centos6_roundtrip test, or are there any better way?

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

No branches or pull requests

1 participant