juan@jcferrer ~/kolab $ sudo ./install-kolab.sh -H -F 2>&1 | tee kolab-intall.log Kolab installation tag (TAG): kolab Kolab installation prefix (PREFIX): /kolab Kolab version (KOLAB_VERSION): 2.2-rc2 Kolab user name (USER): kolab Kolab user base UID (KID): 19414 Kolab restricted UID (KID): 19415 Kolab non-priviledged UID (KID): 19416 Received no instructions. Trying to determine required action... Found an OpenPKG environment. Assuming upgrade... ----------- SETUP COMPLETED ----------- Now running: /kolab/bin/openpkg build -kKBuZ -r "/home/juan/kolab" -p "amd64-gentoo1.12.11-kolab" -D openldap::with_pth=no -D sasl::with_ldap -D sasl::with_login -D postfix::with_sasl -D postfix::with_ssl -D postfix::with_ldap -D imapd::with_kolab_nocaps -D kolabd::with_horde -Dkolabd::kolab_version=2.2-rc2 -Dkolab-webadmin::kolab_version=2.2-rc2 openpkg-tools openldap postfix kolabd kolab-filter kolab-freebusy kolab-webadmin horde-kolab-client fbview-kronolith | sh --------------------------------------- :::: /home/juan/kolab/openpkg-20071227-20071227.src.rpm :::: :::: /home/juan/kolab/openpkg-20071227-20071227.src.rpm = 0 :::: :::: /home/juan/kolab/make-3.81-20080101.src.rpm :::: :::: /home/juan/kolab/make-3.81-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/binutils-2.18-20080101.src.rpm :::: :::: /home/juan/kolab/binutils-2.18-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/gcc-4.2.2-20080101.src.rpm :::: :::: /home/juan/kolab/gcc-4.2.2-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/perl-5.10.0-20080103.src.rpm :::: :::: /home/juan/kolab/perl-5.10.0-20080103.src.rpm = 0 :::: :::: /home/juan/kolab/openpkg-tools-1.4.6-20071231.src.rpm :::: :::: /home/juan/kolab/openpkg-tools-1.4.6-20071231.src.rpm = 0 :::: :::: /home/juan/kolab/openssl-0.9.8g-20080101.src.rpm :::: :::: /home/juan/kolab/openssl-0.9.8g-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/db-4.5.20.2-20070628.src.rpm :::: :::: /home/juan/kolab/db-4.5.20.2-20070628.src.rpm = 0 :::: :::: /home/juan/kolab/fsl-1.7.0-20080101.src.rpm :::: :::: /home/juan/kolab/fsl-1.7.0-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/readline-5.2.12-20080101.src.rpm :::: :::: /home/juan/kolab/readline-5.2.12-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/openldap-2.3.39-20071130.src.rpm :::: :::: /home/juan/kolab/openldap-2.3.39-20071130.src.rpm = 0 :::: :::: /home/juan/kolab/procmail-3.22-20080101.src.rpm :::: :::: /home/juan/kolab/procmail-3.22-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/ncurses-5.6.20080112-20080113.src.rpm :::: :::: /home/juan/kolab/ncurses-5.6.20080112-20080113.src.rpm = 0 :::: :::: /home/juan/kolab/texinfo-4.11-20080101.src.rpm :::: :::: /home/juan/kolab/texinfo-4.11-20080101.src.rpm = 0 :::: :::: /home/juan/kolab/pcre-7.5-20080110.src.rpm :::: :::: /home/juan/kolab/pcre-7.5-20080110.src.rpm = 0 :::: :::: /home/juan/kolab/grep-2.5.3-20080101.src.rpm :::: Installing /home/juan/kolab/grep-2.5.3-20080101.src.rpm Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.69265 + cd /kolab/RPM/TMP + cd /kolab/RPM/TMP + rm -rf grep-2.5.3 + /kolab/lib/openpkg/bzip2 -dc /kolab/RPM/SRC/grep/grep-2.5.3.tar.bz2 + /kolab/lib/openpkg/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd grep-2.5.3 + exit 0 Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.26013 + cd /kolab/RPM/TMP + cd grep-2.5.3 + echo ac_cv_header_libintl_h=no + echo gt_cv_func_gnugettext1_libintl=no + CC=/kolab/bin/cc + CFLAGS=-fPIC + CPPFLAGS=-I/kolab/include + LDFLAGS=-L/kolab/lib + INTLBISON=true + MAKEINFO=/kolab/bin/makeinfo + GREP=grep + /kolab/lib/openpkg/bash ./configure --infodir=/kolab/info --mandir=/kolab/man --cache-file=./config.cache --prefix=/kolab --with-included-gettext --disable-nls configure: loading cache ./config.cache checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: /kolab/RPM/TMP/grep-2.5.3/missing: No such file or directory configure: WARNING: `missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for gawk... (cached) gawk checking for gcc... /kolab/bin/cc 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 /kolab/bin/cc accepts -g... yes checking for /kolab/bin/cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /kolab/bin/cc... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for getconf... getconf checking for CFLAGS value to request large file support... checking for LDFLAGS value to request large file support... checking for LIBS value to request large file support... checking for _FILE_OFFSET_BITS... no checking for _LARGEFILE_SOURCE... no checking for _LARGE_FILES... no checking for function prototypes... yes checking how to run the C preprocessor... /kolab/bin/cc -E checking for grep that handles long lines and -e... grep checking for egrep... grep -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 string.h... (cached) yes checking for size_t... yes checking for ssize_t... yes checking for an ANSI C-conforming const... yes checking for inttypes.h... yes checking for unsigned long long... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for memory.h... (cached) yes checking for unistd.h... (cached) yes checking for libintl.h... (cached) no checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for working alloca.h... yes checking for alloca... yes checking whether closedir returns void... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for btowc... yes checking for isascii... yes checking for iswctype... yes checking for mbrlen... yes checking for memmove... yes checking for setmode... no checking for strerror... yes checking for wcrtomb... yes checking for wcscoll... yes checking for wctype... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for stdlib.h... (cached) yes checking for mbstate_t... yes checking for memchr... yes checking for stpcpy... yes checking for strtoul... yes checking for atexit... yes checking for fnmatch... yes checking for stdlib.h... (cached) yes checking whether defines strtoumax as a macro... no checking for strtoumax... yes checking whether strtoul is declared... yes checking whether strtoull is declared... yes checking for strerror in -lcposix... no checking for inline... inline checking for off_t... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... (cached) yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... no checking for bison... true checking version of bison... v. ?.??, bad checking for dos file convention... no checking host system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking for DJGPP environment... no checking for environ variable separator... : checking for working re_compile_pattern... yes checking for getopt_long... yes configure: WARNING: Included lib/regex.c not used checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... no checking for strerror... (cached) yes checking for strerror_r... (cached) yes checking for vprintf... yes checking for doprnt... no checking for ANSI C header files... (cached) yes checking for working malloc... yes checking for working realloc... yes checking for pcre_exec in -lpcre... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/posix/Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating po/Makefile.in config.status: creating intl/Makefile config.status: WARNING: intl/Makefile.in seems to ignore the --datarootdir setting config.status: creating doc/Makefile config.status: creating m4/Makefile config.status: creating vms/Makefile config.status: creating bootstrap/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing default commands + /kolab/bin/make --no-print-directory -j8 /kolab/bin/make all-recursive Making all in intl make[2]: Nothing to be done for `all'. Making all in po make[2]: Nothing to be done for `all'. Making all in lib Making all in posix make[3]: Nothing to be done for `all'. /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT closeout.o -MD -MP -MF .deps/closeout.Tpo -c -o closeout.o closeout.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT error.o -MD -MP -MF .deps/error.Tpo -c -o error.o error.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT exclude.o -MD -MP -MF .deps/exclude.Tpo -c -o exclude.o exclude.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT hard-locale.o -MD -MP -MF .deps/hard-locale.Tpo -c -o hard-locale.o hard-locale.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT isdir.o -MD -MP -MF .deps/isdir.Tpo -c -o isdir.o isdir.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT obstack.o -MD -MP -MF .deps/obstack.Tpo -c -o obstack.o obstack.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT quotearg.o -MD -MP -MF .deps/quotearg.Tpo -c -o quotearg.o quotearg.c mv -f .deps/closeout.Tpo .deps/closeout.Po mv -f .deps/error.Tpo .deps/error.Po mv -f .deps/exclude.Tpo .deps/exclude.Po /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT savedir.o -MD -MP -MF .deps/savedir.Tpo -c -o savedir.o savedir.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT xmalloc.o -MD -MP -MF .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c mv -f .deps/hard-locale.Tpo .deps/hard-locale.Po mv -f .deps/isdir.Tpo .deps/isdir.Po mv -f .deps/obstack.Tpo .deps/obstack.Po /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT xstrtol.o -MD -MP -MF .deps/xstrtol.Tpo -c -o xstrtol.o xstrtol.c /kolab/bin/cc -DLIBDIR=\"/kolab/lib\" -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I../intl -I/kolab/include -fPIC -I/kolab/include -MT xstrtoumax.o -MD -MP -MF .deps/xstrtoumax.Tpo -c -o xstrtoumax.o xstrtoumax.c mv -f .deps/quotearg.Tpo .deps/quotearg.Po mv -f .deps/savedir.Tpo .deps/savedir.Po mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po mv -f .deps/xstrtol.Tpo .deps/xstrtol.Po mv -f .deps/xstrtoumax.Tpo .deps/xstrtoumax.Po rm -f libgreputils.a ar cru libgreputils.a closeout.o error.o exclude.o hard-locale.o isdir.o obstack.o quotearg.o savedir.o xmalloc.o xstrtol.o xstrtoumax.o ranlib libgreputils.a Making all in doc inst=`echo "grep" | sed 's,x,x,'`.1; \ sed -e "s%@grep@%$inst%g" ./fgrep.man > fgrep.1 inst=`echo "grep" | sed 's,x,x,'`.1; \ sed -e "s%@grep@%$inst%g" ./egrep.man > egrep.1 Updating ./version.texi restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/kolab/bin/makeinfo --version) >/dev/null 2>&1; then \ for f in grep.info grep.info-[0-9] grep.info-[0-9][0-9] grep.i[0-9] grep.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /kolab/bin/makeinfo -I . \ -o grep.info grep.texi; \ then \ rc=0; \ cd .; \ else \ rc=$?; \ cd . && \ $restore $backupdir/* `echo "./grep.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc Making all in src /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT grep.o -MD -MP -MF .deps/grep.Tpo -c -o grep.o grep.c /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT kwset.o -MD -MP -MF .deps/kwset.Tpo -c -o kwset.o kwset.c /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT dfa.o -MD -MP -MF .deps/dfa.Tpo -c -o dfa.o dfa.c /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT egrep.o -MD -MP -MF .deps/egrep.Tpo -c -o egrep.o egrep.c /kolab/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../intl -I../lib -DLOCALEDIR=\"/kolab/share/locale\" -I/kolab/include -fPIC -I/kolab/include -MT esearch.o -MD -MP -MF .deps/esearch.Tpo -c -o esearch.o esearch.c grep.c: In function 'print_filename': grep.c:689: warning: incompatible implicit declaration of built-in function 'printf' grep.c:690: error: 'stdout' undeclared (first use in this function) grep.c:690: error: (Each undeclared identifier is reported only once grep.c:690: error: for each function it appears in.) grep.c:691: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_sep': grep.c:698: warning: incompatible implicit declaration of built-in function 'printf' grep.c:699: error: 'stdout' undeclared (first use in this function) grep.c:700: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_offset': grep.c:725: warning: incompatible implicit declaration of built-in function 'printf' grep.c:726: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:726: error: 'stdout' undeclared (first use in this function) grep.c:727: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_line_head': grep.c:742: error: 'stdout' undeclared (first use in this function) grep.c: In function 'print_line_middle': grep.c:839: warning: incompatible implicit declaration of built-in function 'printf' grep.c:845: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:845: error: 'stdout' undeclared (first use in this function) grep.c:848: warning: incompatible implicit declaration of built-in function 'printf' grep.c:849: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:850: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_line_tail': grep.c:880: warning: incompatible implicit declaration of built-in function 'printf' grep.c:881: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:881: error: 'stdout' undeclared (first use in this function) grep.c:883: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'prline': grep.c:924: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:924: error: 'stdout' undeclared (first use in this function) grep.c: In function 'prtext': grep.c:987: warning: incompatible implicit declaration of built-in function 'printf' grep.c:988: error: 'stdout' undeclared (first use in this function) grep.c:989: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'grep': grep.c:1209: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'grepfile': grep.c:1303: error: 'stdout' undeclared (first use in this function) grep.c:1305: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'usage': grep.c:1404: warning: incompatible implicit declaration of built-in function 'fprintf' grep.c:1404: error: 'stderr' undeclared (first use in this function) grep.c:1411: warning: incompatible implicit declaration of built-in function 'printf' In file included from ../lib/regex.h:2, from search.c:37: ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined In file included from /usr/include/sys/cdefs.h:8, from /usr/include/gentoo-multilib/amd64/features.h:330, from /usr/include/features.h:8, from /usr/include/gentoo-multilib/amd64/sys/types.h:27, from /usr/include/sys/types.h:8, from search.c:25: /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition search.c: In function 'check_multibyte_string': search.c:169: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type In file included from egrep.c:2: grep.c: In function 'print_filename': grep.c:689: warning: incompatible implicit declaration of built-in function 'printf' grep.c:690: error: 'stdout' undeclared (first use in this function) grep.c:690: error: (Each undeclared identifier is reported only once grep.c:690: error: for each function it appears in.) grep.c:691: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_sep': grep.c:698: warning: incompatible implicit declaration of built-in function 'printf' grep.c:699: error: 'stdout' undeclared (first use in this function) grep.c:700: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_offset': grep.c:725: warning: incompatible implicit declaration of built-in function 'printf' grep.c:726: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:726: error: 'stdout' undeclared (first use in this function) grep.c:727: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_line_head': grep.c:742: error: 'stdout' undeclared (first use in this function) grep.c: In function 'print_line_middle': grep.c:839: warning: incompatible implicit declaration of built-in function 'printf' grep.c:845: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:845: error: 'stdout' undeclared (first use in this function) grep.c:848: warning: incompatible implicit declaration of built-in function 'printf' grep.c:849: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:850: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'print_line_tail': grep.c:880: warning: incompatible implicit declaration of built-in function 'printf' grep.c:881: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:881: error: 'stdout' undeclared (first use in this function) grep.c:883: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'prline': grep.c:924: warning: incompatible implicit declaration of built-in function 'fwrite' grep.c:924: error: 'stdout' undeclared (first use in this function) grep.c: In function 'prtext': grep.c:987: warning: incompatible implicit declaration of built-in function 'printf' grep.c:988: error: 'stdout' undeclared (first use in this function) grep.c:989: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'grep': grep.c:1209: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'grepfile': grep.c:1303: error: 'stdout' undeclared (first use in this function) grep.c:1305: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'usage': grep.c:1404: warning: incompatible implicit declaration of built-in function 'fprintf' grep.c:1404: error: 'stderr' undeclared (first use in this function) grep.c:1411: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'main': grep.c:1825: error: 'FILE' undeclared (first use in this function) grep.c:1825: error: 'fp' undeclared (first use in this function) grep.c:1968: error: 'stdin' undeclared (first use in this function) grep.c:2181: warning: incompatible implicit declaration of built-in function 'printf' grep.c: In function 'main': grep.c:1825: error: 'FILE' undeclared (first use in this function) grep.c:1825: error: 'fp' undeclared (first use in this function) grep.c:1968: error: 'stdin' undeclared (first use in this function) grep.c:2181: warning: incompatible implicit declaration of built-in function 'printf' make[2]: *** [grep.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [egrep.o] Error 1 mv -f .deps/search.Tpo .deps/search.Po In file included from ../lib/regex.h:2, from dfa.c:122: ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined In file included from /usr/include/sys/cdefs.h:8, from /usr/include/gentoo-multilib/amd64/features.h:330, from /usr/include/features.h:8, from /usr/include/gentoo-multilib/amd64/assert.h:37, from /usr/include/assert.h:8, from dfa.c:26: /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition mv -f .deps/kwset.Tpo .deps/kwset.Po In file included from ../lib/regex.h:2, from search.c:37, from esearch.c:2: ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined In file included from /usr/include/sys/cdefs.h:8, from /usr/include/gentoo-multilib/amd64/features.h:330, from /usr/include/features.h:8, from /usr/include/gentoo-multilib/amd64/sys/types.h:27, from /usr/include/sys/types.h:8, from search.c:25, from esearch.c:2: /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition In file included from esearch.c:2: search.c: In function 'check_multibyte_string': search.c:169: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type mv -f .deps/esearch.Tpo .deps/esearch.Po mv -f .deps/dfa.Tpo .deps/dfa.Po make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.26013 (%build) RPM build errors: Bad exit status from /kolab/RPM/TMP/rpm-tmp.26013 (%build) juan@jcferrer ~/kolab $