D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/qstat-2.17-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.duvAps
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zCqJWo
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/qstat-2.17-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/qstat-2.17-build
+ rm -rf qstat-2.17
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/qstat-2.17.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd qstat-2.17
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ iconv -f iso8859-1 -t utf-8 CHANGES.txt
+ mv -f CHANGES.txt.conv CHANGES.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KigLgh
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/qstat-2.17-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd qstat-2.17
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ export QSTAT_VERSION=2.17
+ QSTAT_VERSION=2.17
+ autoreconf -vfi
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
egrep: warning: egrep is obsolescent; using grep -E
autoreconf: configure.ac: tracing
egrep: warning: egrep is obsolescent; using grep -E
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
egrep: warning: egrep is obsolescent; using grep -E
configure.ac:3: warning: 'AM_CONFIG_HEADER': this macro is obsolete.
configure.ac:3: You should use the 'AC_CONFIG_HEADERS' macro instead.
aclocal.m4:707: AM_CONFIG_HEADER is expanded from...
configure.ac:3: the top level
configure.ac:13: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:13: the top level
configure.ac:30: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:30: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.ac:30: the top level
autoreconf: running: /usr/bin/autoheader --force
egrep: warning: egrep is obsolescent; using grep -E
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:10: installing './compile'
configure.ac:6: installing './config.guess'
configure.ac:6: installing './config.sub'
configure.ac:7: installing './install-sh'
configure.ac:7: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 0.01
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for sys/mman.h... yes
checking for strndup... yes
checking for strnstr... no
checking whether to enable optimization... yes
checking whether to enable debug output... yes
checking whether to enable packet dumps... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating template/Makefile
config.status: creating info/Makefile
config.status: creating gnuconfig.h
config.status: executing depfiles commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
echo '-Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall' | cmp -s - .compiler_flags || echo '-Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall' > .compiler_flags
ver=$(./scripts/version.sh); \
echo $ver | cmp -s - .version || echo $ver > .version
egrep: warning: egrep is obsolescent; using grep -E
ver=$(cat .version); \
file=$(sed "s/CHANGEME/$ver/g" ./version.h.tmpl); \
echo "$file" | cmp -s - version.h || echo "$file" > version.h
/usr/bin/make  all-recursive
Making all in template
make[2]: Nothing to be done for 'all'.
Making all in info
make[2]: Nothing to be done for 'all'.
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o utils.o utils.c
utils.c: In function 'str_replace':
utils.c:151:17: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
  151 |                 strncpy(s, replace, rlen); // -Wstringop-truncation warning here is a false positive.
      |                 ^
utils.c:143:20: note: length computed here
  143 |         int rlen = strlen(replace);
      |                    ^~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o packet_manip.o packet_manip.c
packet_manip.c: In function 'combine_packets':
packet_manip.c:134:24: error: too many arguments to function '(int (*)(void))server->type->packet_func'; expected 0, have 3
  134 |                 ret = ((int (*)())server->type->packet_func)(server, combined, datalen);
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
make[2]: *** [Makefile:600: packet_manip.o] Error 1
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o qserver.o qserver.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o debug.o debug.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o md5.o md5.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o gs2.o gs2.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o xform.o xform.c
xform.c: In function 'xform_buf_resize':
xform.c:127:51: warning: pointer 'oldbuf' may be used after 'realloc' [-Wuse-after-free]
  127 |                 *bufp = xform_buf->buf + ((*bufp) - oldbuf);
      |                                          ~~~~~~~~~^~~~~~~~~
xform.c:121:31: note: call to 'realloc' here
  121 |         if ((xform_buf->buf = realloc(xform_buf->buf, size)) == NULL) {
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o hcache.o hcache.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o gps.o gps.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o a2s.o a2s.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o ut2004.o ut2004.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o doom3.o doom3.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o display_json.o display_json.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o template.o template.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o gs3.o gs3.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o config.o config.c
config.c: In function 'qsc_load_default_config_files':
config.c:216:17: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation]
  216 |                 strncpy(path, var, len);
      |                 ^
config.c:211:27: note: length computed here
  211 |                 int len = strlen(var) + 1;
      |                           ^~~~~~~~~~~
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
gcc -DHAVE_CONFIG_H -I.   -DDEBUG -DENABLE_DUMP  -Dsysconfdir=\"/etc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -c -o qstat.o qstat.c
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/qstat-2.17-build/qstat-2.17'
make[1]: *** [Makefile:637: all-recursive] Error 1
make: *** [Makefile:446: all] Error 2
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KigLgh (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.KigLgh (%build)
I: [iurt_root_command] ERROR: chroot