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

Fix building with latest autotools #418

Merged
merged 1 commit into from Aug 17, 2021

Conversation

felixonmars
Copy link
Contributor

Turns out the second build error in #416 comes from @CODE_COVERAGE_RULES@ being left out at the file:

# Makefile.in generated by automake 1.16.4 from Makefile.am.
# src/lib/Makefile.  Generated from Makefile.in by configure.
...

ax_code_coverage.m4 needs an update and Makefile.am needs to be updated
accordingly. Resolves the second failure in #416.

ax_code_coverage.m4 needs an update and Makefile.am needs to be updated
accordingly. Resolves the second failure in c-ares#416.
@bradh352
Copy link
Member

Ah, yes, it does appear the current ax_code_coverage.m4 dropped @CODE_COVERAGE_RULES@ ... interesting.
Makes sense if autoreconf -fi is installing the later version that dropped that, it would break everything.

@bradh352 bradh352 merged commit 9c4c483 into c-ares:main Aug 17, 2021
@felixonmars felixonmars deleted the ax-code-coverage branch August 17, 2021 17:29
felixonmars added a commit to felixonmars/c-ares that referenced this pull request Aug 17, 2021
This was mostly copied from fenrus75/powertop#82
which was found from https://bugzilla.redhat.com/show_bug.cgi?id=1835638

I have no idea about this, but it indeed fixes the first
`error: too many loops` error with automake 1.16.4 here.

Hopefully fixes c-ares#416 completely, with c-ares#418 merged too.
sergepetrenko pushed a commit to tarantool/c-ares that referenced this pull request Jul 29, 2022
ax_code_coverage.m4 dropped the @CODE_COVERAGE_RULES@ macro, so we need to switch to the latest recommendation from the m4 file.  This requires updates to Makefile.am.

Fix By: Felix Yan (@felixonmars)
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.

None yet

2 participants