Mysql5.5 MariaDB 5.5 built fail after r253321

From: Vitalij Satanivskij <satan_at_ukr.net>
Date: Tue, 23 Jul 2013 13:54:25 +0300
Hello. 

After changes commited in Revision 253321 

 diff is - http://svnweb.freebsd.org/base/head/lib/msun/src/math.h?r1=253319&r2=253321&sortby=rev

Build of databases/mysql55-server  and databases/mariadb55-server/ failed.

Both with same error.

[ 47%] Building CXX object sql/CMakeFiles/sql.dir/item_func.cc.o
In file included from /usr/ports/databases/mysql55-server/work/mysql-5.5.32/sql/item_func.cc:27:
In file included from /usr/ports/databases/mysql55-server/work/mysql-5.5.32/include/my_global.h:351:
/usr/include/include/sys/timeb.h:42:2: warning: "this file includes <sys/timeb.h> which is deprecated" [-W#warnings]
#warning "this file includes <sys/timeb.h> which is deprecated"
 ^
/usr/ports/databases/mysql55-server/work/mysql-5.5.32/sql/item_func.cc:2344:29: error: controlling expression type 'volatile double' not compatible with any generic association type
  else if (!dec_negative && my_isinf(value_mul_tmp))
                            ^~~~~~~~~~~~~~~~~~~~~~~
/usr/ports/databases/mysql55-server/work/mysql-5.5.32/include/my_global.h:814:21: note: expanded from macro 'my_isinf'
#define my_isinf(X) isinf(X)
                    ^~~~~~~~
/usr/include/include/math.h:107:18: note: expanded from macro 'isinf'
#define isinf(x) __fp_type_select(x, __isinff, __isinf, __isinfl)
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/include/math.h:86:49: note: expanded from macro '__fp_type_select'
#define __fp_type_select(x, f, d, ld) _Generic((0,(x)),                 \
                                                ^~~~~
1 warning and 1 error generated.
--- sql/CMakeFiles/sql.dir/item_func.cc.o ---
*** [sql/CMakeFiles/sql.dir/item_func.cc.o] Error code 1

make: stopped in /usr/ports/databases/mysql55-server/work/mysql-5.5.32
3 warnings generated.
1 warning generated.
1 warning generated.
1 error

make: stopped in /usr/ports/databases/mysql55-server/work/mysql-5.5.32
*** Error code 2

Stop.
make: stopped in /usr/ports/databases/mysql55-server/work/mysql-5.5.32
--- all ---
*** [all] Error code 1

make: stopped in /usr/ports/databases/mysql55-server/work/mysql-5.5.32
1 error

make: stopped in /usr/ports/databases/mysql55-server/work/mysql-5.5.32


After manual rollback, build finished successfuly.


Question  - is ports must be fixed or maybe system?
Received on Tue Jul 23 2013 - 08:54:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC