D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/mysql-workbench-6.3.10-6.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.GBn69V + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mysql-workbench-community-6.3.10-src + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/mysql-workbench-community-6.3.10-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mysql-workbench-community-6.3.10-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0001-mysql-workbench-no-check-for-updates.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0002-disable-unsupported-operating-system-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0003-add-option-to-hide-nonstandard-server-warning.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0004-fix-build-for-i686.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/0005-gdal-use-CPLFree.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/mysql-workbench-community-6.3.9-fix-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -ie s/ReloadIfChanged/ReloadAllIfChanged/g backend/wbpublic/sqlide/recordset_text_storage.cpp + sed -i '/^find_package(MySQL /c find_package(MySQL REQUIRED)' CMakeLists.txt + sed -i '/^FIND_PROGRAM(PYTHON_EXEC /c FIND_PROGRAM(PYTHON_EXEC "python2")' CMakeLists.txt + sed -i '/#include/s|gdal/||' backend/wbpublic/grtui/geom_draw_box.h backend/wbpublic/grt/spatial_handler.h backend/wbpublic/objimpl/db.query/db_query_Resultset.cpp + sed -i '/^set/s|-Werror -Wall|-Wall|' CMakeLists.txt + sed -i 's|-Wno-deprecated-register||' ext/scintilla/gtk/CMakeLists.txt + install -D /home/pterjan/rpmbuild/SOURCES/antlr-3.4-complete.jar /home/pterjan/rpmbuild/BUILD/linux-res/bin/antlr-3.4-complete.jar + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S3av3r + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mysql-workbench-community-6.3.10-src + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CXXFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive' + CXXFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive' + CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DMySQL_INCLUDE_DIRS=/usr/include/mysql/server -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1") -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.8 -- Checking for module 'gtkmm-3.0' -- Found gtkmm-3.0, version 3.24.1 -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.60.2 -- Checking for module 'gmodule-2.0' -- Found gmodule-2.0, version 2.60.2 -- Checking for module 'glib-2.0>=2.30' -- Found glib-2.0, version 2.60.2 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SWIG: /usr/bin/swig (found version "3.0.12") -- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable version "2.7.16", minimum required is "2.6") -- Found PY_paramiko: 2.4.2 -- Found MySQL: /usr/include/mysql/server (found version "#define MYSQL_SERVER_VERSION "10.3.16-MariaDB"") -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.9") -- Found OpenGL: /usr/lib64/libGL.so -- Found MySQLCppConn: /usr/lib64/libmysqlcppconn.so (found suitable version "1.1.9", minimum required is "1.1.8") -- Found VSQLITE: /usr/lib64/libvsqlitepp.so VSQLITE INCLUDE DIR: /usr/include VSQLITE LIB DIR: -L/usr/lib64 -lvsqlitepp -- Found GDAL: /usr/lib64/libgdal.so (found version "2.4.1") -- Boost version: 1.68.0 -- Found unixODBC: /usr/lib64/libodbc.so Found unixodbc, using it as ODBC library. -- Checking for modules 'libpcre;libpcrecpp' -- Found libpcre, version 8.43 -- Found libpcrecpp, version 8.43 -- Checking for module 'cairo>=1.5.12' -- Found cairo, version 1.16.0 -- Checking for module 'uuid' -- Found uuid, version 2.33.2 -- Checking for module 'libzip' -- Found libzip, version 1.5.2 -- Checking for module 'gnome-keyring-1' -- Found gnome-keyring-1, version 3.12.0 -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for strtol -- Looking for strtol - found -- Looking for strtoll -- Looking for strtoll - found -- Looking for strtold -- Looking for strtold - found -- Looking for strtoull -- Looking for strtoull - found -- Looking for strtoimax -- Looking for strtoimax - found -- Looking for strtoumax -- Looking for strtoumax - found Using bundled Antlr C runtime CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:559 (message): SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. Call Stack (most recent call first): library/forms/swig/CMakeLists.txt:36 (swig_add_module) CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:600 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library) library/forms/swig/CMakeLists.txt:36 (swig_add_module) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:695 (SWIG_ADD_SOURCE_TO_MODULE) /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library) library/forms/swig/CMakeLists.txt:36 (swig_add_module) This warning is for project developers. Use -Wno-dev to suppress it. CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:559 (message): SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. Call Stack (most recent call first): library/forms/swig/CMakeLists.txt:49 (swig_add_module) CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:600 (message): Policy CMP0078 is not set: UseSWIG generates standard target names. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library) library/forms/swig/CMakeLists.txt:49 (swig_add_module) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:460 (message): Policy CMP0086 is not set: UseSWIG honors SWIG_MODULE_NAME via -module flag. Run "cmake --help-policy CMP0086" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/Modules/UseSWIG.cmake:695 (SWIG_ADD_SOURCE_TO_MODULE) /usr/share/cmake/Modules/UseSWIG.cmake:560 (swig_add_library) library/forms/swig/CMakeLists.txt:49 (swig_add_module) This warning is for project developers. Use -Wno-dev to suppress it. [mysql] Generating parser files... Selected MySQL parser java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory CMake Error at library/parsers/grammars/CMakeLists.txt:9 (message): [mysql] Generating parsers files failed with result='127' -- Configuring incomplete, errors occurred! See also "/home/pterjan/rpmbuild/BUILD/mysql-workbench-community-6.3.10-src/build/CMakeFiles/CMakeOutput.log". See also "/home/pterjan/rpmbuild/BUILD/mysql-workbench-community-6.3.10-src/build/CMakeFiles/CMakeError.log". error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S3av3r (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.S3av3r (%build) I: [iurt_root_command] ERROR: chroot