Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/foma.spec'], chrootPath='/var/lib/mock/f33-build-199720-47960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/foma.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Wrote: /builddir/build/SRPMS/foma-0.9.18-0.4.20150613git0fa48db.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/foma.spec'], chrootPath='/var/lib/mock/f33-build-199720-47960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/foma.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l9wX71 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf foma-0fa48dbacfe39509577ae6741054be7c05a19aac + /usr/bin/gzip -dc /builddir/build/SOURCES/foma-0fa48db.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd foma-0fa48dbacfe39509577ae6741054be7c05a19aac + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/foma-harden-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RCeLl2 + umask 022 + cd /builddir/build/BUILD + cd foma-0fa48dbacfe39509577ae6741054be7c05a19aac + sed -i '/^CFLAGS/c\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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC' foma/Makefile + sed -i '/^LDFLAGS/c\LDFLAGS = -lreadline -lz -ltermcap -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' foma/Makefile + sed -i '/^FLOOKUPLDFLAGS/c\FLOOKUPLDFLAGS = libfoma.a -lz -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' foma/Makefile + cd foma + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c int_stack.c -o int_stack.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c define.c -o define.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c determinize.c -o determinize.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c rewrite.c -o rewrite.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c topsort.c -o topsort.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c apply.c -o apply.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c lexcread.c -o lexcread.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c reverse.c -o reverse.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c flags.c -o flags.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c extract.c -o extract.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c minimize.c -o minimize.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c sigma.c -o sigma.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c coaccessible.c -o coaccessible.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c structures.c -o structures.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c io.c -o io.o io.c: In function 'io_get_gz_file_size': io.c:932:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 932 | fread(&bytes, 1, 4, infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c utf8.c -o utf8.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c mem.c -o mem.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c stringhash.c -o stringhash.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c dynarray.c -o dynarray.o In file included from /usr/include/string.h:495, from fomalib.h:23, from foma.h:18, from dynarray.c:20: In function 'strncpy', inlined from 'fsm_construct_done' at dynarray.c:456:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ flex -8 --prefix=lexc lexc.l gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c spelling.c -o spelling.o flex -8 --prefix=cmatrix cmatrix.l gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c trie.c -o trie.o bison -v --defines=regex.h --output=regex.c regex.y regex.y:192.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 192 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure regex.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] bison -v --defines=regex.h --output=regex.c regex.y regex.y:192.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 192 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure regex.y: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c foma.c -o foma.o flex -8 --prefix=interface interface.l gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c stack.c -o stack.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c flookup.c -o flookup.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c cgflookup.c -o cgflookup.o flex -8 regex.l gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c constructions.c -o constructions.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c lex.lexc.c -o lex.lexc.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c lex.cmatrix.c -o lex.cmatrix.o gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c iface.c -o iface.o In file included from /usr/include/string.h:495, from iface.c:21: In function 'strncpy', inlined from 'iface_name_net' at iface.c:688:9: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 40 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c regex.c -o regex.o regex.y: In function 'function_apply': regex.y:70:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 70 | sprintf(oldstr, "@ARGUMENT%02i@", (i+1)); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:871, from regex.y:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 13 and 14 bytes into a destination of size 13 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c lex.yy.c -o lex.yy.o ar cru libfoma.a int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.o ranlib libfoma.a gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -shared -Wl,-z,now,-soname,libfoma.so.0 -o libfoma.so.0.9.18 int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.o -lreadline -lz -ltermcap -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld /usr/bin/ld: define.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: define.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: determinize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: determinize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: apply.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: apply.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: rewrite.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: rewrite.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lexcread.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lexcread.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: topsort.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: topsort.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: flags.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: flags.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: minimize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/minimize.c:78: multiple definition of `trans_array'; determinize.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/determinize.c:71: first defined here /usr/bin/ld: minimize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/minimize.c:72: multiple definition of `trans_list'; determinize.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/determinize.c:65: first defined here /usr/bin/ld: minimize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: minimize.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: reverse.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: reverse.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: extract.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: extract.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: sigma.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: sigma.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: io.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: io.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: structures.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: structures.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: constructions.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: constructions.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: coaccessible.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: coaccessible.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: utf8.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: utf8.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: spelling.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: spelling.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: dynarray.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: dynarray.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: mem.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: mem.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lex.lexc.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.lexc.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lex.yy.o: in function `.LANCHOR2': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.yy.o: in function `.LANCHOR2': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: lex.cmatrix.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: lex.cmatrix.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here /usr/bin/ld: regex.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: multiple definition of `g_defines_f'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:28: first defined here /usr/bin/ld: regex.o: in function `.LANCHOR0': /builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: multiple definition of `g_defines'; int_stack.o:/builddir/build/BUILD/foma-0fa48dbacfe39509577ae6741054be7c05a19aac/foma/foma.h:27: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:71: libfoma.so.0.9.18] Error 1 make: *** Waiting for unfinished jobs.... gcc -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 -Wl,--as-needed -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC -c lex.interface.c -o lex.interface.o interface.l: In function 'my_interfaceparse': interface.l:104:20: warning: variable 'my_string_buffer' set but not used [-Wunused-but-set-variable] 104 | YY_BUFFER_STATE my_string_buffer; | ^~~~~~~~~~~~~~~~ interface.l: In function 'interfacelex': interface.l:579:7: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 579 | ret = system(interfacetext); | ^~~ lex.interface.c:8095:14: warning: statement with no effect [-Wunused-value] 8095 | #define NAME_NET 28 | ^~ interface.l:657:1: note: in expansion of macro 'ECHO' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.RCeLl2 (%build) Bad exit status from /var/tmp/rpm-tmp.RCeLl2 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/foma.spec