D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: line 16: It's not recommended to have unversioned Obsoletes: Obsoletes: autoconvert warning: line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: zh-autoconvert-devel lib64hz0-devel Installing /home/pterjan/rpmbuild/SRPMS/zh-autoconvert-0.3.16-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.e81mNo Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nWzZVd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-build + rm -rf autoconvert-0.3.16 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/autoconvert-0.3.16.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd autoconvert-0.3.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (autoconvert-0.3.14-noxchat.patch):' Patch #0 (autoconvert-0.3.14-noxchat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noxchat --fuzz=0 patching file Makefile + echo 'Patch #1 (zh-autoconvert-fix-building-with-gcc14.patch):' Patch #1 (zh-autoconvert-fix-building-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file hzconvert/b2u.c patching file hzconvert/g2u.c patching file hzconvert/unicode.c patching file hzconvert/judge.c patching file autogb.c + perl -p -i -e 's|/usr/lib|/usr/lib64|g' Makefile + rm -rf doc/CVS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xyCchh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-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 autoconvert-0.3.16 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make 'CFLAG=-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 -Iinclude' '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 -Wall -I../include' cd hzconvert;make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-build/autoconvert-0.3.16/hzconvert' gcc -I../include -fPIC -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 -I../include -c b2g.c b2g.c: In function 'g2b': b2g.c:39:13: warning: old-style function definition [-Wold-style-definition] 39 | static void g2b(s) | ^~~ b2g.c: In function 'b2g': b2g.c:58:13: warning: old-style function definition [-Wold-style-definition] 58 | static void b2g(s) | ^~~ b2g.c: In function 'gb2big_init': b2g.c:84:5: warning: old-style function definition [-Wold-style-definition] 84 | int gb2big_init (arg) | ^~~~~~~~~~~ b2g.c:86:1: error: number of arguments doesn't match prototype 86 | { | ^ In file included from b2g.c:26: ../include/hz.h:43:5: error: prototype declaration 43 | int gb2big_init(), big2gb_init(); /* b2g.c */ | ^~~~~~~~~~~ b2g.c: In function 'big2gb_init': b2g.c:100:5: warning: old-style function definition [-Wold-style-definition] 100 | int big2gb_init (arg) | ^~~~~~~~~~~ b2g.c:102:1: error: number of arguments doesn't match prototype 102 | { | ^ ../include/hz.h:43:20: error: prototype declaration 43 | int gb2big_init(), big2gb_init(); /* b2g.c */ | ^~~~~~~~~~~ b2g.c: In function 'gb2big': b2g.c:115:7: warning: old-style function definition [-Wold-style-definition] 115 | char *gb2big (s,plen,inst) | ^~~~~~ b2g.c:119:1: error: number of arguments doesn't match prototype 119 | { | ^ ../include/hz.h:42:7: error: prototype declaration 42 | char *gb2big(), *big2gb(); /* b2g.c */ | ^~~~~~ b2g.c:120:17: error: too many arguments to function 'hzconvert'; expected 0, have 4 120 | return (hzconvert (s, plen, &gb2big_savec[inst], g2b)); | ^~~~~~~~~ ~ b2g.c:80:14: note: declared here 80 | extern char *hzconvert (); | ^~~~~~~~~ b2g.c: In function 'big2gb': b2g.c:123:7: warning: old-style function definition [-Wold-style-definition] 123 | char *big2gb (s,plen,inst) | ^~~~~~ b2g.c:127:1: error: number of arguments doesn't match prototype 127 | { | ^ ../include/hz.h:42:18: error: prototype declaration 42 | char *gb2big(), *big2gb(); /* b2g.c */ | ^~~~~~ b2g.c:128:17: error: too many arguments to function 'hzconvert'; expected 0, have 4 128 | return (hzconvert (s, plen, &big2gb_savec[inst], b2g)); | ^~~~~~~~~ ~ b2g.c:80:14: note: declared here 80 | extern char *hzconvert (); | ^~~~~~~~~ make[1]: *** [Makefile:9: b2g.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-build/autoconvert-0.3.16/hzconvert' make: *** [Makefile:17: hzlib] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xyCchh (%build) RPM build warnings: line 16: It's not recommended to have unversioned Obsoletes: Obsoletes: autoconvert line 42: It's not recommended to have unversioned Obsoletes: Obsoletes: zh-autoconvert-devel lib64hz0-devel RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.xyCchh (%build) I: [iurt_root_command] ERROR: chroot