Donate or Advertise on the Internet's Hottest Pastebin.
Author: Juan Carlos Ferrer Language: text
Description: kolab install log Timestamp: 2008-03-23 22:50:02 +0000
View raw paste Reply
  1. juan@jcferrer ~/kolab $ sudo ./install-kolab.sh -H -F 2>&1 | tee kolab-intall.log
  2.  
  3. Kolab installation tag (TAG):       kolab
  4. Kolab installation prefix (PREFIX): /kolab
  5. Kolab version (KOLAB_VERSION):      2.2-rc2
  6. Kolab user name (USER):             kolab
  7. Kolab user base UID (KID):          19414
  8. Kolab restricted UID (KID):         19415
  9. Kolab non-priviledged UID (KID):    19416
  10.  
  11. Received no instructions. Trying to determine required action...
  12. Found an OpenPKG environment. Assuming upgrade...
  13. ----------- SETUP COMPLETED -----------
  14.  
  15.  Now running:
  16.  
  17.    /kolab/bin/openpkg build -kKBuZ -r "/home/juan/kolab" -p "amd64-gentoo1.12.11-kolab"
  18.                 -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
  19.                 -Dkolabd::kolab_version=2.2-rc2
  20.                 -Dkolab-webadmin::kolab_version=2.2-rc2
  21.                  openpkg-tools openldap postfix kolabd kolab-filter kolab-freebusy kolab-webadmin horde-kolab-client fbview-kronolith | sh
  22.  
  23. ---------------------------------------
  24. :::: /home/juan/kolab/openpkg-20071227-20071227.src.rpm ::::
  25. :::: /home/juan/kolab/openpkg-20071227-20071227.src.rpm = 0 ::::
  26. :::: /home/juan/kolab/make-3.81-20080101.src.rpm ::::
  27. :::: /home/juan/kolab/make-3.81-20080101.src.rpm = 0 ::::
  28. :::: /home/juan/kolab/binutils-2.18-20080101.src.rpm ::::
  29. :::: /home/juan/kolab/binutils-2.18-20080101.src.rpm = 0 ::::
  30. :::: /home/juan/kolab/gcc-4.2.2-20080101.src.rpm ::::
  31. :::: /home/juan/kolab/gcc-4.2.2-20080101.src.rpm = 0 ::::
  32. :::: /home/juan/kolab/perl-5.10.0-20080103.src.rpm ::::
  33. :::: /home/juan/kolab/perl-5.10.0-20080103.src.rpm = 0 ::::
  34. :::: /home/juan/kolab/openpkg-tools-1.4.6-20071231.src.rpm ::::
  35. :::: /home/juan/kolab/openpkg-tools-1.4.6-20071231.src.rpm = 0 ::::
  36. :::: /home/juan/kolab/openssl-0.9.8g-20080101.src.rpm ::::
  37. :::: /home/juan/kolab/openssl-0.9.8g-20080101.src.rpm = 0 ::::
  38. :::: /home/juan/kolab/db-4.5.20.2-20070628.src.rpm ::::
  39. :::: /home/juan/kolab/db-4.5.20.2-20070628.src.rpm = 0 ::::
  40. :::: /home/juan/kolab/fsl-1.7.0-20080101.src.rpm ::::
  41. :::: /home/juan/kolab/fsl-1.7.0-20080101.src.rpm = 0 ::::
  42. :::: /home/juan/kolab/readline-5.2.12-20080101.src.rpm ::::
  43. :::: /home/juan/kolab/readline-5.2.12-20080101.src.rpm = 0 ::::
  44. :::: /home/juan/kolab/openldap-2.3.39-20071130.src.rpm ::::
  45. :::: /home/juan/kolab/openldap-2.3.39-20071130.src.rpm = 0 ::::
  46. :::: /home/juan/kolab/procmail-3.22-20080101.src.rpm ::::
  47. :::: /home/juan/kolab/procmail-3.22-20080101.src.rpm = 0 ::::
  48. :::: /home/juan/kolab/ncurses-5.6.20080112-20080113.src.rpm ::::
  49. :::: /home/juan/kolab/ncurses-5.6.20080112-20080113.src.rpm = 0 ::::
  50. :::: /home/juan/kolab/texinfo-4.11-20080101.src.rpm ::::
  51. :::: /home/juan/kolab/texinfo-4.11-20080101.src.rpm = 0 ::::
  52. :::: /home/juan/kolab/pcre-7.5-20080110.src.rpm ::::
  53. :::: /home/juan/kolab/pcre-7.5-20080110.src.rpm = 0 ::::
  54. :::: /home/juan/kolab/grep-2.5.3-20080101.src.rpm ::::
  55. Installing /home/juan/kolab/grep-2.5.3-20080101.src.rpm
  56. Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.69265
  57. + cd /kolab/RPM/TMP
  58. + cd /kolab/RPM/TMP
  59. + rm -rf grep-2.5.3
  60. + /kolab/lib/openpkg/bzip2 -dc /kolab/RPM/SRC/grep/grep-2.5.3.tar.bz2
  61. + /kolab/lib/openpkg/tar -xf -
  62. + STATUS=0
  63. + '[' 0 -ne 0 ']'
  64. + cd grep-2.5.3
  65. + exit 0
  66. Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.26013
  67. + cd /kolab/RPM/TMP
  68. + cd grep-2.5.3
  69. + echo ac_cv_header_libintl_h=no
  70. + echo gt_cv_func_gnugettext1_libintl=no
  71. + CC=/kolab/bin/cc
  72. + CFLAGS=-fPIC
  73. + CPPFLAGS=-I/kolab/include
  74. + LDFLAGS=-L/kolab/lib
  75. + INTLBISON=true
  76. + MAKEINFO=/kolab/bin/makeinfo
  77. + GREP=grep
  78. + /kolab/lib/openpkg/bash ./configure --infodir=/kolab/info --mandir=/kolab/man --cache-file=./config.cache --prefix=/kolab --with-included-gettext --disable-nls
  79. configure: loading cache ./config.cache
  80. checking for a BSD-compatible install... /usr/bin/install -c
  81. checking whether build environment is sane... yes
  82. /bin/sh: /kolab/RPM/TMP/grep-2.5.3/missing: No such file or directory
  83. configure: WARNING: `missing' script is too old or missing
  84. checking for a thread-safe mkdir -p... /bin/mkdir -p
  85. checking for gawk... gawk
  86. checking whether make sets $(MAKE)... yes
  87. checking build system type... x86_64-unknown-linux-gnu
  88. checking host system type... x86_64-unknown-linux-gnu
  89. checking for gawk... (cached) gawk
  90. checking for gcc... /kolab/bin/cc
  91. checking for C compiler default output file name... a.out
  92. checking whether the C compiler works... yes
  93. checking whether we are cross compiling... no
  94. checking for suffix of executables...
  95. checking for suffix of object files... o
  96. checking whether we are using the GNU C compiler... yes
  97. checking whether /kolab/bin/cc accepts -g... yes
  98. checking for /kolab/bin/cc option to accept ISO C89... none needed
  99. checking for style of include used by make... GNU
  100. checking dependency style of /kolab/bin/cc... gcc3
  101. checking for a BSD-compatible install... /usr/bin/install -c
  102. checking for ranlib... ranlib
  103. checking for getconf... getconf
  104. checking for CFLAGS value to request large file support...
  105. checking for LDFLAGS value to request large file support...
  106. checking for LIBS value to request large file support...
  107. checking for _FILE_OFFSET_BITS... no
  108. checking for _LARGEFILE_SOURCE... no
  109. checking for _LARGE_FILES... no
  110. checking for function prototypes... yes
  111. checking how to run the C preprocessor... /kolab/bin/cc -E
  112. checking for grep that handles long lines and -e... grep
  113. checking for egrep... grep -E
  114. checking for ANSI C header files... yes
  115. checking for sys/types.h... yes
  116. checking for sys/stat.h... yes
  117. checking for stdlib.h... yes
  118. checking for string.h... yes
  119. checking for memory.h... yes
  120. checking for strings.h... yes
  121. checking for inttypes.h... yes
  122. checking for stdint.h... yes
  123. checking for unistd.h... yes
  124. checking for string.h... (cached) yes
  125. checking for size_t... yes
  126. checking for ssize_t... yes
  127. checking for an ANSI C-conforming const... yes
  128. checking for inttypes.h... yes
  129. checking for unsigned long long... yes
  130. checking for ANSI C header files... (cached) yes
  131. checking for string.h... (cached) yes
  132. checking for stdlib.h... (cached) yes
  133. checking sys/param.h usability... yes
  134. checking sys/param.h presence... yes
  135. checking for sys/param.h... yes
  136. checking for memory.h... (cached) yes
  137. checking for unistd.h... (cached) yes
  138. checking for libintl.h... (cached) no
  139. checking wctype.h usability... yes
  140. checking wctype.h presence... yes
  141. checking for wctype.h... yes
  142. checking wchar.h usability... yes
  143. checking wchar.h presence... yes
  144. checking for wchar.h... yes
  145. checking for dirent.h that defines DIR... yes
  146. checking for library containing opendir... none required
  147. checking whether stat file-mode macros are broken... no
  148. checking for working alloca.h... yes
  149. checking for alloca... yes
  150. checking whether closedir returns void... no
  151. checking for stdlib.h... (cached) yes
  152. checking for unistd.h... (cached) yes
  153. checking for getpagesize... yes
  154. checking for working mmap... yes
  155. checking for btowc... yes
  156. checking for isascii... yes
  157. checking for iswctype... yes
  158. checking for mbrlen... yes
  159. checking for memmove... yes
  160. checking for setmode... no
  161. checking for strerror... yes
  162. checking for wcrtomb... yes
  163. checking for wcscoll... yes
  164. checking for wctype... yes
  165. checking whether mbrtowc and mbstate_t are properly declared... yes
  166. checking for stdlib.h... (cached) yes
  167. checking for mbstate_t... yes
  168. checking for memchr... yes
  169. checking for stpcpy... yes
  170. checking for strtoul... yes
  171. checking for atexit... yes
  172. checking for fnmatch... yes
  173. checking for stdlib.h... (cached) yes
  174. checking whether <inttypes.h> defines strtoumax as a macro... no
  175. checking for strtoumax... yes
  176. checking whether strtoul is declared... yes
  177. checking whether strtoull is declared... yes
  178. checking for strerror in -lcposix... no
  179. checking for inline... inline
  180. checking for off_t... yes
  181. checking whether we are using the GNU C Library 2.1 or newer... yes
  182. checking argz.h usability... yes
  183. checking argz.h presence... yes
  184. checking for argz.h... yes
  185. checking limits.h usability... yes
  186. checking limits.h presence... yes
  187. checking for limits.h... yes
  188. checking locale.h usability... yes
  189. checking locale.h presence... yes
  190. checking for locale.h... yes
  191. checking nl_types.h usability... yes
  192. checking nl_types.h presence... yes
  193. checking for nl_types.h... yes
  194. checking malloc.h usability... yes
  195. checking malloc.h presence... yes
  196. checking for malloc.h... yes
  197. checking stddef.h usability... yes
  198. checking stddef.h presence... yes
  199. checking for stddef.h... yes
  200. checking for stdlib.h... (cached) yes
  201. checking for string.h... (cached) yes
  202. checking for unistd.h... (cached) yes
  203. checking for sys/param.h... (cached) yes
  204. checking for feof_unlocked... yes
  205. checking for fgets_unlocked... yes
  206. checking for getcwd... yes
  207. checking for getegid... yes
  208. checking for geteuid... yes
  209. checking for getgid... yes
  210. checking for getuid... yes
  211. checking for mempcpy... yes
  212. checking for munmap... yes
  213. checking for putenv... yes
  214. checking for setenv... yes
  215. checking for setlocale... yes
  216. checking for stpcpy... (cached) yes
  217. checking for strchr... yes
  218. checking for strcasecmp... yes
  219. checking for strdup... yes
  220. checking for strtoul... (cached) yes
  221. checking for tsearch... yes
  222. checking for __argz_count... yes
  223. checking for __argz_stringify... yes
  224. checking for __argz_next... yes
  225. checking for iconv... yes
  226. checking for iconv declaration...
  227.          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  228. checking for nl_langinfo and CODESET... yes
  229. checking for LC_MESSAGES... yes
  230. checking whether NLS is requested... no
  231. checking for bison... true
  232. checking version of bison... v. ?.??, bad
  233. checking for dos file convention... no
  234. checking host system type... (cached) x86_64-unknown-linux-gnu
  235. checking host system type... (cached) x86_64-unknown-linux-gnu
  236. checking for DJGPP environment... no
  237. checking for environ variable separator... :
  238. checking for working re_compile_pattern... yes
  239. checking for getopt_long... yes
  240. configure: WARNING: Included lib/regex.c not used
  241. checking whether strerror_r is declared... yes
  242. checking for strerror_r... yes
  243. checking whether strerror_r returns char *... no
  244. checking for strerror... (cached) yes
  245. checking for strerror_r... (cached) yes
  246. checking for vprintf... yes
  247. checking for doprnt... no
  248. checking for ANSI C header files... (cached) yes
  249. checking for working malloc... yes
  250. checking for working realloc... yes
  251. checking for pcre_exec in -lpcre... yes
  252. configure: updating cache ./config.cache
  253. configure: creating ./config.status
  254. config.status: creating Makefile
  255. config.status: creating lib/Makefile
  256. config.status: creating lib/posix/Makefile
  257. config.status: creating src/Makefile
  258. config.status: creating tests/Makefile
  259. config.status: creating po/Makefile.in
  260. config.status: creating intl/Makefile
  261. config.status: WARNING:  intl/Makefile.in seems to ignore the --datarootdir setting
  262. config.status: creating doc/Makefile
  263. config.status: creating m4/Makefile
  264. config.status: creating vms/Makefile
  265. config.status: creating bootstrap/Makefile
  266. config.status: creating config.h
  267. config.status: executing depfiles commands
  268. config.status: executing default-1 commands
  269. config.status: creating po/POTFILES
  270. config.status: creating po/Makefile
  271. config.status: executing default commands
  272. + /kolab/bin/make --no-print-directory -j8
  273. /kolab/bin/make  all-recursive
  274. Making all in intl
  275. make[2]: Nothing to be done for `all'.
  276. Making all in po
  277. make[2]: Nothing to be done for `all'.
  278. Making all in lib
  279. Making all in posix
  280. make[3]: Nothing to be done for `all'.
  281. /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
  282. /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
  283. /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
  284. /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
  285. /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
  286. /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
  287. /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
  288. mv -f .deps/closeout.Tpo .deps/closeout.Po
  289. mv -f .deps/error.Tpo .deps/error.Po
  290. mv -f .deps/exclude.Tpo .deps/exclude.Po
  291. /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
  292. /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
  293. mv -f .deps/hard-locale.Tpo .deps/hard-locale.Po
  294. mv -f .deps/isdir.Tpo .deps/isdir.Po
  295. mv -f .deps/obstack.Tpo .deps/obstack.Po
  296. /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
  297. /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
  298. mv -f .deps/quotearg.Tpo .deps/quotearg.Po
  299. mv -f .deps/savedir.Tpo .deps/savedir.Po
  300. mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po
  301. mv -f .deps/xstrtol.Tpo .deps/xstrtol.Po
  302. mv -f .deps/xstrtoumax.Tpo .deps/xstrtoumax.Po
  303. rm -f libgreputils.a
  304. 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
  305. ranlib libgreputils.a
  306. Making all in doc
  307. inst=`echo "grep" | sed 's,x,x,'`.1; \
  308. sed -e "s%@grep@%$inst%g" ./fgrep.man > fgrep.1
  309. inst=`echo "grep" | sed 's,x,x,'`.1; \
  310. sed -e "s%@grep@%$inst%g" ./egrep.man > egrep.1
  311. Updating ./version.texi
  312. restore=: && backupdir=".am$$" && \
  313.         am__cwd=`pwd` && cd . && \
  314.         rm -rf $backupdir && mkdir $backupdir && \
  315.         if (/kolab/bin/makeinfo --version) >/dev/null 2>&1; then \
  316.           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 \
  317.             if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  318.           done; \
  319.         else :; fi && \
  320.         cd "$am__cwd"; \
  321.         if /kolab/bin/makeinfo   -I . \
  322.          -o grep.info grep.texi; \
  323.         then \
  324.           rc=0; \
  325.           cd .; \
  326.         else \
  327.           rc=$?; \
  328.           cd . && \
  329.           $restore $backupdir/* `echo "./grep.info" | sed 's|[^/]*$||'`; \
  330.         fi; \
  331.         rm -rf $backupdir; exit $rc
  332. Making all in src
  333. /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
  334. /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
  335. /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
  336. /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
  337. /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
  338. /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
  339. grep.c: In function 'print_filename':
  340. grep.c:689: warning: incompatible implicit declaration of built-in function 'printf'
  341. grep.c:690: error: 'stdout' undeclared (first use in this function)
  342. grep.c:690: error: (Each undeclared identifier is reported only once
  343. grep.c:690: error: for each function it appears in.)
  344. grep.c:691: warning: incompatible implicit declaration of built-in function 'printf'
  345. grep.c: In function 'print_sep':
  346. grep.c:698: warning: incompatible implicit declaration of built-in function 'printf'
  347. grep.c:699: error: 'stdout' undeclared (first use in this function)
  348. grep.c:700: warning: incompatible implicit declaration of built-in function 'printf'
  349. grep.c: In function 'print_offset':
  350. grep.c:725: warning: incompatible implicit declaration of built-in function 'printf'
  351. grep.c:726: warning: incompatible implicit declaration of built-in function 'fwrite'
  352. grep.c:726: error: 'stdout' undeclared (first use in this function)
  353. grep.c:727: warning: incompatible implicit declaration of built-in function 'printf'
  354. grep.c: In function 'print_line_head':
  355. grep.c:742: error: 'stdout' undeclared (first use in this function)
  356. grep.c: In function 'print_line_middle':
  357. grep.c:839: warning: incompatible implicit declaration of built-in function 'printf'
  358. grep.c:845: warning: incompatible implicit declaration of built-in function 'fwrite'
  359. grep.c:845: error: 'stdout' undeclared (first use in this function)
  360. grep.c:848: warning: incompatible implicit declaration of built-in function 'printf'
  361. grep.c:849: warning: incompatible implicit declaration of built-in function 'fwrite'
  362. grep.c:850: warning: incompatible implicit declaration of built-in function 'printf'
  363. grep.c: In function 'print_line_tail':
  364. grep.c:880: warning: incompatible implicit declaration of built-in function 'printf'
  365. grep.c:881: warning: incompatible implicit declaration of built-in function 'fwrite'
  366. grep.c:881: error: 'stdout' undeclared (first use in this function)
  367. grep.c:883: warning: incompatible implicit declaration of built-in function 'printf'
  368. grep.c: In function 'prline':
  369. grep.c:924: warning: incompatible implicit declaration of built-in function 'fwrite'
  370. grep.c:924: error: 'stdout' undeclared (first use in this function)
  371. grep.c: In function 'prtext':
  372. grep.c:987: warning: incompatible implicit declaration of built-in function 'printf'
  373. grep.c:988: error: 'stdout' undeclared (first use in this function)
  374. grep.c:989: warning: incompatible implicit declaration of built-in function 'printf'
  375. grep.c: In function 'grep':
  376. grep.c:1209: warning: incompatible implicit declaration of built-in function 'printf'
  377. grep.c: In function 'grepfile':
  378. grep.c:1303: error: 'stdout' undeclared (first use in this function)
  379. grep.c:1305: warning: incompatible implicit declaration of built-in function 'printf'
  380. grep.c: In function 'usage':
  381. grep.c:1404: warning: incompatible implicit declaration of built-in function 'fprintf'
  382. grep.c:1404: error: 'stderr' undeclared (first use in this function)
  383. grep.c:1411: warning: incompatible implicit declaration of built-in function 'printf'
  384. In file included from ../lib/regex.h:2,
  385.                  from search.c:37:
  386. ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined
  387. In file included from /usr/include/sys/cdefs.h:8,
  388.                  from /usr/include/gentoo-multilib/amd64/features.h:330,
  389.                  from /usr/include/features.h:8,
  390.                  from /usr/include/gentoo-multilib/amd64/sys/types.h:27,
  391.                  from /usr/include/sys/types.h:8,
  392.                  from search.c:25:
  393. /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition
  394. search.c: In function 'check_multibyte_string':
  395. search.c:169: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type
  396. In file included from egrep.c:2:
  397. grep.c: In function 'print_filename':
  398. grep.c:689: warning: incompatible implicit declaration of built-in function 'printf'
  399. grep.c:690: error: 'stdout' undeclared (first use in this function)
  400. grep.c:690: error: (Each undeclared identifier is reported only once
  401. grep.c:690: error: for each function it appears in.)
  402. grep.c:691: warning: incompatible implicit declaration of built-in function 'printf'
  403. grep.c: In function 'print_sep':
  404. grep.c:698: warning: incompatible implicit declaration of built-in function 'printf'
  405. grep.c:699: error: 'stdout' undeclared (first use in this function)
  406. grep.c:700: warning: incompatible implicit declaration of built-in function 'printf'
  407. grep.c: In function 'print_offset':
  408. grep.c:725: warning: incompatible implicit declaration of built-in function 'printf'
  409. grep.c:726: warning: incompatible implicit declaration of built-in function 'fwrite'
  410. grep.c:726: error: 'stdout' undeclared (first use in this function)
  411. grep.c:727: warning: incompatible implicit declaration of built-in function 'printf'
  412. grep.c: In function 'print_line_head':
  413. grep.c:742: error: 'stdout' undeclared (first use in this function)
  414. grep.c: In function 'print_line_middle':
  415. grep.c:839: warning: incompatible implicit declaration of built-in function 'printf'
  416. grep.c:845: warning: incompatible implicit declaration of built-in function 'fwrite'
  417. grep.c:845: error: 'stdout' undeclared (first use in this function)
  418. grep.c:848: warning: incompatible implicit declaration of built-in function 'printf'
  419. grep.c:849: warning: incompatible implicit declaration of built-in function 'fwrite'
  420. grep.c:850: warning: incompatible implicit declaration of built-in function 'printf'
  421. grep.c: In function 'print_line_tail':
  422. grep.c:880: warning: incompatible implicit declaration of built-in function 'printf'
  423. grep.c:881: warning: incompatible implicit declaration of built-in function 'fwrite'
  424. grep.c:881: error: 'stdout' undeclared (first use in this function)
  425. grep.c:883: warning: incompatible implicit declaration of built-in function 'printf'
  426. grep.c: In function 'prline':
  427. grep.c:924: warning: incompatible implicit declaration of built-in function 'fwrite'
  428. grep.c:924: error: 'stdout' undeclared (first use in this function)
  429. grep.c: In function 'prtext':
  430. grep.c:987: warning: incompatible implicit declaration of built-in function 'printf'
  431. grep.c:988: error: 'stdout' undeclared (first use in this function)
  432. grep.c:989: warning: incompatible implicit declaration of built-in function 'printf'
  433. grep.c: In function 'grep':
  434. grep.c:1209: warning: incompatible implicit declaration of built-in function 'printf'
  435. grep.c: In function 'grepfile':
  436. grep.c:1303: error: 'stdout' undeclared (first use in this function)
  437. grep.c:1305: warning: incompatible implicit declaration of built-in function 'printf'
  438. grep.c: In function 'usage':
  439. grep.c:1404: warning: incompatible implicit declaration of built-in function 'fprintf'
  440. grep.c:1404: error: 'stderr' undeclared (first use in this function)
  441. grep.c:1411: warning: incompatible implicit declaration of built-in function 'printf'
  442. grep.c: In function 'main':
  443. grep.c:1825: error: 'FILE' undeclared (first use in this function)
  444. grep.c:1825: error: 'fp' undeclared (first use in this function)
  445. grep.c:1968: error: 'stdin' undeclared (first use in this function)
  446. grep.c:2181: warning: incompatible implicit declaration of built-in function 'printf'
  447. grep.c: In function 'main':
  448. grep.c:1825: error: 'FILE' undeclared (first use in this function)
  449. grep.c:1825: error: 'fp' undeclared (first use in this function)
  450. grep.c:1968: error: 'stdin' undeclared (first use in this function)
  451. grep.c:2181: warning: incompatible implicit declaration of built-in function 'printf'
  452. make[2]: *** [grep.o] Error 1
  453. make[2]: *** Waiting for unfinished jobs....
  454. make[2]: *** [egrep.o] Error 1
  455. mv -f .deps/search.Tpo .deps/search.Po
  456. In file included from ../lib/regex.h:2,
  457.                  from dfa.c:122:
  458. ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined
  459. In file included from /usr/include/sys/cdefs.h:8,
  460.                  from /usr/include/gentoo-multilib/amd64/features.h:330,
  461.                  from /usr/include/features.h:8,
  462.                  from /usr/include/gentoo-multilib/amd64/assert.h:37,
  463.                  from /usr/include/assert.h:8,
  464.                  from dfa.c:26:
  465. /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition
  466. mv -f .deps/kwset.Tpo .deps/kwset.Po
  467. In file included from ../lib/regex.h:2,
  468.                  from search.c:37,
  469.                  from esearch.c:2:
  470. ../lib/posix/regex.h:536:1: warning: "__restrict_arr" redefined
  471. In file included from /usr/include/sys/cdefs.h:8,
  472.                  from /usr/include/gentoo-multilib/amd64/features.h:330,
  473.                  from /usr/include/features.h:8,
  474.                  from /usr/include/gentoo-multilib/amd64/sys/types.h:27,
  475.                  from /usr/include/sys/types.h:8,
  476.                  from search.c:25,
  477.                  from esearch.c:2:
  478. /usr/include/gentoo-multilib/amd64/sys/cdefs.h:334:1: warning: this is the location of the previous definition
  479. In file included from esearch.c:2:
  480. search.c: In function 'check_multibyte_string':
  481. search.c:169: warning: passing argument 1 of 'wcrtomb' discards qualifiers from pointer target type
  482. mv -f .deps/esearch.Tpo .deps/esearch.Po
  483. mv -f .deps/dfa.Tpo .deps/dfa.Po
  484. make[1]: *** [all-recursive] Error 1
  485. make: *** [all] Error 2
  486. error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.26013 (%build)
  487.  
  488.  
  489. RPM build errors:
  490.     Bad exit status from /kolab/RPM/TMP/rpm-tmp.26013 (%build)
  491. juan@jcferrer ~/kolab $                                                  
View raw paste Reply