D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/zygrib-8.0.1-9.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wEWf9r + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf zyGrib-8.0.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/zyGrib-8.0.1.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd zyGrib-8.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /home/pterjan/rpmbuild/BUILD + cd zyGrib-8.0.1 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/zyGrib_maps2.4.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/zygrib-8.0.1-use-system-qwt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/zygrib-8.0.1-fix-paths-so-that-the-executable-can-be-relocated-in-bindir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/zygrib-8.0.1-fix-build-with-qt-5.15.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -e s:QMAKE=/usr/bin:QMAKE=/usr/lib64/qt5/bin: Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3X1hLW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd zyGrib-8.0.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd src + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H' + /usr/lib64/qt5/bin/qmake libsuff=64 'QMAKE_CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' 'QMAKE_CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H' 'QMAKE_LFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' QMAKE_STRIP= + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/lib64/qt5/bin/uic GUI/PositionEditorWidget.ui -o GUI/ui_PositionEditorWidget.h /usr/lib64/qt5/bin/uic GUI/ColorEditorWidget.ui -o GUI/ui_ColorEditorWidget.h /usr/lib64/qt5/bin/uic GUI/LineEditorWidget.ui -o GUI/ui_LineEditorWidget.h /usr/lib64/qt5/bin/uic GUI/TextStyleEditorWidget.ui -o GUI/ui_TextStyleEditorWidget.h /usr/lib64/qt5/bin/uic GUI/MeteotableOptionsDialog.ui -o GUI/ui_MeteotableOptionsDialog.h /usr/lib64/qt5/bin/uic GUI/AngleConverterWidget.ui -o GUI/ui_AngleConverterWidget.h g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/MblueReader.o MblueReader.cpp In file included from GriddedPlotter.h:36, from IrregularGridded.h:32, from MblueReader.h:29, from MblueReader.cpp:20: map/Projection.h:24:10: fatal error: proj_api.h: No such file or directory 24 | #include "proj_api.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1507: objs/MblueReader.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/CurveDrawer.o curvedrawer/CurveDrawer.cpp In file included from ./GriddedPlotter.h:36, from curvedrawer/CurveDrawer.h:20, from curvedrawer/CurveDrawer.cpp:13: map/Projection.h:24:10: fatal error: proj_api.h: No such file or directory 24 | #include "proj_api.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1451: objs/CurveDrawer.o] Error 1 g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/MblueRecord.o MblueRecord.cpp In file included from GriddedPlotter.h:36, from IrregularGridded.h:32, from MblueRecord.h:26, from MblueRecord.cpp:30: map/Projection.h:24:10: fatal error: proj_api.h: No such file or directory 24 | #include "proj_api.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1487: objs/MblueRecord.o] Error 1 g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/MbluePlot.o MbluePlot.cpp In file included from GriddedPlotter.h:36, from IrregularGridded.h:32, from MbluePlot.h:32, from MbluePlot.cpp:19: map/Projection.h:24:10: fatal error: proj_api.h: No such file or directory 24 | #include "proj_api.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [Makefile:1529: objs/MbluePlot.o] Error 1 g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/Astro.o Astro.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/BoatSpeed.o curvedrawer/BoatSpeed.cpp curvedrawer/BoatSpeed.cpp: In member function 'double BoatSpeed::getBoatSpeed(double, double, double)': curvedrawer/BoatSpeed.cpp:63:76: warning: 'QList QHash::values(const Key&) const [with Key = int; T = tyWindBoatSpeed]' is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations] 63 | QList qlWindSpeeds = qhWindBoatCard.values( iWindStep ); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/QHash:1, from curvedrawer/BoatSpeed.h:20, from curvedrawer/BoatSpeed.cpp:10: /usr/include/qt5/QtCore/qhash.h:1235:31: note: declared here 1235 | Q_OUTOFLINE_TEMPLATE QList QHash::values(const Key &akey) const | ^~~~~~~~~~~~~ curvedrawer/BoatSpeed.cpp: In member function 'void BoatSpeed::loadBoatParams(QString)': curvedrawer/BoatSpeed.cpp:149:67: warning: 'QHash::iterator QHash::insertMulti(const Key&, const T&) [with Key = int; T = tyWindBoatSpeed]' is deprecated: Use QMultiHash for hashes storing multiple values with the same key. [-Wdeprecated-declarations] 149 | qhWindBoatCard.insertMulti( baBoatSpeed.at(0).toUInt(), myStruct ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qhash.h:1225:55: note: declared here 1225 | Q_OUTOFLINE_TEMPLATE typename QHash::iterator QHash::insertMulti(const Key &key, const T &value) { | ^~~~~~~~~~~~~ curvedrawer/BoatSpeed.cpp:155:16: warning: 'void operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 155 | delete myLine; | ^~~~~~ curvedrawer/BoatSpeed.cpp:122:31: note: returned from 'void* operator new [](std::size_t)' 122 | myLine = new char[lLineMax]; | ^ g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/MbzFile.o MbzFile.cpp g++ -c -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fno-strict-aliasing -DPIC -fPIC -O3 -std=gnu++11 -D_REENTRANT -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Iutil -Imap -IGUI -Icurvedrawer -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -Iobjs -IGUI -I/usr/lib64/qt5/mkspecs/linux-g++ -o objs/CustomQwtClasses.o curvedrawer/CustomQwtClasses.cpp curvedrawer/CustomQwtClasses.cpp: In member function 'virtual QwtText CustomQwtPicker::trackerTextF(const QPointF&) const': curvedrawer/CustomQwtClasses.cpp:129:22: warning: 'QString& QString::sprintf(const char*, ...)' is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 129 | sText.sprintf( "%%1 %05.2f\n%%2 %05.2f\nDelta: %.2f Step: %.2f", qFst.y(), qCur.y(), fDY/fDX, fDX ); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/qwt/qwt_interval.h:14, from /usr/include/qt5/qwt/qwt_scale_div.h:14, from /usr/include/qt5/qwt/qwt_abstract_scale_draw.h:14, from /usr/include/qt5/qwt/qwt_scale_draw.h:14, from curvedrawer/CustomQwtClasses.h:13, from curvedrawer/CustomQwtClasses.cpp:8: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3X1hLW (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.3X1hLW (%build) I: [iurt_root_command] ERROR: chroot