1. * Package: dev-games/wfmath-0.3.11
  2. * Repository: gentoo
  3. * Maintainer: games@gentoo.org
  4. * USE: amd64 elibc_glibc kernel_linux multilib test userland_GNU
  5. * FEATURES: sandbox test userpriv usersandbox
  6. >>> Unpacking source...
  7. >>> Unpacking wfmath-0.3.11.tar.bz2 to /tmp/portage/dev-games/wfmath-0.3.11/work
  8. >>> Source unpacked in /tmp/portage/dev-games/wfmath-0.3.11/work
  9. >>> Preparing source in /tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11 ...
  10. >>> Source prepared.
  11. >>> Configuring source in /tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11 ...
  12. * econf: updating wfmath-0.3.11/config.guess with /usr/share/gnuconfig/config.guess
  13. * econf: updating wfmath-0.3.11/config.sub with /usr/share/gnuconfig/config.sub
  14. ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-static
  15. configure: loading site script /usr/share/config.site
  16. configure: loading site script /usr/share/crossdev/include/site/linux
  17. configure: loading site script /usr/share/crossdev/include/site/linux-gnu
  18. configure: loading site script /usr/share/crossdev/include/site/x86_64-linux-gnu
  19. checking build system type... x86_64-pc-linux-gnu
  20. checking host system type... x86_64-pc-linux-gnu
  21. checking for a BSD-compatible install... /usr/bin/install -c
  22. checking whether build environment is sane... yes
  23. checking for a thread-safe mkdir -p... /bin/mkdir -p
  24. checking for gawk... gawk
  25. checking whether make sets $(MAKE)... yes
  26. checking how to print strings... printf
  27. checking for style of include used by make... GNU
  28. checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
  29. checking whether the C compiler works... yes
  30. checking for C compiler default output file name... a.out
  31. checking for suffix of executables...
  32. checking whether we are cross compiling... no
  33. checking for suffix of object files... o
  34. checking whether we are using the GNU C compiler... yes
  35. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  36. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  37. checking dependency style of x86_64-pc-linux-gnu-gcc... none
  38. checking for a sed that does not truncate output... /bin/sed
  39. checking for grep that handles long lines and -e... /bin/grep
  40. checking for egrep... /bin/grep -E
  41. checking for fgrep... /bin/grep -F
  42. checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
  43. checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
  44. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  45. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  46. checking whether ln -s works... yes
  47. checking the maximum length of command line arguments... 1572864
  48. checking whether the shell understands some XSI constructs... yes
  49. checking whether the shell understands "+="... yes
  50. checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
  51. checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
  52. checking how to recognize dependent libraries... pass_all
  53. checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
  54. checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
  55. checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
  56. checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
  57. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
  58. checking for ANSI C header files... yes
  59. checking for sys/types.h... yes
  60. checking for sys/stat.h... yes
  61. checking for stdlib.h... yes
  62. checking for string.h... yes
  63. checking for memory.h... yes
  64. checking for strings.h... yes
  65. checking for inttypes.h... yes
  66. checking for stdint.h... yes
  67. checking for unistd.h... yes
  68. checking for dlfcn.h... yes
  69. checking for objdir... .libs
  70. checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
  71. checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
  72. checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
  73. checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
  74. checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
  75. checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
  76. checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
  77. checking whether -lc should be explicitly linked in... no
  78. checking dynamic linker characteristics... GNU/Linux ld.so
  79. checking how to hardcode library paths into programs... immediate
  80. checking whether stripping libraries is possible... yes
  81. checking if libtool supports shared libraries... yes
  82. checking whether to build shared libraries... yes
  83. checking whether to build static libraries... no
  84. checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
  85. checking whether we are using the GNU C++ compiler... yes
  86. checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
  87. checking dependency style of x86_64-pc-linux-gnu-g++... none
  88. checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
  89. checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
  90. checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
  91. checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
  92. checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
  93. checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
  94. checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
  95. checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
  96. checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
  97. checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
  98. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  99. checking how to hardcode library paths into programs... immediate
  100. configure: Ignore the Atlas checks, they're just used for building test code
  101. checking for fabsf... yes
  102. checking for x86_64-pc-linux-gnu-pkg-config... no
  103. checking for pkg-config... /usr/bin/pkg-config
  104. checking pkg-config is at least version 0.9.0... yes
  105. checking for ATLAS_0_6... yes
  106. checking sstream usability... yes
  107. checking sstream presence... yes
  108. checking for sstream... yes
  109. configure: creating ./config.status
  110. config.status: creating Makefile
  111. config.status: creating wfmath/Makefile
  112. config.status: creating atlas/Makefile
  113. config.status: creating doc/Makefile
  114. config.status: creating doc/Doxyfile
  115. config.status: creating wfmath.spec
  116. config.status: creating mingw32-wfmath.spec
  117. config.status: creating wfmath-0.3.pc
  118. config.status: creating config.h
  119. config.status: executing depfiles commands
  120. config.status: executing libtool commands
  121. >>> Source configured.
  122. >>> Compiling source in /tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11 ...
  123. make -j24
  124. make all-recursive
  125. make[1]: Entering directory `/tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11'
  126. Making all in wfmath
  127. make[2]: Entering directory `/tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11/wfmath'
  128. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o const.lo const.cpp
  129. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o stream.lo stream.cpp
  130. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o int_to_string.lo int_to_string.cpp
  131. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o probability.lo probability.cpp
  132. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o timestamp.lo timestamp.cpp
  133. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o randgen.lo randgen.cpp
  134. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o rotmatrix.lo rotmatrix.cpp
  135. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o vector.lo vector.cpp
  136. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o point.lo point.cpp
  137. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o quaternion.lo quaternion.cpp
  138. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o polygon.lo polygon.cpp
  139. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o intersect.lo intersect.cpp
  140. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o axisbox.lo axisbox.cpp
  141. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o polygon_intersect.lo polygon_intersect.cpp
  142. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o ball.lo ball.cpp
  143. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o rotbox.lo rotbox.cpp
  144. /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c -o segment.lo segment.cpp
  145. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c const.cpp -fPIC -DPIC -o .libs/const.o
  146. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c stream.cpp -fPIC -DPIC -o .libs/stream.o
  147. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c rotmatrix.cpp -fPIC -DPIC -o .libs/rotmatrix.o
  148. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c int_to_string.cpp -fPIC -DPIC -o .libs/int_to_string.o
  149. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c timestamp.cpp -fPIC -DPIC -o .libs/timestamp.o
  150. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c probability.cpp -fPIC -DPIC -o .libs/probability.o
  151. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c randgen.cpp -fPIC -DPIC -o .libs/randgen.o
  152. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c vector.cpp -fPIC -DPIC -o .libs/vector.o
  153. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c polygon.cpp -fPIC -DPIC -o .libs/polygon.o
  154. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c polygon_intersect.cpp -fPIC -DPIC -o .libs/polygon_intersect.o
  155. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c quaternion.cpp -fPIC -DPIC -o .libs/quaternion.o
  156. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c axisbox.cpp -fPIC -DPIC -o .libs/axisbox.o
  157. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c intersect.cpp -fPIC -DPIC -o .libs/intersect.o
  158. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c rotbox.cpp -fPIC -DPIC -o .libs/rotbox.o
  159. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c point.cpp -fPIC -DPIC -o .libs/point.o
  160. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c ball.cpp -fPIC -DPIC -o .libs/ball.o
  161. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -Wall -DNDEBUG -c segment.cpp -fPIC -DPIC -o .libs/segment.o
  162. In file included from vector_funcs.h:33:0,
  163. from vector.cpp:30:
  164. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  165. vector.cpp:239:16: required from here
  166. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  167. In file included from /usr/include/math.h:70:0,
  168. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  169. from vector_funcs.h:36,
  170. from vector.cpp:30:
  171. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  172. In file included from vector_funcs.h:33:0,
  173. from vector.cpp:30:
  174. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 2; WFMath::CoordType = float]':
  175. vector.cpp:240:16: required from here
  176. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  177. In file included from /usr/include/math.h:70:0,
  178. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  179. from vector_funcs.h:36,
  180. from vector.cpp:30:
  181. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  182. In file included from quaternion.h:29:0,
  183. from quaternion.cpp:31:
  184. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  185. quaternion.cpp:207:33: required from here
  186. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  187. In file included from /usr/include/math.h:70:0,
  188. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  189. from quaternion.cpp:35:
  190. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  191. In file included from ball.cpp:30:0:
  192. ball_funcs.h: In instantiation of 'WFMath::Ball<dim> WFMath::BoundingSphere(const container<WFMath::Point<dim>, std::allocator<WFMath::Point<dim> > >&) [with int dim = 2; container = std::vector]':
  193. ball.cpp:69:83: required from here
  194. ball_funcs.h:96:52: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  195. In file included from /usr/include/math.h:70:0,
  196. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  197. from ball.cpp:35:
  198. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  199. In file included from axisbox_funcs.h:34:0,
  200. from axisbox.cpp:26:
  201. ../wfmath/point.h: In instantiation of 'WFMath::CoordType WFMath::Distance(const WFMath::Point<dim>&, const WFMath::Point<dim>&) [with int dim = 3; WFMath::CoordType = float]':
  202. axisbox_funcs.h:126:60: required from 'WFMath::Ball<dim> WFMath::AxisBox<dim>::boundingSphere() const [with int dim = 3]'
  203. axisbox.cpp:37:16: required from here
  204. ../wfmath/point.h:55:39: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  205. In file included from /usr/include/math.h:70:0,
  206. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  207. from axisbox.cpp:33:
  208. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  209. In file included from axisbox_funcs.h:34:0,
  210. from axisbox.cpp:26:
  211. ../wfmath/point.h: In instantiation of 'WFMath::CoordType WFMath::Distance(const WFMath::Point<dim>&, const WFMath::Point<dim>&) [with int dim = 2; WFMath::CoordType = float]':
  212. axisbox_funcs.h:126:60: required from 'WFMath::Ball<dim> WFMath::AxisBox<dim>::boundingSphere() const [with int dim = 2]'
  213. axisbox.cpp:38:16: required from here
  214. ../wfmath/point.h:55:39: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  215. In file included from /usr/include/math.h:70:0,
  216. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  217. from axisbox.cpp:33:
  218. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  219. make[2]: *** [quaternion.lo] Error 1
  220. make[2]: *** Waiting for unfinished jobs....
  221. make[2]: *** [vector.lo] Error 1
  222. In file included from ../wfmath/segment.h:29:0,
  223. from segment_funcs.h:29,
  224. from segment.cpp:30:
  225. ../wfmath/point.h: In instantiation of 'WFMath::CoordType WFMath::Distance(const WFMath::Point<dim>&, const WFMath::Point<dim>&) [with int dim = 2; WFMath::CoordType = float]':
  226. ../wfmath/segment.h:104:57: required from 'WFMath::Ball<dim> WFMath::Segment<dim>::boundingSphere() const [with int dim = 2]'
  227. segment.cpp:71:16: required from here
  228. ../wfmath/point.h:55:39: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  229. In file included from /usr/include/math.h:70:0,
  230. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  231. from segment.cpp:36:
  232. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  233. In file included from ../wfmath/segment.h:29:0,
  234. from segment_funcs.h:29,
  235. from segment.cpp:30:
  236. ../wfmath/point.h: In instantiation of 'WFMath::CoordType WFMath::Distance(const WFMath::Point<dim>&, const WFMath::Point<dim>&) [with int dim = 3; WFMath::CoordType = float]':
  237. ../wfmath/segment.h:104:57: required from 'WFMath::Ball<dim> WFMath::Segment<dim>::boundingSphere() const [with int dim = 3]'
  238. segment.cpp:72:16: required from here
  239. ../wfmath/point.h:55:39: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  240. In file included from /usr/include/math.h:70:0,
  241. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  242. from segment.cpp:36:
  243. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  244. make[2]: *** [axisbox.lo] Error 1
  245. In file included from rotbox_funcs.h:31:0,
  246. from rotbox.cpp:30:
  247. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 2; WFMath::CoordType = float]':
  248. ../wfmath/rotbox.h:130:50: required from 'WFMath::Ball<dim> WFMath::RotBox<dim>::boundingSphere() const [with int dim = 2]'
  249. rotbox.cpp:69:16: required from here
  250. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  251. make[2]: *** [ball.lo] Error 1
  252. In file included from /usr/include/math.h:70:0,
  253. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  254. from rotbox.cpp:34:
  255. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  256. In file included from rotbox_funcs.h:31:0,
  257. from rotbox.cpp:30:
  258. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  259. ../wfmath/rotbox.h:130:50: required from 'WFMath::Ball<dim> WFMath::RotBox<dim>::boundingSphere() const [with int dim = 3]'
  260. rotbox.cpp:70:16: required from here
  261. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  262. In file included from /usr/include/math.h:70:0,
  263. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  264. from rotbox.cpp:34:
  265. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  266. make[2]: *** [segment.lo] Error 1
  267. In file included from rotmatrix_funcs.h:31:0,
  268. from rotmatrix.cpp:26:
  269. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  270. rotmatrix.cpp:148:30: required from here
  271. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  272. In file included from /usr/include/math.h:70:0,
  273. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  274. from rotmatrix_funcs.h:35,
  275. from rotmatrix.cpp:26:
  276. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  277. In file included from intersect.cpp:26:0:
  278. intersect.h: In instantiation of 'bool WFMath::Contains(const WFMath::Ball<dim>&, const WFMath::AxisBox<dim>&, bool) [with int dim = 2]':
  279. intersect.cpp:70:66: required from here
  280. intersect.h:149:44: error: 'fabs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  281. In file included from /usr/include/math.h:70:0,
  282. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  283. from intersect.cpp:28:
  284. /usr/include/bits/mathcalls.h:182:1: note: 'double fabs(double)' declared here, later in the translation unit
  285. In file included from intersect.cpp:26:0:
  286. intersect.h:149:44: error: 'fabs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  287. In file included from /usr/include/math.h:70:0,
  288. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  289. from intersect.cpp:28:
  290. /usr/include/bits/mathcalls.h:182:1: note: 'double fabs(double)' declared here, later in the translation unit
  291. In file included from intersect.cpp:26:0:
  292. intersect.h: In instantiation of 'bool WFMath::Contains(const WFMath::Ball<dim>&, const WFMath::AxisBox<dim>&, bool) [with int dim = 3]':
  293. intersect.cpp:71:66: required from here
  294. intersect.h:149:44: error: 'fabs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  295. In file included from /usr/include/math.h:70:0,
  296. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  297. from intersect.cpp:28:
  298. /usr/include/bits/mathcalls.h:182:1: note: 'double fabs(double)' declared here, later in the translation unit
  299. In file included from intersect.cpp:26:0:
  300. intersect.h:149:44: error: 'fabs' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  301. In file included from /usr/include/math.h:70:0,
  302. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  303. from intersect.cpp:28:
  304. /usr/include/bits/mathcalls.h:182:1: note: 'double fabs(double)' declared here, later in the translation unit
  305. make[2]: *** [rotbox.lo] Error 1
  306. make[2]: *** [rotmatrix.lo] Error 1
  307. In file included from ../wfmath/polygon.h:31:0,
  308. from polygon_funcs.h:29,
  309. from polygon.cpp:26:
  310. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  311. polygon_funcs.h:116:7: required from 'bool WFMath::_Poly2Orient<dim>::expand(const WFMath::Point<dim>&, WFMath::Point<2>&, double) [with int dim = 3]'
  312. polygon_funcs.h:323:45: required from 'bool WFMath::Polygon<dim>::addCorner(int, const WFMath::Point<dim>&, double) [with int dim = 3]'
  313. polygon.cpp:184:16: required from here
  314. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  315. In file included from /usr/include/math.h:70:0,
  316. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  317. from polygon_funcs.h:35,
  318. from polygon.cpp:26:
  319. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  320. make[2]: *** [intersect.lo] Error 1
  321. make[2]: *** [polygon.lo] Error 1
  322. polygon_intersect.cpp: In member function 'bool WFMath::_Poly2Orient<dim>::checkIntersectPlane(const WFMath::AxisBox<dim>&, WFMath::Point<2>&, bool) const [with int dim = 3]':
  323. polygon_intersect.cpp:85:5: warning: variable 'axis_direction' set but not used [-Wunused-but-set-variable]
  324. In file included from ../wfmath/polygon.h:31:0,
  325. from polygon_intersect.h:32,
  326. from polygon_intersect.cpp:26:
  327. ../wfmath/vector.h: In instantiation of 'WFMath::CoordType WFMath::Vector<dim>::mag() const [with int dim = 3; WFMath::CoordType = float]':
  328. polygon_intersect.cpp:124:58: required from here
  329. ../wfmath/vector.h:214:59: error: 'sqrt' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
  330. In file included from /usr/include/math.h:70:0,
  331. from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.1/include/g++-v4/cmath:46,
  332. from polygon_intersect.h:36,
  333. from polygon_intersect.cpp:26:
  334. /usr/include/bits/mathcalls.h:157:1: note: 'double sqrt(double)' declared here, later in the translation unit
  335. make[2]: *** [polygon_intersect.lo] Error 1
  336. In file included from point_funcs.h:30:0,
  337. from point.cpp:26:
  338. ../wfmath/point.h: In member function 'WFMath::CoordType WFMath::Point<dim>::z() const [with int dim = 2; WFMath::CoordType = float]':
  339. ../wfmath/point.h:244:39: warning: array subscript is above array bounds [-Warray-bounds]
  340. make[2]: Leaving directory `/tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11/wfmath'
  341. make[1]: *** [all-recursive] Error 1
  342. make[1]: Leaving directory `/tmp/portage/dev-games/wfmath-0.3.11/work/wfmath-0.3.11'
  343. make: *** [all] Error 2
  344. emake failed
  345. * ERROR: dev-games/wfmath-0.3.11 failed (compile phase):
  346. * emake failed
  347. *
  348. * Call stack:
  349. * ebuild.sh, line 85: Called src_compile
  350. * environment, line 357: Called die
  351. * The specific snippet of code:
  352. * emake || die "emake failed";
  353. *
  354. * If you need support, post the output of `emerge --info '=dev-games/wfmath-0.3.11'`,
  355. * the complete build log and the output of `emerge -pqv '=dev-games/wfmath-0.3.11'`.
  356. sed: couldn't open temporary file /etc/portage/package.mask/sed8XM6wd: Permission denied