Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 15:56:41 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [REL - 10i386-default][science/InsightToolkit] Failed for InsightToolkit-2.8.1_2 in build
Message-ID:  <201404041556.s34FufRI033913@beefy1.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Last committer: amdmi3@FreeBSD.org
Ident:          $FreeBSD: head/science/InsightToolkit/Makefile 337108 2013-12-21 00:28:51Z amdmi3 $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-04-04_09h32m25s/logs/InsightToolkit-2.8.1_2.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-04-04_09h32m25s
Log:

====>> Building science/InsightToolkit
build started at Fri Apr  4 15:43:30 UTC 2014
port directory: /usr/ports/science/InsightToolkit
building for: FreeBSD 10i386-default-job-08 10.0-RELEASE FreeBSD 10.0-RELEASE i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/science/InsightToolkit/Makefile 337108 2013-12-21 00:28:51Z amdmi3 $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE
UNAME_r=10.0-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref
PKG_EXT=txz
tpid=11045
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=InsightToolkit-2.8.1_2
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=10i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for InsightToolkit-2.8.1_2:
     EXAMPLES=on: Build examples (very time consuming)
     TESTING=off: Build testing programs (very time consuming)
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/InsightToolkit
DOCSDIR=/usr/local/share/doc/InsightToolkit
EXAMPLESDIR=/usr/local/share/examples/InsightToolkit
WWWDIR=/usr/local/www/InsightToolkit
ETCDIR=/usr/local/etc/InsightToolkit
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for InsightToolkit-2.8.1_2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   InsightToolkit-2.8.1_2 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.7_1.txz
Installing pkg-1.2.7_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of InsightToolkit-2.8.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by InsightToolkit-2.8.1_2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by InsightToolkit-2.8.1_2 for building
=> SHA256 Checksum OK for InsightToolkit-2.8.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by InsightToolkit-2.8.1_2 for building
===>  Extracting for InsightToolkit-2.8.1_2
=> SHA256 Checksum OK for InsightToolkit-2.8.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for InsightToolkit-2.8.1_2
===>  Applying FreeBSD patches for InsightToolkit-2.8.1_2
===========================================================================
=======================<phase: build-depends  >============================
===>   InsightToolkit-2.8.1_2 depends on file: /usr/local/bin/cmake - not found
===>    Verifying install for /usr/local/bin/cmake in /usr/ports/devel/cmake
===>   Installing existing package /packages/All/cmake-2.8.12.1_4.txz
Installing cmake-2.8.12.1_4...Installing cmake-modules-2.8.12.1_1... done
 done
===>   Returning to build of InsightToolkit-2.8.1_2
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for InsightToolkit-2.8.1_2
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/config/cmake/DSPTemplates/mex/configure
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1
-- The C compiler identification is Clang 3.3.0
-- The CXX compiler identification is Clang 3.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of void*
-- Check size of void* - done
-- Check size of char
-- Check size of char - done
-- Check size of short
-- Check size of short - done
-- Check size of float
-- Check size of float - done
-- Check size of double
-- Check size of double - done
-- Looking for limits.h
-- Looking for limits.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for include files sys/types.h, sys/prctl.h
-- Looking for include files sys/types.h, sys/prctl.h - not found
-- Check if the system is big endian
-- Searching 16 bit integer
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found Threads: TRUE  
-- Looking for C++ include iostream
-- Looking for C++ include iostream - found
-- Check for STD namespace
-- Check for STD namespace - found
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Check for sstream
-- Check for sstream - found
CMake Warning (dev) at CMakeLists.txt:109 (LINK_DIRECTORIES):
  This command specifies the relative path

    .

  as a link directory.

  Policy CMP0015 is not set: link_directories() treats paths relative to the
  source dir.  Run "cmake --help-policy CMP0015" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Check if using the Intel icc compiler, and if -i_dynamic is needed... COMPILE_RESULT...TRUE RUN_RESULT...NO_ICC_IDYNAMIC_NEEDED

-- -i_dynamic not needed, (Not Intel icc, or this version of Intel icc does not conflict with OS glibc.
<snip>
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImage.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageBase.h:25:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageRegion.h:27:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkContinuousIndex.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkPoint.h:23:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkVector.h:275:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkVector.txx:22:
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:55:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double e               VCL_STATIC_CONST_INIT_FLOAT_DECL(2.7182818284590452354);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:56:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double log2e           VCL_STATIC_CONST_INIT_FLOAT_DECL(1.4426950408889634074);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:57:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double log10e          VCL_STATIC_CONST_INIT_FLOAT_DECL(0.43429448190325182765);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:58:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double ln2             VCL_STATIC_CONST_INIT_FLOAT_DECL(0.69314718055994530942);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:59:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double ln10            VCL_STATIC_CONST_INIT_FLOAT_DECL(2.30258509299404568402);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:60:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi              VCL_STATIC_CONST_INIT_FLOAT_DECL(3.14159265358979323846);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:61:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi_over_2       VCL_STATIC_CONST_INIT_FLOAT_DECL(1.57079632679489661923);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:62:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double pi_over_4       VCL_STATIC_CONST_INIT_FLOAT_DECL(0.78539816339744830962);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:63:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double one_over_pi     VCL_STATIC_CONST_INIT_FLOAT_DECL(0.31830988618379067154);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:64:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double two_over_pi     VCL_STATIC_CONST_INIT_FLOAT_DECL(0.63661977236758134308);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:65:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double two_over_sqrtpi VCL_STATIC_CONST_INIT_FLOAT_DECL(1.12837916709551257390);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:66:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrt2           VCL_STATIC_CONST_INIT_FLOAT_DECL(1.41421356237309504880);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:67:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrt1_2         VCL_STATIC_CONST_INIT_FLOAT_DECL(0.70710678118654752440);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:70:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double eps             VCL_STATIC_CONST_INIT_FLOAT_DECL(2.2204460492503131e-16);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:71:36: warning: in-class initializer for static data member of type 'const double' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const double sqrteps         VCL_STATIC_CONST_INIT_FLOAT_DECL(1.490116119384766e-08);
                                   ^                                                ~~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:73:35: warning: in-class initializer for static data member of type 'const float' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const float float_eps        VCL_STATIC_CONST_INIT_FLOAT_DECL(1.192092896e-07f);
                                  ^                                                 ~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Utilities/vxl/core/vnl/vnl_math.h:74:35: warning: in-class initializer for static data member of type 'const float' is a GNU extension [-Wgnu-static-float-init]
  static VNL_DLL_DATA const float float_sqrteps    VCL_STATIC_CONST_INIT_FLOAT_DECL(3.4526698307e-4f);
                                  ^                                                 ~~~~~~~~~~~~~~~~
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Examples/Iterators/ImageLinearIteratorWithIndex.cxx:96:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImage.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageBase.h:25:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageRegion.h:27:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkContinuousIndex.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkPoint.h:22:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkNumericTraits.h:25:
/usr/include/c++/v1/complex:939:16: error: call to 'abs' is ambiguous
        return abs(__c.real());
               ^~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/IO/itkDefaultConvertPixelTraits.h:242:1: note: in instantiation of function template specialization 'std::__1::norm<unsigned int>' requested here
ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE(unsigned int);
^
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/IO/itkDefaultConvertPixelTraits.h:235:17: note: expanded from macro 'ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE'
    return std::norm(pixel);                                             \
                ^
/usr/include/stdlib.h:83:6: note: candidate function
int      abs(int) __pure2;
         ^
/usr/include/c++/v1/cstdlib:159:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT {return  labs(__x);}
                                           ^
/usr/include/c++/v1/cstdlib:161:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
                                           ^
/usr/include/c++/v1/cmath:659:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:663:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:667:1: note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Examples/Iterators/ImageLinearIteratorWithIndex.cxx:96:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImage.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageBase.h:25:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageRegion.h:27:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkContinuousIndex.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkPoint.h:22:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkNumericTraits.h:25:
/usr/include/c++/v1/complex:941:16: error: call to 'abs' is ambiguous
        return abs(__c.imag());
               ^~~
/usr/include/stdlib.h:83:6: note: candidate function
int      abs(int) __pure2;
         ^
/usr/include/c++/v1/cstdlib:159:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT {return  labs(__x);}
                                           ^
/usr/include/c++/v1/cstdlib:161:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
                                           ^
/usr/include/c++/v1/cmath:659:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:663:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:667:1: note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Examples/Iterators/ImageLinearIteratorWithIndex.cxx:96:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImage.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageBase.h:25:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageRegion.h:27:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkContinuousIndex.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkPoint.h:22:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkNumericTraits.h:25:
/usr/include/c++/v1/complex:939:16: error: call to 'abs' is ambiguous
        return abs(__c.real());
               ^~~
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/IO/itkDefaultConvertPixelTraits.h:246:1: note: in instantiation of function template specialization 'std::__1::norm<unsigned long>' requested here
ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE(unsigned long);
^
/wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/IO/itkDefaultConvertPixelTraits.h:235:17: note: expanded from macro 'ITK_DEFAULTCONVERTTRAITS_COMPLEX_TYPE'
    return std::norm(pixel);                                             \
                ^
/usr/include/stdlib.h:83:6: note: candidate function
int      abs(int) __pure2;
         ^
/usr/include/c++/v1/cstdlib:159:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT {return  labs(__x);}
                                           ^
/usr/include/c++/v1/cstdlib:161:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
                                           ^
/usr/include/c++/v1/cmath:659:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:663:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:667:1: note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Examples/Iterators/ImageLinearIteratorWithIndex.cxx:96:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImage.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageBase.h:25:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkImageRegion.h:27:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkContinuousIndex.h:20:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkPoint.h:22:
In file included from /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1/Code/Common/itkNumericTraits.h:25:
/usr/include/c++/v1/complex:941:16: error: call to 'abs' is ambiguous
        return abs(__c.imag());
               ^~~
/usr/include/stdlib.h:83:6: note: candidate function
int      abs(int) __pure2;
         ^
/usr/include/c++/v1/cstdlib:159:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long      abs(     long __x) _NOEXCEPT {return  labs(__x);}
                                           ^
/usr/include/c++/v1/cstdlib:161:44: note: candidate function
inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);}
                                           ^
/usr/include/c++/v1/cmath:659:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:663:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:667:1: note: candidate function
abs(long double __x) _NOEXCEPT {return fabsl(__x);}
^
26 warnings and 4 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/science/InsightToolkit/work/InsightToolkit-2.8.1
*** Error code 1

Stop.
make: stopped in /usr/ports/science/InsightToolkit
===>  Cleaning for InsightToolkit-2.8.1_2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404041556.s34FufRI033913>