D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Installing /home/pterjan/rpmbuild/SRPMS/vdr-plugin-wirbelscan-2023.02.19-2.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nhGLbu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ test -d /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9gJG5U
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ rm -rf wirbelscan-2023.02.19
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/vdr-wirbelscan-2023.02.19.tgz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd wirbelscan-2023.02.19
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/ca_ES.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/cs_CZ.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/da_DK.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/de_DE.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/el_GR.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/es_ES.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/et_EE.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/fi_FI.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/fr_FR.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/hr_HR.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/hu_HU.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/it_IT.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/nl_NL.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/nn_NO.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/pl_PL.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/pt_PT.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/ro_RO.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/ru_RU.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/sl_SI.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/sv_SE.po
+ for file in po/*.po
+ grep -Eq 'msgstr ".+"' po/tr_TR.po
+ set +x
Silent renaming of locales
+ touch vdr_plugin_prep.done
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NX4kY5
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build
+ cd wirbelscan-2023.02.19
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build/BUILDROOT/usr/lib64/vdr
+ /usr/bin/make -O -j16 V=1 VERBOSE=1 all '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 -fPIC -Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' '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 -fPIC -Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' 'LDFLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' PLUGINLIBDIR=/usr/lib64/vdr VIDEODIR=/var/lib/vdr/video LIBDIR=/usr/lib64/vdr LOCALEDIR=locale 'VDRLOCALE=""' DVBDIR=/usr VDRDIR=/usr/include/vdr VDRVERSION=2.6.1-2.mga9 VDRVERSNUM=20601 APIVERSION=2.6.1.1 APIVERSNUM=20601 'LDFLAGS=-Wl,--as-needed  -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' LIBDIR=/home/pterjan/rpmbuild/BUILD/vdr-plugin-wirbelscan-2023.02.19-build/BUILDROOT/usr/lib64/vdr
 CXX countries.o
In file included from countries.cpp:8:
countries.h:40:20: error: 'uint16_t' has not been declared
   40 |                    uint16_t& scan_type,
      |                    ^~~~~~~~
make: *** [Makefile:105: countries.o] Error 1
make: *** Waiting for unfinished jobs....
 CXX si_ext.o
 CXX common.o
 CXX menusetup.o
 CXX satellites.o
 CXX wirbelscan.o
 CXX scanner.o
 CXX statemachine.o
 CXX scanfilter.o
error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.NX4kY5 (%build)

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