Description:
daily-next-mr and daily-6.0-codebase fail on HPUX.
mysql-next-mr and mysql-6.0-codebase (regular builds) do build on HPUX.
It may be a difference in configuration parameters (or environment)
that causes this failure.
The symptoms are:
- daily-next-mr:
Error 119: "mysqltest.cc", line 76 # #error implement our portable setenv replacement in mysys
#error implement our portable setenv replacement in mysys
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error 403: "mysqltest.cc", line 2089 # Undeclared variable 'setenv'. Perhaps 'getenv' as in "char *getenv(const char *)" ["/usr/include/stdlib.h", line 117] was intended.
setenv(v->name, v->str_val, 1);
^^^^^^
- daily-6.0-codebase:
aCC -DMYSQL_CLIENT_NO_THREADS -DDEFAULT_MYSQL_HOME="\"/usr/local\"" -DMYSQL_DATADIR="\"/usr/local/var\"" -I. -I../include -I../include -I../regex -I../zlib -g -DSAFE_MUTEX +O2 -g +O0 +DD64 -Aa -DHPUX11 -DSNPRINTF_RETURN_TRUNC -DHAVE_BROKEN_PREAD -D_INCLUDE_LONGLONG -DNO_FCNTL_NONBLOCK -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -c -o mysql.o mysql.cc
aCC: warning 928: option O0 overrides previous setting of O2
Warning 936: "../include/my_global.h", line 1624 # '__func__' is predefined identifier.
# define __func__ "<unknown>"
^^^^^^^^
Error 419: "../include/mysql/psi/psi.h", line 573 # 'pthread_t' is used as a type, but has not been defined as a type.
pthread_t *thread,
^^^^^^^^^
Error 22: "../include/mysql/psi/psi.h", line 574 # Syntax error.
const pthread_attr_t *attr,
^
Error 276: "../include/mysql/psi/psi.h", line 572 # Functions cannot return arrays or functions.
typedef int (*spawn_thread_v1_t)(PSI_thread_key key,
^^^^^^^^^^^^^^^^^^
Error 24: "../include/mysql/psi/psi.h", line 575 # '(' expected instead of 'void'.
void *(*start_routine)(void*), void *arg);
^^^^
Error 419: "../include/mysql/psi/psi.h", line 882 # 'spawn_thread_v1_t' is used as a type, but has not been defined as a type.
spawn_thread_v1_t spawn_thread;
^^^^^^^^^^^^^^^^^
How to repeat:
http://pb2.norway.sun.com/web.py?template=show_pushes&branch=daily-next-mr
http://pb2.norway.sun.com/web.py?template=show_pushes&branch=daily-6.0-codebase