Summary: | dev-db/mysql-connector-c-8.0.31 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Piotr Maciej Kabata <kabasny> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amd64, ionen, orbea |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=885035 https://github.com/gentoo/gentoo/pull/30517 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build.log
environment CMakeError.log |
Description
Piotr Maciej Kabata
2023-03-28 21:33:04 UTC
Created attachment 859207 [details]
environment
>/usr/bin/eu-readelf -n ./build_id_test | grep "Build ID:"
LANG should be harmless but I see you have a aggressive LC_ALL=pl_PL which makes "Build ID" go away even during the build process, aka:
$ eu-readelf -n build_id_test | head -n +11 | tail -n 1
Build ID: 0ee9e0113df6d3a4090d4533c01e731db983e105
$ LC_ALL=pl_PL eu-readelf -n build_id_test | head -n +11 | tail -n 1
Identyfikator kopii: 0ee9e0113df6d3a4090d4533c01e731db983e105
Try to remove LC_ALL wherever you're setting it.
On an unrelated note, you probably want to generate and replace pl_PL by pl_PL.utf8
(In reply to Ionen Wolkens from comment #2) > >/usr/bin/eu-readelf -n ./build_id_test | grep "Build ID:" > LANG should be harmless but I see you have a aggressive LC_ALL=pl_PL which > makes "Build ID" go away even during the build process, aka: > > $ eu-readelf -n build_id_test | head -n +11 | tail -n 1 > Build ID: 0ee9e0113df6d3a4090d4533c01e731db983e105 > $ LC_ALL=pl_PL eu-readelf -n build_id_test | head -n +11 | tail -n 1 > Identyfikator kopii: 0ee9e0113df6d3a4090d4533c01e731db983e105 > > Try to remove LC_ALL wherever you're setting it. > > On an unrelated note, you probably want to generate and replace pl_PL by > pl_PL.utf8 I have tried that, ufortunately didn't change anything One of build logs has shown: collect2: fatal error: cannot find 'ld' compilation terminated. I have tried rebuilding binutils, but it didn't help. I also emerged ldd - still nothing Are you sure LC_ALL was unset? It may still be in your environment. `echo $LC_ALL` should return nothing, likewise for `portageq envvar LC_ALL` (In reply to Piotr Maciej Kabata from comment #4) > One of build logs has shown: > collect2: fatal error: cannot find 'ld' compilation terminated. Also that's different than the previous error, would need a new build.log (In reply to Ionen Wolkens from comment #5) > Are you sure LC_ALL was unset? It may still be in your environment. > > `echo $LC_ALL` should return nothing, likewise for `portageq envvar LC_ALL` it was unset. NULL for both commands Created attachment 859256 [details]
CMakeError.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016648eda578932e93becd587cbc9bc4e376c9e3 commit 016648eda578932e93becd587cbc9bc4e376c9e3 Author: orbea <orbea@riseup.net> AuthorDate: 2023-04-07 19:55:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-09 05:27:14 +0000 dev-db/mysql-connector-c: Build fixes * Adds -DWITH_BUILD_ID=OFF to workaround various build issues * Patches the source to work with musl Upstream-PR: https://github.com/mysql/mysql-server/pull/455 Closes: https://bugs.gentoo.org/886474 Closes: https://bugs.gentoo.org/903415 Closes: https://bugs.gentoo.org/885035 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30517 Signed-off-by: Sam James <sam@gentoo.org> .../files/mysql-connector-c-8.0.32-musl.patch | 25 ++++++++++++++++++++++ .../mysql-connector-c-8.0.32-r1.ebuild | 2 ++ 2 files changed, 27 insertions(+) |