Bug #50499 Build failure on HPUX
Submitted: 21 Jan 2010 10:08 Modified: 27 Apr 2018 11:59
Reporter: Alexander Nozdrin Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:mysql-6.0-codebase OS:Any
Assigned to: CPU Architecture:Any
Tags: PB, test failure

[21 Jan 2010 10:08] Alexander Nozdrin
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
[26 Jan 2010 6:41] Sveta Smirnova
Thank you for the report.

Verified as described wit 6.0-codebase. Currently next-mr tree is green.
[1 Jun 2010 3:10] Alexander Nozdrin
The bug seems to be gone.
[1 Jul 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[27 Apr 2018 11:59] Yngve Svendsen
Posted by developer:
 
Obsolete, never released MySQL version.