m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

Error running build when update libmusicbrainz - 'xmlErrorPtr' was not declared in this scope; did you mean 'xmlDocPtr'? #2535

Closed ycwan closed 9 months ago

ycwan commented 9 months ago
08:58:50   Running git update for libmusicbrainz...
08:58:52 ┌ libmusicbrainz git  ..................... [Newer dependencies]
08:58:52 ├ Running uninstall...
08:58:52 ├ Running cmake...
08:58:57 ├ Running build...
Likely error (tail of the failed operation logfile):
      |           ^~~~~~~~~~~~~~
C:/MinGW-w64/build/libmusicbrainz-git/src/xmlParser.cc:74:9: error: 'xmlErrorPtr' was not declared in this scope; did you mean 'xmlDocPtr'?
   74 |         xmlErrorPtr error = xmlGetLastError();
      |         ^~~~~~~~~~~
      |         xmlDocPtr
C:/MinGW-w64/build/libmusicbrainz-git/src/xmlParser.cc:75:28: error: 'error' was not declared in this scope; did you mean 'perror'?
   75 |         results->message = error->message;
      |                            ^~~~~
      |                            perror
ninja: build stopped: subcommand failed.
build failed. Check C:/MinGW-w64/build/libmusicbrainz-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
08:59:00   Creating diagnostics file...

Attach C:\MinGW-w64\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

Try running the build again at a later time.

logs.zip ab-suite.build.log

zhangran-cn commented 9 months ago

Same problem for me

ycwan commented 9 months ago

closed