| Bug #46693 | Build Error on Make step - Mysql 5.1.37 on AIX 6.1 | ||
|---|---|---|---|
| Submitted: | 13 Aug 2009 11:47 | Modified: | 31 Mar 2014 9:28 |
| Reporter: | jy maltese | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
| Version: | 5.1.37, 5.1.38 | OS: | IBM AIX (6.1) |
| Assigned to: | CPU Architecture: | Any | |
[13 Aug 2009 11:59]
Susanne Ebrecht
Did you use Gnu Make?
[13 Aug 2009 12:21]
jy maltese
Now, i'm not using GNU make ! so i'll try with GNU make and then reply to you thanks
[13 Aug 2009 12:28]
Susanne Ebrecht
Many thanks for your fast feedback. Our documentation says somewhere that Gnu Make is necessary. I never tested AIX here but my experience with other Unix systems (not Linux) and their default "make" is that it seems to work randomly. Sometimes it works, sometimes not and sometimes it compiles but you will have funny other side effects. So it is really better to use Gnu Make here. I will set this bug back to Need Feedback. Please set status back when you finished testing and reported us result from your tests.
[13 Aug 2009 12:41]
jy maltese
Better with gmake
but other errors below
/usr/bin/gmake
root@victor:/app/local/p04/mysql/5.1/mysql-5.1.37# gmake
Making all in .
gmake[1]: Entering directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
gmake[2]: Entering directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
set -ex; \
for file in include/mysql/plugin.h include/mysql.h; do \
gcc -E -nostdinc -dI \
-I./include \
-I./include/mysql \
-I./sql \
-I./include \
-I./include/mysql \
-I./sql \
$file 2>/dev/null | \
/usr/bin/sed -e '/^# /d' \
-e '/^[ ]*$/d' \
-e '/^#pragma GCC set_debug_pwd/d' \
-e '/^#ident/d' > \
./abi_check.out; \
/usr/bin/diff -w $file.pp ./abi_check.out; \
/usr/bin/rm ./abi_check.out; \
done
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql/plugin.h
+ /usr/bin/sed -e /^# /d -e /^[ ]*$/d -e /^#pragma GCC set_debug_pwd/d -e /^#ident/d
+ 1> ./abi_check.out
+ 2> /dev/null
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /usr/bin/rm ./abi_check.out
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql include/mysql.h
+ 2> /dev/null
+ /usr/bin/sed -e /^# /d -e /^[ ]*$/d -e /^#pragma GCC set_debug_pwd/d -e /^#ident/d
+ 1> ./abi_check.out
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
0a1
> #include <standards.h>
gmake[2]: *** [do_abi_check] Error 1
gmake[2]: Leaving directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake[1]: *** [abi_check] Error 2
gmake[1]: Leaving directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake: *** [all-recursive] Error 1
[14 Aug 2009 9:43]
jy maltese
#include <standards.h> is a difference found and make fails but regarding comments in file include/mysql.h #include <standards.h> is necessary for large-file support ??? #ifdef _AIX /* large-file support will break without this */ #include <standards.h> #endif
[17 Aug 2009 7:43]
Susanne Ebrecht
Back to your first message here: /bin/sh: syntax error at line 1 : `;' unexpected make: The error code from the last command is 2. This is an error message coming from sh and should not happen with bash. Please give it a try and try bash here. If all works fine with bash but not with sh then of course it is a bug.
[17 Aug 2009 8:07]
jy maltese
i think you don't see my changes of this call ?
[17 Aug 2009 8:15]
jy maltese
I post again a change i have made earlier
[13 Aug 14:41] jy maltese
Better with gmake
but other errors below
/usr/bin/gmake
root@victor:/app/local/p04/mysql/5.1/mysql-5.1.37# gmake
Making all in .
gmake[1]: Entering directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake abi_headers="include/mysql/plugin.h include/mysql.h" do_abi_check
gmake[2]: Entering directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
set -ex; \
for file in include/mysql/plugin.h include/mysql.h; do \
gcc -E -nostdinc -dI \
-I./include \
-I./include/mysql \
-I./sql \
-I./include \
-I./include/mysql \
-I./sql \
$file 2>/dev/null | \
/usr/bin/sed -e '/^# /d' \
-e '/^[ ]*$/d' \
-e '/^#pragma GCC set_debug_pwd/d' \
-e '/^#ident/d' > \
./abi_check.out; \
/usr/bin/diff -w $file.pp ./abi_check.out; \
/usr/bin/rm ./abi_check.out; \
done
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql
-I./sql include/mysql/plugin.h
+ /usr/bin/sed -e /^# /d -e /^[ ]*$/d -e /^#pragma GCC set_debug_pwd/d -e
/^#ident/d
+ 1> ./abi_check.out
+ 2> /dev/null
+ /usr/bin/diff -w include/mysql/plugin.h.pp ./abi_check.out
+ /usr/bin/rm ./abi_check.out
+ gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql
-I./sql include/mysql.h
+ 2> /dev/null
+ /usr/bin/sed -e /^# /d -e /^[ ]*$/d -e /^#pragma GCC set_debug_pwd/d -e
/^#ident/d
+ 1> ./abi_check.out
+ /usr/bin/diff -w include/mysql.h.pp ./abi_check.out
0a1
> #include <standards.h>
gmake[2]: *** [do_abi_check] Error 1
gmake[2]: Leaving directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake[1]: *** [abi_check] Error 2
gmake[1]: Leaving directory `/app/local/p04/mysql/5.1/mysql-5.1.37'
gmake: *** [all-recursive] Error 1
[17 Aug 2009 8:19]
jy maltese
the next change => [14 Aug 11:43] jy maltese #include <standards.h> is a difference found and make fails but regarding comments in file include/mysql.h #include <standards.h> is necessary for large-file support ??? #ifdef _AIX /* large-file support will break without this */ #include <standards.h> #endif
[8 Sep 2009 9:39]
Sveta Smirnova
Thank you for the report. Verified as described. Bug is repeatable on AIX 5.3 as well
[11 Jan 2010 4:00]
Randal Rioux
Same bug confirmed with MySQL 5.1.42 on AIX 6.1.
[23 Feb 2010 12:32]
aaron smith
Same with 5.1.43 on aix 6.1, oslevel 6100-00-06-0834
[17 Jul 2010 5:57]
MySQL Verification Team
Looks like the same is happening on Suse 11.3 X86_64: < MYSQL_ROW_OFFSET mysql_stmt_row_seek(MYSQL_STMT *stmt, < MYSQL_ROW_OFFSET offset); < MYSQL_ROW_OFFSET mysql_stmt_row_tell(MYSQL_STMT *stmt); < void mysql_stmt_data_seek(MYSQL_STMT *stmt, my_ulonglong offset); < my_ulonglong mysql_stmt_num_rows(MYSQL_STMT *stmt); < my_ulonglong mysql_stmt_affected_rows(MYSQL_STMT *stmt); < my_ulonglong mysql_stmt_insert_id(MYSQL_STMT *stmt); < unsigned int mysql_stmt_field_count(MYSQL_STMT *stmt); < my_bool mysql_commit(MYSQL * mysql); < my_bool mysql_rollback(MYSQL * mysql); < my_bool mysql_autocommit(MYSQL * mysql, my_bool auto_mode); < my_bool mysql_more_results(MYSQL *mysql); < int mysql_next_result(MYSQL *mysql); < void mysql_close(MYSQL *sock); gmake[2]: *** [do_abi_check] Error 1 gmake[2]: Leaving directory `/home/miguel/bzr/5.1' gmake[1]: *** [abi_check] Error 2 gmake[1]: Leaving directory `/home/miguel/bzr/5.1' gmake: *** [all-recursive] Error 1
[31 Mar 2014 9:28]
Yngve Svendsen
Posted by developer: Thank you for the bug report. We are closing this report now for the following reasons: * No response was received on this for 10 months. * MySQL Server 5.1 is an obsolete version of MySQL Server, and AIX is no longer a supported platform for any Server version.
[31 Mar 2014 9:28]
Yngve Svendsen
Closing as per latest comment.

Description: Hi, please here are errors message as abi_header variable is empty, this cause the error below ?? Making all in . make abi_headers="" do_abi_check set -ex; for file in ; do gcc -E -nostdinc -dI -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql $file 2>/dev/null | /usr/bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d' > ./abi_check.out; /usr/bin/diff -w $file.pp ./abi_check.out; /usr/bin/rm ./abi_check.out; done /bin/sh: syntax error at line 1 : `;' unexpected make: The error code from the last command is 2. Stop. make: The error code from the last command is 2. Stop. make: The error code from the last command is 1. Stop. How to repeat: type "make"