+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/btanks.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tjet6r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf btanks-0.9.8083 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/btanks-0.9.8083.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd btanks-0.9.8083 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (btanks-remove-rpath.patch):' Patch #0 (btanks-remove-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .remove-rpath --fuzz=0 patching file clunk/SConscript patching file clunk/SConstruct patching file sdlx/SConscript patching file objects/SConscript patching file engine/SConscript patching file editor/SConscript + echo 'Patch #1 (btanks-disable-smpeg.patch):' Patch #1 (btanks-disable-smpeg.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .disable-smpeg --fuzz=0 patching file engine/menu/video_control.cpp patching file engine/menu/video_control_disabled.h patching file engine/menu/video_control.h patching file SConstruct patching file engine/SConscript + echo 'Patch #2 (btanks-libcheck.patch):' Patch #2 (btanks-libcheck.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .libcheck --fuzz=0 patching file SConstruct + echo 'Patch #3 (btanks-excessopts.patch):' Patch #3 (btanks-excessopts.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .excessopts --fuzz=0 patching file SConstruct + echo 'Patch #4 (btanks-gcc.patch):' Patch #4 (btanks-gcc.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .gcc --fuzz=0 patching file engine/sl08/sl08.py patching file engine/sl08/sl08.h + echo 'Patch #5 (btanks-dso.patch):' Patch #5 (btanks-dso.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .dso --fuzz=0 patching file editor/SConscript patching file engine/SConscript + echo 'Patch #6 (btanks-gcc47.patch):' Patch #6 (btanks-gcc47.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .gcc47 --fuzz=0 patching file math/range_list.h patching file engine/sl08/sl08.h patching file mrt/base_file.h + echo 'Patch #7 (btanks-0.9.8083-lua-5.2.patch):' Patch #7 (btanks-0.9.8083-lua-5.2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lua-52 --fuzz=0 patching file engine/luaxx/state.cpp + dos2unix -k README-editor.txt README-en.txt README-fr.txt README-linux.txt README-ru.txt video.txt ChangeLog donate.url homepage.url project_page.url LICENSE LICENSE.EXCEPTION dos2unix: converting file README-editor.txt to Unix format... dos2unix: converting file README-en.txt to Unix format... dos2unix: converting file README-fr.txt to Unix format... dos2unix: converting file README-linux.txt to Unix format... dos2unix: converting file README-ru.txt to Unix format... dos2unix: converting file video.txt to Unix format... dos2unix: converting file ChangeLog to Unix format... dos2unix: converting file donate.url to Unix format... dos2unix: converting file homepage.url to Unix format... dos2unix: converting file project_page.url to Unix format... dos2unix: converting file LICENSE to Unix format... dos2unix: converting file LICENSE.EXCEPTION to Unix format... + iconv -f latin1 -t utf-8 LICENSE.EXCEPTION + touch -r LICENSE.EXCEPTION LICENSE.EXCEPTION.new + mv -f LICENSE.EXCEPTION.new LICENSE.EXCEPTION + iconv -f latin1 -t utf-8 README-fr.txt + touch -r README-fr.txt README-fr.txt.new + mv -f README-fr.txt.new README-fr.txt + iconv -f cp1251 -t utf-8 README-ru.txt + touch -r README-ru.txt README-ru.txt.new + mv -f README-ru.txt.new README-ru.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QQPw8r + umask 022 + cd /builddir/build/BUILD + cd btanks-0.9.8083 + export 'CFLAGS=-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 ' + CFLAGS='-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 ' + scons -j4 prefix=/usr lib_dir=/usr/lib64 plugins_dir=/usr/lib64/btanks resources_dir=/usr/share/btanks mode=release enable_lua=true scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 19, in scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 36, in scons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 38, in Checking for XML_ParserCreate(NULL) in C library expat... yes Checking for zlibVersion() in C library z... yes Checking for SDL_Init(0) in C library SDL... yes Checking for IMG_Load(0) in C library SDL_image... yes Checking for ov_open(0, 0, 0, 0) in C library vorbisfile... yes Checking for _mm_set_ss(1.0f) in C library m... no version: 0.9.8083 scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 246, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 246, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 246, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 246, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 252, in scons: warning: BuildDir() and the build_dir keyword have been deprecated; use VariantDir() and the variant_dir keyword instead. File "/builddir/build/BUILD/btanks-0.9.8083/SConstruct", line 257, in scons: done reading SConscript files. scons: Building targets ... g++ -o build/release/clunk/buffer.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/buffer.cpp g++ -o build/release/clunk/clunk_ex.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/clunk_ex.cpp g++ -o build/release/clunk/context.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/context.cpp g++ -o build/release/clunk/distance_model.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/distance_model.cpp gcc -o build/release/clunk/kemar.os -c -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/kemar.c g++ -o build/release/clunk/sample.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/sample.cpp g++ -o build/release/clunk/object.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/object.cpp g++ -o build/release/clunk/source.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/source.cpp g++ -o build/release/clunk/sdl_ex.os -c -fvisibility-inlines-hidden -fvisibility-inlines-hidden -fvisibility=hidden -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 -fvisibility=hidden -DGCC_HASCLASSVISIBILITY -fvisibility=hidden -fPIC -DUSE_GLSDL -DV3_DISABLE_Z -DRELEASE -DPREFIX="\"/usr\"" -DRESOURCES_DIR="\"/usr/share/btanks\"" -DPLUGINS_DIR="\"/usr/lib64/btanks\"" -DCLUNKAPI=DLLEXPORT -D_GNU_SOURCE=1 -D_REENTRANT -I. -Ibuild/release -Ibuild/release/clunk -Iclunk -I/usr/include/SDL clunk/sdl_ex.cpp clunk/source.cpp: In member function 'void clunk::Source::hrtf(int, unsigned int, clunk::Buffer&, const Sint16*, int, int, int, const float (* const&)[2][512], int)': clunk/source.cpp:157:13: error: 'pow10f' was not declared in this scope float m = pow10f(kemar_data[kemar_idx][0][kemar_angle_idx] * v / 20); ^~~~~~ clunk/source.cpp:157:13: note: suggested alternative: 'powf' float m = pow10f(kemar_data[kemar_idx][0][kemar_angle_idx] * v / 20); ^~~~~~ powf scons: *** [build/release/clunk/source.os] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.QQPw8r (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QQPw8r (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff