pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51961: databases/mysql57-server



>Number:         51961
>Category:       pkg
>Synopsis:       databases/mysql57-server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 09 19:55:00 +0000 2017
>Originator:     nzasch
>Release:        pkgsrc-2016Q4 on NetBSD 7.0.2
>Organization:
esiliati.org
>Environment:
NetBSD cerambice 7.0.2 NetBSD 7.0.2 (BPI) #0: Thu Nov 17 13:13:48 UTC 2016  root@cerambice:/usr/src/sys/arch/evbarm/compile/BPI evbarm
>Description:
Hi

while trying to build mysql57-server in pkgsrc-2016Q4 on an Olimex A10 board, compilation fails with:

[ 64%] Building C object rapid/plugin/group_replication/CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c.o
/ssd/pkgsrc/databases/mysql57-server/work/mysql-5.7.17/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c:363:1: warning: variable length array 'name' is used [-Wvla]
 void get_host_name(char *a, char name[MAXHOSTNAMELEN+1]);
 ^
[ 64%] Building C object rapid/plugin/group_replication/CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c.o
/ssd/pkgsrc/databases/mysql57-server/work/mysql-5.7.17/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c: In function 'my_xdr_free':
/ssd/pkgsrc/databases/mysql57-server/work/mysql-5.7.17/rapid/plugin/group_replication/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c:46:3: error: too many arguments to function 'proc'
   (*proc) (&x, objp, 0);
   ^
rapid/plugin/group_replication/CMakeFiles/group_replication.dir/build.make:130: recipe for target 'rapid/plugin/group_replication/CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c.o' failed
gmake[2]: *** [rapid/plugin/group_replication/CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_memory.c.o] Error 1
CMakeFiles/Makefile2:4359: recipe for target 'rapid/plugin/group_replication/CMakeFiles/group_replication.dir/all' failed
gmake[1]: *** [rapid/plugin/group_replication/CMakeFiles/group_replication.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /ssd/pkgsrc/databases/mysql57-server
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql57-server

>How-To-Repeat:
build mysql57-server in pkgsrc-2016Q4 on arm
>Fix:


Home | Main Index | Thread Index | Old Index