const-variable=] 8 | static const char RCSid[] = "$Id: world.c,v 35004.77 2007/01/13 23:12:39 kkeys Exp $"; | ^~~~~ make -f ../unix/unix.mak CC='gcc' 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 -g -DDATADIR=/usr/share' makehelp make[2]: Entering directory '/builddir/build/BUILD/tf-50b8/src' make[2]: 'makehelp' is up to date. make[2]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' ./makehelp < ../tf-lib/tf-help > ../tf-lib/tf-help.idx gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tf attr.o command.o dstring.o expand.o expr.o help.o history.o keyboard.o macro.o main.o malloc.o output.o pattern.o process.o search.o signals.o socket.o tfio.o tty.o util.o variable.o world.o -lm -ltermcap -lssl -lcrypto -lpcre /usr/bin/ld: expand.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: expr.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: history.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: macro.o: in function `.LANCHOR2': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: main.o: in function `.LANCHOR1': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: output.o: in function `.LANCHOR1': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: process.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: socket.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: variable.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here /usr/bin/ld: world.o: in function `.LANCHOR0': /builddir/build/BUILD/tf-50b8/src/socket.h:24: multiple definition of `world_decl'; command.o:/builddir/build/BUILD/tf-50b8/src/socket.h:24: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:160: tf] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/tf-50b8/src' make: *** [Makefile:18: files] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.HWIPLm (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HWIPLm (%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/tinyfugue.spec