Edit klamav PKGBUILD with $EDITOR? [Y/n] n ==> Making package: klamav 0.46-5 (Mon 11 Feb 18:23:04 GMT 2013) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving Sources... -> Found klamav-0.46-source.tar.gz ==> Validating source files with sha1sums... klamav-0.46-source.tar.gz ... Passed ==> Extracting Sources... -> Extracting klamav-0.46-source.tar.gz with bsdtar ==> Removing existing pkg/ directory... ==> Entering fakeroot environment... ==> Starting build()... checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for kde-config... /opt/kde/bin/kde-config checking where to install... /opt/kde (as requested) checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether gcc is blacklisted... no checking whether g++ supports -Wmissing-format-attribute... yes checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wno-non-virtual-dtor... yes checking whether g++ supports -fno-reorder-blocks... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking whether system headers can cope with -O2 -fno-inline... irrelevant checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes checking whether g++ supports -Wl,--no-undefined... yes checking whether g++ supports -Wl,--allow-shlib-undefined... yes not using lib directory suffix 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 ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... 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 whether stripping libraries is possible... yes 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 if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... yes checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking sys/bitypes.h usability... yes checking sys/bitypes.h presence... yes checking for sys/bitypes.h... yes checking for poll in -lpoll... no checking Carbon/Carbon.h usability... no checking Carbon/Carbon.h presence... no checking for Carbon/Carbon.h... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking for res_init... yes checking if res_init needs custom prototype... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 8 checking for char *... yes checking size of char *... 8 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 8 checking for unsigned long... yes checking size of unsigned long... 8 checking sizeof size_t == sizeof unsigned long... yes checking for PIE support... yes checking if enabling -pie/fPIE support... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt checking for moc... /opt/qt/bin/moc checking for uic... /opt/qt/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /opt/kde/lib, headers /opt/kde/include checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /opt/kde/bin/dcopidl checking for dcopidl2cpp... /opt/kde/bin/dcopidl2cpp checking for meinproc... /opt/kde/bin/meinproc checking for kconfig_compiler... /opt/kde/bin/kconfig_compiler checking for dcopidlng... /opt/kde/bin/dcopidlng checking for makekdewidgets... /opt/kde/bin/makekdewidgets checking for xmllint... /usr/bin/xmllint checking whether byte ordering is bigendian... no checking for MAXPATHLEN... 4096 checking for pkg-config... yes checking for int... (cached) yes checking size of int... (cached) 4 checking for short... (cached) yes checking size of short... (cached) 2 checking for long... (cached) yes checking size of long... (cached) 8 checking for char *... (cached) yes checking size of char *... (cached) 8 checking for KDE version... KDE 3.5.x (x >=2) or SVN trunk checking for cl_scanfile in -lclamav... yes checking for cl_free in -lclamav... no checking whether to use disable-updates (build KlamAV with GUI updates disabled )... no checking if doc should be compiled... yes checking if po should be compiled... yes checking if src should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1263. config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/en/Makefile config.status: creating po/Makefile config.status: creating src/Makefile config.status: creating src/about/Makefile config.status: creating src/action/Makefile config.status: creating src/arkollon/Makefile config.status: creating src/icons/Makefile config.status: creating src/klammail/Makefile config.status: creating src/sqlite/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands Good - your configure finished. Start make now make all-recursive make[1]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46' Making all in doc make[2]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc' Making all in . make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc' Making all in en make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc/en' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc/en' make[2]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/doc' Making all in po make[2]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/po' Making all in src make[2]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src' Making all in icons make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/icons' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/icons' Making all in about make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/about' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/about' Making all in action make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/action' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/action' Making all in arkollon make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/arkollon' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/arkollon' Making all in sqlite make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/sqlite' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/sqlite' Making all in klammail make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/klammail' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src/klammail' Making all in . make[3]: Entering directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/opt/qt/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT dbviewer.o -MD -MP -MF ".deps/dbviewer.Tpo" -c -o dbviewer.o dbviewer.cpp; \ then mv -f ".deps/dbviewer.Tpo" ".deps/dbviewer.Po"; else rm -f ".deps/dbviewer.Tpo"; exit 1; fi In file included from /opt/qt/include/qvariant.h:45:0, from dbviewer.h:13, from dbviewer.cpp:9: /opt/qt/include/qstring.h: In member function ‘char QChar::latin1() const’: /opt/qt/include/qstring.h:197:58: warning: conversion to ‘char’ from ‘int’ may alter its value [-Wconversion] /opt/qt/include/qstring.h: In member function ‘void QChar::setCell(uchar)’: /opt/qt/include/qstring.h:222:57: warning: conversion to ‘ushort {aka short unsigned int}’ from ‘int’ may alter its value [-Wconversion] /opt/qt/include/qstring.h: In member function ‘void QChar::setRow(uchar)’: /opt/qt/include/qstring.h:223:69: warning: conversion to ‘ushort {aka short unsigned int}’ from ‘int’ may alter its value [-Wconversion] /opt/qt/include/qstring.h: In constructor ‘QChar::QChar(uchar, uchar)’: /opt/qt/include/qstring.h:267:61: warning: conversion to ‘ushort {aka short unsigned int}’ from ‘int’ may alter its value [-Wconversion] /opt/qt/include/qstring.h: In constructor ‘QStringData::QStringData(QChar*, uint, uint)’: /opt/qt/include/qstring.h:365:94: warning: conversion to ‘unsigned int:30’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] /opt/qt/include/qstring.h:365:94: warning: conversion to ‘unsigned int:30’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] In file included from /opt/qt/include/qobject.h:48:0, from /opt/qt/include/qwidget.h:46, from /opt/qt/include/qdialog.h:45, from dbviewer.h:14, from dbviewer.cpp:9: /opt/qt/include/qevent.h: In constructor ‘QContextMenuEvent::QContextMenuEvent(QContextMenuEvent::Reason, const QPoint&, const QPoint&, int)’: /opt/qt/include/qevent.h:432:33: warning: conversion to ‘unsigned char’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] /opt/qt/include/qevent.h: In member function ‘void QDropEvent::setAction(QDropEvent::Action)’: /opt/qt/include/qevent.h:523:46: warning: conversion to ‘unsigned char’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] In file included from /opt/qt/include/qwidget.h:52:0, from /opt/qt/include/qdialog.h:45, from dbviewer.h:14, from dbviewer.cpp:9: /opt/qt/include/qsizepolicy.h: In member function ‘void QSizePolicy::transpose()’: /opt/qt/include/qsizepolicy.h:124:59: warning: conversion to ‘uchar {aka unsigned char}’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] /opt/qt/include/qsizepolicy.h:124:73: warning: conversion to ‘uchar {aka unsigned char}’ from ‘uint {aka unsigned int}’ may alter its value [-Wconversion] In file included from /opt/kde/include/klistbox.h:21:0, from /opt/kde/include/kjanuswidget.h:27, from /opt/kde/include/kdialogbase.h:27, from /opt/kde/include/kfinddialog.h:24, from /opt/kde/include/khtml_part.h:35, from viewer.h:11, from pageviewer.h:17, from dbviewer.cpp:12: /opt/qt/include/qlistbox.h: In member function ‘int QListBox::cellWidth() const’: /opt/qt/include/qlistbox.h:194:49: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion] /opt/qt/include/qlistbox.h: In member function ‘int QListBox::cellWidth(int) const’: /opt/qt/include/qlistbox.h:195:82: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion] In file included from /opt/kde/include/kservicetype.h:24:0, from /opt/kde/include/kmimetype.h:33, from /opt/kde/include/kfileitem.h:30, from /opt/kde/include/kdirlister.h:24, from freshklam.h:14, from dbviewer.cpp:14: /opt/kde/include/ksycocaentry.h: In member function ‘virtual void KSycocaEntry::save(QDataStream&)’: /opt/kde/include/ksycocaentry.h:104:33: warning: conversion to ‘int’ from ‘QIODevice::Offset {aka long unsigned int}’ may alter its value [-Wconversion] In file included from /opt/kde/include/kfileitem.h:31:0, from /opt/kde/include/kdirlister.h:24, from freshklam.h:14, from dbviewer.cpp:14: /opt/kde/include/kfilemetainfo.h: At global scope: /opt/kde/include/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] dbviewer.cpp: In member function ‘int KlamDB::listdb(const char*)’: dbviewer.cpp:228:49: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion] dbviewer.cpp: In function ‘int cli_untgz(int, const char*)’: dbviewer.cpp:447:48: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzread(gzFile, voidp, unsigned int)’ dbviewer.cpp:455:23: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:478:31: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:483:31: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:493:31: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:502:27: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:512:27: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:519:52: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion] dbviewer.cpp:524:27: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp:537:19: error: cannot convert ‘gzFile_s**’ to ‘gzFile’ for argument ‘1’ to ‘int gzclose(gzFile)’ dbviewer.cpp: In function ‘int cli_strbcasestr(const char*, const char*)’: dbviewer.cpp:614:24: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion] dbviewer.cpp:615:22: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion] dbviewer.cpp: In function ‘int cli_chomp(char*)’: dbviewer.cpp:637:23: warning: conversion to ‘int’ from ‘size_t {aka long unsigned int}’ may alter its value [-Wconversion] dbviewer.cpp: In member function ‘int KlamDB::listdb(const char*)’: dbviewer.cpp:190:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] make[3]: *** [dbviewer.o] Error 1 make[3]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/packerbuild-1000/klamav/klamav/src/klamav-0.46-source/klamav-0.46' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... The build failed.