Summary: | dev-ruby/mysql2: Incorrect MySQL client library version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Bolshakov <anton.bugs> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anton Bolshakov
2018-10-09 10:03:57 UTC
Please follow the post-install instructions to rebuild all libmysqlclient consumers in the latest versions. Re-opening because I didn't receive the post_install message. The solution was to rebuild dev-ruby/mysql2 which I expected to be picked up by revdep-rebuild. There is an "virtual/libmysqlclient:=" instruction in the slot 0.3 (and it doesn't work with virtual packages): https://github.com/gentoo/gentoo/blob/master/dev-ruby/mysql2/mysql2-0.3.21.ebuild#L25 Hower, it is missing in the latest ebuild: https://github.com/gentoo/gentoo/blob/master/dev-ruby/mysql2/mysql2-0.5.2-r1.ebuild#L25 Shouldn't it be "MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( dev-db/mariadb-connector-c:= )" (with :=) ? (In reply to Anton Bolshakov from comment #2) > Shouldn't it be "MDEPEND="mysql? ( dev-db/mysql-connector-c:= ) mariadb? ( > dev-db/mariadb-connector-c:= )" (with :=) ? No, because these are API-compatible and don't require recompilation after updating the library. Have you seen an error which(In reply to Hans de Graaff from comment #3) > No, because these are API-compatible and don't require recompilation after > updating the library. Have you seen the error which I was facing? They are compatible between each other but mysql2 complained after major mysql client version upgrade |