Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663236 - dev-db/mysql-connector-c doesn't build against musl
Summary: dev-db/mysql-connector-c doesn't build against musl
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-08-09 15:12 UTC by Stijn Tintel
Modified: 2022-01-06 11:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,16.28 KB, text/x-log)
2018-08-09 23:18 UTC, Stijn Tintel
Details
ugly attempt to fix the problem (mysql-connector-c-6.1.11-musl.patch,10.56 KB, patch)
2018-08-21 20:33 UTC, Stijn Tintel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2018-08-09 15:12:12 UTC
And since USE=client-libs is masked for all mysql server flavours, it's now impossible to run a mysql-compatible server on musl.
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-08-09 17:14:49 UTC
Please attach a full build.log of your error
Comment 2 Stijn Tintel 2018-08-09 23:18:38 UTC
Created attachment 542892 [details]
build.log
Comment 3 Stijn Tintel 2018-08-21 19:55:47 UTC
Trying to fix it based on https://github.com/mysql/mysql-server/commit/a0f6a1453ec33c5c9dd5e6be24934c46f55805e3 but no luck so far.
Comment 4 Stijn Tintel 2018-08-21 20:33:18 UTC
Created attachment 544420 [details, diff]
ugly attempt to fix the problem

With this patch it compiles, but there's probably a better way to fix the `error: unknown type name ‘sigval’` I get when using the original timer_notify_thread_func code from https://github.com/mysql/mysql-server/blob/8.0/mysys/posix_timers.cc
Comment 5 Stijn Tintel 2022-01-06 11:40:59 UTC
Version 6.1.11 no longer in tree, newer versions have a different problem for which a bug already exists. Please