Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711940 - dev-db/mysql-connector-c++: fails to compile without byte-swap function (bswap32, "#error No byte-swap function available on big-endian platform.")
Summary: dev-db/mysql-connector-c++: fails to compile without byte-swap function (bswa...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 756661 709622
  Show dependency tree
 
Reported: 2020-03-09 10:33 UTC by Agostino Sarubbo
Modified: 2021-05-14 06:55 UTC (History)
1 user (show)

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


Attachments
mysql-connector-c++-8.0.19:20200309-103030.log (mysql-connector-c++-8.0.19:20200309-103030.log,109.46 KB, text/plain)
2020-03-09 10:33 UTC, Agostino Sarubbo
Details
emerge --info (.emergeinfo,4.97 KB, text/plain)
2020-03-09 10:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-03-09 10:33:11 UTC
This is an auto-filled bug because dev-db/mysql-connector-c++ fails to compile on sparc. Feel free to adjust the summary to clarify the exact issue. Attached build log and emerge --info
Comment 1 Agostino Sarubbo gentoo-dev 2020-03-09 10:33:16 UTC
Created attachment 617590 [details]
mysql-connector-c++-8.0.19:20200309-103030.log

build log
Comment 2 Agostino Sarubbo gentoo-dev 2020-03-09 10:33:22 UTC
Created attachment 617592 [details]
emerge --info

emerge --info
Comment 3 Thomas Deutschmann gentoo-dev Security 2020-03-09 12:12:40 UTC
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.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2020-03-09 20:26:19 UTC
(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++