Guest User

cronolog make error

a guest
Jan 24th, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.19 KB | None | 0 0
  1. narsic /tmp/cronolog $ makepkg
  2. ==> Making package: cronolog 1.6.2-4 (Fri Jan 24 16:55:39 IRST 2014)
  3. ==> Checking runtime dependencies...
  4. ==> Checking buildtime dependencies...
  5. ==> Retrieving sources...
  6.   -> Found cronolog-1.6.2.tar.gz
  7. ==> Validating source files with md5sums...
  8.     cronolog-1.6.2.tar.gz ... Passed
  9. ==> Extracting sources...
  10.   -> Extracting cronolog-1.6.2.tar.gz with bsdtar
  11. ==> Removing existing pkg/ directory...
  12. ==> Starting build()...
  13. creating cache ./config.cache
  14. checking for a BSD compatible install... /usr/bin/install -c
  15. checking whether build environment is sane... yes
  16. checking whether make sets ${MAKE}... yes
  17. checking for working aclocal... found
  18. checking for working autoconf... found
  19. checking for working automake... found
  20. checking for working autoheader... found
  21. checking for working makeinfo... found
  22. checking for gcc... gcc
  23. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) works... yes
  24. checking whether the C compiler (gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro) is a cross-compiler... no
  25. checking whether we are using GNU C... yes
  26. checking whether gcc accepts -g... yes
  27. checking for a BSD compatible install... /usr/bin/install -c
  28. checking whether ln -s works... yes
  29. checking for ranlib... ranlib
  30. checking for perl... /usr/bin/perl
  31. checking how to run the C preprocessor... /lib/cpp
  32. checking for ANSI C header files... no
  33. checking whether stat file-mode macros are broken... no
  34. checking whether time.h and sys/time.h may both be included... yes
  35. checking whether struct tm is in sys/time.h or time.h... time.h
  36. checking for tm_zone in struct tm... yes
  37. checking for fcntl.h... no
  38. checking for limits.h... no
  39. checking for unistd.h... no
  40. checking for working const... yes
  41. checking for size_t... no
  42. checking whether struct tm is in sys/time.h or time.h... (cached) time.h
  43. checking for strftime... yes
  44. checking for vprintf... yes
  45. checking for mkdir... yes
  46. checking for mktime... yes
  47. checking for putenv... yes
  48. checking for strptime... yes
  49. checking for localtime_r... yes
  50. updating cache ./config.cache
  51. creating ./config.status
  52. creating Makefile
  53. creating lib/Makefile
  54. creating src/Makefile
  55. creating doc/Makefile
  56. creating testsuite/Makefile
  57. creating src/cronosplit
  58. Making all in lib
  59. make[1]: Entering directory '/tmp/cronolog/src/cronolog-1.6.2/lib'
  60. gcc -DPACKAGE=\"cronolog\" -DVERSION=\"1.6.2\" -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -Dsize_t=unsigned -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_STRPTIME=1 -DHAVE_LOCALTIME_R=1  -I. -I.    -D_FORTIFY_SOURCE=2  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -c getopt.c
  61. <command-line>:0:8: error: duplicate 'unsigned'
  62. Makefile:122: recipe for target 'getopt.o' failed
  63. make[1]: *** [getopt.o] Error 1
  64. make[1]: Leaving directory '/tmp/cronolog/src/cronolog-1.6.2/lib'
  65. Makefile:114: recipe for target 'all-recursive' failed
  66. make: *** [all-recursive] Error 1
  67. ==> ERROR: A failure occurred in build().
  68.     Aborting...
  69. narsic /tmp/cronolog $
Advertisement
Add Comment
Please, Sign In to add comment