D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/c-icap-modules-classify-20151104-4.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wGtih1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf C-ICAP-Classify-20151104 + /usr/bin/unzip -qq /home/pterjan/rpmbuild/SOURCES/C-ICAP-Classify-20151104.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd C-ICAP-Classify-20151104 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 700 RECONF + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.FaI84H + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd C-ICAP-Classify-20151104 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + ./RECONF configure.ac:11: installing './compile' configure.ac:16: installing './config.guess' configure.ac:16: installing './config.sub' configure.ac:9: installing './install-sh' configure.ac:9: installing './missing' services/classify/Makefile.am:2: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') services/classify/Makefile.am: installing './depcomp' + 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 + CONFIGURE_TOP=. + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . Fixing libtool inside configure to pass -Wl,xxx options before libraries + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + '[' -f ./configure.in -o -f ./configure.ac ']' + CONFIGURE_XPATH='--x-includes=/usr/include --x-libraries=/usr/lib64' + ./configure --build=x86_64-mageia-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 checking whether to enable maintainer-specific portions of Makefiles... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for inflate in -lz... yes checking for endianness... little-endian checking for OpenCV older than 2.2.x... checking for cvCreateImage in -lcxcore... no checking for OpenCV 2.2.x or newer... checking for cvCreateImage in -lopencv_core... yes checking for OpenCV 2.3.x or newer... checking for cvResize in -lopencv_imgproc... yes checking for TRE regex header (tre/tre.h)... checking tre/tre.h usability... yes checking tre/tre.h presence... yes checking for tre/tre.h... yes checking for TRE regex library... checking for tre_regwncomp in -ltre... yes checking for scandir... yes checking for libicu... checking for icu-config... /usr/bin/icu-config checking for ICU >= 50.1.2... yes checking ICU_CFLAGS... checking ICU_CXXFLAGS... -std=c++11 checking ICU_LIBS... -L/usr/lib64 -licui18n -licuuc -licudata checking whether ln -s works... yes checking for ln... /usr/bin/ln checking for rm... /usr/bin/rm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating services/Makefile config.status: creating services/classify/Makefile config.status: creating docs/Makefile config.status: creating docs/man/Makefile config.status: creating autoconf.h config.status: executing depfiles commands config.status: executing libtool commands + echo 'warning: %make is deprecated, try %make_build instead' warning: %make is deprecated, try %make_build instead + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in . Making all in services Making all in classify make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-hash.lo -MD -MP -MF .deps/srv_classify_la-hash.Tpo -c -o srv_classify_la-hash.lo `test -f 'hash.c' || echo './'`hash.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-hash.lo -MD -MP -MF .deps/srv_classify_la-hash.Tpo -c hash.c -fPIC -DPIC -o .libs/srv_classify_la-hash.o mv -f .deps/srv_classify_la-hash.Tpo .deps/srv_classify_la-hash.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_judge-train_common.o -MD -MP -MF .deps/fhs_judge-train_common.Tpo -c -o fhs_judge-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fhs_judge-train_common.Tpo .deps/fhs_judge-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_judge-fhs_judge.o -MD -MP -MF .deps/fhs_judge-fhs_judge.Tpo -c -o fhs_judge-fhs_judge.o `test -f 'fhs_judge.c' || echo './'`fhs_judge.c fhs_judge.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fhs_judge.c:50:0: hyperspace.c: In function 'openFHS': hyperspace.c:214:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hyperspace.c:217:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return -1; ^~~~~~ hyperspace.c: In function 'writeFHSHashesPreload': hyperspace.c:286:2: warning: ignoring return value of 'ftruncate64', declared with attribute warn_unused_result [-Wunused-result] ftruncate64(file, 11); ^~~~~~~~~~~~~~~~~~~~~ In file included from fhs_judge.c:50:0: hyperspace.c: In function 'loadMassHSCategories': hyperspace.c:599:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ hyperspace.c:600:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:602:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ hyperspace.c:610:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:631:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fhs_judge-fhs_judge.Tpo .deps/fhs_judge-fhs_judge.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-hyperspace.lo -MD -MP -MF .deps/srv_classify_la-hyperspace.Tpo -c -o srv_classify_la-hyperspace.lo `test -f 'hyperspace.c' || echo './'`hyperspace.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-hyperspace.lo -MD -MP -MF .deps/srv_classify_la-hyperspace.Tpo -c hyperspace.c -fPIC -DPIC -o .libs/srv_classify_la-hyperspace.o hyperspace.c: In function 'loadMassHSCategories': hyperspace.c:599:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ hyperspace.c:600:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:602:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ hyperspace.c:610:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:631:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/srv_classify_la-hyperspace.Tpo .deps/srv_classify_la-hyperspace.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-bayes.lo -MD -MP -MF .deps/srv_classify_la-bayes.Tpo -c -o srv_classify_la-bayes.lo `test -f 'bayes.c' || echo './'`bayes.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-bayes.lo -MD -MP -MF .deps/srv_classify_la-bayes.Tpo -c bayes.c -fPIC -DPIC -o .libs/srv_classify_la-bayes.o bayes.c: In function 'loadMassBayesCategories': bayes.c:1145:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ bayes.c:1146:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1148:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ bayes.c:1156:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1177:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/srv_classify_la-bayes.Tpo .deps/srv_classify_la-bayes.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_learn-train_common.o -MD -MP -MF .deps/fhs_learn-train_common.Tpo -c -o fhs_learn-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fhs_learn-train_common.Tpo .deps/fhs_learn-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-srv_classify_image.lo -MD -MP -MF .deps/srv_classify_la-srv_classify_image.Tpo -c -o srv_classify_la-srv_classify_image.lo `test -f 'srv_classify_image.c' || echo './'`srv_classify_image.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-srv_classify_image.lo -MD -MP -MF .deps/srv_classify_la-srv_classify_image.Tpo -c srv_classify_image.c -fPIC -DPIC -o .libs/srv_classify_la-srv_classify_image.o In file included from /usr/include/stdio.h:27:0, from srv_classify_image.c:31: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ srv_classify_image.c: In function 'categorize_external_image': srv_classify_image.c:1004:3: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ srv_classify_image.c:1005:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(data->external_body->filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srv_classify_image.c:1099:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ srv_classify_image.c: In function 'unlink_directory': srv_classify_image.c:170:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ srv_classify_image.c:171:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(directory); ^~~~~~~~~~~~~~~~ srv_classify_image.c:194:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ srv_classify_image.c: In function 'getRightSize': srv_classify_image.c:552:5: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized] t = cvGetTickCount() - t; ~~^~~~~~~~~~~~~~~~~~~~~~ srv_classify_image.c: In function 'categorize_image': srv_classify_image.c:501:43: warning: '.jpg' directive output may be truncated writing 4 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(imageFILENAME, CI_MAX_PATH, "%s.jpg", data->disk_body->filename); ^~~~ In file included from /usr/include/stdio.h:936:0, from srv_classify_image.c:31: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 4101 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ srv_classify_image.c:507:43: warning: '.png' directive output may be truncated writing 4 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] snprintf(imageFILENAME, CI_MAX_PATH, "%s.png", data->disk_body->filename); ^~~~ In file included from /usr/include/stdio.h:936:0, from srv_classify_image.c:31: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output between 5 and 4101 bytes into a destination of size 4096 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/srv_classify_la-srv_classify_image.Tpo .deps/srv_classify_la-srv_classify_image.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_judge-html.o -MD -MP -MF .deps/fhs_judge-html.Tpo -c -o fhs_judge-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fhs_judge-html.Tpo .deps/fhs_judge-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_learn-fhs_learn.o -MD -MP -MF .deps/fhs_learn-fhs_learn.Tpo -c -o fhs_learn-fhs_learn.o `test -f 'fhs_learn.c' || echo './'`fhs_learn.c fhs_learn.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fhs_learn.c:48:0: hyperspace.c: In function 'openFHS': hyperspace.c:214:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hyperspace.c:217:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return -1; ^~~~~~ hyperspace.c: In function 'writeFHSHashesPreload': hyperspace.c:286:2: warning: ignoring return value of 'ftruncate64', declared with attribute warn_unused_result [-Wunused-result] ftruncate64(file, 11); ^~~~~~~~~~~~~~~~~~~~~ In file included from fhs_learn.c:48:0: hyperspace.c: In function 'loadMassHSCategories': hyperspace.c:599:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ hyperspace.c:600:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:602:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ hyperspace.c:610:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:631:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fhs_learn-fhs_learn.Tpo .deps/fhs_learn-fhs_learn.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_judge-train_common.o -MD -MP -MF .deps/fnb_judge-train_common.Tpo -c -o fnb_judge-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fnb_judge-train_common.Tpo .deps/fnb_judge-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_makepreload-fhs_makepreload.o -MD -MP -MF .deps/fhs_makepreload-fhs_makepreload.Tpo -c -o fhs_makepreload-fhs_makepreload.o `test -f 'fhs_makepreload.c' || echo './'`fhs_makepreload.c fhs_makepreload.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fhs_makepreload.c:51:0: hyperspace.c: In function 'openFHS': hyperspace.c:214:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hyperspace.c:217:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return -1; ^~~~~~ hyperspace.c: In function 'writeFHSHashesPreload': hyperspace.c:286:2: warning: ignoring return value of 'ftruncate64', declared with attribute warn_unused_result [-Wunused-result] ftruncate64(file, 11); ^~~~~~~~~~~~~~~~~~~~~ In file included from fhs_makepreload.c:51:0: hyperspace.c: In function 'loadMassHSCategories': hyperspace.c:599:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ hyperspace.c:600:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:602:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ hyperspace.c:610:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:631:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ fhs_makepreload.c: In function 'loadMassCategories': fhs_makepreload.c:94:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ mv -f .deps/fhs_makepreload-fhs_makepreload.Tpo .deps/fhs_makepreload-fhs_makepreload.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-html.lo -MD -MP -MF .deps/srv_classify_la-html.Tpo -c -o srv_classify_la-html.lo `test -f 'html.c' || echo './'`html.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-html.lo -MD -MP -MF .deps/srv_classify_la-html.Tpo -c html.c -fPIC -DPIC -o .libs/srv_classify_la-html.o mv -f .deps/srv_classify_la-html.Tpo .deps/srv_classify_la-html.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_learn-html.o -MD -MP -MF .deps/fhs_learn-html.Tpo -c -o fhs_learn-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fhs_learn-html.Tpo .deps/fhs_learn-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_makepreload-html.o -MD -MP -MF .deps/fhs_makepreload-html.Tpo -c -o fhs_makepreload-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fhs_makepreload-html.Tpo .deps/fhs_makepreload-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_learn-train_common.o -MD -MP -MF .deps/fnb_learn-train_common.Tpo -c -o fnb_learn-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fnb_learn-train_common.Tpo .deps/fnb_learn-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_judge-html.o -MD -MP -MF .deps/fnb_judge-html.Tpo -c -o fnb_judge-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fnb_judge-html.Tpo .deps/fnb_judge-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-srv_classify.lo -MD -MP -MF .deps/srv_classify_la-srv_classify.Tpo -c -o srv_classify_la-srv_classify.lo `test -f 'srv_classify.c' || echo './'`srv_classify.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT srv_classify_la-srv_classify.lo -MD -MP -MF .deps/srv_classify_la-srv_classify.Tpo -c srv_classify.c -fPIC -DPIC -o .libs/srv_classify_la-srv_classify.o In file included from /usr/include/sys/types.h:25:0, from srv_classify.c:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ srv_classify.c: In function 'srvclassify_check_preview_handler': srv_classify.c:612:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if((content_type = ci_http_response_get_header(req, "Content-Type")) != NULL) { ^ srv_classify.c:624:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if((content_type = ci_http_response_get_header(req, "Content-Encoding")) != NULL) { ^ In file included from srv_classify.c:50:0: srv_classify.c:634:27: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'ci_off_t {aka long int}' [-Wformat=] "srv_classify: Object size is %" PRINTF_OFF_T "." ^ /usr/include/c_icap/debug.h:44:130: note: in definition of macro 'ci_debug_printf' #define ci_debug_printf(i, args...) if(i<=CI_DEBUG_LEVEL){ if(__log_error) (*__log_error)(NULL,args); if(CI_DEBUG_STDOUT) printf(args);} ^~~~ In file included from srv_classify.c:45:0: /usr/include/c_icap/c-icap.h:113:28: note: format string is defined here # define PRINTF_OFF_T "lld" In file included from srv_classify.c:50:0: srv_classify.c:634:27: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ci_off_t {aka long int}' [-Wformat=] "srv_classify: Object size is %" PRINTF_OFF_T "." ^ /usr/include/c_icap/debug.h:44:130: note: in definition of macro 'ci_debug_printf' #define ci_debug_printf(i, args...) if(i<=CI_DEBUG_LEVEL){ if(__log_error) (*__log_error)(NULL,args); if(CI_DEBUG_STDOUT) printf(args);} ^~~~ In file included from srv_classify.c:45:0: /usr/include/c_icap/c-icap.h:113:28: note: format string is defined here # define PRINTF_OFF_T "lld" In file included from srv_classify.c:50:0: srv_classify.c: In function 'srvclassify_end_of_data_handler': srv_classify.c:839:30: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'ci_off_t {aka long int}' [-Wformat=] ci_debug_printf(7, "file unlocked, flags :%d (unlocked:%" PRINTF_OFF_T ")\n", ^ disk_body->flags, disk_body->unlocked); ~~~~~~~~~~~~ /usr/include/c_icap/debug.h:44:130: note: in definition of macro 'ci_debug_printf' #define ci_debug_printf(i, args...) if(i<=CI_DEBUG_LEVEL){ if(__log_error) (*__log_error)(NULL,args); if(CI_DEBUG_STDOUT) printf(args);} ^~~~ In file included from srv_classify.c:45:0: /usr/include/c_icap/c-icap.h:113:28: note: format string is defined here # define PRINTF_OFF_T "lld" srv_classify.c: In function 'make_pics_header': srv_classify.c:1085:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] orig_header = ci_http_response_get_header(req, "PICS-Label"); ^ srv_classify.c: In function 'make_wchar': srv_classify.c:1124:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] if((charSet = ci_http_response_get_header(req, "Content-Type")) != NULL) ^ srv_classify.c: In function 'set_istag': srv_classify.c:1406:51: warning: '%s' directive output truncated writing 19 bytes into a region of size 2 [-Wformat-truncation=] srv_classify.c:1402:26: char *image_cat_ver="image_categorize1.0"; ~~~~~~~~~~~~~~~~~~~~~ srv_classify.c:1406:51: snprintf(istag, SERVICE_ISTAG_SIZE, "-T:%s-I:%s", ^~ In file included from /usr/include/stdio.h:936:0, from srv_classify.c:28: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 44 bytes into a destination of size 26 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/srv_classify_la-srv_classify.Tpo .deps/srv_classify_la-srv_classify.Plo make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_learn-train_common_threads.o -MD -MP -MF .deps/fnb_learn-train_common_threads.Tpo -c -o fnb_learn-train_common_threads.o `test -f 'train_common_threads.c' || echo './'`train_common_threads.c mv -f .deps/fnb_learn-train_common_threads.Tpo .deps/fnb_learn-train_common_threads.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_judge-fnb_judge.o -MD -MP -MF .deps/fnb_judge-fnb_judge.Tpo -c -o fnb_judge-fnb_judge.o `test -f 'fnb_judge.c' || echo './'`fnb_judge.c fnb_judge.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fnb_judge.c:50:0: bayes.c: In function 'loadMassBayesCategories': bayes.c:1145:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ bayes.c:1146:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1148:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ bayes.c:1156:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1177:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fnb_judge-fnb_judge.Tpo .deps/fnb_judge-fnb_judge.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_findtolearn-train_common.o -MD -MP -MF .deps/fhs_findtolearn-train_common.Tpo -c -o fhs_findtolearn-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fhs_findtolearn-train_common.Tpo .deps/fhs_findtolearn-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_findtolearn-train_common_threads.o -MD -MP -MF .deps/fhs_findtolearn-train_common_threads.Tpo -c -o fhs_findtolearn-train_common_threads.o `test -f 'train_common_threads.c' || echo './'`train_common_threads.c mv -f .deps/fhs_findtolearn-train_common_threads.Tpo .deps/fhs_findtolearn-train_common_threads.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_learn-fnb_learn.o -MD -MP -MF .deps/fnb_learn-fnb_learn.Tpo -c -o fnb_learn-fnb_learn.o `test -f 'fnb_learn.c' || echo './'`fnb_learn.c fnb_learn.c:35:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from /usr/include/sys/types.h:25:0, from fnb_learn.c:37: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ fnb_learn.c: In function 'doLearn': fnb_learn.c:170:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((prehash_data_file = open(prehash_file, O_RDONLY, S_IRUSR | S_IWUSR | S_IWOTH | S_IWGRP)) > 0); ^~ fnb_learn.c:171:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ In file included from fnb_learn.c:56:0: bayes.c: In function 'loadMassBayesCategories': bayes.c:1145:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ bayes.c:1146:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1148:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ bayes.c:1156:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1177:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fnb_learn-fnb_learn.Tpo .deps/fnb_learn-fnb_learn.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_findtolearn-train_common.o -MD -MP -MF .deps/fnb_findtolearn-train_common.Tpo -c -o fnb_findtolearn-train_common.o `test -f 'train_common.c' || echo './'`train_common.c mv -f .deps/fnb_findtolearn-train_common.Tpo .deps/fnb_findtolearn-train_common.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_findtolearn-train_common_threads.o -MD -MP -MF .deps/fnb_findtolearn-train_common_threads.Tpo -c -o fnb_findtolearn-train_common_threads.o `test -f 'train_common_threads.c' || echo './'`train_common_threads.c mv -f .deps/fnb_findtolearn-train_common_threads.Tpo .deps/fnb_findtolearn-train_common_threads.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_learn-html.o -MD -MP -MF .deps/fnb_learn-html.Tpo -c -o fnb_learn-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fnb_learn-html.Tpo .deps/fnb_learn-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_findtolearn-fhs_findtolearn.o -MD -MP -MF .deps/fhs_findtolearn-fhs_findtolearn.Tpo -c -o fhs_findtolearn-fhs_findtolearn.o `test -f 'fhs_findtolearn.c' || echo './'`fhs_findtolearn.c fhs_findtolearn.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fhs_findtolearn.c:49:0: hyperspace.c: In function 'openFHS': hyperspace.c:214:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ hyperspace.c:217:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return -1; ^~~~~~ fhs_findtolearn.c: In function 'judgeFile': fhs_findtolearn.c:160:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((prehash_data_file = open(prehash_file, O_RDONLY, S_IRUSR | S_IWUSR | S_IWOTH | S_IWGRP)) > 0); ^~ fhs_findtolearn.c:161:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ In file included from fhs_findtolearn.c:49:0: hyperspace.c: In function 'writeFHSHashesPreload': hyperspace.c:286:2: warning: ignoring return value of 'ftruncate64', declared with attribute warn_unused_result [-Wunused-result] ftruncate64(file, 11); ^~~~~~~~~~~~~~~~~~~~~ In file included from fhs_findtolearn.c:49:0: hyperspace.c: In function 'loadMassHSCategories': hyperspace.c:599:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ hyperspace.c:600:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:602:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ hyperspace.c:610:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fhs_dir); ^~~~~~~~~~~~~~ hyperspace.c:631:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fhs_findtolearn-fhs_findtolearn.Tpo .deps/fhs_findtolearn-fhs_findtolearn.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_makepreload-fnb_makepreload.o -MD -MP -MF .deps/fnb_makepreload-fnb_makepreload.Tpo -c -o fnb_makepreload-fnb_makepreload.o `test -f 'fnb_makepreload.c' || echo './'`fnb_makepreload.c fnb_makepreload.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition In file included from fnb_makepreload.c:51:0: bayes.c: In function 'loadMassBayesCategories': bayes.c:1145:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ bayes.c:1146:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1148:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ bayes.c:1156:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1177:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ fnb_makepreload.c: In function 'loadMassCategories': fnb_makepreload.c:97:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ mv -f .deps/fnb_makepreload-fnb_makepreload.Tpo .deps/fnb_makepreload-fnb_makepreload.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_makepreload-html.o -MD -MP -MF .deps/fnb_makepreload-html.Tpo -c -o fnb_makepreload-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fnb_makepreload-html.Tpo .deps/fnb_makepreload-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_judge fhs_judge-fhs_judge.o fhs_judge-html.o fhs_judge-train_common.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_judge fhs_judge-fhs_judge.o fhs_judge-html.o fhs_judge-train_common.o -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_findtolearn-fnb_findtolearn.o -MD -MP -MF .deps/fnb_findtolearn-fnb_findtolearn.Tpo -c -o fnb_findtolearn-fnb_findtolearn.o `test -f 'fnb_findtolearn.c' || echo './'`fnb_findtolearn.c fnb_findtolearn.c:31:0: warning: "NOT_CICAP" redefined #define NOT_CICAP :0:0: note: this is the location of the previous definition fnb_findtolearn.c: In function 'judgeFile': fnb_findtolearn.c:160:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if((prehash_data_file = open(prehash_file, O_RDONLY, S_IRUSR | S_IWUSR | S_IWOTH | S_IWGRP)) > 0); ^~ fnb_findtolearn.c:161:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ In file included from fnb_findtolearn.c:49:0: bayes.c: In function 'loadMassBayesCategories': bayes.c:1145:2: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(old_dir, PATH_MAX); ^~~~~~~~~~~~~~~~~~~~~~~~~ bayes.c:1146:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1148:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ bayes.c:1156:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(fbc_dir); ^~~~~~~~~~~~~~ bayes.c:1177:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(old_dir); ^~~~~~~~~~~~~~ mv -f .deps/fnb_findtolearn-fnb_findtolearn.Tpo .deps/fnb_findtolearn-fnb_findtolearn.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -I../../include/ -std=gnu99 -I -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -module -avoid-version -lm -ltre -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o srv_classify.la -rpath /usr/lib64/c_icap/ srv_classify_la-srv_classify.lo srv_classify_la-bayes.lo srv_classify_la-hyperspace.lo srv_classify_la-html.lo srv_classify_la-hash.lo srv_classify_la-srv_classify_image.lo -lopencv_core -lopencv_highgui -lopencv_objdetect -lopencv_features2d -lopencv_imgproc libtool: link: gcc -shared -Wl,--as-needed -fPIC -DPIC .libs/srv_classify_la-srv_classify.o .libs/srv_classify_la-bayes.o .libs/srv_classify_la-hyperspace.o .libs/srv_classify_la-html.o .libs/srv_classify_la-hash.o .libs/srv_classify_la-srv_classify_image.o -O2 -g -fstack-protector -O2 -g -fstack-protector -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -lm -ltre -L/usr/lib64 -licui18n -licuuc -licudata -lopencv_core -lopencv_highgui -lopencv_objdetect -lopencv_features2d -lopencv_imgproc -Wl,-soname -Wl,srv_classify.so -o .libs/srv_classify.so .libs/srv_classify_la-srv_classify_image.o: In function `initImageSession': /home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify/srv_classify_image.c:752: warning: the use of `tempnam' is dangerous, better use `mkstemp' libtool: link: ( cd ".libs" && rm -f "srv_classify.la" && ln -s "../srv_classify.la" "srv_classify.la" ) make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_learn fhs_learn-fhs_learn.o fhs_learn-html.o fhs_learn-train_common.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_learn fhs_learn-fhs_learn.o fhs_learn-html.o fhs_learn-train_common.o -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fhs_findtolearn-html.o -MD -MP -MF .deps/fhs_findtolearn-html.Tpo -c -o fhs_findtolearn-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fhs_findtolearn-html.Tpo .deps/fhs_findtolearn-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -MT fnb_findtolearn-html.o -MD -MP -MF .deps/fnb_findtolearn-html.Tpo -c -o fnb_findtolearn-html.o `test -f 'html.c' || echo './'`html.c mv -f .deps/fnb_findtolearn-html.Tpo .deps/fnb_findtolearn-html.Po make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_makepreload fhs_makepreload-fhs_makepreload.o fhs_makepreload-html.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_makepreload fhs_makepreload-fhs_makepreload.o fhs_makepreload-html.o -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_learn fnb_learn-fnb_learn.o fnb_learn-html.o fnb_learn-train_common.o fnb_learn-train_common_threads.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_learn fnb_learn-fnb_learn.o fnb_learn-html.o fnb_learn-train_common.o fnb_learn-train_common_threads.o -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_judge fnb_judge-fnb_judge.o fnb_judge-html.o fnb_judge-train_common.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_judge fnb_judge-fnb_judge.o fnb_judge-html.o fnb_judge-train_common.o -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_makepreload fnb_makepreload-fnb_makepreload.o fnb_makepreload-html.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_makepreload fnb_makepreload-fnb_makepreload.o fnb_makepreload-html.o -ltre -lm -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_findtolearn fhs_findtolearn-fhs_findtolearn.o fhs_findtolearn-html.o fhs_findtolearn-train_common.o fhs_findtolearn-train_common_threads.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fhs_findtolearn fhs_findtolearn-fhs_findtolearn.o fhs_findtolearn-html.o fhs_findtolearn-train_common.o fhs_findtolearn-train_common_threads.o -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /bin/sh ../../libtool --tag=CC --mode=link gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_findtolearn fnb_findtolearn-fnb_findtolearn.o fnb_findtolearn-html.o fnb_findtolearn-train_common.o fnb_findtolearn-train_common_threads.o libtool: link: gcc -DTRAINER -DNOT_CICAP -std=gnu99 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -fvisibility=hidden -DCI_BUILD_MODULE -D_REENTRANT -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wall -D_FILE_OFFSET_BITS=64 -I/usr/include -I/usr/include/c_icap -DLITTLE_ENDIAN -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o fnb_findtolearn fnb_findtolearn-fnb_findtolearn.o fnb_findtolearn-html.o fnb_findtolearn-train_common.o fnb_findtolearn-train_common_threads.o -ltre -lm -lpthread -L/usr/lib64 -licui18n -licuuc -licudata make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Nothing to be done for 'all-am'. Making all in docs Making all in man make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fhs_findtolearn.8.in > fhs_findtolearn.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fhs_makepreload.8.in > fhs_makepreload.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fnb_learn.8.in > fnb_learn.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fhs_judge.8.in > fhs_judge.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fhs_learn.8.in > fhs_learn.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fnb_judge.8.in > fnb_judge.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fnb_findtolearn.8.in > fnb_findtolearn.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' sed -e 's%[@]SYSCONFDIR[@]%/etc%g' -e 's%[@]PACKAGE_STRING[@]%c_icap_classify 00000x%g' < fnb_makepreload.8.in > fnb_makepreload.8 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Nothing to be done for 'all-am'. + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mk0GO1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 + cd C-ICAP-Classify-20151104 + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/etc + echo 'warning: %makeinstall_std is deprecated, try %make_install instead' warning: %makeinstall_std is deprecated, try %make_install instead + make DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 install Making install in . make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104' Making install in services make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' Making install in classify make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -c fhs_judge fhs_learn fhs_makepreload fnb_judge fnb_learn fnb_makepreload fhs_findtolearn fnb_findtolearn '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin' libtool: install: /usr/bin/install -c fhs_judge /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_judge libtool: install: /usr/bin/install -c fhs_learn /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_learn libtool: install: /usr/bin/install -c fhs_makepreload /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_makepreload libtool: install: /usr/bin/install -c fnb_judge /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_judge libtool: install: /usr/bin/install -c fnb_learn /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_learn libtool: install: /usr/bin/install -c fnb_makepreload /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_makepreload libtool: install: /usr/bin/install -c fhs_findtolearn /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_findtolearn libtool: install: /usr/bin/install -c fnb_findtolearn /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_findtolearn /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/' /bin/sh ../../libtool --mode=install /usr/bin/install -c srv_classify.la '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/' libtool: install: /usr/bin/install -c .libs/srv_classify.so /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/srv_classify.so libtool: install: /usr/bin/install -c .libs/srv_classify.lai /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/srv_classify.la libtool: warning: remember to run 'libtool --finish /usr/lib64/c_icap/' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services/classify' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/services' Making install in docs make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' Making install in man make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/share/man/man8' /usr/bin/install -c -m 644 fhs_findtolearn.8 fhs_makepreload.8 fnb_learn.8 fhs_judge.8 fnb_findtolearn.8 fnb_makepreload.8 fhs_learn.8 fnb_judge.8 '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/share/man/man8' make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs/man' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104/docs' + rm -f '/home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/srv_*.a' + rm -f /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/srv_classify.la + rm -f /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/sys_logger.la + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 20151104-4.mga7 --unique-debug-suffix -20151104-4.mga7.x86_64 --unique-debug-src-base c-icap-modules-classify-20151104-4.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/C-ICAP-Classify-20151104 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/lib64/c_icap/srv_classify.so extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_findtolearn extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_findtolearn extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_learn extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_judge extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_makepreload extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_learn extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fnb_makepreload extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64/usr/bin/fhs_judge /usr/lib/rpm/sepdebugcrcfix: Updated 9 CRC32s, 0 CRC32s did match. 805 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: c-icap-modules-classify-20151104-4.mga7.x86_64 Provides: c-icap-modules-classify = 20151104-4.mga7 c-icap-modules-classify(x86-64) = 20151104-4.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libicuuc.so.59()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libopencv_core.so.2.4()(64bit) libopencv_highgui.so.2.4()(64bit) libopencv_imgproc.so.2.4()(64bit) libopencv_objdetect.so.2.4()(64bit) libtre.so.5()(64bit) Processing files: c-icap-modules-classify-training-20151104-4.mga7.x86_64 Provides: c-icap-modules-classify-training c-icap-modules-classify-training = 20151104-4.mga7 c-icap-modules-classify-training(x86-64) = 20151104-4.mga7 fhs_judge fhs_learn fhs_makepreload fnb_judge fnb_learn fnb_makepreload Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libicuuc.so.59()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) libtre.so.5()(64bit) Processing files: c-icap-modules-classify-debugsource-20151104-4.mga7.x86_64 Provides: c-icap-modules-classify-debugsource = 20151104-4.mga7 c-icap-modules-classify-debugsource(x86-64) = 20151104-4.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: c-icap-modules-classify-debuginfo-20151104-4.mga7.x86_64 Provides: c-icap-modules-classify-debuginfo = 20151104-4.mga7 c-icap-modules-classify-debuginfo(x86-64) = 20151104-4.mga7 debuginfo(build-id) = 382ff4719b666ba0e557f0b73349c55b5f3012b9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: c-icap-modules-classify-debugsource(x86-64) = 20151104-4.mga7 Processing files: c-icap-modules-classify-training-debuginfo-20151104-4.mga7.x86_64 Provides: c-icap-modules-classify-training-debuginfo = 20151104-4.mga7 c-icap-modules-classify-training-debuginfo(x86-64) = 20151104-4.mga7 debuginfo(build-id) = 188485478def6834344512352461b47ea16de63d debuginfo(build-id) = 2a9a477be3fc2306da81407d873252804679533f debuginfo(build-id) = 4d651dd4b82a1d842d1aae7fecdbf506d099988d debuginfo(build-id) = 5476608bae66d86134c75030cece4b7169dcf07b debuginfo(build-id) = 68e89ad880689d70d82d006a384c942ff69edafe debuginfo(build-id) = 6d962bca2693ca31650cf7a3691d207a5057c21b debuginfo(build-id) = c6d21b4397353f6ec70a370ce078ffad9a878796 debuginfo(build-id) = fb55c97ef7ccf4b1b5bfdf86d224a203fe21a08e Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: c-icap-modules-classify-debugsource(x86-64) = 20151104-4.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/c-icap-modules-classify-20151104-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/c-icap-modules-classify-training-20151104-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/c-icap-modules-classify-debugsource-20151104-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/c-icap-modules-classify-debuginfo-20151104-4.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/c-icap-modules-classify-training-debuginfo-20151104-4.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PzeR5y + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd C-ICAP-Classify-20151104 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/c-icap-modules-classify-20151104-4.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6qO8v6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf C-ICAP-Classify-20151104 + exit 0 D: [iurt_root_command] Success!