percona-xtrabackup-2.0.1 will not compile in Solaris 11 due to parameter mismatch with getpwuid_r and getgrgid_r functions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Triaged
|
Low
|
Unassigned | ||
2.0 |
Won't Fix
|
Low
|
Unassigned | ||
2.1 |
Triaged
|
Low
|
Unassigned | ||
2.2 |
Triaged
|
Low
|
Unassigned | ||
2.3 |
Triaged
|
Low
|
Unassigned |
Bug Description
Error Snippet:
* * *
[ 11%] Building C object libarchive/
/root/newdir/
/root/newdir/
/usr/include/
cc1: warnings being treated as errors
/root/newdir/
/root/newdir/
/root/newdir/
/usr/include/
/root/newdir/
gmake[2]: *** [libarchive/
gmake[2]: *** Waiting for unfinished jobs....
[ 12%] Building C object libarchive/
* * *
Workaround:
Add the following code right before the last line in src/libarchive/
#ifndef _POSIX_
#define _POSIX_
#endif
tags: | added: i25303 |
summary: |
percona-xtrabackup-2.0.1 will not compile in Solaris 11 due to - parameter mismatch with getpwuid_r and getgtgid_r functions + parameter mismatch with getpwuid_r and getgrgid_r functions |
Changed in percona-xtrabackup: | |
status: | New → Won't Fix |
Changed in percona-xtrabackup: | |
importance: | Undecided → Low |
status: | Won't Fix → Triaged |
tags: | removed: i25303 |
Here's a patch that updates CFLAGS under utils/build.sh so we don't need to change any code in libarchive.