Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/librealsense1.spec'], chrootPath='/var/lib/mock/f29-build-13902-6284/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/librealsense1.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/librealsense1-1.12.1-14.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librealsense1.spec'], chrootPath='/var/lib/mock/f29-build-13902-6284/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librealsense1.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BYnV83 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librealsense-1.12.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/librealsense1-1.12.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd librealsense-1.12.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/librealsense.remove-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/librealsense.functional.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/librealsense.timeval.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/librealsense.v1-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XocJC9 + umask 022 + cd /builddir/build/BUILD + cd librealsense-1.12.1 + mkdir -p build + pushd build ~/build/BUILD/librealsense-1.12.1/build ~/build/BUILD/librealsense-1.12.1 + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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_UNIT_TESTS=NO -DCMAKE_INSTALL_BINDIR=/usr/bin -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_INCLUDEDIR=/usr/include .. -- Info: REALSENSE_VERSION_STRING=1.12.1 -- The C compiler identification is GNU 8.1.1 -- The CXX compiler identification is GNU 8.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test COMPILER_SUPPORTS_CXX11 -- Performing Test COMPILER_SUPPORTS_CXX11 - Success -- Performing Test COMPILER_SUPPORTS_CXX0X -- Performing Test COMPILER_SUPPORTS_CXX0X - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "1.4.2") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not 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 -- Checking for one of the modules 'libusb-1.0' -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/librealsense-1.12.1/build + /usr/bin/make -O -j4 realsense1 /usr/bin/cmake -H/builddir/build/BUILD/librealsense-1.12.1 -B/builddir/build/BUILD/librealsense-1.12.1/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/make -f CMakeFiles/Makefile2 realsense1 make[1]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' /usr/bin/cmake -H/builddir/build/BUILD/librealsense-1.12.1 -B/builddir/build/BUILD/librealsense-1.12.1/build --check-build-system CMakeFiles/Makefile.cmake 0 make[1]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[1]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/librealsense-1.12.1/build/CMakeFiles 32 make[1]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' /usr/bin/make -f CMakeFiles/Makefile2 CMakeFiles/realsense1.dir/all /usr/bin/make -f CMakeFiles/realsense1.dir/build.make CMakeFiles/realsense1.dir/depend make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' cd /builddir/build/BUILD/librealsense-1.12.1/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/librealsense-1.12.1 /builddir/build/BUILD/librealsense-1.12.1 /builddir/build/BUILD/librealsense-1.12.1/build /builddir/build/BUILD/librealsense-1.12.1/build /builddir/build/BUILD/librealsense-1.12.1/build/CMakeFiles/realsense1.dir/DependInfo.cmake --color= Scanning dependencies of target realsense1 make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' /usr/bin/make -f CMakeFiles/realsense1.dir/build.make CMakeFiles/realsense1.dir/build make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 9%] Building CXX object CMakeFiles/realsense1.dir/src/context.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/context.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/context.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.h:10, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/context.cpp:11: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.h:10, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/context.cpp:11: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 9%] Building CXX object CMakeFiles/realsense1.dir/src/archive.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/archive.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/archive.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/archive.cpp:2: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 15%] Building CXX object CMakeFiles/realsense1.dir/src/ds-private.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/ds-private.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/ds-private.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 12%] Building CXX object CMakeFiles/realsense1.dir/src/device.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/device.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/device.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/device.cpp:5: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/device.cpp:5: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 9%] Building CXX object CMakeFiles/realsense1.dir/src/ds-device.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/ds-device.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp: In constructor 'rsimpl::dinghy_timestamp_reader::dinghy_timestamp_reader(int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:680:16: warning: 'rsimpl::dinghy_timestamp_reader::last_timestamp' will be initialized after [-Wreorder] BUILDSTDERR: double last_timestamp; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:678:38: warning: 'rsimpl::wraparound_mechanism rsimpl::dinghy_timestamp_reader::timestamp_wraparound' [-Wreorder] BUILDSTDERR: wraparound_mechanism timestamp_wraparound; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:683:9: warning: when initialized here [-Wreorder] BUILDSTDERR: dinghy_timestamp_reader(int fps) : fps(fps), last_timestamp(0), timestamp_wraparound(1, std::numeric_limits::max()), frame_counter_wraparound(1, std::numeric_limits::max()) {} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp: In constructor 'rsimpl::fisheye_timestamp_reader::fisheye_timestamp_reader(int, const char*)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:760:16: warning: 'rsimpl::fisheye_timestamp_reader::last_fisheye_timestamp' will be initialized after [-Wreorder] BUILDSTDERR: double last_fisheye_timestamp; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:759:18: warning: 'unsigned int rsimpl::fisheye_timestamp_reader::last_fisheye_counter' [-Wreorder] BUILDSTDERR: unsigned last_fisheye_counter; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:766:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fisheye_timestamp_reader(int in_configured_fps, const char* fw_ver) : configured_fps(in_configured_fps), last_fisheye_timestamp(0), last_fisheye_counter(0), timestamp_wraparound(1, std::numeric_limits::max()), frame_counter_wraparound(0, std::numeric_limits::max()), validate(true), fw_version(fw_ver){} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:763:22: warning: 'rsimpl::fisheye_timestamp_reader::validate' will be initialized after [-Wreorder] BUILDSTDERR: mutable bool validate; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:756:21: warning: 'std::__cxx11::string rsimpl::fisheye_timestamp_reader::fw_version' [-Wreorder] BUILDSTDERR: std::string fw_version; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:766:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fisheye_timestamp_reader(int in_configured_fps, const char* fw_ver) : configured_fps(in_configured_fps), last_fisheye_timestamp(0), last_fisheye_counter(0), timestamp_wraparound(1, std::numeric_limits::max()), frame_counter_wraparound(0, std::numeric_limits::max()), validate(true), fw_version(fw_ver){} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp: In member function 'virtual long long unsigned int rsimpl::fisheye_timestamp_reader::get_frame_counter(const rsimpl::subdevice_mode&, const void*)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:790:70: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: auto last_counter_lsb = reinterpret_cast(last_fisheye_counter).lsb; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:796:65: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] BUILDSTDERR: auto wrap_around = reinterpret_cast(last_fisheye_counter).lsb; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp: In constructor 'rsimpl::color_timestamp_reader::color_timestamp_reader(int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:822:16: warning: 'rsimpl::color_timestamp_reader::last_timestamp' will be initialized after [-Wreorder] BUILDSTDERR: double last_timestamp; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:819:38: warning: 'rsimpl::wraparound_mechanism rsimpl::color_timestamp_reader::timestamp_wraparound' [-Wreorder] BUILDSTDERR: wraparound_mechanism timestamp_wraparound; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ds-device.cpp:824:9: warning: when initialized here [-Wreorder] BUILDSTDERR: color_timestamp_reader(int fps, int scale) : fps(fps), scale(scale), last_timestamp(0), timestamp_wraparound(0, std::numeric_limits::max()), frame_counter_wraparound(0, std::numeric_limits::max()) {} BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 21%] Building CXX object CMakeFiles/realsense1.dir/src/hw-monitor.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/hw-monitor.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/hw-monitor.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 18%] Building CXX object CMakeFiles/realsense1.dir/src/f200.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/f200.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/f200.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 28%] Building CXX object CMakeFiles/realsense1.dir/src/ivcam-private.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/ivcam-private.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp: In function 'std::tuple rsimpl::f200::get_f200_calibration(uint8_t*, size_t)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp:402:73: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of a non-trivial type 'struct rsimpl::f200::IVCAMTesterData' leaves 120 bytes unchanged [-Wclass-memaccess] BUILDSTDERR: memcpy(&TesterData, rawCalibData, SIZE_OF_CALIB_HEADER_BYTES); //copy the header: valid + version BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp:280:12: note: 'struct rsimpl::f200::IVCAMTesterData' declared here BUILDSTDERR: struct IVCAMTesterData BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp:416:70: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of a non-trivial type 'struct rsimpl::f200::IVCAMTesterData' leaves 120 bytes unchanged [-Wclass-memaccess] BUILDSTDERR: memcpy(&TesterData, bufParams, SIZE_OF_CALIB_HEADER_BYTES); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-private.cpp:280:12: note: 'struct rsimpl::f200::IVCAMTesterData' declared here BUILDSTDERR: struct IVCAMTesterData BUILDSTDERR: ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 31%] Building CXX object CMakeFiles/realsense1.dir/src/ivcam-device.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/ivcam-device.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/ivcam-device.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 34%] Building CXX object CMakeFiles/realsense1.dir/src/log.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/log.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/log.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 25%] Building CXX object CMakeFiles/realsense1.dir/src/image.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/image.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:459:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_raw8 = { 'RAW8', 1, 1,{ { false, ©_pixels<1>, { { RS_STREAM_FISHEYE, RS_FORMAT_RAW8 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:460:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_rw16 = { 'RW16', 1, 2,{ { false, ©_pixels<2>, { { RS_STREAM_COLOR, RS_FORMAT_RAW16 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:461:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_rw10 = { 'pRAA', 1, 1,{ { false, ©_raw10, { { RS_STREAM_COLOR, RS_FORMAT_RAW10 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:462:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_yuy2 = { 'YUY2', 1, 2,{ { true, &unpack_yuy2, { { RS_STREAM_COLOR, RS_FORMAT_RGB8 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:467:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_y8 = { 'GREY', 1, 1,{ { false, ©_pixels<1>, { { RS_STREAM_INFRARED, RS_FORMAT_Y8 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:468:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_y16 = { 'Y16 ', 1, 2,{ { true, &unpack_y16_from_y16_10, { { RS_STREAM_INFRARED, RS_FORMAT_Y16 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:469:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_y8i = { 'Y8I ', 1, 2,{ { true, &unpack_y8_y8_from_y8i, { { RS_STREAM_INFRARED, RS_FORMAT_Y8 },{ RS_STREAM_INFRARED2, RS_FORMAT_Y8 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:470:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_y12i = { 'Y12I', 1, 3,{ { true, &unpack_y16_y16_from_y12i_10, { { RS_STREAM_INFRARED, RS_FORMAT_Y16 },{ RS_STREAM_INFRARED2, RS_FORMAT_Y16 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:471:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_z16 = { 'Z16 ', 1, 2,{ { false, ©_pixels<2>, { { RS_STREAM_DEPTH, RS_FORMAT_Z16 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:473:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_invz = { 'INVZ', 1, 2, { { false, ©_pixels<2>, { { RS_STREAM_DEPTH, RS_FORMAT_Z16 } } } } }; BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:474:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_f200_invi = { 'INVI', 1, 1, { { false, ©_pixels<1>, { { RS_STREAM_INFRARED, RS_FORMAT_Y8 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:476:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_f200_inzi = { 'INZI', 1, 3,{ { true, &unpack_z16_y8_from_f200_inzi, { { RS_STREAM_DEPTH, RS_FORMAT_Z16 },{ RS_STREAM_INFRARED, RS_FORMAT_Y8 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:478:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_sr300_invi = { 'INVI', 1, 2,{ { true, &unpack_y8_from_y16_10, { { RS_STREAM_INFRARED, RS_FORMAT_Y8 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:480:49: warning: multi-character character constant [-Wmultichar] BUILDSTDERR: const native_pixel_format pf_sr300_inzi = { 'INZI', 2, 2,{ { true, &unpack_z16_y8_from_sr300_inzi, { { RS_STREAM_DEPTH, RS_FORMAT_Z16 },{ RS_STREAM_INFRARED, RS_FORMAT_Y8 } } }, BUILDSTDERR: ^~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:518: warning: ignoring #pragma omp parallel [-Wunknown-pragmas] BUILDSTDERR: #pragma omp parallel for schedule(dynamic) BUILDSTDERR: BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/image.cpp:5: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/../include/librealsense/rsutil.h:89:13: warning: 'void rs_apply_ivcam_preset(rs_device*, rs_ivcam_preset)' defined but not used [-Wunused-function] BUILDSTDERR: static void rs_apply_ivcam_preset(rs_device * device, rs_ivcam_preset preset) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/../include/librealsense/rsutil.h:63:13: warning: 'void rs_apply_depth_control_preset(rs_device*, int)' defined but not used [-Wunused-function] BUILDSTDERR: static void rs_apply_depth_control_preset(rs_device * device, int preset) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 37%] Building CXX object CMakeFiles/realsense1.dir/src/motion-module.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/motion-module.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/motion-module.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/motion-module.cpp: In member function 'std::vector rsimpl::motion_module::motion_module_parser::operator()(const unsigned char*, const int&)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/motion-module.cpp:308:83: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of a non-trivial type 'class std::bitset<16>' leaves 6 bytes unchanged [-Wclass-memaccess] BUILDSTDERR: memcpy(&event_data.error_state, &cur_packet[0], sizeof(unsigned short)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/motion-module.h:9, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/motion-module.cpp:9: BUILDSTDERR: /usr/include/c++/8/bitset:751:11: note: 'class std::bitset<16>' declared here BUILDSTDERR: class bitset BUILDSTDERR: ^~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 40%] Building CXX object CMakeFiles/realsense1.dir/src/r200.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/r200.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/r200.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 46%] Building CXX object CMakeFiles/realsense1.dir/src/sr300.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/sr300.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/sr300.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 43%] Building CXX object CMakeFiles/realsense1.dir/src/rs.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/rs.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/rs.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/rs.cpp:9: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/rs.cpp:9: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 56%] Building CXX object CMakeFiles/realsense1.dir/src/timestamps.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/timestamps.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/timestamps.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/timestamps.cpp:2: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/timestamps.cpp:2: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 62%] Building CXX object CMakeFiles/realsense1.dir/src/uvc-libuvc.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/uvc-libuvc.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/uvc-libuvc.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 53%] Building CXX object CMakeFiles/realsense1.dir/src/sync.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/sync.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/sync.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/sync.cpp:2: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.cpp:2: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 68%] Building CXX object CMakeFiles/realsense1.dir/src/uvc-wmf.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/uvc-wmf.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/uvc-wmf.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 71%] Building CXX object CMakeFiles/realsense1.dir/src/uvc.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/uvc.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/uvc.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 75%] Building C object CMakeFiles/realsense1.dir/src/verify.c.o /usr/bin/cc -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c11 -fPIC -o CMakeFiles/realsense1.dir/src/verify.c.o -c /builddir/build/BUILD/librealsense-1.12.1/src/verify.c make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 50%] Building CXX object CMakeFiles/realsense1.dir/src/stream.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/stream.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/stream.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/stream.cpp:5: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/stream.cpp:5: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 81%] Building C object CMakeFiles/realsense1.dir/src/libuvc/ctrl.c.o /usr/bin/cc -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c11 -fPIC -o CMakeFiles/realsense1.dir/src/libuvc/ctrl.c.o -c /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/ctrl.c make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 84%] Building C object CMakeFiles/realsense1.dir/src/libuvc/dev.c.o /usr/bin/cc -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c11 -fPIC -o CMakeFiles/realsense1.dir/src/libuvc/dev.c.o -c /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c: In function 'uvc_get_device_descriptor': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:472:37: warning: implicit declaration of function 'strdup'; did you mean 'strcmp'? [-Wimplicit-function-declaration] BUILDSTDERR: desc_internal->serialNumber = strdup((const char*) buf); BUILDSTDERR: ^~~~~~ BUILDSTDERR: strcmp BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:472:35: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: desc_internal->serialNumber = strdup((const char*) buf); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:478:35: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: desc_internal->manufacturer = strdup((const char*) buf); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:484:30: warning: assignment to 'const char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: desc_internal->product = strdup((const char*) buf); BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c: In function 'uvc_get_device_list': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:545:32: warning: variable 'usb_devh' set but not used [-Wunused-but-set-variable] BUILDSTDERR: struct libusb_device_handle *usb_devh; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:535:15: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: uvc_error_t ret; BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c: In function '_uvc_status_callback': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:1585:15: warning: unused variable 'ret' [-Wunused-variable] BUILDSTDERR: uvc_error_t ret = libusb_submit_transfer(transfer); BUILDSTDERR: ^~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c: In function 'uvc_process_status_xfer': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/dev.c:1550:5: warning: 'status_class' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: devh->status_cb(status_class, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: event, BUILDSTDERR: ~~~~~~ BUILDSTDERR: selector, BUILDSTDERR: ~~~~~~~~~ BUILDSTDERR: attribute, BUILDSTDERR: ~~~~~~~~~~ BUILDSTDERR: data, data_len, BUILDSTDERR: ~~~~~~~~~~~~~~~ BUILDSTDERR: devh->status_user_ptr); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 87%] Building C object CMakeFiles/realsense1.dir/src/libuvc/diag.c.o /usr/bin/cc -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c11 -fPIC -o CMakeFiles/realsense1.dir/src/libuvc/diag.c.o -c /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/diag.c make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 65%] Building CXX object CMakeFiles/realsense1.dir/src/uvc-v4l2.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/uvc-v4l2.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp: In constructor 'rsimpl::uvc::subdevice::subdevice(const string&)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp:109:66: error: 'major' was not declared in this scope BUILDSTDERR: std::ostringstream ss; ss << "/sys/dev/char/" << major(st.st_rdev) << ":" << minor(st.st_rdev) << "/device/"; BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp:109:94: error: 'minor' was not declared in this scope BUILDSTDERR: std::ostringstream ss; ss << "/sys/dev/char/" << major(st.st_rdev) << ":" << minor(st.st_rdev) << "/device/"; BUILDSTDERR: ^~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp:109:94: note: suggested alternative: 'mincore' BUILDSTDERR: std::ostringstream ss; ss << "/sys/dev/char/" << major(st.st_rdev) << ":" << minor(st.st_rdev) << "/device/"; BUILDSTDERR: ^~~~~ BUILDSTDERR: mincore BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp: In function 'std::__cxx11::string rsimpl::uvc::get_usb_port_id(const rsimpl::uvc::device&)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/uvc-v4l2.cpp:503:34: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for (size_t i = 0; i < port_count; ++i) BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: make[3]: *** [CMakeFiles/realsense1.dir/build.make:326: CMakeFiles/realsense1.dir/src/uvc-v4l2.cpp.o] Error 1 BUILDSTDERR: make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 90%] Building C object CMakeFiles/realsense1.dir/src/libuvc/frame.c.o /usr/bin/cc -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c11 -fPIC -o CMakeFiles/realsense1.dir/src/libuvc/frame.c.o -c /builddir/build/BUILD/librealsense-1.12.1/src/libuvc/frame.c make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 59%] Building CXX object CMakeFiles/realsense1.dir/src/types.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/types.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/types.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' make[3]: Entering directory '/builddir/build/BUILD/librealsense-1.12.1/build' [ 78%] Building CXX object CMakeFiles/realsense1.dir/src/zr300.cpp.o /usr/bin/c++ -DRS_USE_V4L2_BACKEND -DUNICODE -Drealsense1_EXPORTS -isystem /usr/include/libusb-1.0 -I/builddir/build/BUILD/librealsense-1.12.1/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -std=c++11 -fPIC -o CMakeFiles/realsense1.dir/src/zr300.cpp.o -c /builddir/build/BUILD/librealsense-1.12.1/src/zr300.cpp make[3]: Leaving directory '/builddir/build/BUILD/librealsense-1.12.1/build' BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:8, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.h:10, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.cpp:9: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h: In constructor 'rsimpl::frame_archive::frame_additional_data::frame_additional_data(double, long long unsigned int, long long int, int, int, int, int, int, int, rs_format, rs_stream, int, std::shared_ptr >, double, double)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:35:61: warning: 'rsimpl::frame_archive::frame_additional_data::supported_metadata_vector' will be initialized after [-Wreorder] BUILDSTDERR: std::shared_ptr> supported_metadata_vector; BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'double rsimpl::frame_archive::frame_additional_data::exposure_value' [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:22:37: warning: 'rsimpl::frame_archive::frame_additional_data::exposure_value' will be initialized after [-Wreorder] BUILDSTDERR: double exposure_value = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:20:33: warning: 'double rsimpl::frame_archive::frame_additional_data::actual_fps' [-Wreorder] BUILDSTDERR: double actual_fps = 0; BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/archive.h:40:13: warning: when initialized here [-Wreorder] BUILDSTDERR: frame_additional_data(double in_timestamp, unsigned long long in_frame_number, long long in_system_time, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.h:10, BUILDSTDERR: from /builddir/build/BUILD/librealsense-1.12.1/src/zr300.cpp:9: BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h: In constructor 'rsimpl::fps_calc::fps_calc(long long unsigned int, int)': BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:47:28: warning: 'rsimpl::fps_calc::_frame_counter' will be initialized after [-Wreorder] BUILDSTDERR: unsigned long long _frame_counter; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:45:16: warning: 'double rsimpl::fps_calc::_actual_fps' [-Wreorder] BUILDSTDERR: double _actual_fps; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/librealsense-1.12.1/src/sync.h:18:9: warning: when initialized here [-Wreorder] BUILDSTDERR: fps_calc(unsigned long long in_number_of_frames_to_sampling, int expected_fps) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: make[2]: *** [CMakeFiles/Makefile2:103: CMakeFiles/realsense1.dir/all] Error 2 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:115: CMakeFiles/realsense1.dir/rule] Error 2 BUILDSTDERR: make: *** [Makefile:180: realsense1] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.XocJC9 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.XocJC9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/librealsense1.spec