[debian-mysql] Bug#851975: mariadb-connector-c: FTBFS on mips, s390x (and all other big-endian architechtures?)

Andreas Beckmann anbe at debian.org
Fri Jan 20 13:55:27 UTC 2017


Source: mariadb-connector-c
Version: 2.3.2-1
Severity: serious
Justification: fails to build from source

Hi,

https://buildd.debian.org/status/package.php?p=mariadb-connector-c&suite=unstable

[...]
cd /«PKGBUILDDIR»/obj-mips-linux-gnu/libmariadb && /usr/bin/cc  -DHAVE_OPENSSL -I/«PKGBUILDDIR»/obj-mips-linux-gnu/include -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/libmariadb  -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized   -D ENABLED_LOCAL_INFILE -D HAVE_COMPRESS -D LIBMARIADB -D THREAD -fPIC -o CMakeFiles/mariadb_obj.dir/my_stmt.c.o   -c /«PKGBUILDDIR»/libmariadb/my_stmt.c
In file included from /«PKGBUILDDIR»/libmariadb/my_stmt.c:46:0:
/«PKGBUILDDIR»/libmariadb/my_stmt.c: In function 'mysql_net_store_length':
/«PKGBUILDDIR»/include/my_global.h:924:85: warning: right shift count >= width of type [-Wshift-count-overflow]
 #define int8store(T,A)       do { uint def_temp= (uint) (A), def_temp2= (uint) ((A) >> 32); \
                                                                                     ^
/«PKGBUILDDIR»/libmariadb/my_stmt.c:409:3: note: in expansion of macro 'int8store'
   int8store(packet, length);
   ^~~~~~~~~
[ 82%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/my_loaddata.c.o
cd /«PKGBUILDDIR»/obj-mips-linux-gnu/libmariadb && /usr/bin/cc  -DHAVE_OPENSSL -I/«PKGBUILDDIR»/obj-mips-linux-gnu/include -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/libmariadb  -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized   -D ENABLED_LOCAL_INFILE -D HAVE_COMPRESS -D LIBMARIADB -D THREAD -fPIC -o CMakeFiles/mariadb_obj.dir/my_loaddata.c.o   -c /«PKGBUILDDIR»/libmariadb/my_loaddata.c
[ 83%] Building C object libmariadb/CMakeFiles/mariadb_obj.dir/my_stmt_codec.c.o
cd /«PKGBUILDDIR»/obj-mips-linux-gnu/libmariadb && /usr/bin/cc  -DHAVE_OPENSSL -I/«PKGBUILDDIR»/obj-mips-linux-gnu/include -I/«PKGBUILDDIR»/include -I/«PKGBUILDDIR»/libmariadb  -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wunused -Wno-uninitialized   -D ENABLED_LOCAL_INFILE -D HAVE_COMPRESS -D LIBMARIADB -D THREAD -fPIC -o CMakeFiles/mariadb_obj.dir/my_stmt_codec.c.o   -c /«PKGBUILDDIR»/libmariadb/my_stmt_codec.c
In file included from /«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:46:0:
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c: In function 'convert_from_long':
/«PKGBUILDDIR»/include/my_global.h:928:31: warning: dereferencing 'void *' pointer
 #define float4store(T,A) do { *(T)= ((uchar *) &A)[3];\
                               ^~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: note: in expansion of macro 'float4store'
       float4store(r_param->buffer, fval);
       ^~~~~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: error: invalid use of void expression
In file included from /«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:46:0:
/«PKGBUILDDIR»/include/my_global.h:929:31: warning: dereferencing 'void *' pointer
                               *((T)+1)=(char) ((uchar *) &A)[2];\
                               ^~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: note: in expansion of macro 'float4store'
       float4store(r_param->buffer, fval);
       ^~~~~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: error: invalid use of void expression
In file included from /«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:46:0:
/«PKGBUILDDIR»/include/my_global.h:930:31: warning: dereferencing 'void *' pointer
                               *((T)+2)=(char) ((uchar *) &A)[1];\
                               ^~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: note: in expansion of macro 'float4store'
       float4store(r_param->buffer, fval);
       ^~~~~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: error: invalid use of void expression
In file included from /«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:46:0:
/«PKGBUILDDIR»/include/my_global.h:931:31: warning: dereferencing 'void *' pointer
                               *((T)+3)=(char) ((uchar *) &A)[0]; } while(0)
                               ^~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: note: in expansion of macro 'float4store'
       float4store(r_param->buffer, fval);
       ^~~~~~~~~~~
/«PKGBUILDDIR»/libmariadb/my_stmt_codec.c:361:7: error: invalid use of void expression
libmariadb/CMakeFiles/mariadb_obj.dir/build.make:1961: recipe for target 'libmariadb/CMakeFiles/mariadb_obj.dir/my_stmt_codec.c.o' failed
make[3]: *** [libmariadb/CMakeFiles/mariadb_obj.dir/my_stmt_codec.c.o] Error 1
make[3]: Leaving directory '/«PKGBUILDDIR»/obj-mips-linux-gnu'
CMakeFiles/Makefile2:266: recipe for target 'libmariadb/CMakeFiles/mariadb_obj.dir/all' failed
make[2]: *** [libmariadb/CMakeFiles/mariadb_obj.dir/all] Error 2
make[2]: Leaving directory '/«PKGBUILDDIR»/obj-mips-linux-gnu'
Makefile:152: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/«PKGBUILDDIR»/obj-mips-linux-gnu'
dh_auto_build: make -j1 returned exit code 2


Andreas



More information about the pkg-mysql-maint mailing list