D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/e4rat-0.2.3-21.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rtVwNM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf e4rat-0.2.3 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/e4rat_0.2.3_src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd e4rat-0.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/git.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/e4rat-0.2.2-libdir.patch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/e4rat-0.2.3-shared-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pRLO4c + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd e4rat-0.2.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -- The C compiler identification is GNU 7.2.1 -- The CXX compiler identification is GNU 7.2.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 -- Boost version: 1.64.0 -- Found the following Boost libraries: -- system -- filesystem -- regex -- Found ext2fs: /usr/lib64/libext2fs.so -- Found audit: /usr/lib64/libaudit.so -- Found auparse: /usr/lib64/libauparse.so -- 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 CMake Warning (dev) at doc/CMakeLists.txt:11 (ADD_CUSTOM_COMMAND): Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures. Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The SOURCE signatures of add_custom_command are no longer supported. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at doc/CMakeLists.txt:11 (ADD_CUSTOM_COMMAND): Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures. Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The SOURCE signatures of add_custom_command are no longer supported. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at doc/CMakeLists.txt:11 (ADD_CUSTOM_COMMAND): Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures. Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The SOURCE signatures of add_custom_command are no longer supported. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at doc/CMakeLists.txt:23 (ADD_CUSTOM_COMMAND): Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures. Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The SOURCE signatures of add_custom_command are no longer supported. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at doc/CMakeLists.txt:34 (ADD_CUSTOM_COMMAND): Policy CMP0050 is not set: Disallow add_custom_command SOURCE signatures. Run "cmake --help-policy CMP0050" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The SOURCE signatures of add_custom_command are no longer supported. This warning is for project developers. Use -Wno-dev to suppress it. -- CPACK: Can not find dpkg in your path, default to i386. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/build + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 Scanning dependencies of target e4rat-core Scanning dependencies of target ManPages [ 14%] Generating e4rat-collect.8 [ 33%] Generating e4rat-realloc.8 [ 38%] Generating e4rat-preload.8 [ 42%] Generating e4rat.conf.5 [ 42%] Built target ManPages [ 23%] Building CXX object src/CMakeFiles/e4rat-core.dir/fiemap.cc.o [ 9%] Building CXX object src/CMakeFiles/e4rat-core.dir/logging.cc.o [ 23%] Building CXX object src/CMakeFiles/e4rat-core.dir/device.cc.o [ 28%] Building CXX object src/CMakeFiles/e4rat-core.dir/common.cc.o [ 4%] Building CXX object src/CMakeFiles/e4rat-core.dir/config.cc.o /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.cc:93:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] if(access("/etc/"PROGRAM_NAME".conf", F_OK)) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.cc:96:19: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] read_info("/etc/"PROGRAM_NAME".conf", ptree); ^ [ 47%] Linking CXX shared library ../../libe4rat-core.so [ 47%] Built target e4rat-core Scanning dependencies of target e4rat-collect Scanning dependencies of target e4rat-realloc Scanning dependencies of target e4rat-preload [ 66%] Building CXX object src/CMakeFiles/e4rat-collect.dir/fileptr.cc.o [ 85%] Building CXX object src/CMakeFiles/e4rat-realloc.dir/buddycache.cc.o [ 80%] Building CXX object src/CMakeFiles/e4rat-realloc.dir/defrag.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:23:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc: In member function 'bool Defrag::doesKernelSupportPA(const char*)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:158:9: note: in expansion of macro 'debug' debug("Does kernel support pre-alloc: %s: %d %s",file, errno, strerror(errno)); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc: In function 'Extent findExtent(Device, __u64, __u32)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:503:9: note: in expansion of macro 'debug' debug("Found extent: %llu:%u", ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc: In member function 'void Defrag::createDonorFiles_PA(Device&, std::vector&)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:608:25: note: in expansion of macro 'debug' debug("Out of continued space: %s: will might fragmented", odp.origPath.string().c_str()); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:628:25: note: in expansion of macro 'debug' debug("pre-allocate failed: %s: blocks are already in use", odp.origPath.string().c_str()); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:646:21: note: in expansion of macro 'debug' debug("Out of continued space: %s: will might fragmented", odp.origPath.string().c_str()); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/defrag.cc:666:21: note: in expansion of macro 'debug' debug("pre-allocate failed: %s: blocks are already in use", odp.origPath.string().c_str()); ^ make[2]: *** [src/CMakeFiles/e4rat-realloc.dir/build.make:87: src/CMakeFiles/e4rat-realloc.dir/defrag.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 76%] Building CXX object src/CMakeFiles/e4rat-collect.dir/eventcatcher.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/eventcatcher.cc:22:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/eventcatcher.cc: In member function 'virtual void ScanFsAccess::handleAuditEvent(boost::shared_ptr)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/eventcatcher.cc:95:6: note: in expansion of macro 'debug' debug("Valid process name %. insert pid %d", event->comm.c_str(), event->pid); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/eventcatcher.cc:99:5: note: in expansion of macro 'debug' debug("syscall: %d RO: %d", event->type, event->readOnly); ^ make[2]: *** [src/CMakeFiles/e4rat-collect.dir/build.make:135: src/CMakeFiles/e4rat-collect.dir/eventcatcher.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 61%] Building CXX object src/CMakeFiles/e4rat-collect.dir/listener.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:22:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc: In member function 'void AuditListener::removeAuditRules()': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:262:13: note: in expansion of macro 'debug' debug("Cannot remove rules: %s", strerror(errno)); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc: In member function 'void AuditListener::parsePathEvent(auparse_state_t*, boost::shared_ptr)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:478:9: note: in expansion of macro 'debug' debug("syscall %d", auditEvent->type); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:479:9: note: in expansion of macro 'debug' debug("exe %s", auditEvent->exe.string().c_str()); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:480:9: note: in expansion of macro 'debug' debug("Inode Number differ! %s i_event: %u, d_event: %u - i_real: %u, d_real: %u", ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc: In member function 'void AuditListener::parseSyscallEvent(auparse_state_t*, boost::shared_ptr)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:541:9: note: in expansion of macro 'debug' debug("Unknown syscall: %s = %d", sc_name, syscall); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc: In member function 'virtual void AuditListener::exec()': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:694:9: note: in expansion of macro 'debug' debug("%d: %*s", reply.type, reply.len, reply.msg.data); ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/listener.cc:743:21: note: in expansion of macro 'debug' debug("Parsed Event: %d %s", auditEvent->type, auditEvent->path.string().c_str()); ^ make[2]: *** [src/CMakeFiles/e4rat-collect.dir/build.make:111: src/CMakeFiles/e4rat-collect.dir/listener.cc.o] Error 1 [ 52%] Building CXX object src/CMakeFiles/e4rat-collect.dir/e4rat-collect.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/e4rat-collect.cc:24:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/e4rat-collect.cc: In function 'void scanOpenFiles(std::vector&)': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:96:51: error: unable to find string literal operator 'operator""format' with 'const char [16]', 'long unsigned int' arguments #define debug(format,args...) dump_log(Debug, "%s:%d in %s(): "format, __FILE__, __LINE__, __FUNCTION__, ## args) ^ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/logging.hh:93:36: note: in definition of macro 'dump_log' #define dump_log(...) logger.write(__VA_ARGS__) ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/e4rat-collect.cc:109:5: note: in expansion of macro 'debug' debug("Scan open files by calling lsof"); ^ make[2]: *** [src/CMakeFiles/e4rat-collect.dir/build.make:63: src/CMakeFiles/e4rat-collect.dir/e4rat-collect.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:124: src/CMakeFiles/e4rat-collect.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 71%] Building CXX object src/CMakeFiles/e4rat-preload.dir/e4rat-preload.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/e4rat-preload.cc:21:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.hh: In member function 'T Config::_get(std::__cxx11::string) [with T = int]': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.hh:85:24: warning: '*((void*)& value +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] boost::optional value; ^~~~~ [ 90%] Linking CXX executable ../../e4rat-preload [ 90%] Built target e4rat-preload [ 57%] Building CXX object src/CMakeFiles/e4rat-realloc.dir/e4rat-realloc.cc.o In file included from /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/e4rat-realloc.cc:23:0: /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.hh: In member function 'T Config::_get(std::__cxx11::string) [with T = int]': /home/pterjan/rpmbuild/BUILD/e4rat-0.2.3/src/config.hh:85:24: warning: '*((void*)& value +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] boost::optional value; ^~~~~ make[1]: *** [CMakeFiles/Makefile2:198: src/CMakeFiles/e4rat-realloc.dir/all] Error 2 make: *** [Makefile:152: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pRLO4c (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pRLO4c (%build) I: [iurt_root_command] ERROR: chroot