<86>Mar 20 08:44:14 userdel[4121789]: delete user 'rooter' <86>Mar 20 08:44:14 userdel[4121789]: removed group 'rooter' owned by 'rooter' <86>Mar 20 08:44:14 userdel[4121789]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 20 08:44:14 groupadd[4121795]: group added to /etc/group: name=rooter, GID=645 <86>Mar 20 08:44:14 groupadd[4121795]: group added to /etc/gshadow: name=rooter <86>Mar 20 08:44:14 groupadd[4121795]: new group: name=rooter, GID=645 <86>Mar 20 08:44:14 useradd[4121799]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Mar 20 08:44:14 userdel[4121808]: delete user 'builder' <86>Mar 20 08:44:14 userdel[4121808]: removed group 'builder' owned by 'builder' <86>Mar 20 08:44:14 userdel[4121808]: removed shadow group 'builder' owned by 'builder' <86>Mar 20 08:44:14 groupadd[4121818]: group added to /etc/group: name=builder, GID=646 <86>Mar 20 08:44:14 groupadd[4121818]: group added to /etc/gshadow: name=builder <86>Mar 20 08:44:14 groupadd[4121818]: new group: name=builder, GID=646 <86>Mar 20 08:44:14 useradd[4121825]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Mar 20 08:44:17 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+262033.600.7.2 1607340230 installed <13>Mar 20 08:44:18 rpmi: libstdc++10-devel-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 20 08:44:19 rpmi: gcc10-c++-10.2.1-alt3 sisyphus+267829.100.1.1 1615808579 installed <13>Mar 20 08:44:19 rpmi: gcc-c++-10-alt1 sisyphus+263054.200.3.1 1607516810 installed <13>Mar 20 08:44:19 rpmi: libpopt-devel-1:1.16-alt1 1500322986 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/launchtool-0.7-alt1.qa1.nosrc.rpm (w1.gzdio) Installing launchtool-0.7-alt1.qa1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.37028 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf launchtool-0.7 + echo 'Source #0 (launchtool_0.7-1.1.tar.gz):' Source #0 (launchtool_0.7-1.1.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/launchtool_0.7-1.1.tar.gz + /bin/tar -xf - + cd launchtool-0.7 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (launchtool-0.7-pidfile.patch):' Patch #1 (launchtool-0.7-pidfile.patch): + /usr/bin/patch -p1 patching file src/launchtool.cc + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37028 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd launchtool-0.7 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --localstatedir=/var checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... missing checking whether make sets $(MAKE)... (cached) yes checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking for strerror in -lcposix... no checking for i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ANSI C... (cached) none needed checking for i586-alt-linux-g++... i586-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... i586-alt-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking how to run the C++ preprocessor... i586-alt-linux-g++ -E checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for poptGetContext in -lpopt... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/common/Makefile config.status: creating config.h config.status: executing default-1 commands + make -j8 make all-recursive Making all in . Making all in src Making all in common make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Logger.cc In file included from Logger.cc:5: Logger.h: In destructor 'virtual Log::Logger::~Logger()': Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Exception.cc make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Regex.cc In file included from Regex.cc:1: Regex.h:30:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | Regex(const char* expr, int flags = 0) throw(RegexException); | ^~~~~ Regex.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | bool match(const char* str, int flags = 0) throw(RegexException); | ^~~~~ Regex.h:34:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | bool match(const char* str, int nmatch, regmatch_t pmatch[], int flags = 0) throw(RegexException); | ^~~~~ Regex.cc:29:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 29 | throw(RegexException) | ^~~~~ Regex.cc:37:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 37 | throw(RegexException) | ^~~~~ Regex.cc:49:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 49 | throw(RegexException) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c stringf.cc stringf.cc:1: warning: "_GNU_SOURCE" redefined 1 | #define _GNU_SOURCE | : note: this is the location of the previous definition stringf.cc: In function 'std::string stringf::fmt(const char*, ...)': stringf.cc:26:11: warning: ignoring return value of 'int vasprintf(char**, const char*, __gnuc_va_list)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | vasprintf(&buf, fmt, ap); | ~~~~~~~~~^~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c LoggerMethods.cc In file included from LoggerMethods.h:4, from LoggerMethods.cc:5: ./Logger.h: In destructor 'virtual Log::Logger::~Logger()': ./Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ In file included from LoggerMethods.cc:5: LoggerMethods.h: At global scope: LoggerMethods.h:25:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 25 | FileMethod(const std::string& file) throw (FileException); | ^~~~~ LoggerMethods.cc:22:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 22 | FileMethod::FileMethod(const string& file) throw (FileException) : out(0), fname(file) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Exec.cc In file included from Exec.cc:19: Exec.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 73 | void exec() throw (SystemException); | ^~~~~ Exec.cc:64:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 64 | void Exec::exec() throw (SystemException) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Pidfile.cc Pidfile.cc:1: warning: "_GNU_SOURCE" redefined 1 | #define _GNU_SOURCE | : note: this is the location of the previous definition In file included from Pidfile.cc:3: Pidfile.h:27:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 27 | pid_t read() throw (FileException); | ^~~~~ Pidfile.h:30:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | bool kill(int sig) throw (SystemException); | ^~~~~ Pidfile.h:32:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 32 | bool is_active() throw (FileException); | ^~~~~ Pidfile.h:34:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | void takeover() throw (FileException); | ^~~~~ Pidfile.h:36:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 36 | void takeover(pid_t pid) throw (FileException); | ^~~~~ Pidfile.h:38:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | void remove() throw (FileException); | ^~~~~ Pidfile.cc:53:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 53 | throw (FileException) | ^~~~~ Pidfile.cc:65:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 65 | throw (SystemException) | ^~~~~ Pidfile.cc:76:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 76 | throw (FileException) | ^~~~~ Pidfile.cc:85:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 85 | void Pidfile::takeover() throw (FileException) { takeover(getpid()); } | ^~~~~ Pidfile.cc:88:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 88 | throw (FileException) | ^~~~~ Pidfile.cc:99:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 99 | throw (FileException) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c ChildProcess.cc In file included from ChildProcess.cc:1: ChildProcess.h:10:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 10 | void detachFromTTY() throw (SystemException); | ^~~~~ ChildProcess.h:23:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 23 | static void chdir(const std::string& dir) throw (SystemException); | ^~~~~ ChildProcess.h:26:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 26 | static void chroot(const std::string& dir) throw (SystemException); | ^~~~~ ChildProcess.h:33:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | throw (ConsistencyCheckException, SystemException); | ^~~~~ ChildProcess.h:35:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 35 | throw (ConsistencyCheckException, SystemException); | ^~~~~ ChildProcess.h:37:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 37 | throw (ConsistencyCheckException, SystemException); | ^~~~~ ChildProcess.h:39:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | throw (ConsistencyCheckException, SystemException); | ^~~~~ ChildProcess.h:43:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | static int getCPUTimeLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:44:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 44 | static int getFileSizeLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:45:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 45 | static int getDataMemoryLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:46:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 46 | static int getChildrenLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:47:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 47 | static int getOpenFilesLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:48:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 48 | static int getCoreSizeLimit(int* max = 0) throw (SystemException); | ^~~~~ ChildProcess.h:51:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 51 | static void setCPUTimeLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:52:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 52 | static void setFileSizeLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:53:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 53 | static void setDataMemoryLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:54:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 54 | static void setChildrenLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:55:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 55 | static void setOpenFilesLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:56:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 56 | static void setCoreSizeLimit(int value) throw (SystemException); | ^~~~~ ChildProcess.h:75:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | pid_t fork(int* stdinfd = 0, int* stdoutfd = 0, int* stderrfd = 0) throw (SystemException); | ^~~~~ ChildProcess.h:83:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 83 | int wait() throw (SystemException, InterruptedException); | ^~~~~ ChildProcess.h:88:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 88 | int wait(struct rusage* ru) throw (SystemException, InterruptedException); | ^~~~~ In file included from ChildProcess.cc:3: ./Logger.h: In destructor 'virtual Log::Logger::~Logger()': ./Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ ChildProcess.cc: At global scope: ChildProcess.cc:25:31: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 25 | void Process::detachFromTTY() throw (SystemException) | ^~~~~ ChildProcess.cc:61:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 61 | void Process::chdir(const string& dir) throw (SystemException) | ^~~~~ ChildProcess.cc:67:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 67 | void Process::chroot(const string& dir) throw (SystemException) | ^~~~~ ChildProcess.cc:94:55: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 94 | static void initGroups(const string& name, gid_t gid) throw (SystemException) | ^~~~~ ChildProcess.cc:102:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 102 | throw (SystemException) | ^~~~~ ChildProcess.cc:120:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 120 | throw (ConsistencyCheckException, SystemException) | ^~~~~ ChildProcess.cc:134:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 134 | throw (ConsistencyCheckException, SystemException) | ^~~~~ ChildProcess.cc:147:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 147 | throw (ConsistencyCheckException, SystemException) | ^~~~~ ChildProcess.cc:161:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 161 | throw (ConsistencyCheckException, SystemException) | ^~~~~ ChildProcess.cc:192:57: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 192 | static void setLimit(__rlimit_resource_t rlim, int val) throw (SystemException) | ^~~~~ ChildProcess.cc:203:61: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 203 | static int getLimit(__rlimit_resource_t rlim, int* max = 0) throw (SystemException) | ^~~~~ ChildProcess.cc:213:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 213 | int Process::getCPUTimeLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_CPU, max); } | ^~~~~ ChildProcess.cc:214:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 214 | int Process::getFileSizeLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_FSIZE, max); } | ^~~~~ ChildProcess.cc:215:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 215 | int Process::getDataMemoryLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_DATA, max); } | ^~~~~ ChildProcess.cc:216:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 216 | int Process::getCoreSizeLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_CORE, max); } | ^~~~~ ChildProcess.cc:217:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 217 | int Process::getChildrenLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_NPROC, max); } | ^~~~~ ChildProcess.cc:218:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 218 | int Process::getOpenFilesLimit(int* max) throw (SystemException) { return getLimit(RLIMIT_NOFILE, max); } | ^~~~~ ChildProcess.cc:220:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 220 | void Process::setCPUTimeLimit(int value) throw (SystemException) { setLimit(RLIMIT_CPU, value); } | ^~~~~ ChildProcess.cc:221:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 221 | void Process::setFileSizeLimit(int value) throw (SystemException) { setLimit(RLIMIT_FSIZE, value); } | ^~~~~ ChildProcess.cc:222:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 222 | void Process::setDataMemoryLimit(int value) throw (SystemException) { setLimit(RLIMIT_DATA, value); } | ^~~~~ ChildProcess.cc:223:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 223 | void Process::setCoreSizeLimit(int value) throw (SystemException) { setLimit(RLIMIT_CORE, value); } | ^~~~~ ChildProcess.cc:224:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 224 | void Process::setChildrenLimit(int value) throw (SystemException) { setLimit(RLIMIT_NPROC, value); } | ^~~~~ ChildProcess.cc:225:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 225 | void Process::setOpenFilesLimit(int value) throw (SystemException) { setLimit(RLIMIT_NOFILE, value); } | ^~~~~ ChildProcess.cc:228:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 228 | pid_t ChildProcess::fork(int* stdinfd, int* stdoutfd, int* stderrfd) throw (SystemException) | ^~~~~ ChildProcess.cc: In member function 'pid_t ChildProcess::fork(int*, int*, int*)': ChildProcess.cc:305:4: warning: deleting object of abstract class type 'Process' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 305 | delete _proc; | ^~~~~~~~~~~~ ChildProcess.cc: At global scope: ChildProcess.cc:358:26: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 358 | int ChildProcess::wait() throw (SystemException, InterruptedException) | ^~~~~ ChildProcess.cc: In member function 'int ChildProcess::wait()': ChildProcess.cc:367:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 367 | if (waitpid(_pid, &status, 0) == -1) | ^ ChildProcess.cc: At global scope: ChildProcess.cc:376:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 376 | int ChildProcess::wait(struct rusage* ru) throw (SystemException, InterruptedException) | ^~~~~ ChildProcess.cc: In member function 'int ChildProcess::wait(rusage*)': ChildProcess.cc:385:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 385 | if (wait4(_pid, &status, 0, ru) == -1) | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I../.. -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c Config.cc In file included from Config.cc:1: Config.h:37:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 37 | virtual bool visitNode(const std::string& str, const Config& node) throw (Exception) = 0; | ^~~~~ Config.h:43:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | virtual bool visitValue(const std::string& str, const std::string& val) throw (Exception) = 0; | ^~~~~ Config.h:54:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 54 | Config getSection(const std::string& path) const throw (ConfigKeyNotFoundException); | ^~~~~ Config.h:59:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 59 | throw (ConfigKeyNotFoundException); | ^~~~~ Config.h:73:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 73 | throw (ConfigKeyNotFoundException); | ^~~~~ Config.h:84:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 84 | void visitNodes(NodeVisitor& v) const throw (Exception); | ^~~~~ Config.h:87:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 87 | void visitValues(ValueVisitor& v) const throw (Exception); | ^~~~~ Config.h:94:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 94 | static Config parse(const std::string& fname) throw (FileException); | ^~~~~ In file included from Config.cc:5: ./Regex.h:30:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | Regex(const char* expr, int flags = 0) throw(RegexException); | ^~~~~ ./Regex.h:33:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | bool match(const char* str, int flags = 0) throw(RegexException); | ^~~~~ ./Regex.h:34:78: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | bool match(const char* str, int nmatch, regmatch_t pmatch[], int flags = 0) throw(RegexException); | ^~~~~ Config.cc:82:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 82 | throw (ConfigKeyNotFoundException) | ^~~~~ Config.cc:92:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 92 | throw (ConfigKeyNotFoundException) | ^~~~~ Config.cc:180:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 180 | throw (ConfigKeyNotFoundException) | ^~~~~ Config.cc:190:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 190 | throw (ConfigKeyNotFoundException) | ^~~~~ Config.cc:224:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 224 | throw (ConfigKeyNotFoundException) | ^~~~~ Config.cc:252:47: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 252 | void Config::visitNodes(NodeVisitor& v) const throw (Exception) | ^~~~~ Config.cc:260:49: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 260 | void Config::visitValues(ValueVisitor& v) const throw (Exception) | ^~~~~ Config.cc:277:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 277 | virtual bool visitNode(const string& str, const Config& node) throw (Exception) | ^~~~~ Config.cc:285:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 285 | virtual bool visitValue(const string& str, const string& val) throw (Exception) | ^~~~~ Config.cc:327:36: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 327 | bool pushFile(const string& file) throw (FileException); | ^~~~~ Config.cc:329:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 329 | ConfigNode* parse_node() throw (RegexException); | ^~~~~ Config.cc:332:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 332 | ConfFileParser() throw(RegexException) : line(), in(), | ^~~~~ Config.cc:342:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 342 | throw (FileException, RegexException); | ^~~~~ Config.cc:385:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 385 | bool ConfFileParser::pushFile(const string& file) throw (FileException) | ^~~~~ Config.cc: In member function 'bool ConfFileParser::pushFile(const string&)': Config.cc:392:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 392 | if (nstream == 0) | ^ Config.cc: At global scope: Config.cc:434:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 434 | ConfigNode* ConfFileParser::parse_node() throw (RegexException) | ^~~~~ Config.cc:498:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 498 | throw (FileException, RegexException) | ^~~~~ Config.cc:508:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 508 | Config Config::parse(const string& file) throw (FileException) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' rm -f libcommon.a ar cru libcommon.a stringf.o Exception.o Logger.o LoggerMethods.o Pidfile.o ChildProcess.o Exec.o Regex.o Config.o ranlib libcommon.a make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src/common' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Icommon -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c test.cc test.cc:23:7: warning: built-in function 'log' declared as non-function [-Wbuiltin-declaration-mismatch] 23 | FILE* log = 0; | ^~~ test.cc: In function 'void sig(int)': test.cc:49:48: error: 'sys_siglist' was not declared in this scope 49 | err("Received signal " + fmt(signum) + " (" + sys_siglist[signum] + ")"); | ^~~~~~~~~~~ test.cc: In function 'int main(int, const char**)': test.cc:82:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 82 | "Test launchtool printing something on stdout and stderr,\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 83 | "logging what it prints and printing the signals it receives.\n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:339: test.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Icommon -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c LaunchtoolCfg.cc LaunchtoolCfg.cc: In function 'void printSigVec(FILE*, std::vector&)': LaunchtoolCfg.cc:64:34: error: 'sys_siglist' was not declared in this scope 64 | fprintf(out, "%d (%s)", v[i], sys_siglist[v[i]]); | ^~~~~~~~~~~ make[3]: *** [Makefile:339: LaunchtoolCfg.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Icommon -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c launchtool.cc launchtool.cc:1: warning: "_GNU_SOURCE" redefined 1 | #define _GNU_SOURCE // for isblank | : note: this is the location of the previous definition In file included from launchtool.cc:6: common/Logger.h: In destructor 'virtual Log::Logger::~Logger()': common/Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ In file included from launchtool.cc:7: common/Config.h: At global scope: common/Config.h:37:70: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 37 | virtual bool visitNode(const std::string& str, const Config& node) throw (Exception) = 0; | ^~~~~ common/Config.h:43:75: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | virtual bool visitValue(const std::string& str, const std::string& val) throw (Exception) = 0; | ^~~~~ common/Config.h:54:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 54 | Config getSection(const std::string& path) const throw (ConfigKeyNotFoundException); | ^~~~~ common/Config.h:59:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 59 | throw (ConfigKeyNotFoundException); | ^~~~~ common/Config.h:73:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 73 | throw (ConfigKeyNotFoundException); | ^~~~~ common/Config.h:84:40: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 84 | void visitNodes(NodeVisitor& v) const throw (Exception); | ^~~~~ common/Config.h:87:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 87 | void visitValues(ValueVisitor& v) const throw (Exception); | ^~~~~ common/Config.h:94:48: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 94 | static Config parse(const std::string& fname) throw (FileException); | ^~~~~ In file included from launchtool.cc:8: common/ChildProcess.h:10:23: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 10 | void detachFromTTY() throw (SystemException); | ^~~~~ common/ChildProcess.h:23:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 23 | static void chdir(const std::string& dir) throw (SystemException); | ^~~~~ common/ChildProcess.h:26:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 26 | static void chroot(const std::string& dir) throw (SystemException); | ^~~~~ common/ChildProcess.h:33:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | throw (ConsistencyCheckException, SystemException); | ^~~~~ common/ChildProcess.h:35:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 35 | throw (ConsistencyCheckException, SystemException); | ^~~~~ common/ChildProcess.h:37:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 37 | throw (ConsistencyCheckException, SystemException); | ^~~~~ common/ChildProcess.h:39:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 39 | throw (ConsistencyCheckException, SystemException); | ^~~~~ common/ChildProcess.h:43:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 43 | static int getCPUTimeLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:44:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 44 | static int getFileSizeLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:45:46: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 45 | static int getDataMemoryLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:46:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 46 | static int getChildrenLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:47:45: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 47 | static int getOpenFilesLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:48:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 48 | static int getCoreSizeLimit(int* max = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:51:41: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 51 | static void setCPUTimeLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:52:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 52 | static void setFileSizeLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:53:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 53 | static void setDataMemoryLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:54:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 54 | static void setChildrenLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:55:43: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 55 | static void setOpenFilesLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:56:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 56 | static void setCoreSizeLimit(int value) throw (SystemException); | ^~~~~ common/ChildProcess.h:75:69: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 75 | pid_t fork(int* stdinfd = 0, int* stdoutfd = 0, int* stderrfd = 0) throw (SystemException); | ^~~~~ common/ChildProcess.h:83:13: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 83 | int wait() throw (SystemException, InterruptedException); | ^~~~~ common/ChildProcess.h:88:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 88 | int wait(struct rusage* ru) throw (SystemException, InterruptedException); | ^~~~~ In file included from launchtool.cc:9: common/Exec.h:73:14: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 73 | void exec() throw (SystemException); | ^~~~~ In file included from launchtool.cc:12: LaunchtoolOutput.h:33:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | FileOutput(const std::string& file) throw (FileException); | ^~~~~ LaunchtoolOutput.h:93:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 93 | throw (ConsistencyCheckException); | ^~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_lauout(OutputMethod*)': LaunchtoolOutput.h:68:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 68 | if (_lauout) delete _lauout; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_lauerr(OutputMethod*)': LaunchtoolOutput.h:73:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 73 | if (_lauerr) delete _lauerr; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_cldout(OutputMethod*)': LaunchtoolOutput.h:78:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 78 | if (_cldout) delete _cldout; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_clderr(OutputMethod*)': LaunchtoolOutput.h:83:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 83 | if (_clderr) delete _clderr; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In destructor 'virtual LaunchtoolLogEnvironment::~LaunchtoolLogEnvironment()': LaunchtoolOutput.h:142:3: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 142 | delete launchtoolMethod; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from launchtool.cc:13: MultiReader.h: At global scope: MultiReader.h:27:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 27 | void addFD(int fd) throw (SystemException); | ^~~~~ MultiReader.h:30:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | void readLoop() throw (SystemException, InterruptedException); | ^~~~~ MultiReader.h:56:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 56 | void addFD(int fd, Listener* l) throw (SystemException) | ^~~~~ In file included from launchtool.cc:17: common/Pidfile.h:27:15: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 27 | pid_t read() throw (FileException); | ^~~~~ common/Pidfile.h:30:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | bool kill(int sig) throw (SystemException); | ^~~~~ common/Pidfile.h:32:19: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 32 | bool is_active() throw (FileException); | ^~~~~ common/Pidfile.h:34:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 34 | void takeover() throw (FileException); | ^~~~~ common/Pidfile.h:36:27: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 36 | void takeover(pid_t pid) throw (FileException); | ^~~~~ common/Pidfile.h:38:16: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 38 | void remove() throw (FileException); | ^~~~~ launchtool.cc:108:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 108 | throw (SystemException); | ^~~~~ launchtool.cc: In function 'void crit_signal(int)': launchtool.cc:137:19: error: 'sys_siglist' was not declared in this scope 137 | string signame = sys_siglist[signum]; | ^~~~~~~~~~~ launchtool.cc: In member function 'virtual int LaunchtoolMain::main()': launchtool.cc:213:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 213 | if (Cfg::get().verbose) | ^ launchtool.cc:280:37: warning: comparison of integer expressions of different signedness: '__time_t' {aka 'long int'} and 'unsigned int' [-Wsign-compare] 280 | if (status.running_time.tv_sec < Cfg::get().good_running_time) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ launchtool.cc:287:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 287 | Status::get().next_delay < | ~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | Cfg::get().wait_times.size() - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ launchtool.cc:295:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'unsigned int'} [-Wsign-compare] 295 | if (Status::get().next_delay >= | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ 296 | Cfg::get().wait_times.size()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ launchtool.cc: At global scope: launchtool.cc:350:42: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 350 | static bool parseBool(const string& str) throw (ConsistencyCheckException) | ^~~~~ launchtool.cc:359:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 359 | vector parseIntList(const string& str) throw (ConsistencyCheckException) | ^~~~~ launchtool.cc:376:54: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 376 | vector parseSigList(const string& str) throw (ConsistencyCheckException) | ^~~~~ launchtool.cc:424:51: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 424 | vector parseStringList(const string& str) throw (ConsistencyCheckException) | ^~~~~ launchtool.cc: In function 'int main(int, const char**)': launchtool.cc:501:4: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 501 | "Run a command supervising its execution.\n"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ launchtool.cc: In member function 'virtual int SubCommand::main()': launchtool.cc:833:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 833 | if (Cfg::get().user.size()) | ^ launchtool.cc: At global scope: launchtool.cc:895:2: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 895 | throw (SystemException) | ^~~~~ launchtool.cc: In function 'int run_command(cmd_status*)': launchtool.cc:942:12: warning: catching polymorphic type 'class InterruptedException' by value [-Wcatch-value=] 942 | } catch (InterruptedException) {} | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:339: launchtool.o] Error 1 make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Icommon -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c LaunchtoolOutput.cc In file included from LaunchtoolOutput.h:6, from LaunchtoolOutput.cc:1: common/Logger.h: In destructor 'virtual Log::Logger::~Logger()': common/Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ In file included from LaunchtoolOutput.cc:1: LaunchtoolOutput.h: At global scope: LaunchtoolOutput.h:33:38: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 33 | FileOutput(const std::string& file) throw (FileException); | ^~~~~ LaunchtoolOutput.h:93:3: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 93 | throw (ConsistencyCheckException); | ^~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_lauout(OutputMethod*)': LaunchtoolOutput.h:68:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 68 | if (_lauout) delete _lauout; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_lauerr(OutputMethod*)': LaunchtoolOutput.h:73:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 73 | if (_lauerr) delete _lauerr; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_cldout(OutputMethod*)': LaunchtoolOutput.h:78:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 78 | if (_cldout) delete _cldout; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In static member function 'static void Output::set_clderr(OutputMethod*)': LaunchtoolOutput.h:83:16: warning: deleting object of abstract class type 'OutputMethod' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 83 | if (_clderr) delete _clderr; | ^~~~~~~~~~~~~~ LaunchtoolOutput.h: In destructor 'virtual LaunchtoolLogEnvironment::~LaunchtoolLogEnvironment()': LaunchtoolOutput.h:142:3: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 142 | delete launchtoolMethod; | ^~~~~~~~~~~~~~~~~~~~~~~ LaunchtoolOutput.cc: At global scope: LaunchtoolOutput.cc:19:44: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 19 | FileOutput::FileOutput(const string& file) throw (FileException) | ^~~~~ LaunchtoolOutput.cc:126:52: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 126 | OutputMethod* Output::getMethod(const string& str) throw (ConsistencyCheckException) | ^~~~~ LaunchtoolOutput.cc: In static member function 'static OutputMethod* Output::getMethod(const string&)': LaunchtoolOutput.cc:129:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 129 | if (a == string::npos) | ^ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src' make[3]: Entering directory '/usr/src/RPM/BUILD/launchtool-0.7/src' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -Icommon -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -Wall -DPID_DIR=/var/run -c MultiReader.cc In file included from MultiReader.cc:1: MultiReader.h:27:21: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 27 | void addFD(int fd) throw (SystemException); | ^~~~~ MultiReader.h:30:18: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 30 | void readLoop() throw (SystemException, InterruptedException); | ^~~~~ MultiReader.h:56:34: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 56 | void addFD(int fd, Listener* l) throw (SystemException) | ^~~~~ In file included from MultiReader.cc:8: common/Logger.h: In destructor 'virtual Log::Logger::~Logger()': common/Logger.h:140:5: warning: deleting object of abstract class type 'Log::Method' which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] 140 | delete methods[i]; | ^~~~~~~~~~~~~~~~~ MultiReader.cc: At global scope: MultiReader.cc:44:33: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 44 | void MultiReader::addFD(int fd) throw (SystemException) | ^~~~~ MultiReader.cc:52:30: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated] 52 | void MultiReader::readLoop() throw (SystemException, InterruptedException) | ^~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/launchtool-0.7/src' make[2]: *** [Makefile:198: all-recursive] Error 1 make[1]: *** [Makefile:141: all-recursive] Error 1 make: *** [Makefile:290: all-recursive-am] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.37028 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.37028 (%build) Command exited with non-zero status 1 23.35user 2.61system 0:15.10elapsed 172%CPU (0avgtext+0avgdata 135852maxresident)k 0inputs+0outputs (0major+478311minor)pagefaults 0swaps hsh-rebuild: rebuild of `launchtool-0.7-alt1.qa1.src.rpm' failed. Command exited with non-zero status 1 30.90user 7.71system 0:26.88elapsed 143%CPU (0avgtext+0avgdata 135852maxresident)k 80inputs+0outputs (0major+705897minor)pagefaults 0swaps