[libmysql] Turn off WITH_BUILD_ID to fix baseline #30796
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes vcpkg ci pipeline issue
libmysql:x64-linux
failed with below error:Since the commit 321f1069,
libmysql
begin to get the build-id in linux build by below codes:This resulted in it finding the
eu-readelf
provided by vcpkg portelfutils
, which in turn caused the above error.Usually, this issue should be a port bug of
elfutils
, but we tried to directly build the source code ofelfutils
using the following command:and then replace the generated
eu-readelf
file toinstalled/x64-linux/tools/elfutils/bin
. The error above will still occur, so we think this issue should be an upstream issue. We will reported this issue to upstream.For fixing this baseline issue, there are currently two ways:
-DWITH_BUILD_ID=OFF
into vcpkg_cmake_configure()According to Dg0yt's comment, use the first way.
SHA512s are updated for each updated downloadThe "supports" clause reflects platforms that may be fixed by this new versionAny fixed CI baseline entries are removed from that file.Any patches that are no longer applied are deleted from the port's directory../vcpkg x-add-version --all
and committing the result.