fig.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Configuration: Install path: /usr Build output mechanisms: OSS output (oss): no Null output (null): yes Disk writer (disk): yes EsounD output (esound): no QSA output (qsa): no SDL output (sdl): no ALSA output (alsa): yes Libao output (ao): no + make -j4 Making all in src make[1]: Entering directory '/builddir/build/BUILD/adplay-1.7/src' make all-am make[2]: Entering directory '/builddir/build/BUILD/adplay-1.7/src' g++ -DHAVE_CONFIG_H -I. -I/usr/include/libbinio -DADPLUG_DATA_DIR=\"/var/lib/adplug\" -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 -c -o adplay.o adplay.cc g++ -DHAVE_CONFIG_H -I. -I/usr/include/libbinio -DADPLUG_DATA_DIR=\"/var/lib/adplug\" -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 -c -o output.o output.cc g++ -DHAVE_CONFIG_H -I. -I/usr/include/libbinio -DADPLUG_DATA_DIR=\"/var/lib/adplug\" -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 -c -o disk.o disk.cc g++ -DHAVE_CONFIG_H -I. -I/usr/include/libbinio -DADPLUG_DATA_DIR=\"/var/lib/adplug\" -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 -c -o alsa.o alsa.cc BUILDSTDERR: In file included from /usr/include/bits/getopt_posix.h:27, BUILDSTDERR: from /usr/include/unistd.h:869, BUILDSTDERR: from /usr/include/alsa/asoundlib.h:31, BUILDSTDERR: from alsa.h:25, BUILDSTDERR: from players.h:79, BUILDSTDERR: from adplay.cc:46: BUILDSTDERR: /usr/include/bits/getopt_core.h:91:12: error: declaration of 'int getopt(int, char* const*, const char*) throw ()' has a different exception specifier BUILDSTDERR: extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from adplay.cc:40: BUILDSTDERR: getopt.h:134:12: note: from previous declaration 'int getopt(int, char* const*, const char*)' BUILDSTDERR: extern int getopt (int __argc, char *const *__argv, const char *__shortopts); BUILDSTDERR: ^~~~~~ BUILDSTDERR: make[2]: *** [Makefile:375: adplay.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/adplay-1.7/src' make[1]: Leaving directory '/builddir/build/BUILD/adplay-1.7/src' BUILDSTDERR: make[1]: *** [Makefile:233: all] Error 2 BUILDSTDERR: make: *** [Makefile:299: all-recursive] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iBqMEd (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iBqMEd (%build) RPM build errors: 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/adplay.spec