truncation] 10337 | strncpy(bigstr, tstr, size); | ^ tclxcircuit.c:10329:14: note: length computed here 10329 | size = strlen(tstr); | ^~~~~~~~~~~~ tclxcircuit.c: In function 'xctcl_page': tclxcircuit.c:7997:16: warning: 'astr' may be used uninitialized [-Wmaybe-uninitialized] 7997 | if (newstr == astr) free(astr); | ^ tclxcircuit.c:7295:29: note: 'astr' was declared here 7295 | char *filename, *froot, *astr; | ^~~~ tclxcircuit.c:7961:21: warning: 'pageobj' may be used uninitialized [-Wmaybe-uninitialized] 7961 | if (pageobj->symschem != NULL) checkpagename(pageobj); | ~~~~~~~^~~~~~~~~~ tclxcircuit.c:7300:14: note: 'pageobj' was declared here 7300 | objectptr pageobj; | ^~~~~~~ rm -f lib/tcl/xcircuit.so gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -fPIC -Wl,-soname,lib/tcl/xcircuit.so -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-pointer-sign -fPIC -o lib/tcl/xcircuit.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/usr/include/tcl-private/.package_note-tcl-8.6.12-3.0.riscv64.fc37.riscv64.ld -Wl,--export-dynamic -Wl,--version-script=symbol.map xcwrap.o \ elements.o events.o filelist.o files.o flate.o fontfile.o formats.o functions.o graphic.o help.o keybindings.o libraries.o menucalls.o netlist.o ngspice.o parameter.o python.o rcfile.o render.o schema.o selection.o svg.o text.o undo.o tclxcircuit.o tkSimple.o xcircuit.o xtfuncs.o xtgui.o cairo.o utf8encodings.o \ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lc -ldl -lz -lpthread -lm -lz -lXt -lSM -lICE -lm -lX11 -lXpm -lcairo -lfontconfig -lfreetype -lgs \ -L/usr/lib64 -ltcl8.6 -L/usr/lib64 -ltk8.6 -lm /usr/bin/ld: cannot open linker script file /usr/include/tcl-private/.package_note-tcl-8.6.12-3.0.riscv64.fc37.riscv64.ld: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:861: lib/tcl/xcircuit.so] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make[1]: *** [Makefile:881: tcl] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/xcircuit-3.10.30' make: *** [Makefile:1030: all-recursive] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.LSXSsc (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LSXSsc (%build) 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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/xcircuit.spec