Bug #121133 Contribution: Make bundled binary copy targets unique and name-safe
Submitted: 19 Aug 18:12 Modified: 20 Oct 20:01
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Document Store: MySQL Shell Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[19 Aug 18:12] OCA Admin
Description:
This bug tracks a contribution by Evgeniy Patlan (Github user: EvgeniyPatlan), as described in http://github.com/mysql/mysql-shell/pull/37

How to repeat:
See description

Suggested fix:
See contribution code attached
[19 Aug 18:12] OCA Admin
Contribution submitted via Github - Make bundled binary copy targets unique and name-safe 
(*) Contribution by Evgeniy Patlan (Github EvgeniyPatlan, https://github.com/mysql/mysql-shell/pull/37#issuecomment-5345570811): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_4312762239.txt (text/plain), 1.75 KiB.

[10 Sep 11:49] Pawel Andruszkiewicz
Thank you for your contribution.
[14 Sep 14:48] MySQL Admin
Posted by developer: Bug status updated to 'Patch pending'
[16 Sep 8:48] MySQL Admin
Posted by developer: Bug status updated to 'Patch approved'
[17 Sep 8:48] MySQL Admin
Posted by developer: Bug status updated to 'Documenting'
[20 Oct 20:01] Edward Gilmore
Posted by developer:
 
Added the following note to the MySQL Shell 26.10.0 release notes:
 
Bundling a versioned library or multiple files with the same basename
could create invalid or duplicate CMake targets and prevent MySQL Shell
package configuration. Copy-target names are now sanitized and receive
numeric suffixes when necessary, preserving a distinct dependency for each
bundled file.

Our thanks to Evgeniy Patlan for the contribution.