pkgsrc-Bugs archive

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

pkg/52062: mysql57-server compile error



>Number:         52062
>Category:       pkg
>Synopsis:       mysql57-server compile error
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 11 04:30:00 +0000 2017
>Originator:     Nathan Arthur
>Release:        current, March 10 2017
>Organization:
>Environment:
NetBSD 7.0.2 (GENERIC.201610210724Z) amd64
>Description:
Building mysql57-server in a pkg_comp chroot consistently fails. This can be seen in the log snippet below, and in http://ftp.netbsd.org/pub/pkgsrc/misc/joerg/20170309.0508/mysql-server-5.7.17nb1/build.log



[ 64%] Building C object rapid/plugin/group_replication/CMakeFiles/group_replication.dir/libmysqlgcs/src/bindings/xcom/xcom/xcom_base.c.o
/pkg_comp/work/pkg/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
/pkg_comp/work/pkg/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':
/pkg_comp/work/pkg/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:128: 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.

>How-To-Repeat:
Build mysql57-server.
>Fix:



Home | Main Index | Thread Index | Old Index