pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53780: databases/mysql56-client fails to build
>Number: 53780
>Category: pkg
>Synopsis: databases/mysql56-client fails to build
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 11 19:40:00 +0000 2018
>Originator: John Klos
>Release: NetBSD 8.0_STABLE
>Organization:
>Environment:
System: NetBSD hera.zia.io 8.0_STABLE NetBSD 8.0_STABLE (GENERIC-$Revision: 1.386 $) #0: Tue Dec 11 05:56:56 UTC 2018 john%helena.zia.io@localhost:/usr/obj-alpha/sys/arch/alpha/compile/HERA alpha
Architecture: earmv7hf
Machine: evbarm
>Description:
databases/mysql56-client fails to build. On 8.99.26:
-- CMAKE_C_FLAGS: -O2 -DUSE_OLD_FUNCTIONS -D__STDC_FORMAT_MACROS=1 -fPIC
-DPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -Wall
-Wextra -Wformat-security -Wvla -Wwrite-strings
-Wdeclaration-after-statement
-- CMAKE_CXX_FLAGS: -O2 -DUSE_OLD_FUNCTIONS -D__STDC_FORMAT_MACROS=1 -fPIC
-DPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -fPIC -DPIC
-Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual
-Wno-unused-parameter
-- Configuring incomplete, errors occurred!
See also
"/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeOutput.log".
See also
"/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeError.log".
*** Error code 1
CMakeError.log has:
Building CXX object CMakeFiles/cmTC_5c580.dir/src.cxx.o
/usr/pkgsrc/databases/mysql56-client/work/.cwrapper/bin/c++
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-I/usr/pkgsrc/databases/mysql56-client/work/.buildlink/include/readline
-O2 -DUSE_OLD_FUNCTIONS -D__STDC_FORMAT_MACROS=1 -fPIC -DPIC
-D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -fPIC -DPIC
-DEDITLINE_HAVE_COMPLETION_CHAR -o CMakeFiles/cmTC_5c580.dir/src.cxx.o
-c
/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeTmp/src.cxx
/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeTmp/src.cxx:
In function 'int main(int, char**)':
/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeTmp/src.cxx:7:24:
error: invalid conversion from 'int (*)(const char*, int)' to 'char*
(*)(const char*, int)' [-fpermissive]
MYFunction* myf= rl_completion_entry_function;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [CMakeFiles/cmTC_5c580.dir/build.make:66:
CMakeFiles/cmTC_5c580.dir/src.cxx.o] Error 1
make[1]: Leaving directory
'/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeTmp'
gmake: *** [Makefile:121: cmTC_5c580/fast] Error 2
NetBSD-8 on Alpha and on earmv7hf:
-- Performing Test HAVE_WVLA - Success
-- Using cmake version 3.13.1
-- Not building NDB
-- Library mysqlclient depends on OSLIBS -lpthread;/lib/libz.so;m;execinfo
CMake Deprecation Warning at scripts/CMakeLists.txt:279 (CMAKE_POLICY):
The OLD behavior for policy CMP0007 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- CMAKE_BUILD_TYPE:
-- COMPILE_DEFINITIONS: DBUG_OFF;HAVE_CONFIG_H
-- CMAKE_C_FLAGS: -O2 -mieee -DUSE_OLD_FUNCTIONS -D__STDC_FORMAT_MACROS=1 -fPIC -DPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -Wall -Wextra -Wformat-security -Wvla -Wwrite-strings -Wdeclaration-after-statement
-- CMAKE_CXX_FLAGS: -O2 -mieee -DUSE_OLD_FUNCTIONS -D__STDC_FORMAT_MACROS=1 -fPIC -DPIC -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/local/include -fPIC -DPIC -Wall -Wextra -Wformat-security -Wvla -Woverloaded-virtual -Wno-unused-parameter
-- Configuring incomplete, errors occurred!
See also "/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeOutput.log".
See also "/usr/pkgsrc/databases/mysql56-client/work/mysql-5.6.42/CMakeFiles/CMakeError.log".
*** Error code 1
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index