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

[LIBMYSQL] Fix osx build creates invalid nuget package #31134

Merged
merged 1 commit into from
May 1, 2023

Conversation

GordonSmith
Copy link
Contributor

Removal of plugins references wrong debug folder. This causes the NuGet
package creation to fail on OSX.
Added removal of debug manuals
Tweaked reference to use actual version tag

@GordonSmith GordonSmith marked this pull request as draft April 26, 2023 15:33
@GordonSmith GordonSmith force-pushed the MYSQL_OSX_NUGET branch 3 times, most recently from 348e727 to afb58ef Compare April 26, 2023 15:49
@GordonSmith GordonSmith marked this pull request as ready for review April 26, 2023 15:50
Comment on lines 130 to 131
"${CURRENT_PACKAGES_DIR}/lib/plugin"
"${CURRENT_PACKAGES_DIR}/lib/plugin/debug"
"${CURRENT_PACKAGES_DIR}/debug/lib/plugin"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that lib/plugin is removed before lib/plugin/debug, the second line is pointless - I guess it was meant to do what is the new debug/lib/plugin line now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, and there is also lib/debug - is this really created?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like lib/debug is needed, I removed the lib/plugin/debug line.

@FrankXie05 FrankXie05 added the category:port-update The issue is with a library, which is requesting update new revision label Apr 27, 2023
@GordonSmith GordonSmith force-pushed the MYSQL_OSX_NUGET branch 6 times, most recently from b149dae to 19cc137 Compare April 27, 2023 07:47
Fix:  Change /lib/plugin/debug to /debug/lib/plugin
Feat: Change ref to actual tagged version
Fix:  Remove duplicate "remove" file
Fix:  Add WITH_BUILD_ID to MAYBE_UNUSED_VARIABLES

Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
@JavierMatosD JavierMatosD merged commit c07e248 into microsoft:master May 1, 2023
REF 1bfe02bdad6604d54913c62614bde57a055c8332 # 8.0.32
SHA512 9a556b783ee978c919ccc0c1c99ab4a84ecc9fe0b75e2e100ad616f3b7c7bd280c8da63eb9e9c98291256ebbd130aef8c6e5c404e93b7cc8b8fe754b055b650f
REF mysql-${VERSION}
SHA512 1233abe4fe055f62cc28c847e77bcfc37e03e77ee68b8606e5ad722e0b6d1ae30b95bbe623a88cecdfa0b5868b61eabaf4b99e78cb6fbb9cf3627c91d17feb0e
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SHA512 is wrong. And why it is different if you are downloading the same release?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm

➜  Downloads vcpkg hash mysql-server-1bfe02bdad6604d54913c62614bde57a055c8332.tar.gz 
9a556b783ee978c919ccc0c1c99ab4a84ecc9fe0b75e2e100ad616f3b7c7bd280c8da63eb9e9c98291256ebbd130aef8c6e5c404e93b7cc8b8fe754b055b650f
➜  Downloads vcpkg hash mysql-server-mysql-8.0.32.tar.gz 
8b9f15b301b158e6ffc99dd916b9062968d36f6bdd7b898636fa61badfbe68f7328d4a39fa3b8b3ebef180d3aec1aee353bd2dac9ef1594e5772291390e17ac0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bizarre - I can confirm this is wrong, not sure how it snuck through the PR tests.
I see you fixed already - thx.

@autoantwort autoantwort mentioned this pull request May 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants