d/../lib64/lp64d/libpthread.so: error adding symbols: DSO missing from command line BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:53: ambdec_cli] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.OBCEuE (%build) VERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 -I/usr/X11R6/include `freetype-config --cflags` -c -o decoder.o decoder.cc g++ -Wall -MMD -MP -DVERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 -I/usr/X11R6/include `freetype-config --cflags` -c -o adconf.o adconf.cc g++ -Wall -MMD -MP -DVERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 -I/usr/X11R6/include `freetype-config --cflags` -c -o sstring.o sstring.cc g++ -Wall -MMD -MP -DVERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 -I/usr/X11R6/include `freetype-config --cflags` -c -o png2img.o png2img.cc g++ -Wall -MMD -MP -DVERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 -I/usr/X11R6/include `freetype-config --cflags` -c -o meter.o meter.cc g++ -Wall -MMD -MP -DVERSION=\"0.5.1\" -DSHARED=\"/usr/share/ambdec\" -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 ambdec_cli.o ambdec_cli.cc g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o ambdec ambdec.o styles.o mainwin.o confwin.o radbut.o filewin.o jclient.o nffilt.o xover2.o decoder.o adconf.o sstring.o png2img.o meter.o -lclxclient -lclthreads -ljack -lpng -lXft -lX11 -lrt g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o ambdec_cli ambdec_cli.o jclient.o nffilt.o xover2.o decoder.o adconf.o sstring.o -lclthreads -ljack -lrt RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OBCEuE (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/ambdec.spec