Date: Wed, 27 Aug 2014 03:36:38 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][science/InsightToolkit] Failed for InsightToolkit-2.8.1_2 in build Message-ID: <201408270336.s7R3acTr023036@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/data/head-i386-default/2014-08-27_02h45m49s/logs/InsightToolkit-2.8.1_2.log Build URL: http://beefy1.isc.freebsd.org/build.html?mastername=head-i386-default&build=2014-08-27_02h45m49s Log: ====>> Building science/InsightToolkit build started at Wed Aug 27 03:17:20 UTC 2014 port directory: /usr/ports/science/InsightToolkit building for: FreeBSD head-i386-default-job-20 11.0-CURRENT FreeBSD 11.0-CURRENT r270192 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 Host OSVERSION: 1100027 Jail OSVERSION: 1100029 !!! Jail is newer than host. (Jail: 1100029, Host: 1100027) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1100029 UNAME_v=FreeBSD 11.0-CURRENT r270192 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=screen MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=InsightToolkit-2.8.1_2 OLDPWD=/usr/local/poudriere/data/logs/bulk PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool MASTERNAME=head-i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---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 --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 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" 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-- --PLIST_SUB-- CMAKE_BUILD_TYPE="release" OSREL=11.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" PORTDATA="" 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--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs 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 #WITH_PKGNG=devel # clean-restricted via poudriere.conf NO_RESTRICTED #NO_RESTRICTED=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.7.txz [head-i386-default-job-20] Installing pkg-1.3.7... done Message for pkg-1.3.7: 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 [head-i386-default-job-20] Installing cmake-modules-2.8.12.1_1... done [head-i386-default-job-20] Installing cmake-2.8.12.1_4... 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.4.1 -- The CXX compiler identification is Clang 3.4.1 -- 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 <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?201408270336.s7R3acTr023036>