Skip to content

[ML] Remove libxml2 from build images, scripts and docs - #3245

Draft
valeriy42 wants to merge 8 commits into
elastic:mainfrom
valeriy42:feature/drop-libxml2-build-recipes
Draft

valeriy42 wants to merge 8 commits into
elastic:mainfrom
valeriy42:feature/drop-libxml2-build-recipes

Conversation

@valeriy42

Copy link
Copy Markdown
Contributor

Part 2 of 2, stacked on #3244 (this branch includes its commits until that merges). Adds: build recipe cleanup only. Not here: the library removal itself.

Summary

  • Removes the libxml2 build steps from the five Linux Dockerfiles (linux_image, linux_aarch64_native_image, ubuntu_devbox, .8.11, .8.16) and from build_windows_third_party_deps.ps1.
  • Removes the libxml2 sections from build-setup/linux.md and build-setup/windows.md.
  • Draft: the Dockerfile changes only take effect once the build images are rebuilt and the tags used in the pipelines are bumped, which is not part of this PR. Should merge after [ML] Stop linking and shipping libxml2 #3244 has landed.

No ml-cpp code calls libxml2 any more; the XML parsing code was removed
earlier. Drop it from the link lines and the packaged third-party libraries.
Follow-up to the change that stopped linking and shipping libxml2. The
build recipes no longer need to build it.
libMlCore calls dladdr() in CCrashHandler_Linux.cc but only got libdl
transitively through libxml2. Without libxml2, linking controller failed
with an undefined reference to dladdr.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants