Summary: | dev-db/mysql-connector-c++: fails to compile without byte-swap function (bswap32, "#error No byte-swap function available on big-endian platform.") | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=736064 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 709622, 756661, 789252 | ||
Attachments: |
mysql-connector-c++-8.0.19:20200309-103030.log
emerge --info |
Description
Agostino Sarubbo
2020-03-09 10:33:11 UTC
Created attachment 617590 [details]
mysql-connector-c++-8.0.19:20200309-103030.log
build log
Created attachment 617592 [details]
emerge --info
emerge --info
Error is > No byte-swap function available on big-endian platform. Like indicated in bug 709622 comment #2 we probably need to drop keywords for sparc, ppc and ppc64. (In reply to Thomas Deutschmann from comment #3) > Error is > > > No byte-swap function available on big-endian platform. > > Like indicated in bug 709622 comment #2 we probably need to drop keywords > for sparc, ppc and ppc64. PPC64 has little-endian variant. (Presumably PPC32 also has such variant, but no profile exists.) So you can keep ppc64 keyword and mask dev-db/mysql-connector-c++ for big-endian PPC64: profiles/arch/powerpc/ppc64/package.mask:dev-db/mysql-connector-c++ profiles/arch/powerpc/ppc64/64le/package.mask:-dev-db/mysql-connector-c++ The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1e2c0bf09c7285c7969fab56240d165f17c8b96 commit d1e2c0bf09c7285c7969fab56240d165f17c8b96 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-16 03:25:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-16 03:42:35 +0000 dev-db/mysql-connector-c++: mark -ppc -sparc b/c broken assert Closes: https://bugs.gentoo.org/711940 Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/22596 dev-db/mysql-connector-c++/mysql-connector-c++-8.0.24.ebuild | 3 ++- dev-db/mysql-connector-c++/mysql-connector-c++-8.0.25.ebuild | 3 ++- dev-db/mysql-connector-c++/mysql-connector-c++-8.0.26.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10363f43c2e14a19f0264d93c72f30660945bb8d commit 10363f43c2e14a19f0264d93c72f30660945bb8d Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-16 02:54:58 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-16 03:42:34 +0000 profiles/arch/powerpc/ppc64: mask dev-db/mysql-connector-c++ on BE Closes: https://bugs.gentoo.org/711940 Signed-off-by: Sam James <sam@gentoo.org> profiles/arch/powerpc/ppc64/64le/package.mask | 6 ++++++ profiles/arch/powerpc/ppc64/package.mask | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) |