r=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 -lm -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xbm2pla xbm2pla.o ../cube/libdgccube.la ../replace/libreplace.a libtool: link: 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,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/bmsgen bmsgen.o -lm ../util/.libs/libdgcutil.so ../replace/libreplace.a libtool: link: 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,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/bmsencode bmsencode.o ../cube/.libs/libdgccube.so /builddir/build/BUILD/dgc-0.98/util/.libs/libdgcutil.so -lxml2 -lz -llzma -lm -ldl ../replace/libreplace.a libtool: link: 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,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/dgsop dgsop.o ../cube/.libs/libdgccube.so /builddir/build/BUILD/dgc-0.98/util/.libs/libdgcutil.so -lxml2 -lz -llzma -lm -ldl ../replace/libreplace.a libtool: link: 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,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/xbm2pla xbm2pla.o ../cube/.libs/libdgccube.so /builddir/build/BUILD/dgc-0.98/util/.libs/libdgcutil.so -lxml2 -lz -llzma -lm -ldl ../replace/libreplace.a BUILDSTDERR: /usr/bin/ld: ../util/.libs/libdgcutil.so: undefined reference to `ceil' BUILDSTDERR: /usr/bin/ld: ../util/.libs/libdgcutil.so: undefined reference to `log' BUILDSTDERR: /usr/bin/ld: ../util/.libs/libdgcutil.so: undefined reference to `pow' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [Makefile:381: bmsgen] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/dgc-0.98/app' BUILDSTDERR: make[1]: *** [Makefile:297: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dgc-0.98' BUILDSTDERR: make: *** [Makefile:226: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Xqs69n (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Xqs69n (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/dgc.spec