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

Don't strip obsolete tag names from doxygen build errors #2525

Open
xdje42 opened this issue Oct 4, 2024 · 0 comments
Open

Don't strip obsolete tag names from doxygen build errors #2525

xdje42 opened this issue Oct 4, 2024 · 0 comments
Assignees

Comments

@xdje42
Copy link
Contributor

xdje42 commented Oct 4, 2024

Describe the bug

Issue #2524 is a doxygen build failure due to an obsolete tag.
Debugging this was more work than necessary because the culprit tag was stripped from the error output by this:

# I want to see errors other than:
#  Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 248 of file Doxyfile has become obsolete.
#  To avoid this warning please update your configuration file using "doxygen -u"
string(REGEX REPLACE
  "(^|(\r?\n))[^\r\n]*has become obsolete.\r?\n"
  "\\1" doxygen_u_error "${doxygen_u_error}")

The error output is:

CMake Error at /tmp/dynamorio/drmemory/docs/CMake_doxyfile.cmake:256 (message):
  /usr/bin/doxygen -u failed: This tag has been removed.

whereas it could have been:

/usr/bin/doxygen -u failed: warning: Tag 'DOT_TRANSPARENT' at line 243 of file 'Doxyfile' has become obsolete.

           This tag has been removed.

To Reproduce

$ make htmldocs

Versions

  • What version of Dr. Memory are you using? git head @bfbc4a118a58a182770d306120cad41b9893c53
@xdje42 xdje42 self-assigned this Oct 4, 2024
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