Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ttmkfdir.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115377-45891/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': 'C.UTF-8'}shell=Falselogger=timeout=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b338b37434884d3582c9ad19050c79fc', '-D', '/var/lib/mock/dist-an23-riscv64-build-115377-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ttmkfdir.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/ttmkfdir-3.0.9-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ttmkfdir.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115377-45891/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': 'C.UTF-8'}shell=Falselogger=timeout=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6599c9748dbe40c9877ea39e4693ba49', '-D', '/var/lib/mock/dist-an23-riscv64-build-115377-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ttmkfdir.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XQczAu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ttmkfdir-3.0.9 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/ttmkfdir-3.0.9.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ttmkfdir-3.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-cpp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-zlib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-fix-freetype217.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-namespace.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-fix-crash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-segfaults.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-encoding-dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-font-scale.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-bug434301.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-freetype-header-fix2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-add-ldflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/cat /builddir/build/SOURCES/ttmkfdir-3.0.9-tag.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vdLaRj + umask 022 + cd /builddir/build/BUILD + cd ttmkfdir-3.0.9 + /usr/bin/make -O -j8 V=1 VERBOSE=1 'OPTFLAGS=-O2 -g' 'RPM_LD_FLAGS= -pie' flex -i -8 -oparser.cpp encoding.l libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o directory.o -c directory.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c directory.cpp -fPIC -DPIC -o .libs/directory.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c directory.cpp -o directory.o >/dev/null 2>&1 libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o builtin.o -c builtin.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c builtin.cpp -fPIC -DPIC -o .libs/builtin.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c builtin.cpp -o builtin.o >/dev/null 2>&1 libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o ttmkfdir.o -c ttmkfdir.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c ttmkfdir.cpp -fPIC -DPIC -o .libs/ttmkfdir.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c ttmkfdir.cpp -o ttmkfdir.o >/dev/null 2>&1 libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o commandline.o -c commandline.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c commandline.cpp -fPIC -DPIC -o .libs/commandline.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c commandline.cpp -o commandline.o >/dev/null 2>&1 libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o encoding.o -c encoding.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c encoding.cpp -fPIC -DPIC -o .libs/encoding.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c encoding.cpp -o encoding.o >/dev/null 2>&1 encoding.cpp: In function 'FILE* {anonymous}::NextFile(FILE*, char*)': encoding.cpp:41:13: warning: variable 'rvalue' set but not used [-Wunused-but-set-variable] 41 | int rvalue, tmpfd; | ^~~~~~ In function 'const char* {anonymous}::EncodingBase()', inlined from 'FILE* {anonymous}::NextFile(FILE*, char*)' at encoding.cpp:50:10: encoding.cpp:20:21: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 4096 equals destination size [-Wstringop-truncation] 20 | strncpy (base, string(cmdline::instance()->option ("encoding")).c_str (), sizeof (base)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o parser.o -c parser.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c parser.cpp -fPIC -DPIC -o .libs/parser.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c parser.cpp -o parser.o >/dev/null 2>&1 parser.cpp:1479:17: warning: 'void yyunput(int, char*)' defined but not used [-Wunused-function] 1479 | | ^ libtool --tag=CC --mode=compile g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -o ttf.o -c ttf.cpp libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c ttf.cpp -fPIC -DPIC -o .libs/ttf.o libtool: compile: g++ -Wall -pedantic -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -ggdb -O2 -g -c ttf.cpp -o ttf.o >/dev/null 2>&1 ttf.cpp: In member function 'bool ttf::Face::MappingPresent(int, NumericMapping*, int, int, bool)': ttf.cpp:67:42: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 67 | return ((100 * missing/enc_size) <= int (cmdline::instance()->option ("max-missing-percentage")) & enc_comp); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttf.cpp: In member function 'const char* ttf::Face::PanoseWeight() const': ttf.cpp:496:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 496 | "any", | ^~~~~ ttf.cpp:497:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 497 | "no fit", | ^~~~~~~~ ttf.cpp:498:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 498 | "very light", | ^~~~~~~~~~~~ ttf.cpp:499:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 499 | "light", | ^~~~~~~ ttf.cpp:500:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 500 | "thin", | ^~~~~~ ttf.cpp:501:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | "book", | ^~~~~~ ttf.cpp:502:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 502 | "medium", | ^~~~~~~~ ttf.cpp:503:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 503 | "demi", | ^~~~~~ ttf.cpp:504:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 504 | "bold", | ^~~~~~ ttf.cpp:505:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 505 | "heavy", | ^~~~~~~ ttf.cpp:506:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 506 | "black", | ^~~~~~~ ttf.cpp:507:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 507 | "extra black", | ^~~~~~~~~~~~~ ttf.cpp: In member function 'const char* ttf::Face::PanoseWidth() const': ttf.cpp:561:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 561 | "any", | ^~~~~ ttf.cpp:562:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 562 | "no fit", | ^~~~~~~~ ttf.cpp:563:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 563 | "old style", | ^~~~~~~~~~~ ttf.cpp:564:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 564 | "modern", | ^~~~~~~~ ttf.cpp:565:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 565 | "even width", | ^~~~~~~~~~~~ ttf.cpp:566:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 566 | "extended", | ^~~~~~~~~~ ttf.cpp:567:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 567 | "condensed", | ^~~~~~~~~~~ ttf.cpp:568:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 568 | "very extended", | ^~~~~~~~~~~~~~~ ttf.cpp:569:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 569 | "very condensed", | ^~~~~~~~~~~~~~~~ ttf.cpp:570:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 570 | "monospaced", | ^~~~~~~~~~~~ ttf.cpp:574:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 574 | "any", | ^~~~~ ttf.cpp:575:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | "no fit", | ^~~~~~~~ ttf.cpp:576:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 576 | "super condensed", | ^~~~~~~~~~~~~~~~~ ttf.cpp:577:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 577 | "very condensed", | ^~~~~~~~~~~~~~~~ ttf.cpp:578:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 578 | "condensed", | ^~~~~~~~~~~ ttf.cpp:579:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 579 | "normal", | ^~~~~~~~ ttf.cpp:580:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 580 | "extended", | ^~~~~~~~~~ ttf.cpp:581:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 581 | "very extended", | ^~~~~~~~~~~~~~~ ttf.cpp:582:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 582 | "super extended", | ^~~~~~~~~~~~~~~~ ttf.cpp:583:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 583 | "monospaced", | ^~~~~~~~~~~~ libtool --tag=CC --mode=link g++ -o ttmkfdir ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o -lfreetype -ggdb -lz -pie libtool: link: g++ -o ttmkfdir ttmkfdir.o directory.o commandline.o ttf.o encoding.o parser.o builtin.o -ggdb -pie -lfreetype -lz /usr/bin/ld: ttmkfdir.o: relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: directory.o: relocation R_RISCV_HI20 against `_ZTV9directory' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: commandline.o: relocation R_RISCV_HI20 against `_ZTV11Commandline' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: ttf.o: relocation R_RISCV_HI20 against `_ZZN4util9SingletonI11CommandlineS1_E8instanceEvE3val' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: encoding.o: relocation R_RISCV_HI20 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: parser.o: relocation R_RISCV_HI20 against `yytext' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: unresolvable R_RISCV_HI20 relocation against symbol `_ZSt4cerr@@GLIBCXX_3.4' /usr/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `_ZSt19__throw_logic_errorPKc@@GLIBCXX_3.4' /usr/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `_Znwm@@GLIBCXX_3.4' /usr/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `_Znwm@@GLIBCXX_3.4' /usr/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `_Znwm@@GLIBCXX_3.4' /usr/bin/ld: unresolvable R_RISCV_CALL relocation against symbol `_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv@@GLIBCXX_3.4.21' collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped compilation terminated. make: *** [Makefile:46: ttmkfdir] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.vdLaRj (%build) Bad exit status from /var/tmp/rpm-tmp.vdLaRj (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 6599c9748dbe40c9877ea39e4693ba49 -D /var/lib/mock/dist-an23-riscv64-build-115377-45891/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.4_7r14si:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ttmkfdir.spec