Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2014 03:07:17 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default-ssp][science/InsightToolkit] Failed for InsightToolkit-2.8.1_2 in build
Message-ID:  <201410020307.s9237Hd9057653@beefy4.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://beefy4.isc.freebsd.org/data/head-amd64-default-ssp/2014-10-01_13h40m35s/logs/InsightToolkit-2.8.1_2.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=head-amd64-default-ssp&build=2014-10-01_13h40m35s
Log:

====>> Building science/InsightToolkit
build started at Thu Oct  2 02:44:28 UTC 2014
port directory: /usr/ports/science/InsightToolkit
building for: FreeBSD pkg.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT r272336 amd64
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
Host OSVERSION: 1100027
Jail OSVERSION: 1100036




!!! Jail is newer than host. (Jail: 1100036, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
OSVERSION=1100036
UNAME_v=FreeBSD 11.0-CURRENT r272336
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default-ssp/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
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
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/head-amd64-default-ssp/ref/.p/pool
MASTERNAME=head-amd64-default-ssp
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/.p/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/science/InsightToolkit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/InsightToolkit/work  HOME=/wrkdirs/usr/ports/science/InsightToolkit/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/science/InsightToolkit/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/science/InsightToolkit/work  HOME=/wrkdirs/usr/ports/science/InsightToolkit/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" 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 0644"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
CMAKE_BUILD_TYPE="release"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
LIB32DIR=lib
DOCSDIR="share/doc/InsightToolkit"
EXAMPLESDIR="share/examples/InsightToolkit"
DATADIR="share/InsightToolkit"
WWWDIR="www/InsightToolkit"
ETCDIR="etc/InsightToolkit"
--End PLIST_SUB--

--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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
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
#WITH_PKGNG=devel
#### /usr/local/etc/poudriere.d/ssp-make.conf ####
WITH_SSP_PORTS=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===========================================================================
=======================<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.3.8_2.txz
[pkg.FreeBSD.org] Installing pkg-1.3.8_2... done
Message for pkg-1.3.8_2:
 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-3.0.2.txz
[pkg.FreeBSD.org] Installing cmake-modules-3.0.2... done
[pkg.FreeBSD.org] Installing ca_root_nss-3.17.1... done
[pkg.FreeBSD.org] Installing curl-7.38.0_1... done
[pkg.FreeBSD.org] Installing expat-2.1.0_1... done
[pkg.FreeBSD.org] Installing cmake-3.0.2... done
===>   Returning to build of InsightToolkit-2.8.1_2
===>   InsightToolkit-2.8.1_2 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_8.txz
[pkg.FreeBSD.org] Installing ccache-3.1.9_8... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
Message for ccache-3.1.9_8:
 NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.
===>   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
CMake Warning (dev) at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.4 is not supported by CMake >= 3.0.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- Check for working C compiler: /usr/local/libexec/ccache/cc
-- Check for working C compiler: /usr/local/libexec/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/libexec/ccache/c++
-- Check for working CXX compiler: /usr/local/libexec/ccache/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
<snip>
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: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:660:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:664:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:668: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:660:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:664:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:668: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:660:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:664:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:668: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:660:1: note: candidate function
abs(float __x) _NOEXCEPT {return fabsf(__x);}
^
/usr/include/c++/v1/cmath:664:1: note: candidate function
abs(double __x) _NOEXCEPT {return fabs(__x);}
^
/usr/include/c++/v1/cmath:668: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



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