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-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sqoOC1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cLnlqU + 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.Q9bnfl + 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 -std=gnu17' + 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 -std=gnu17' + 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 -std=gnu17 ' + 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 -std=gnu17 ' + 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 -std=gnu17 -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 -std=gnu17 -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 -std=gnu17 -Wall -I../include -c b2g.c 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 -std=gnu17 -Wall -I../include -c b2u.c 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 -std=gnu17 -Wall -I../include -c g2u.c 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 -std=gnu17 -Wall -I../include -c hz2gb.c 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 -std=gnu17 -Wall -I../include -c b2g_tables.c 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 -std=gnu17 -Wall -I../include -c b2u_tables.c 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 -std=gnu17 -Wall -I../include -c g2u_tables.c 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 -std=gnu17 -Wall -I../include -c io.c io.c: In function 'hzconvert': io.c:45:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 45 | if ((*p) & 0x80) /* hi-bit on: hanzi */ | ^ 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 -std=gnu17 -Wall -I../include -c unicode.c unicode.c: In function 'init_utf7_tables': unicode.c:242:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 242 | for (s = SAFE_CHARS; *s != '\0'; s++) | ^ unicode.c:244:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 244 | for (s = SPACE_CHARS; *s != '\0'; s++) | ^ 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 -std=gnu17 -Wall -I../include -c judge.c judge.c: In function 'j_code': judge.c:48:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 48 | for(phz=buff;phz<(buff+count);phz++){ | ^ judge.c:48:25: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 48 | for(phz=buff;phz<(buff+count);phz++){ | ^ 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 -std=gnu17 -Wall -I../include -c judge3.c judge3.c: In function 'j_code3': judge3.c:47:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:47:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 47 | for(phz=buff; (int)phz < ((int)buff + count); phz++){ | ^ judge3.c:71:50: warning: pointer targets in passing argument 1 of 'inGB' differ in signedness [-Wpointer-sign] 71 | if(temphz = inGB(phz, 2)) | ^~~ | | | unsigned char * In file included from judge3.c:34: ../include/zhstatis.h:31:36: note: expected 'const char *' but argument is of type 'unsigned char *' 31 | inGB (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:71:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 71 | if(temphz = inGB(phz, 2)) | ^~~~~~ judge3.c:73:52: warning: pointer targets in passing argument 1 of 'inBig5' differ in signedness [-Wpointer-sign] 73 | if(temphz = inBig5(phz, 2)) | ^~~ | | | unsigned char * ../include/zhstatis.h:33:38: note: expected 'const char *' but argument is of type 'unsigned char *' 33 | inBig5 (register const char *str, register unsigned int len); | ~~~~~~~~~~~~~~~~~~~~~^~~ judge3.c:73:36: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 73 | if(temphz = inBig5(phz, 2)) | ^~~~~~ 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 -std=gnu17 -Wall -I../include -c gbpercent.c 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 -std=gnu17 -Wall -I../include -c b5percent.c 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 -std=gnu17 -Wall -I../include -c search.c ar rs ../lib/libhz.a b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o ar: creating ../lib/libhz.a gcc -fPIC -shared -Wl,-soname,libhz.so.0 -o ../lib/libhz.so.0.0 b2g.o b2u.o g2u.o hz2gb.o b2g_tables.o b2u_tables.o g2u_tables.o io.o unicode.o judge.o judge3.o gbpercent.o b5percent.o search.o -ldl rm -f ../lib/libhz.so.0 rm -f ../lib/libhz.so cd ../lib;ln -s libhz.so.0.0 libhz.so.0 cd ../lib;ln -s libhz.so.0 libhz.so make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/zh-autoconvert-0.3.16-build/autoconvert-0.3.16/hzconvert' gcc -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 -std=gnu17 -Wall -Iinclude -Llib -lhz autogb.c -lhz -o autogb autogb.c: In function 'main': autogb.c:62:38: warning: comparison between pointer and zero character constant [-Wpointer-compare] 62 | if( strstr(argv[0],"autogb") != '\0' ){ | ^~ autogb.c:62:13: note: did you mean to dereference the pointer? 62 | if( strstr(argv[0],"autogb") != '\0' ){ | ^ autogb.c:64:43: warning: comparison between pointer and zero character constant [-Wpointer-compare] 64 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^~ autogb.c:64:18: note: did you mean to dereference the pointer? 64 | }else if(strstr(argv[0],"autob5") != '\0'){ | ^ autogb.c:143:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 143 | write(1,pbuf,count); | ^~~~~~~~~~~~~~~~~~~ autogb.c:146:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | write(1,ps,count); | ^~~~~~~~~~~~~~~~~ autogb.c:133:12: warning: 'outcode' may be used uninitialized [-Wmaybe-uninitialized] 133 | if (incode != outcode){ | ^ autogb.c:49:20: note: 'outcode' was declared here 49 | int incode,outcode,dist; | ^~~~~~~ /usr/bin/ld: final link failed: No space left on device collect2: error: ld returned 1 exit status make: *** [Makefile:13: autogb] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Q9bnfl (%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.Q9bnfl (%build) I: [iurt_root_command] ERROR: chroot