Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pgmodeler.spec'], chrootPath='/var/lib/mock/f40-build-764037-122651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pgmodeler.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/pgmodeler-1.0.4-2.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pgmodeler.spec'], chrootPath='/var/lib/mock/f40-build-764037-122651/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pgmodeler.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GqUKJi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pgmodeler-1.0.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pgmodeler-1.0.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pgmodeler-1.0.4 + rm -rf /builddir/build/BUILD/pgmodeler-1.0.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pgmodeler-1.0.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QhOgSu + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pgmodeler-1.0.4 + /usr/lib64/qt6/bin/qmake 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= PREFIX=/usr BINDIR=/usr/bin PRIVATEBINDIR=/usr/libexec PLUGINSDIR=/usr/lib64/pgmodeler/plugins SHAREDIR=/usr/share/pgmodeler DOCDIR=/usr/share/doc/pgmodeler PRIVATELIBDIR=/usr/lib64/pgmodeler pgmodeler.pro Info: creating stash file /builddir/build/BUILD/pgmodeler-1.0.4/.qmake.stash Project WARNING: The subproject /builddir/build/BUILD/pgmodeler-1.0.4/plugins wasn't found! pgModeler will be build without plug-ins. Project WARNING: If you want to compile pgModeler with plug-ins make sure to clone https://github.com/pgmodeler/plugins inside pgModeler's root folder and rerun qmake. + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd libs/libutils/ && ( test -e Makefile || /usr/lib64/qt6/bin/qmake -o Makefile /builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils/libutils.pro 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= PREFIX=/usr BINDIR=/usr/bin PRIVATEBINDIR=/usr/libexec PLUGINSDIR=/usr/lib64/pgmodeler/plugins SHAREDIR=/usr/share/pgmodeler DOCDIR=/usr/share/doc/pgmodeler PRIVATELIBDIR=/usr/lib64/pgmodeler ) && /usr/bin/make -f Makefile make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DUTILS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/pgsqlversions.o src/pgsqlversions.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DUTILS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/application.o src/application.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DUTILS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/globalattributes.o src/globalattributes.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DUTILS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/utilsns.o src/utilsns.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DUTILS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/exception.o src/exception.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' rm -f libutils.so.1.0.0 libutils.so libutils.so.1 libutils.so.1.0 g++ -Wl,-rpath,'$ORIGIN' -Wl,-rpath,'$ORIGIN/../lib64/pgmodeler' -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-rpath-link,/usr/lib64 -shared -Wl,-soname,libutils.so.1 -o libutils.so.1.0.0 obj/exception.o obj/globalattributes.o obj/pgsqlversions.o obj/application.o obj/utilsns.o -lpq -lxml2 /usr/lib64/libQt6PrintSupport.so /usr/lib64/libQt6Widgets.so /usr/lib64/libQt6Svg.so /usr/lib64/libQt6Gui.so /usr/lib64/libQt6Network.so /usr/lib64/libQt6Core.so -L/usr/lib64 -lpthread -lGLX -lOpenGL -lXext -lX11 -lm ln -s libutils.so.1.0.0 libutils.so ln -s libutils.so.1.0.0 libutils.so.1 ln -s libutils.so.1.0.0 libutils.so.1.0 make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libutils' cd libs/libparsers/ && ( test -e Makefile || /usr/lib64/qt6/bin/qmake -o Makefile /builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers/libparsers.pro 'QMAKE_CFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_DEBUG=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' 'QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' QMAKE_STRIP= PREFIX=/usr BINDIR=/usr/bin PRIVATEBINDIR=/usr/libexec PLUGINSDIR=/usr/lib64/pgmodeler/plugins SHAREDIR=/usr/share/pgmodeler DOCDIR=/usr/share/doc/pgmodeler PRIVATELIBDIR=/usr/lib64/pgmodeler ) && /usr/bin/make -f Makefile make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DPARSERS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I../libutils/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/csvparser.o src/csvparser.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DPARSERS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I../libutils/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/xmlparser.o src/xmlparser.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' src/xmlparser.cpp: In member function ‘void XmlParser::readBuffer()’: src/xmlparser.cpp:182:42: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive] 182 | xml_error=xmlGetLastError(); | ~~~~~~~~~~~~~~~^~ | | | const xmlError* {aka const _xmlError*} make[1]: *** [Makefile:460: obj/xmlparser.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DPARSERS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I../libutils/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/csvdocument.o src/csvdocument.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DPARSERS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I../libutils/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/schemaparser.o src/schemaparser.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' make[1]: Entering directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' g++ -c -pipe -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++1z -Wall -Wextra -frtti -D_REENTRANT -fPIC -DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DCHECK_CURR_VER -DBUILDNUM=\"\" -DBUILDDATE=\"20231218\" -DBINDIR=\"/usr/bin\" -DPLUGINSDIR=\"/usr/lib64/pgmodeler/plugins\" -DPRIVATEBINDIR=\"/usr/libexec\" -DCONFDIR=\"/usr/share/pgmodeler/conf\" -DDOCDIR=\"/usr/share/doc/pgmodeler\" -DLANGDIR=\"/usr/share/pgmodeler/lang\" -DSAMPLESDIR=\"/usr/share/pgmodeler/samples\" -DSCHEMASDIR=\"/usr/share/pgmodeler/schemas\" -DPARSERS_SYMBOLS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/builddir/build/BUILD/pgmodeler-1.0.4/plugins/src -I../libutils/src -I/usr/include/libxml2 -I/usr/include/qt6 -I/usr/include/qt6/QtPrintSupport -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtSvg -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtNetwork -I/usr/include/qt6/QtCore -Imoc -I/usr/lib64/qt6/mkspecs/linux-g++ -o obj/attributes.o src/attributes.cpp make[1]: Leaving directory '/builddir/build/BUILD/pgmodeler-1.0.4/libs/libparsers' make: *** [Makefile:99: sub-libs-libparsers-make_first-ordered] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.QhOgSu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QhOgSu (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pgmodeler.spec