Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libfreenect.spec'], chrootPath='/var/lib/mock/f37-build-679124-76516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libfreenect.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1663977600 Wrote: /builddir/build/SRPMS/libfreenect-0.6.4-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libfreenect.spec'], chrootPath='/var/lib/mock/f37-build-679124-76516/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libfreenect.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1663977600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9LKUhx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libfreenect-0.6.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libfreenect-0.6.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libfreenect-0.6.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf platform/windows + echo 'Patch #0 (libfreenect-0.5.7-videogroup.patch):' Patch #0 (libfreenect-0.5.7-videogroup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .videogroup --fuzz=0 patching file ./platform/linux/udev/51-kinect.rules Patch #1 (libfreenect-openni2.patch): + echo 'Patch #1 (libfreenect-openni2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .openni2 --fuzz=0 patching file OpenNI2-FreenectDriver/CMakeLists.txt Patch #3 (libfreenect-0.4.2-libdir.patch): + echo 'Patch #3 (libfreenect-0.4.2-libdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .libdir --fuzz=0 patching file ./cmake_modules/SetupDirectories.cmake Patch #4 (secarch.patch): + echo 'Patch #4 (secarch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .secarch --fuzz=0 patching file OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-ppc/OniPlatformLinux-PPC.h patching file OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Linux-s390/OniPlatformLinux-s390.h patching file OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h Patch #5 (libfreenect-0.6.2-py3.patch): + echo 'Patch #5 (libfreenect-0.6.2-py3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .py3 --fuzz=0 patching file src/fwfetcher.py patching file wrappers/python/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BJqpC0 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libfreenect-0.6.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_AUDIO=ON -DBUILD_C_SYNC=ON -DBUILD_CV=ON -DBUILD_REDIST_PACKAGE=ON -DBUILD_EXAMPLES=ON -DBUILD_FAKENECT=ON -DBUILD_PYTHON=OFF -DBUILD_PYTHON2=OFF -DBUILD_PYTHON3=ON -DBUILD_OPENNI2_DRIVER=ON -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Operating system is Linux -- Got System Processor riscv64 -- libfreenect will be installed to /usr -- Headers will be installed to /usr/include/libfreenect -- Libraries will be installed to /usr/lib64 -- Found libusb-1.0: -- - Includes: /usr/include/libusb-1.0 -- - Libraries: /usr/lib64/libusb-1.0.so -- Found PythonInterp: /usr/bin/python3.11 (found version "3.11") -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found OpenGL: /usr/lib64/libOpenGL.so -- Found GLUT: TRUE -- Found OpenCV: /usr (found version "4.6.0") -- Found Python3: /usr/bin/python3.11 (found version "3.11.0") found components: Interpreter Development Development.Module Development.Embed :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_AUDIO CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/libfreenect-0.6.4 -B/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/CMakeFiles /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/freenect.dir/build.make src/CMakeFiles/freenect.dir/depend /usr/bin/gmake -f src/CMakeFiles/freenectstatic.dir/build.make src/CMakeFiles/freenectstatic.dir/depend /usr/bin/gmake -f fakenect/CMakeFiles/fakenect.dir/build.make fakenect/CMakeFiles/fakenect.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libfreenect-0.6.4 /builddir/build/BUILD/libfreenect-0.6.4/src /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src/CMakeFiles/freenect.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libfreenect-0.6.4 /builddir/build/BUILD/libfreenect-0.6.4/src /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src/CMakeFiles/freenectstatic.dir/DependInfo.cmake --color= gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libfreenect-0.6.4 /builddir/build/BUILD/libfreenect-0.6.4/fakenect /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect/CMakeFiles/fakenect.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' /usr/bin/gmake -f src/CMakeFiles/freenectstatic.dir/build.make src/CMakeFiles/freenectstatic.dir/build /usr/bin/gmake -f src/CMakeFiles/freenect.dir/build.make src/CMakeFiles/freenect.dir/build /usr/bin/gmake -f fakenect/CMakeFiles/fakenect.dir/build.make fakenect/CMakeFiles/fakenect.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' [ 3%] Building C object fakenect/CMakeFiles/fakenect.dir/fakenect.c.o [ 3%] Building C object src/CMakeFiles/freenectstatic.dir/core.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect && /usr/bin/gcc -Dfakenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/fakenect/../src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT fakenect/CMakeFiles/fakenect.dir/fakenect.c.o -MF CMakeFiles/fakenect.dir/fakenect.c.o.d -o CMakeFiles/fakenect.dir/fakenect.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/fakenect/fakenect.c cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/core.c.o -MF CMakeFiles/freenectstatic.dir/core.c.o.d -o CMakeFiles/freenectstatic.dir/core.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/core.c [ 4%] Building C object src/CMakeFiles/freenect.dir/core.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/core.c.o -MF CMakeFiles/freenect.dir/core.c.o.d -o CMakeFiles/freenect.dir/core.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/core.c [ 6%] Building C object src/CMakeFiles/freenectstatic.dir/tilt.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/tilt.c.o -MF CMakeFiles/freenectstatic.dir/tilt.c.o.d -o CMakeFiles/freenectstatic.dir/tilt.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/tilt.c [ 7%] Building C object src/CMakeFiles/freenect.dir/tilt.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/tilt.c.o -MF CMakeFiles/freenect.dir/tilt.c.o.d -o CMakeFiles/freenect.dir/tilt.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/tilt.c [ 9%] Building C object src/CMakeFiles/freenect.dir/cameras.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/cameras.c.o -MF CMakeFiles/freenect.dir/cameras.c.o.d -o CMakeFiles/freenect.dir/cameras.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/cameras.c [ 10%] Building C object src/CMakeFiles/freenectstatic.dir/cameras.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/cameras.c.o -MF CMakeFiles/freenectstatic.dir/cameras.c.o.d -o CMakeFiles/freenectstatic.dir/cameras.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/cameras.c /builddir/build/BUILD/libfreenect-0.6.4/src/cameras.c:74:34: warning: 'invalid_mode' defined but not used [-Wunused-const-variable=] 74 | static const freenect_frame_mode invalid_mode = {0, (freenect_resolution)0, {(freenect_video_format)0}, 0, 0, 0, 0, 0, 0, 0}; | ^~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/src/cameras.c:74:34: warning: 'invalid_mode' defined but not used [-Wunused-const-variable=] 74 | static const freenect_frame_mode invalid_mode = {0, (freenect_resolution)0, {(freenect_video_format)0}, 0, 0, 0, 0, 0, 0, 0}; | ^~~~~~~~~~~~ [ 12%] Building C object src/CMakeFiles/freenectstatic.dir/flags.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/flags.c.o -MF CMakeFiles/freenectstatic.dir/flags.c.o.d -o CMakeFiles/freenectstatic.dir/flags.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/flags.c [ 14%] Building C object fakenect/CMakeFiles/fakenect.dir/parson.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect && /usr/bin/gcc -Dfakenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/fakenect/../src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT fakenect/CMakeFiles/fakenect.dir/parson.c.o -MF CMakeFiles/fakenect.dir/parson.c.o.d -o CMakeFiles/fakenect.dir/parson.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c [ 15%] Building C object src/CMakeFiles/freenectstatic.dir/usb_libusb10.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/usb_libusb10.c.o -MF CMakeFiles/freenectstatic.dir/usb_libusb10.c.o.d -o CMakeFiles/freenectstatic.dir/usb_libusb10.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/usb_libusb10.c [ 17%] Building C object src/CMakeFiles/freenect.dir/flags.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/flags.c.o -MF CMakeFiles/freenect.dir/flags.c.o.d -o CMakeFiles/freenect.dir/flags.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/flags.c [ 18%] Building C object src/CMakeFiles/freenect.dir/usb_libusb10.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/usb_libusb10.c.o -MF CMakeFiles/freenect.dir/usb_libusb10.c.o.d -o CMakeFiles/freenect.dir/usb_libusb10.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/usb_libusb10.c /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c: In function 'json_object_add': /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:144:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 144 | strncpy(output_string, string, n); | ^ In function 'parson_strdup', inlined from 'json_object_add' at /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:360:28: /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:149:12: note: length computed here 149 | return parson_strndup(string, strlen(string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 20%] Building C object src/CMakeFiles/freenectstatic.dir/registration.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/registration.c.o -MF CMakeFiles/freenectstatic.dir/registration.c.o.d -o CMakeFiles/freenectstatic.dir/registration.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/registration.c [ 21%] Building C object src/CMakeFiles/freenect.dir/registration.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/registration.c.o -MF CMakeFiles/freenect.dir/registration.c.o.d -o CMakeFiles/freenect.dir/registration.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/registration.c /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c: In function 'json_value_init_string': /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:144:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 144 | strncpy(output_string, string, n); | ^ /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:1288:18: note: length computed here 1288 | string_len = strlen(string); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c: In function 'json_parse_string_with_comments': /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:144:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 144 | strncpy(output_string, string, n); | ^ In function 'parson_strdup', inlined from 'json_parse_string_with_comments' at /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:1059:27: /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:149:12: note: length computed here 149 | return parson_strndup(string, strlen(string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c: In function 'json_value_deep_copy': /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:144:5: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 144 | strncpy(output_string, string, n); | ^ In function 'parson_strdup', inlined from 'json_value_deep_copy' at /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:1400:32: /builddir/build/BUILD/libfreenect-0.6.4/fakenect/parson.c:149:12: note: length computed here 149 | return parson_strndup(string, strlen(string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 23%] Building C object src/CMakeFiles/freenect.dir/audio.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/audio.c.o -MF CMakeFiles/freenect.dir/audio.c.o.d -o CMakeFiles/freenect.dir/audio.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/audio.c [ 25%] Building C object src/CMakeFiles/freenectstatic.dir/audio.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/audio.c.o -MF CMakeFiles/freenectstatic.dir/audio.c.o.d -o CMakeFiles/freenectstatic.dir/audio.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/audio.c [ 26%] Building C object src/CMakeFiles/freenectstatic.dir/loader.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenectstatic.dir/loader.c.o -MF CMakeFiles/freenectstatic.dir/loader.c.o.d -o CMakeFiles/freenectstatic.dir/loader.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/loader.c /builddir/build/BUILD/libfreenect-0.6.4/src/loader.c:82:12: warning: 'check_version_string' defined but not used [-Wunused-function] 82 | static int check_version_string(fnusb_dev* dev) { | ^~~~~~~~~~~~~~~~~~~~ [ 28%] Building C object src/CMakeFiles/freenect.dir/loader.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/gcc -Dfreenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT src/CMakeFiles/freenect.dir/loader.c.o -MF CMakeFiles/freenect.dir/loader.c.o.d -o CMakeFiles/freenect.dir/loader.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/loader.c [ 29%] Building C object fakenect/CMakeFiles/fakenect.dir/__/src/registration.c.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect && /usr/bin/gcc -Dfakenect_EXPORTS -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/fakenect/../src -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -MD -MT fakenect/CMakeFiles/fakenect.dir/__/src/registration.c.o -MF CMakeFiles/fakenect.dir/__/src/registration.c.o.d -o CMakeFiles/fakenect.dir/__/src/registration.c.o -c /builddir/build/BUILD/libfreenect-0.6.4/src/registration.c /builddir/build/BUILD/libfreenect-0.6.4/src/loader.c:82:12: warning: 'check_version_string' defined but not used [-Wunused-function] 82 | static int check_version_string(fnusb_dev* dev) { | ^~~~~~~~~~~~~~~~~~~~ [ 31%] Linking C static library ../lib/libfreenect.a cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/cmake -P CMakeFiles/freenectstatic.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/freenectstatic.dir/link.txt --verbose=1 /usr/bin/ar qc ../lib/libfreenect.a CMakeFiles/freenectstatic.dir/core.c.o CMakeFiles/freenectstatic.dir/tilt.c.o CMakeFiles/freenectstatic.dir/cameras.c.o CMakeFiles/freenectstatic.dir/flags.c.o CMakeFiles/freenectstatic.dir/usb_libusb10.c.o CMakeFiles/freenectstatic.dir/registration.c.o CMakeFiles/freenectstatic.dir/audio.c.o CMakeFiles/freenectstatic.dir/loader.c.o /usr/bin/ranlib ../lib/libfreenect.a gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' [ 31%] Built target freenectstatic /usr/bin/gmake -f OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build.make OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/libfreenect-0.6.4 /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/OpenNI2-FreenectDriver /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' /usr/bin/gmake -f OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build.make OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' [ 32%] Building CXX object OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/OpenNI2-FreenectDriver && /usr/bin/g++ -DFreenectDriver_EXPORTS -DPROJECT_VER=\"0.6.4\" -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include -I/builddir/build/BUILD/libfreenect-0.6.4/src -I/builddir/build/BUILD/libfreenect-0.6.4/wrappers/cpp -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-unused-function -fPIC -MD -MT OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o -MF CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o.d -o CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o -c /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.cpp [ 34%] Building CXX object OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/ColorStream.cpp.o cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/OpenNI2-FreenectDriver && /usr/bin/g++ -DFreenectDriver_EXPORTS -DPROJECT_VER=\"0.6.4\" -I/builddir/build/BUILD/libfreenect-0.6.4/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include -I/builddir/build/BUILD/libfreenect-0.6.4/src -I/builddir/build/BUILD/libfreenect-0.6.4/wrappers/cpp -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-unused-function -fPIC -MD -MT OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/ColorStream.cpp.o -MF CMakeFiles/FreenectDriver.dir/src/ColorStream.cpp.o.d -o CMakeFiles/FreenectDriver.dir/src/ColorStream.cpp.o -c /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.cpp [ 35%] Linking C shared library ../lib/libfreenect.so cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/freenect.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libfreenect.so.0 -o ../lib/libfreenect.so.0.6.4 CMakeFiles/freenect.dir/core.c.o CMakeFiles/freenect.dir/tilt.c.o CMakeFiles/freenect.dir/cameras.c.o CMakeFiles/freenect.dir/flags.c.o CMakeFiles/freenect.dir/usb_libusb10.c.o CMakeFiles/freenect.dir/registration.c.o CMakeFiles/freenect.dir/audio.c.o CMakeFiles/freenect.dir/loader.c.o -lusb-1.0 In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:24, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.hpp:7, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.cpp:2: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h:55:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 55 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ [ 37%] Linking C shared library ../lib/fakenect/libfakenect.so cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect && /usr/bin/cmake -E cmake_link_script CMakeFiles/fakenect.dir/link.txt --verbose=1 In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:24, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.hpp:6, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.cpp:2: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniPlatform.h:55:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 55 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ /usr/bin/gcc -fPIC -Wall -O2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-soname,libfakenect.so.0 -o ../lib/fakenect/libfakenect.so.0.6.4 CMakeFiles/fakenect.dir/fakenect.c.o CMakeFiles/fakenect.dir/parson.c.o CMakeFiles/fakenect.dir/__/src/registration.c.o -lm In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:25: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:27: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:39:32: error: expected ')' before '*' token 39 | void (ONI_CALLBACK_TYPE* errorLoggerAppend)(void* driverServices, const char* format, va_list args); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:40:32: error: expected ')' before '*' token 40 | void (ONI_CALLBACK_TYPE* errorLoggerClear)(void* driverServices); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:41:32: error: expected ')' before '*' token 41 | void (ONI_CALLBACK_TYPE* log)(void* driverServices, int severity, const char* file, int line, const char* mask, const char* message); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:47:31: error: expected ')' before '*' token 47 | int (ONI_CALLBACK_TYPE* getDefaultRequiredFrameSize)(void* streamServices); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:48:37: error: expected ')' before '*' token 48 | OniFrame* (ONI_CALLBACK_TYPE* acquireFrame)(void* streamServices); // returns a frame with size corresponding to getRequiredFrameSize() | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:49:32: error: expected ')' before '*' token 49 | void (ONI_CALLBACK_TYPE* addFrameRef)(void* streamServices, OniFrame* pframe); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:50:32: error: expected ')' before '*' token 50 | void (ONI_CALLBACK_TYPE* releaseFrame)(void* streamServices, OniFrame* pframe); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:35:32: error: expected ')' before '*' token 35 | typedef void (ONI_CALLBACK_TYPE* DeviceConnectedCallback)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:36:32: error: expected ')' before '*' token 36 | typedef void (ONI_CALLBACK_TYPE* DeviceDisconnectedCallback)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:37:32: error: expected ')' before '*' token 37 | typedef void (ONI_CALLBACK_TYPE* DeviceStateChangedCallback)(const OniDeviceInfo* deviceId, int errorState, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:38:32: error: expected ')' before '*' token 38 | typedef void (ONI_CALLBACK_TYPE* NewFrameCallback)(StreamBase* streamId, OniFrame*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:39:32: error: expected ')' before '*' token 39 | typedef void (ONI_CALLBACK_TYPE* PropertyChangedCallback)(void* sender, int propertyId, const void* data, int dataSize, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'int oni::driver::StreamServices::getDefaultRequiredFrameSize()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:46:43: error: 'getDefaultRequiredFrameSize' is not a member of 'OniStreamServices' 46 | return OniStreamServices::getDefaultRequiredFrameSize(streamServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'OniFrame* oni::driver::StreamServices::acquireFrame()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:51:43: error: 'acquireFrame' is not a member of 'OniStreamServices' 51 | return OniStreamServices::acquireFrame(streamServices); | ^~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamServices::addFrameRef(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:56:36: error: 'addFrameRef' is not a member of 'OniStreamServices' 56 | OniStreamServices::addFrameRef(streamServices, pFrame); | ^~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamServices::releaseFrame(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:61:36: error: 'releaseFrame' is not a member of 'OniStreamServices' 61 | OniStreamServices::releaseFrame(streamServices, pFrame); | ^~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:84:42: error: 'NewFrameCallback' has not been declared 84 | virtual void setNewFrameCallback(NewFrameCallback handler, void* pCookie) { m_newFrameCallback = handler; m_newFrameCallbackCookie = pCookie; } | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:85:49: error: 'PropertyChangedCallback' has not been declared 85 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:99:9: error: 'NewFrameCallback' does not name a type 99 | NewFrameCallback m_newFrameCallback; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:101:9: error: 'PropertyChangedCallback' does not name a type 101 | PropertyChangedCallback m_propertyChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In constructor 'oni::driver::StreamBase::StreamBase()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:68:24: error: class 'oni::driver::StreamBase' does not have any field named 'm_newFrameCallback' 68 | StreamBase() : m_newFrameCallback(NULL), m_propertyChangedCallback(NULL) {} | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:68:50: error: class 'oni::driver::StreamBase' does not have any field named 'm_propertyChangedCallback' 68 | StreamBase() : m_newFrameCallback(NULL), m_propertyChangedCallback(NULL) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::StreamBase::setNewFrameCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:84:85: error: 'm_newFrameCallback' was not declared in this scope; did you mean 'setNewFrameCallback'? 84 | virtual void setNewFrameCallback(NewFrameCallback handler, void* pCookie) { m_newFrameCallback = handler; m_newFrameCallbackCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~ | setNewFrameCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::StreamBase::setPropertyChangedCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:85:99: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 85 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamBase::raiseNewFrame(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:92:50: error: 'm_newFrameCallback' was not declared in this scope; did you mean 'setNewFrameCallback'? 92 | void raiseNewFrame(OniFrame* pFrame) { (*m_newFrameCallback)(this, pFrame, m_newFrameCallbackCookie); } | ^~~~~~~~~~~~~~~~~~ | setNewFrameCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamBase::raisePropertyChanged(int, const void*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:93:87: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 93 | void raisePropertyChanged(int propertyId, const void* data, int dataSize) { (*m_propertyChangedCallback)(this, propertyId, data, dataSize, m_propertyChangedCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:123:49: error: 'PropertyChangedCallback' has not been declared 123 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:132:9: error: 'PropertyChangedCallback' does not name a type 132 | PropertyChangedCallback m_propertyChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::DeviceBase::setPropertyChangedCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:123:99: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 123 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DeviceBase::raisePropertyChanged(int, const void*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:129:87: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 129 | void raisePropertyChanged(int propertyId, const void* data, int dataSize) { (*m_propertyChangedCallback)(this, propertyId, data, dataSize, m_propertyChangedCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::errorLoggerAppend(const char*, ...)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:145:36: error: 'struct OniDriverServices' has no member named 'errorLoggerAppend' 145 | m_pDriverServices->errorLoggerAppend(m_pDriverServices->driverServices, format, args); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::errorLoggerClear()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:151:36: error: 'struct OniDriverServices' has no member named 'errorLoggerClear' 151 | m_pDriverServices->errorLoggerClear(m_pDriverServices->driverServices); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::log(int, const char*, int, const char*, const char*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:156:36: error: 'struct OniDriverServices' has no member named 'log' 156 | m_pDriverServices->log(m_pDriverServices->driverServices, severity, file, line, mask, message); | ^~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:38: error: 'DeviceConnectedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:81: error: 'DeviceDisconnectedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:130: error: 'DeviceStateChangedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:198:9: error: 'DeviceConnectedCallback' does not name a type 198 | DeviceConnectedCallback m_deviceConnectedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:199:9: error: 'DeviceDisconnectedCallback' does not name a type 199 | DeviceDisconnectedCallback m_deviceDisconnectedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:200:9: error: 'DeviceStateChangedCallback' does not name a type 200 | DeviceStateChangedCallback m_deviceStateChangedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual OniStatus oni::driver::DriverBase::initialize(int, int, int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:173:17: error: 'm_deviceConnectedEvent' was not declared in this scope; did you mean 'deviceConnected'? 173 | m_deviceConnectedEvent = connectedCallback; | ^~~~~~~~~~~~~~~~~~~~~~ | deviceConnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:174:17: error: 'm_deviceDisconnectedEvent' was not declared in this scope; did you mean 'deviceDisconnected'? 174 | m_deviceDisconnectedEvent = disconnectedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceDisconnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:175:17: error: 'm_deviceStateChangedEvent' was not declared in this scope; did you mean 'deviceStateChanged'? 175 | m_deviceStateChangedEvent = deviceStateChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceStateChanged /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceConnected(const OniDeviceInfo*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:191:61: error: 'm_deviceConnectedEvent' was not declared in this scope; did you mean 'deviceConnected'? 191 | void deviceConnected(const OniDeviceInfo* pInfo) { (m_deviceConnectedEvent)(pInfo, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~ | deviceConnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceDisconnected(const OniDeviceInfo*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:192:64: error: 'm_deviceDisconnectedEvent' was not declared in this scope; did you mean 'deviceDisconnected'? 192 | void deviceDisconnected(const OniDeviceInfo* pInfo) { (m_deviceDisconnectedEvent)(pInfo, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceDisconnected In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:25: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceStateChanged(const OniDeviceInfo*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:193:80: error: 'm_deviceStateChangedEvent' was not declared in this scope; did you mean 'deviceStateChanged'? 193 | void deviceStateChanged(const OniDeviceInfo* pInfo, int errorState) { (m_deviceStateChangedEvent)(pInfo, errorState, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceStateChanged /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:5, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.hpp:9: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp: In function 'bool operator<(const OniDeviceInfo&, const OniDeviceInfo&)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp:31:11: error: 'strcmp' was not declared in this scope 31 | return (strcmp(left.uri, right.uri) < 0); | ^~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp:5:1: note: 'strcmp' is defined in header ''; did you forget to '#include '? 4 | #include +++ |+#include 5 | #include "Driver/OniDriverAPI.h" In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:27: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:39:32: error: expected ')' before '*' token 39 | void (ONI_CALLBACK_TYPE* errorLoggerAppend)(void* driverServices, const char* format, va_list args); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:40:32: error: expected ')' before '*' token 40 | void (ONI_CALLBACK_TYPE* errorLoggerClear)(void* driverServices); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:41:32: error: expected ')' before '*' token 41 | void (ONI_CALLBACK_TYPE* log)(void* driverServices, int severity, const char* file, int line, const char* mask, const char* message); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:47:31: error: expected ')' before '*' token 47 | int (ONI_CALLBACK_TYPE* getDefaultRequiredFrameSize)(void* streamServices); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:48:37: error: expected ')' before '*' token 48 | OniFrame* (ONI_CALLBACK_TYPE* acquireFrame)(void* streamServices); // returns a frame with size corresponding to getRequiredFrameSize() | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:49:32: error: expected ')' before '*' token 49 | void (ONI_CALLBACK_TYPE* addFrameRef)(void* streamServices, OniFrame* pframe); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverTypes.h:50:32: error: expected ')' before '*' token 50 | void (ONI_CALLBACK_TYPE* releaseFrame)(void* streamServices, OniFrame* pframe); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:35:32: error: expected ')' before '*' token 35 | typedef void (ONI_CALLBACK_TYPE* DeviceConnectedCallback)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:36:32: error: expected ')' before '*' token 36 | typedef void (ONI_CALLBACK_TYPE* DeviceDisconnectedCallback)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:37:32: error: expected ')' before '*' token 37 | typedef void (ONI_CALLBACK_TYPE* DeviceStateChangedCallback)(const OniDeviceInfo* deviceId, int errorState, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:38:32: error: expected ')' before '*' token 38 | typedef void (ONI_CALLBACK_TYPE* NewFrameCallback)(StreamBase* streamId, OniFrame*, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:39:32: error: expected ')' before '*' token 39 | typedef void (ONI_CALLBACK_TYPE* PropertyChangedCallback)(void* sender, int propertyId, const void* data, int dataSize, void* pCookie); | ~ ^ | ) /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'int oni::driver::StreamServices::getDefaultRequiredFrameSize()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:46:43: error: 'getDefaultRequiredFrameSize' is not a member of 'OniStreamServices' 46 | return OniStreamServices::getDefaultRequiredFrameSize(streamServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp: In constructor 'FreenectDriver::VideoStream::VideoStream(Freenect::FreenectDevice*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:35:9: error: 'memset' was not declared in this scope 35 | memset(&cropping, 0, sizeof(cropping)); | ^~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:6:1: note: 'memset' is defined in header ''; did you forget to '#include '? 5 | #include "Utility.hpp" +++ |+#include 6 | /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'OniFrame* oni::driver::StreamServices::acquireFrame()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:51:43: error: 'acquireFrame' is not a member of 'OniStreamServices' 51 | return OniStreamServices::acquireFrame(streamServices); | ^~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamServices::addFrameRef(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:56:36: error: 'addFrameRef' is not a member of 'OniStreamServices' 56 | OniStreamServices::addFrameRef(streamServices, pFrame); | ^~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamServices::releaseFrame(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:61:36: error: 'releaseFrame' is not a member of 'OniStreamServices' 61 | OniStreamServices::releaseFrame(streamServices, pFrame); | ^~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:84:42: error: 'NewFrameCallback' has not been declared 84 | virtual void setNewFrameCallback(NewFrameCallback handler, void* pCookie) { m_newFrameCallback = handler; m_newFrameCallbackCookie = pCookie; } | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:85:49: error: 'PropertyChangedCallback' has not been declared 85 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:99:9: error: 'NewFrameCallback' does not name a type 99 | NewFrameCallback m_newFrameCallback; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:101:9: error: 'PropertyChangedCallback' does not name a type 101 | PropertyChangedCallback m_propertyChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In constructor 'oni::driver::StreamBase::StreamBase()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:68:24: error: class 'oni::driver::StreamBase' does not have any field named 'm_newFrameCallback' 68 | StreamBase() : m_newFrameCallback(NULL), m_propertyChangedCallback(NULL) {} | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:68:50: error: class 'oni::driver::StreamBase' does not have any field named 'm_propertyChangedCallback' 68 | StreamBase() : m_newFrameCallback(NULL), m_propertyChangedCallback(NULL) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::StreamBase::setNewFrameCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:84:85: error: 'm_newFrameCallback' was not declared in this scope; did you mean 'setNewFrameCallback'? 84 | virtual void setNewFrameCallback(NewFrameCallback handler, void* pCookie) { m_newFrameCallback = handler; m_newFrameCallbackCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~ | setNewFrameCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::StreamBase::setPropertyChangedCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:85:99: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 85 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamBase::raiseNewFrame(OniFrame*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:92:50: error: 'm_newFrameCallback' was not declared in this scope; did you mean 'setNewFrameCallback'? 92 | void raiseNewFrame(OniFrame* pFrame) { (*m_newFrameCallback)(this, pFrame, m_newFrameCallbackCookie); } | ^~~~~~~~~~~~~~~~~~ | setNewFrameCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.hpp: In member function 'virtual OniStatus FreenectDriver::DepthStream::getProperty(int, void*, int*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.hpp:200:11: error: 'memcpy' was not declared in this scope 200 | memcpy(data, S2D, *pDataSize); | ^~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.hpp:12:1: note: 'memcpy' is defined in header ''; did you forget to '#include '? 11 | #include "D2S.h" +++ |+#include 12 | /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::StreamBase::raisePropertyChanged(int, const void*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:93:87: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 93 | void raisePropertyChanged(int propertyId, const void* data, int dataSize) { (*m_propertyChangedCallback)(this, propertyId, data, dataSize, m_propertyChangedCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:123:49: error: 'PropertyChangedCallback' has not been declared 123 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:132:9: error: 'PropertyChangedCallback' does not name a type 132 | PropertyChangedCallback m_propertyChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.cpp: In member function 'virtual OniStatus FreenectDriver::DepthStream::setVideoMode(OniVideoMode)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/DepthStream.cpp:41:29: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 41 | catch (std::runtime_error e) | ^ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual void oni::driver::DeviceBase::setPropertyChangedCallback(int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:123:99: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 123 | virtual void setPropertyChangedCallback(PropertyChangedCallback handler, void* pCookie) { m_propertyChangedCallback = handler; m_propertyChangedCookie = pCookie; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DeviceBase::raisePropertyChanged(int, const void*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:129:87: error: 'm_propertyChangedCallback' was not declared in this scope; did you mean 'setPropertyChangedCallback'? 129 | void raisePropertyChanged(int propertyId, const void* data, int dataSize) { (*m_propertyChangedCallback)(this, propertyId, data, dataSize, m_propertyChangedCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | setPropertyChangedCallback /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::errorLoggerAppend(const char*, ...)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:145:36: error: 'struct OniDriverServices' has no member named 'errorLoggerAppend' 145 | m_pDriverServices->errorLoggerAppend(m_pDriverServices->driverServices, format, args); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::errorLoggerClear()': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:151:36: error: 'struct OniDriverServices' has no member named 'errorLoggerClear' 151 | m_pDriverServices->errorLoggerClear(m_pDriverServices->driverServices); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverServices::log(int, const char*, int, const char*, const char*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:156:36: error: 'struct OniDriverServices' has no member named 'log' 156 | m_pDriverServices->log(m_pDriverServices->driverServices, severity, file, line, mask, message); | ^~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: At global scope: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:38: error: 'DeviceConnectedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:81: error: 'DeviceDisconnectedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:171:130: error: 'DeviceStateChangedCallback' has not been declared 171 | virtual OniStatus initialize(DeviceConnectedCallback connectedCallback, DeviceDisconnectedCallback disconnectedCallback, DeviceStateChangedCallback deviceStateChangedCallback, void* pCookie) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:198:9: error: 'DeviceConnectedCallback' does not name a type 198 | DeviceConnectedCallback m_deviceConnectedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:199:9: error: 'DeviceDisconnectedCallback' does not name a type 199 | DeviceDisconnectedCallback m_deviceDisconnectedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:200:9: error: 'DeviceStateChangedCallback' does not name a type 200 | DeviceStateChangedCallback m_deviceStateChangedEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'virtual OniStatus oni::driver::DriverBase::initialize(int, int, int, void*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:173:17: error: 'm_deviceConnectedEvent' was not declared in this scope; did you mean 'deviceConnected'? 173 | m_deviceConnectedEvent = connectedCallback; | ^~~~~~~~~~~~~~~~~~~~~~ | deviceConnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:174:17: error: 'm_deviceDisconnectedEvent' was not declared in this scope; did you mean 'deviceDisconnected'? 174 | m_deviceDisconnectedEvent = disconnectedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceDisconnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:175:17: error: 'm_deviceStateChangedEvent' was not declared in this scope; did you mean 'deviceStateChanged'? 175 | m_deviceStateChangedEvent = deviceStateChangedCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceStateChanged /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceConnected(const OniDeviceInfo*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:191:61: error: 'm_deviceConnectedEvent' was not declared in this scope; did you mean 'deviceConnected'? 191 | void deviceConnected(const OniDeviceInfo* pInfo) { (m_deviceConnectedEvent)(pInfo, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~ | deviceConnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceDisconnected(const OniDeviceInfo*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:192:64: error: 'm_deviceDisconnectedEvent' was not declared in this scope; did you mean 'deviceDisconnected'? 192 | void deviceDisconnected(const OniDeviceInfo* pInfo) { (m_deviceDisconnectedEvent)(pInfo, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceDisconnected /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h: In member function 'void oni::driver::DriverBase::deviceStateChanged(const OniDeviceInfo*, int)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/extern/OpenNI-Linux-x64-2.2.0.33/Include/Driver/OniDriverAPI.h:193:80: error: 'm_deviceStateChangedEvent' was not declared in this scope; did you mean 'deviceStateChanged'? 193 | void deviceStateChanged(const OniDeviceInfo* pInfo, int errorState) { (m_deviceStateChangedEvent)(pInfo, errorState, m_pCookie); } | ^~~~~~~~~~~~~~~~~~~~~~~~~ | deviceStateChanged In file included from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:5, from /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.hpp:7: /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp: In function 'bool operator<(const OniDeviceInfo&, const OniDeviceInfo&)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp:31:11: error: 'strcmp' was not declared in this scope 31 | return (strcmp(left.uri, right.uri) < 0); | ^~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/Utility.hpp:5:1: note: 'strcmp' is defined in header ''; did you forget to '#include '? 4 | #include +++ |+#include 5 | #include "Driver/OniDriverAPI.h" /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp: In constructor 'FreenectDriver::VideoStream::VideoStream(Freenect::FreenectDevice*)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:35:9: error: 'memset' was not declared in this scope 35 | memset(&cropping, 0, sizeof(cropping)); | ^~~~~~ /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/VideoStream.hpp:6:1: note: 'memset' is defined in header ''; did you forget to '#include '? 5 | #include "Utility.hpp" +++ |+#include 6 | /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.cpp: In member function 'virtual OniStatus FreenectDriver::ColorStream::setVideoMode(OniVideoMode)': /builddir/build/BUILD/libfreenect-0.6.4/OpenNI2-FreenectDriver/src/ColorStream.cpp:42:29: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=] 42 | catch (std::runtime_error e) | ^ gmake[2]: *** [OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build.make:93: OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/DepthStream.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/build.make:79: OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/src/ColorStream.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:835: OpenNI2-FreenectDriver/CMakeFiles/FreenectDriver.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/src && /usr/bin/cmake -E cmake_symlink_library ../lib/libfreenect.so.0.6.4 ../lib/libfreenect.so.0 ../lib/libfreenect.so gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' [ 37%] Built target freenect cd /builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build/fakenect && /usr/bin/cmake -E cmake_symlink_library ../lib/fakenect/libfakenect.so.0.6.4 ../lib/fakenect/libfakenect.so.0 ../lib/fakenect/libfakenect.so gmake[2]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' [ 37%] Built target fakenect gmake[1]: Leaving directory '/builddir/build/BUILD/libfreenect-0.6.4/redhat-linux-build' gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.BJqpC0 (%build) Bad exit status from /var/tmp/rpm-tmp.BJqpC0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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/libfreenect.spec