D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/python-qwt-5.2.0-18.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3fm2HC + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf PyQwt-5.2.0 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/PyQwt-5.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyQwt-5.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JNgHS2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd PyQwt-5.2.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd configure + python configure.py -j4 '--extra-cflags=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' '--extra-cxxflags=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' '--extra-lflags= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' --extra-libs=python2.7 -I/usr/include/qwt --disable-numeric --disable-numarray size_t_check.cpp:3:6: error: prototype for 'void a::f(unsigned int)' does not match any in class 'a' void a::f(unsigned int) {}; ^ size_t_check.cpp:2:24: error: candidate is: void a::f(size_t) class a { public: void f(size_t); }; ^ /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s size_t_check.cpp:3:6: error: prototype for 'void a::f(long long unsigned int)' does not match any in class 'a' void a::f(unsigned long long) {}; ^ size_t_check.cpp:2:24: error: candidate is: void a::f(size_t) class a { public: void f(size_t); }; ^ g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include -I/usr/include/qwt -I/usr/include/python2.7 -I/usr/lib64/python2.7/site-packages/numpy/core/include -I. -o qwt_version_info.o qwt_version_info.cpp g++ -Wl,-O1 -o qwt_version_info qwt_version_info.o -L/usr/lib64 -lQtCore -L/usr/lib64 -lpthread /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s sip: Deprecation warning: ../sip/iqt5qt4/IQtModule.sip:32: %Module version number should be specified using the 'version' argument Command line options: {'debug': False, 'disable_numarray': True, 'disable_numeric': True, 'disable_numpy': False, 'excluded_features': [], 'extra_cflags': ['-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'], 'extra_cxxflags': ['-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'], 'extra_defines': [], 'extra_include_dirs': ['/usr/include/qwt'], 'extra_lflags': [' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'], 'extra_lib_dirs': [], 'extra_libs': ['python2.7'], 'jobs': '-j 4', 'module_install_path': '', 'modules': [], 'qt': 4, 'qwt_sources': '', 'sip_include_dirs': [], 'subdirs': [], 'timelines': [], 'trace': ''} Found SIP-4.19.10. Found 'posix' operating system: 2.7.15 (default, Jun 17 2018, 18:39:32) [GCC 7.3.0] Do not get upset by error messages in the next 3 compiler checks: Check if 'size_t' and 'unsigned int' are the same type: NO Check if 'size_t' and 'unsigned long' are the same type: YES Check if 'size_t' and 'unsigned long long' are the same type: NO Found NumPy-1.13.3. Found Qwt-5.2.3. Extended command line options: {'debug': False, 'disable_numarray': True, 'disable_numeric': True, 'disable_numpy': False, 'excluded_features': ['-x HAS_PYQT_031105', '-x HAS_NUMARRAY', '-x HAS_NUMERIC', '-x HAS_QWT4'], 'extra_cflags': ['-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'], 'extra_cxxflags': ['-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables'], 'extra_defines': ['HAS_NUMPY'], 'extra_include_dirs': ['/usr/include/qwt', '/usr/include/python2.7', '/usr/lib64/python2.7/site-packages/numpy/core/include'], 'extra_lflags': [' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'], 'extra_lib_dirs': [], 'extra_libs': ['python2.7'], 'iqt': 'iqt5qt4', 'iqt_sipfile': '../sip/iqt5qt4/IQtModule.sip', 'jobs': '-j 4', 'module_install_path': '/usr/lib64/python2.7/site-packages/PyQt4/Qwt5', 'modules': ['iqt', 'Qwt5'], 'qt': 4, 'qwt': 'qwt5qt4', 'qwt_sipfile': '../sip/qwt5qt4/QwtModule.sip', 'qwt_sources': '', 'sip_include_dirs': [], 'subdirs': ['iqt5qt4', 'qwt5qt4'], 'timelines': ['-t Qwt_5_2_0'], 'trace': ''} The following modules will be built: ['iqt', 'Qwt5']. Setup the PyQwt package build. sip invokation: '/usr/bin/sip -b tmp-iqt5qt4/iqt5qt4.sbf -c tmp-iqt5qt4 -j 4 ../sip/iqt5qt4/IQtModule.sip' SIP failed to generate the C++ code. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JNgHS2 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.JNgHS2 (%build) I: [iurt_root_command] ERROR: chroot