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/mathomatic.spec'], chrootPath='/var/lib/mock/f29-build-3274-884/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'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mathomatic.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'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 8: %{version}.tar.bz2 BUILDSTDERR: warning: bogus date in %changelog: Mon Nov 19 2013 Terje Rosten - 16.0.5-5 BUILDSTDERR: warning: bogus date in %changelog: Mon Feb 8 2009 Terje Rosten - 14.3.1-1 Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mathomatic-16.0.5-13.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mathomatic.spec'], chrootPath='/var/lib/mock/f29-build-3274-884/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'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mathomatic.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'} and shell False BUILDSTDERR: warning: Macro expanded in comment on line 8: %{version}.tar.bz2 BUILDSTDERR: warning: bogus date in %changelog: Mon Nov 19 2013 Terje Rosten - 16.0.5-5 BUILDSTDERR: warning: bogus date in %changelog: Mon Feb 8 2009 Terje Rosten - 14.3.1-1 Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KqO5P0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mathomatic-16.0.5 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mathomatic-16.0.5.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mathomatic-16.0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mathomatic-16.0.5-libedit.patch):' Patch #0 (mathomatic-16.0.5-libedit.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file includes.h patching file makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7aAHS8 + umask 022 + cd /builddir/build/BUILD + cd mathomatic-16.0.5 + make -j4 'OPTFLAGS=-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' EDITLINE=1 prefix=/usr cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o main.o main.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o globals.o globals.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o am.o am.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o solve.o solve.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o help.o help.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o parse.o parse.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o cmds.o cmds.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o simplify.o simplify.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o factor.o factor.c BUILDSTDERR: cmds.c: In function 'sum_product': BUILDSTDERR: cmds.c:722:45: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 80 [-Wformat-truncation=] BUILDSTDERR: snprintf(prompt_str, sizeof(prompt_str), "%s = ", var_str); BUILDSTDERR: ^~ ~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 183 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o super.o super.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o unfactor.o unfactor.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o poly.o poly.c BUILDSTDERR: In file included from includes.h:114, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: cmds.c: In function 'calculate_cmd': BUILDSTDERR: cmds.c:2374:47: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 74 [-Wformat-truncation=] BUILDSTDERR: snprintf(prompt_str, sizeof(prompt_str), _("Enter %s: "), var_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: am.h:51:17: note: in definition of macro '_' BUILDSTDERR: #define _(str) str /* Constant strings to be translated should be marked with this macro. */ BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 188 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from includes.h:114, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: cmds.c:2393:47: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 66 [-Wformat-truncation=] BUILDSTDERR: snprintf(prompt_str, sizeof(prompt_str), _("Enter initial %s: "), var_str); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: am.h:51:17: note: in definition of macro '_' BUILDSTDERR: #define _(str) str /* Constant strings to be translated should be marked with this macro. */ BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 196 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o diff.o diff.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o integrate.o integrate.c BUILDSTDERR: In file included from includes.h:114, BUILDSTDERR: from diff.c:25: BUILDSTDERR: diff.c: In function 'limit_cmd': BUILDSTDERR: diff.c:828:46: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 77 [-Wformat-truncation=] BUILDSTDERR: snprintf(prompt_str, sizeof(prompt_str), _("as %s goes to: "), var_str); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: am.h:51:17: note: in definition of macro '_' BUILDSTDERR: #define _(str) str /* Constant strings to be translated should be marked with this macro. */ BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from diff.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 193 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o complex.o complex.c BUILDSTDERR: In file included from includes.h:114, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: cmds.c: In function 'replace_cmd': BUILDSTDERR: cmds.c:3809:46: warning: '%s' directive output may be truncated writing up to 179 bytes into a region of size 74 [-Wformat-truncation=] BUILDSTDERR: snprintf(prompt_str, sizeof(prompt_str), _("Enter %s: "), var_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: am.h:51:17: note: in definition of macro '_' BUILDSTDERR: #define _(str) str /* Constant strings to be translated should be marked with this macro. */ BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from cmds.c:25: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 188 bytes into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o complex_lib.o complex_lib.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o list.o list.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o gcd.o gcd.c cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE -c -o factor_int.o factor_int.c BUILDSTDERR: list.c: In function 'list_string_sub': BUILDSTDERR: list.c:691:38: warning: ')' directive output may be truncated writing 1 byte into a region of size between 0 and 499 [-Wformat-truncation=] BUILDSTDERR: snprintf(buf2, sizeof(buf2), "(%s)", buf); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from list.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 502 bytes into a destination of size 500 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: list.c: In function 'list_code': BUILDSTDERR: list.c:945:38: warning: ')' directive output may be truncated writing 1 byte into a region of size between 0 and 499 [-Wformat-truncation=] BUILDSTDERR: snprintf(buf2, sizeof(buf2), "(%s)", buf); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from includes.h:69, BUILDSTDERR: from list.c:26: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 502 bytes into a destination of size 500 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fexceptions -DUNIX -DVERSION=\"`cat VERSION`\" -DEDITLINE main.o globals.o am.o solve.o help.o parse.o cmds.o simplify.o factor.o super.o unfactor.o poly.o diff.o integrate.o complex.o complex_lib.o list.o gcd.o factor_int.o -lm -ledit -o mathomatic ./mathomatic successfully created. ~/build/BUILD/mathomatic-16.0.5/primes ~/build/BUILD/mathomatic-16.0.5 + pushd primes + make -j4 prefix=/usr 'CFLAGS=-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' cc -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 matho-primes.c -lm -o matho-primes cc -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 matho-pascal.c -lm -o matho-pascal cc -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 -c -o matho-sumsq.o matho-sumsq.c cc -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 -c -o lsqrt.o lsqrt.c cc -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 matho-sumsq.o lsqrt.o -lm -o matho-sumsq Prime Number Tools successfully created. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.s3F1jB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 + cd mathomatic-16.0.5 + make m4install-degrees DESTDIR=/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 prefix=/usr install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/applications install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/pixmaps install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 install mathomatic /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin install -m 0644 icons/mathomatic.desktop /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/applications install -m 0644 icons/mathomatic.png icons/mathomatic.xpm /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/pixmaps install -m 0644 mathomatic.1 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 Installing docs... install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/html install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/tests install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/examples install -m 0644 VERSION AUTHORS COPYING README.txt NEWS /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic install -m 0644 doc/* /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/html install -m 0644 *.pdf /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic BUILDSTDERR: install: cannot stat '*.pdf': No such file or directory install -m 0644 tests/* /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/tests BUILDSTDERR: make: [makefile:296: docinstall] Error 1 (ignored) install -m 0644 examples/* /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic/examples Mathomatic is installed. install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/mathomatic install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/mathomatic/m4 echo '#!/bin/sh' >/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo '# Shell script to run Mathomatic with the GNU m4 preprocessor.' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo '# This allows entry of many standard math functions.' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo '#' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo '# Usage: matho [ input_files ]' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo 'if ! m4 --version >/dev/null' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo 'then' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo ' echo The m4 package is not installed. GNU m4 is required to run m4 Mathomatic.' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo ' exit 1' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo 'fi' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho echo 'm4 -eP -- /usr/share/mathomatic/m4/functions.m4 "$@" - | mathomatic -ru -s-1' >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho chmod 0755 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin/matho install m4/rmath /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin install -m 0644 rmath.1 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 cd /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 && ln -sf rmath.1 matho.1 install -m 0644 m4/functions.m4 m4/degrees.m4 m4/gradians.m4 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/mathomatic/m4 m4 Mathomatic install completed. cat m4/degrees.m4 >>/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/mathomatic/m4/functions.m4 Degree mode installed. + ln -s mathomatic.1.gz /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64//usr/share/man/man1/rmath.1.gz + ln -s mathomatic.1.gz /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64//usr/share/man/man1/matho.1.gz + rm -rf /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + desktop-file-install --delete-original --dir /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/applications /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/applications/mathomatic.desktop + pushd primes ~/build/BUILD/mathomatic-16.0.5/primes ~/build/BUILD/mathomatic-16.0.5 + make install prefix=/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr mandir=/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin install -d /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 install matho-primes matho-pascal matho-sumsq primorial matho-mult matho-sum /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/bin install -m 0644 matho-primes.1 matho-pascal.1 matho-sumsq.1 primorial.1 matho-mult.1 matho-sum.1 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/man/man1 The Prime Number Tools are installed. + convert /builddir/build/SOURCES/mathomatic192x195.png -resize 256x256 /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/pixmaps/mathomatic.png + rm -f /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/pixmaps/mathomatic.xpm + /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 /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: mangling shebang in /usr/bin/primorial from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! BUILDSTDERR: *** WARNING: mangling shebang in /usr/bin/matho-mult from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! BUILDSTDERR: *** WARNING: mangling shebang in /usr/bin/matho-sum from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.7SboyU Processing files: mathomatic-16.0.5-13.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gia4re + umask 022 + cd /builddir/build/BUILD + cd mathomatic-16.0.5 + DOCDIR=/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + cp -pr AUTHORS /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + cp -pr COPYING /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + cp -pr README.txt /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + cp -pr changes.txt /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + cp -pr doc /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic + exit 0 Provides: application() application(mathomatic.desktop) mathomatic = 16.0.5-13.fc29 mathomatic(riscv-64) = 16.0.5-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libedit.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: mathomatic-tools-16.0.5-13.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wpjTcW + umask 022 + cd /builddir/build/BUILD + cd mathomatic-16.0.5 + DOCDIR=/builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + cp -pr AUTHORS /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + cp -pr COPYING /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + cp -pr README.txt /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + cp -pr changes.txt /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + cp -pr doc /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64/usr/share/doc/mathomatic-tools + exit 0 Provides: mathomatic-tools = 16.0.5-13.fc29 mathomatic-tools(riscv-64) = 16.0.5-13.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 Wrote: /builddir/build/RPMS/mathomatic-16.0.5-13.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/mathomatic-tools-16.0.5-13.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UtTKUX + umask 022 + cd /builddir/build/BUILD + cd mathomatic-16.0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mathomatic-16.0.5-13.fc29.riscv64 + exit 0 Child return code was: 0