.cpp g++ -I/builddir/build/BUILD/torcs-1.3.7/export/include -I/builddir/build/BUILD/torcs-1.3.7 -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 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c OggSoundStream.cpp BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from /usr/include/vorbis/vorbisfile.h:25, BUILDSTDERR: from OggSoundStream.h:27, BUILDSTDERR: from OggSoundStream.cpp:22: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ g++ -I/builddir/build/BUILD/torcs-1.3.7/export/include -I/builddir/build/BUILD/torcs-1.3.7 -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 -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -D_SVID_SOURCE -D_BSD_SOURCE -DSHM -DHAVE_CONFIG_H -c OpenALMusicPlayer.cpp BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from OpenALMusicPlayer.cpp:20: BUILDSTDERR: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] BUILDSTDERR: # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" BUILDSTDERR: ^~~~~~~ BUILDSTDERR: OpenALMusicPlayer.cpp: In member function 'virtual bool OpenALMusicPlayer::streamBuffer(ALuint)': BUILDSTDERR: OpenALMusicPlayer.cpp:164:22: error: invalid conversion from 'char' to 'const char*' [-fpermissive] BUILDSTDERR: const char* error = '\0'; BUILDSTDERR: ^~~~ make[4]: Leaving directory '/builddir/build/BUILD/torcs-1.3.7/src/libs/musicplayer' BUILDSTDERR: make[4]: *** [/builddir/build/BUILD/torcs-1.3.7/Make-default.mk:240: OpenALMusicPlayer.o] Error 1 BUILDSTDERR: make[3]: *** [/builddir/build/BUILD/torcs-1.3.7/Make-default.mk:679: subdirs] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/torcs-1.3.7/src/libs' make[2]: Leaving directory '/builddir/build/BUILD/torcs-1.3.7/src' BUILDSTDERR: make[2]: *** [/builddir/build/BUILD/torcs-1.3.7/Make-default.mk:679: subdirs] Error 1 BUILDSTDERR: make[1]: *** [/builddir/build/BUILD/torcs-1.3.7/Make-default.mk:679: subdirs] Error 1 BUILDSTDERR: make: *** [Makefile:32: restart] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/torcs-1.3.7' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tOiwbm (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.tOiwbm (%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/torcs.spec