Want more features on Pastebin? Sign Up, it's FREE!
Guest

XHProf fails to build on Arch,

By: a guest on May 11th, 2012  |  syntax: Bash  |  size: 9.00 KB  |  views: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print  |  QR code  |  clone
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ➜  Gignite-v2 git:(develop) ✗ yaourt -S php-xhprof
  2.  
  3. ==> Downloading php-xhprof PKGBUILD from AUR...
  4. x PKGBUILD
  5. x php-xhprof.install
  6.  
  7.  
  8. First Submitted: Thu, 01 Apr 2010 02:21:02 +0000       
  9. php-xhprof 0.9.2-1
  10. This package is orphaned
  11. ( Unsupported package: Potentially dangerous ! )
  12. ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
  13. ==> ------------------------------------
  14. ==> y
  15.  
  16. ==> php-xhprof dependencies:
  17.  - php (already installed)
  18.  
  19.  
  20. ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
  21. ==> ------------------------------------
  22. ==> n
  23.  
  24. ==> Edit php-xhprof.install ? [Y/n] ("A" to abort)
  25. ==> ----------------------------------------------
  26. ==> n
  27.  
  28. ==> Continue building php-xhprof ? [Y/n]
  29. ==> ------------------------------------
  30. ==>
  31. ==> Building and installing package
  32. ==> Making package: php-xhprof 0.9.2-1 (Fri May 11 09:01:12 BST 2012)
  33. ==> Checking runtime dependencies...
  34. ==> Checking buildtime dependencies...
  35. ==> Retrieving Sources...
  36.   -> Downloading xhprof-0.9.2.tgz...
  37.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  38.                                  Dload  Upload   Total   Spent    Left  Speed
  39. 100  909k  100  909k    0     0   207k      0  0:00:04  0:00:04 --:--:--  214k
  40. ==> Validating source files with md5sums...
  41.     xhprof-0.9.2.tgz ... Passed
  42. ==> Extracting Sources...
  43.   -> Extracting xhprof-0.9.2.tgz with bsdtar
  44. ==> Entering fakeroot environment...
  45. ==> Starting build()...
  46. Configuring for:
  47. PHP Api Version:         20100412
  48. Zend Module Api No:      20100525
  49. Zend Extension Api No:   220100525
  50. checking for grep that handles long lines and -e... /usr/bin/grep
  51. checking for egrep... /usr/bin/grep -E
  52. checking for a sed that does not truncate output... /bin/sed
  53. checking for cc... cc
  54. checking whether the C compiler works... yes
  55. checking for C compiler default output file name... a.out
  56. checking for suffix of executables...
  57. checking whether we are cross compiling... no
  58. checking for suffix of object files... o
  59. checking whether we are using the GNU C compiler... yes
  60. checking whether cc accepts -g... yes
  61. checking for cc option to accept ISO C89... none needed
  62. checking how to run the C preprocessor... cc -E
  63. checking for icc... no
  64. checking for suncc... no
  65. checking whether cc understands -c and -o together... yes
  66. checking for system library directory... lib
  67. checking if compiler supports -R... no
  68. checking if compiler supports -Wl,-rpath,... yes
  69. checking build system type... x86_64-unknown-linux-gnu
  70. checking host system type... x86_64-unknown-linux-gnu
  71. checking target system type... x86_64-unknown-linux-gnu
  72. checking for PHP prefix... /usr
  73. checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib
  74. checking for PHP extension directory... /usr/lib/php/modules
  75. checking for PHP installed headers prefix... /usr/include/php
  76. checking if debug is enabled... no
  77. checking if zts is enabled... no
  78. checking for re2c... no
  79. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  80. checking for gawk... gawk
  81. checking whether to enable xhprof support... yes, shared
  82. checking for ld used by cc... /usr/bin/ld
  83. checking if the linker (/usr/bin/ld) is GNU ld... yes
  84. checking for /usr/bin/ld option to reload object files... -r
  85. checking for BSD-compatible nm... /usr/bin/nm -B
  86. checking whether ln -s works... yes
  87. checking how to recognize dependent libraries... pass_all
  88. checking for ANSI C header files... yes
  89. checking for sys/types.h... yes
  90. checking for sys/stat.h... yes
  91. checking for stdlib.h... yes
  92. checking for string.h... yes
  93. checking for memory.h... yes
  94. checking for strings.h... yes
  95. checking for inttypes.h... yes
  96. checking for stdint.h... yes
  97. checking for unistd.h... yes
  98. checking dlfcn.h usability... yes
  99. checking dlfcn.h presence... yes
  100. checking for dlfcn.h... yes
  101. checking the maximum length of command line arguments... 1572864
  102. checking command to parse /usr/bin/nm -B output from cc object... ok
  103. checking for objdir... .libs
  104. checking for ar... ar
  105. checking for ranlib... ranlib
  106. checking for strip... strip
  107. checking if cc supports -fno-rtti -fno-exceptions... no
  108. checking for cc option to produce PIC... -fPIC
  109. checking if cc PIC flag -fPIC works... yes
  110. checking if cc static flag -static works... yes
  111. checking if cc supports -c -o file.o... yes
  112. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  113. checking whether -lc should be explicitly linked in... no
  114. checking dynamic linker characteristics... GNU/Linux ld.so
  115. checking how to hardcode library paths into programs... immediate
  116. checking whether stripping libraries is possible... yes
  117. checking if libtool supports shared libraries... yes
  118. checking whether to build shared libraries... yes
  119. checking whether to build static libraries... no
  120.  
  121. creating libtool
  122. appending configuration tag "CXX" to libtool
  123. configure: creating ./config.status
  124. config.status: creating config.h
  125. /bin/sh /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/libtool --mode=compile cc  -I. -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension -DPHP_ATOM_INC -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/include -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/main -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2   -c /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c -o xhprof.lo
  126. mkdir .libs
  127.  cc -I. -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension -DPHP_ATOM_INC -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/include -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/main -I/tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -c /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c  -fPIC -DPIC -o .libs/xhprof.o
  128. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:236:1: warning: ‘visibility’ attribute ignored [-Wattributes]
  129. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:240:28: warning: ‘visibility’ attribute ignored [-Wattributes]
  130. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c: In function ‘hp_get_function_name’:
  131. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:898:10: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  132. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:909:13: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  133. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:911:13: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  134. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:930:34: error: ‘znode_op’ has no member named ‘u’
  135. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:963:9: warning: passing argument 1 of ‘hp_get_base_filename’ discards ‘const’ qualifier from pointer target type [enabled by default]
  136. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:856:14: note: expected ‘char *’ but argument is of type ‘const char *
  137. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c: In function ‘hp_execute_internal’:
  138. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:1650:24: error: ‘znode_op’ has no member named ‘u’
  139. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:1651:59: error: ‘struct <anonymous>’ has no member named ‘return_reference’
  140. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:1652:25: error: ‘znode_op’ has no member named ‘u’
  141. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c: In function ‘hp_compile_file’:
  142. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:1683:3: warning: passing argument 1 of ‘hp_get_base_filename’ discards ‘const’ qualifier from pointer target type [enabled by default]
  143. /tmp/yaourt-tmp-mathew/aur-php-xhprof/src/xhprof-0.9.2/extension/xhprof.c:856:14: note: expected ‘char *’ but argument is of type ‘const char *
  144. make: *** [xhprof.lo] Error 1
  145. ==> ERROR: A failure occurred in build().
  146.     Aborting...
  147. ==> ERROR: Makepkg was unable to build php-xhprof.
  148. ==> Restart building php-xhprof ? [y/N]
  149. ==> -----------------------------------
  150. ==>
clone this paste RAW Paste Data