ug.la" "libadplug.la" ) make[1]: Leaving directory '/builddir/build/BUILD/adplug-2.2.1/src' Making all in doc make[1]: Entering directory '/builddir/build/BUILD/adplug-2.2.1/doc' rm -f adplugdb.1 adplugdb.1.tmp sed -e 's,@sharedstatedir\@,/var/lib,g' -e 's,@VERSION\@,2.2.1,g' ./adplugdb.1.in >adplugdb.1.tmp mv adplugdb.1.tmp adplugdb.1 make[1]: Leaving directory '/builddir/build/BUILD/adplug-2.2.1/doc' Making all in adplugdb make[1]: Entering directory '/builddir/build/BUILD/adplug-2.2.1/adplugdb' BUILDSTDERR: g++ -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.2.1\" -DPACKAGE_STRING=\"adplug\ 2.2.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: : note: in definition of macro 'ADPLUG_DATA_DIR' BUILDSTDERR: adplugdb.cpp:108:3: note: in expansion of macro 'ADPLUGDB_PATH' BUILDSTDERR: 108 | ADPLUGDB_PATH, BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: adplugdb.cpp: In function 'const string file2type(const char*)': BUILDSTDERR: adplugdb.cpp:185:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 185 | if((p = (*i)->factory(&opl))) BUILDSTDERR: | ^ BUILDSTDERR: /usr/bin/ld: ../src/.libs/libadplug.so: undefined reference to `OPL_CALC_RH' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[1]: *** [Makefile:411: adplugdb] Error 1 BUILDSTDERR: make: *** [Makefile:442: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.1I7uej (%build) _DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -I. -DADPLUG_DATA_DIR=\"/var/lib/adplug\" -I/usr/include/libbinio -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 adplugdb.o adplugdb.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -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 ../src/.libs/libadplug.la -lbinio -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o adplugdb adplugdb.o -lstdc++ libtool: link: g++ -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/adplugdb adplugdb.o ../src/.libs/libadplug.so -lbinio -lstdc++ make[1]: Leaving directory '/builddir/build/BUILD/adplug-2.2.1/adplugdb' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.1I7uej (%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/adplug.spec