Bug #44302 PB2 builds for 6.0 fail on Solaris
Submitted: 15 Apr 2009 21:00 Modified: 8 Oct 2009 20:03
Reporter: Elena Stepanova Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S1 (Critical)
Version:6.0 OS:Solaris
Assigned to: Sergei Golubchik CPU Architecture:Any

[15 Apr 2009 21:00] Elena Stepanova
Description:
Some Solaris builds under PB2 fail with errors like

gmake[2]: *** [ha_myisam.o] Error 1 gmake[2]: *** Waiting for unfinished jobs....
"../../include/lf.h", line 121: Error: An array cannot have zero size unless you use the option -features=zla.
1 Error(s) detected.
gmake[2]: *** [myisam_backup_engine.o] Error 1
"../../include/my_sys.h", line 199: warning: syntax error:  empty declaration
gmake[2]: Leaving directory `/export/home/pb2/build/sb_0-465253-1239613670.9/mysql-6.0.11-alpha/storage/myisam'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/home/pb2/build/sb_0-465253-1239613670.9/mysql-6.0.11-alpha/storage'
gmake: *** [all-recursive] Error 1

How to repeat:
See PB2 results for mysql-6.0 or daily-6.0 branches starting from Apr 3 (for sol10 sparc64 max, sol10 x86_64 max, etc.)
[22 Apr 2009 4:34] Olav Sandstå
This compilation error can be fixed by the following patch:

http://lists.mysql.com/commits/72002
[22 Apr 2009 15:42] Sergei Golubchik
committed, pushed (before the bug was created, so no bug# in a changeset comment)

no changelog entry is necessary (not in a release)