Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/alfont.spec'], chrootPath='/var/lib/mock/f30-build-38454-22220/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/alfont.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/alfont-2.0.9-14.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alfont.spec'], chrootPath='/var/lib/mock/f30-build-38454-22220/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/alfont.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4KDzyg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf alfont-2.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/alfont-2.0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd alfont-2.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (alfont-2.0.9-linux.patch):' Patch #0 (alfont-2.0.9-linux.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .linux --fuzz=0 patching file include/alfont.h patching file src/alfont.c + echo 'Patch #1 (alfont-2.0.9-remove-alfont_get_string.patch):' Patch #1 (alfont-2.0.9-remove-alfont_get_string.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/alfont.h patching file src/alfont.c + for i in include/alfont*.h freetype/docs/FTL.TXT + sed -i.orig 's/\r//g' include/alfont.h + touch -r include/alfont.h.orig include/alfont.h + for i in include/alfont*.h freetype/docs/FTL.TXT + sed -i.orig 's/\r//g' include/alfontdll.h + touch -r include/alfontdll.h.orig include/alfontdll.h + for i in include/alfont*.h freetype/docs/FTL.TXT + sed -i.orig 's/\r//g' freetype/docs/FTL.TXT + touch -r freetype/docs/FTL.TXT.orig freetype/docs/FTL.TXT + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v3MuL2 + umask 022 + cd /builddir/build/BUILD + cd alfont-2.0.9 BUILDSTDERR: ++ freetype-config --cflags + gcc -fPIC -DPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Iinclude -I/usr/include/freetype2 -I/usr/include/libpng16 -o src/alfont.o -c src/alfont.c BUILDSTDERR: src/alfont.c: In function 'alfont_load_font_from_mem': BUILDSTDERR: src/alfont.c:518:46: warning: pointer targets in passing argument 2 of 'FT_New_Memory_Face' differ in signedness [-Wpointer-sign] BUILDSTDERR: error = FT_New_Memory_Face(ft_library, font->data, font->data_size, 0, &font->face); BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: In file included from src/alfont.c:29: BUILDSTDERR: /usr/include/freetype2/freetype/freetype.h:2216:3: note: expected 'const FT_Byte *' {aka 'const unsigned char *'} but argument is of type 'char *' BUILDSTDERR: FT_New_Memory_Face( FT_Library library, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_textout_aa_ex': BUILDSTDERR: src/alfont.c:621:7: warning: variable 'last_glyph_index' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int last_glyph_index; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_textout_ex': BUILDSTDERR: src/alfont.c:1784:18: warning: variable 'last_glyph_index' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int character, last_glyph_index; BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_ugetc': BUILDSTDERR: src/alfont.c:3285:9: warning: unused variable 'lpszW_pointer' [-Wunused-variable] BUILDSTDERR: char *lpszW_pointer=NULL; //used for freeing string BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_ugetx': BUILDSTDERR: src/alfont.c:3764:11: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc((char**)s); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/alfont.c:3764:11: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3766:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc((char**)s); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/alfont.c:3766:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3770:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc(&lpszWS); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/alfont.c:3770:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3772:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc(&lpszWS); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/alfont.c:3772:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3806:4: warning: value computed is not used [-Wunused-value] BUILDSTDERR: (*(*s)++); BUILDSTDERR: ~^~~~~~~~ BUILDSTDERR: src/alfont.c:3817:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc((char**)s); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/alfont.c:3817:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3819:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc((char**)s); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/alfont.c:3819:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:3529:9: warning: unused variable 'lpszW_pointer' [-Wunused-variable] BUILDSTDERR: char *lpszW_pointer=NULL; //used for freeing string BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_ugetxc': BUILDSTDERR: src/alfont.c:4086:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc(&lpszWS); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/alfont.c:4086:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:4088:9: warning: passing argument 1 of 'ugetxc' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: ugetxc(&lpszWS); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/alfont.c:4088:9: note: expected 'const char **' but argument is of type 'char **' BUILDSTDERR: src/alfont.c:4122:4: warning: value computed is not used [-Wunused-value] BUILDSTDERR: (*(*s)++); BUILDSTDERR: ~^~~~~~~~ BUILDSTDERR: src/alfont.c:3845:9: warning: unused variable 'lpszW_pointer' [-Wunused-variable] BUILDSTDERR: char *lpszW_pointer=NULL; //used for freeing string BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_text_length': BUILDSTDERR: src/alfont.c:2923:42: warning: 'max_advancex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: f->cached_glyphs[glyph_index].advancex = max_advancex; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c:2949:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_textout_aa_ex': BUILDSTDERR: src/alfont.c:1631:5: warning: 'masked_bmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: masked_blit(masked_bmp, bmp, 0, 0, first_x, final_y, final_x+f->ch_spacing-first_x+1, final_y+((f->real_face_h)>>5)-final_y+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c:966:42: warning: 'max_advancex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: f->cached_glyphs[glyph_index].advancex = max_advancex; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c:1762:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_textout_ex': BUILDSTDERR: src/alfont.c:2490:5: warning: 'masked_bmp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: masked_blit(masked_bmp, bmp, 0, 0, first_x, final_y, final_x+f->ch_spacing-first_x+1, final_y+((f->real_face_h)>>5)-final_y+1); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c:2103:42: warning: 'max_advancex' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: f->cached_glyphs[glyph_index].advancex = max_advancex; BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c:2617:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_char_length': BUILDSTDERR: src/alfont.c:3023:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_text_count': BUILDSTDERR: src/alfont.c:3277:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_ugetc': BUILDSTDERR: src/alfont.c:3521:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_ugetx': BUILDSTDERR: src/alfont.c:3837:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/alfont.c: In function 'alfont_need_uconvert': BUILDSTDERR: src/alfont.c:4325:2: warning: 'curr_uformat' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: set_uformat(curr_uformat); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ++ freetype-config --libs BUILDSTDERR: ++ allegro-config --libs + gcc -shared -Wl,-soname,libalfont.so.2 -o libalfont.so.2.0.9 src/alfont.o -lfreetype -L/usr/lib -lalleg + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pnv97P + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 + cd alfont-2.0.9 + mkdir -p /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64 + mkdir -p /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/include + install -m 755 libalfont.so.2.0.9 /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64 + ln -s libalfont.so.2.0.9 /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64/libalfont.so.2 + ln -s libalfont.so.2.0.9 /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64/libalfont.so + install -m 644 include/alfont.h include/alfontdll.h /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/include + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0.9-14.fc30 --unique-debug-suffix -2.0.9-14.fc30.riscv64 --unique-debug-src-base alfont-2.0.9-14.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/alfont-2.0.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64/libalfont.so.2.0.9 extracting debug info from /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/lib64/libalfont.so.2.0.9 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 320 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: alfont-2.0.9-14.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hNCXB7 + umask 022 + cd /builddir/build/BUILD + cd alfont-2.0.9 + DOCDIR=/builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/share/doc/alfont + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/share/doc/alfont + cp -pr CHANGES.txt /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/share/doc/alfont + cp -pr README.txt /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/share/doc/alfont + cp -pr freetype/docs/FTL.TXT /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64/usr/share/doc/alfont + exit 0 Provides: alfont = 2.0.9-14.fc30 alfont(riscv-64) = 2.0.9-14.fc30 libalfont.so.2()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) liballeg.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) rtld(GNU_HASH) Processing files: alfont-devel-2.0.9-14.fc30.riscv64 Provides: alfont-devel = 2.0.9-14.fc30 alfont-devel(riscv-64) = 2.0.9-14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libalfont.so.2()(64bit) Processing files: alfont-debugsource-2.0.9-14.fc30.riscv64 Provides: alfont-debugsource = 2.0.9-14.fc30 alfont-debugsource(riscv-64) = 2.0.9-14.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: alfont-debuginfo-2.0.9-14.fc30.riscv64 Provides: alfont-debuginfo = 2.0.9-14.fc30 alfont-debuginfo(riscv-64) = 2.0.9-14.fc30 debuginfo(build-id) = d7418e59edf044d53f9f3ffef2409edf9960daed Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: alfont-debugsource(riscv-64) = 2.0.9-14.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 Wrote: /builddir/build/RPMS/alfont-2.0.9-14.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/alfont-devel-2.0.9-14.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/alfont-debugsource-2.0.9-14.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/alfont-debuginfo-2.0.9-14.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.e1sY0p + umask 022 + cd /builddir/build/BUILD + cd alfont-2.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/alfont-2.0.9-14.fc30.riscv64 + exit 0 Child return code was: 0