^~~~~~~~~~~~~~~~~~~ auxfunc_alter.c: In function 'CreateALTERinc': auxfunc_alter.c:310:23: warning: '%s' directive writing up to 659455 bytes into a region of size 4095 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-overflow=-Wformat-overflow=]8;;] 310 | sprintf(data, " %s", alter[k].text + 0); | ^~ In file included from /usr/include/stdio.h:872, from auxfunc_alter.c:8: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 659457 bytes into a destination of size 4096 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -s -o alter auxfunc_alter.o alter.o auxfunc.o -lm /usr/bin/ld: alter.o: in function `.LANCHOR0': alter.c:(.bss+0x4): multiple definition of `MPI_EXXIT'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x4): first defined here /usr/bin/ld: alter.o: in function `.LANCHOR0': alter.c:(.bss+0x0): multiple definition of `spice'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x0): first defined here /usr/bin/ld: alter.o: in function `.LANCHOR0': alter.c:(.bss+0x8): multiple definition of `lkk'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x8): first defined here /usr/bin/ld: auxfunc.o: in function `.LANCHOR0': auxfunc.c:(.bss+0x4): multiple definition of `MPI_EXXIT'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x4): first defined here /usr/bin/ld: auxfunc.o: in function `.LANCHOR0': auxfunc.c:(.bss+0x0): multiple definition of `spice'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x0): first defined here /usr/bin/ld: auxfunc.o: in function `.LANCHOR0': auxfunc.c:(.bss+0x8): multiple definition of `lkk'; auxfunc_alter.o:auxfunc_alter.c:(.bss+0x8): first defined here collect2: error: ld returned 1 exit status make[4]: *** [Makefile:370: alter] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/qucs-0.0.18/asco/tools/alter' make[3]: *** [Makefile:341: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/qucs-0.0.18/asco/tools' make[2]: *** [Makefile:528: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/qucs-0.0.18/asco' make[1]: *** [Makefile:442: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/qucs-0.0.18' make: *** [Makefile:382: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.dqz5gu (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.dqz5gu (%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: # /usr/bin/systemd-nspawn -q -M 2078122d4cdb4804ad04397b7c3c4df4 -D /var/lib/mock/f33-build-226594-49500/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.8z_r06s6:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/qucs.spec