From owner-freebsd-pkg-fallout@FreeBSD.ORG Fri Feb 28 09:38:29 2014 Return-Path: Delivered-To: pkg-fallout@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72CE4A8 for ; Fri, 28 Feb 2014 09:38:29 +0000 (UTC) Received: from beefy2.isc.freebsd.org (beefy2.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:4072:0:16:39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5CBF81589; Fri, 28 Feb 2014 09:38:29 +0000 (UTC) Received: from beefy2.isc.freebsd.org (localhost [127.0.0.1]) by beefy2.isc.freebsd.org (8.14.7/8.14.7) with ESMTP id s1S9cT3D078507; Fri, 28 Feb 2014 09:38:29 GMT (envelope-from pkg-fallout-builder@FreeBSD.org) Received: (from root@localhost) by beefy2.isc.freebsd.org (8.14.7/8.14.7/Submit) id s1S9cSEs077859; Fri, 28 Feb 2014 09:38:28 GMT (envelope-from pkg-fallout-builder@FreeBSD.org) Date: Fri, 28 Feb 2014 09:38:28 GMT From: pkg-fallout-builder@FreeBSD.org Message-Id: <201402280938.s1S9cSEs077859@beefy2.isc.freebsd.org> To: devel@stasyan.com Subject: [REL - head-amd64-default][science/meep] Failed for meep-1.2_1 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Feb 2014 09:38:29 -0000 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: devel@stasyan.com Last committer: tijl@FreeBSD.org Ident: $FreeBSD: head/science/meep/Makefile 344614 2014-02-16 17:15:31Z tijl $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-28_01h43m56s/logs/meep-1.2_1.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-28_01h43m56s Log: ====>> Building science/meep build started at Fri Feb 28 09:36:54 UTC 2014 port directory: /usr/ports/science/meep building for: FreeBSD head-amd64-default-job-17 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 amd64 maintained by: devel@stasyan.com Makefile ident: $FreeBSD: head/science/meep/Makefile 344614 2014-02-16 17:15:31Z tijl $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1100007 UNAME_v=FreeBSD 11.0-CURRENT r261447 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref PKG_EXT=txz tpid=74405 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=meep-1.2_1 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-amd64-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 meep-1.2_1: OPENMPI=on: MPI support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --with-mpi --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- LD_LIBRARY_PATH="-L/usr/local/lib -L/usr/lib" TMPDIR="/tmp" MPICXX=/usr/local/mpi/openmpi/bin/mpiCC TMPDIR="/tmp" F77="gfortran46" FC="gfortran46" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc46" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc46" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" F77="gfortran46" FC="gfortran46" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc46" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc46" SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="gcc46" CFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing" CPP="cpp46" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc46 -L/usr/local/lib/gcc46 -Wl,-rpath=/usr/local/lib/gcc46 -L/usr/local/lib/gcc46" CXX="g++46" CXXFLAGS="-O2 -pipe -Wl,-rpath=/usr/local/lib/gcc46 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc4 6" 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/meep DOCSDIR=/usr/local/share/doc/meep EXAMPLESDIR=/usr/local/share/examples/meep WWWDIR=/usr/local/www/meep ETCDIR=/usr/local/etc/meep --End SUB_LIST-- ---Begin make.conf--- 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 meep-1.2_1 =================================================== =========================================================================== =================================================== ===> meep-1.2_1 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.6.txz Installing pkg-1.2.6... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of meep-1.2_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by meep-1.2_1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by meep-1.2_1 for building => SHA256 Checksum OK for meep-1.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by meep-1.2_1 for building ===> Extracting for meep-1.2_1 => SHA256 Checksum OK for meep-1.2.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for meep-1.2_1 ===> Applying FreeBSD patches for meep-1.2_1 /usr/bin/sed -i.bak -e 's+\#\! /bin/sh+\#\! /usr/local/bin/bash+' -e s+\$\(SHELL\)+/usr/local/bin/bash+ /wrkdirs/usr/ports/science/meep/work/meep-1.2/configure =========================================================================== =================================================== ===> meep-1.2_1 depends on executable: bash - not found ===> Verifying install for bash in /usr/ports/shells/bash ===> Installing existing package /packages/All/bash-4.2.45_1.txz Installing bash-4.2.45_1...Installing gettext-0.18.3.1... done done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on executable: harminv - not found ===> Verifying install for harminv in /usr/ports/science/harminv ===> Installing existing package /packages/All/harminv-1.3.1_2.txz Installing harminv-1.3.1_2...Installing lapack-3.4.2_1...Installing blas-3.4.2_1...Installing gcc-4.6.4...Installing binutils-2.24... done Installing gcc-ecj-4.5... done Installing gmp-5.1.3... done Installing mpc-1.0.2...Installing mpfr-3.1.2... done done done done done Installing guile-1.8.8...Installing libltdl-2.4.2_2... done done done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on executable: gsed - not found ===> Verifying install for gsed in /usr/ports/textproc/gsed ===> Installing existing package /packages/All/gsed-4.2.2.txz Installing gsed-4.2.2... done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on file: /usr/local/mpi/openmpi/bin/mpiCC - not found ===> Verifying install for /usr/local/mpi/openmpi/bin/mpiCC in /usr/ports/net/openmpi ===> Installing existing package /packages/All/openmpi-1.6.5_2.txz Installing openmpi-1.6.5_2...Installing hwloc-1.8...Installing libpciaccess-0.13.2...Installing pciids-20140222... done done Installing libxml2-2.8.0_3... done done done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on executable: gfortran46 - found ===> meep-1.2_1 depends on executable: gmake - not found ===> Verifying install for gmake in /usr/ports/devel/gmake ===> Installing existing package /packages/All/gmake-3.82_1.txz Installing gmake-3.82_1... done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on executable: gcc46 - found ===> meep-1.2_1 depends on file: /usr/local/bin/as - found =========================================================================== =================================================== ===> meep-1.2_1 depends on shared library: libintl.so - found ===> meep-1.2_1 depends on shared library: libltdl.so - found ===> meep-1.2_1 depends on shared library: guile.21 - found ===> meep-1.2_1 depends on shared library: blas.2 - found ===> meep-1.2_1 depends on shared library: ctl.5 - not found ===> Verifying install for ctl.5 in /usr/ports/science/libctl ===> Installing existing package /packages/All/libctl-3.2.1_1.txz Installing libctl-3.2.1_1... done ===> Returning to build of meep-1.2_1 ===> meep-1.2_1 depends on shared library: hdf5.7 - not found ===> Verifying install for hdf5.7 in /usr/ports/science/hdf5-18 ===> Installing existing package /packages/All/hdf5-18-1.8.10.txz Installing hdf5-18-1.8.10... done ===> Returning to build of meep-1.2_1 =========================================================================== =================================================== ===> Configuring for meep-1.2_1 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/science/meep/work/meep-1.2/m4/libtool.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/science/meep/work/meep-1.2/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/science/meep/work/meep-1.2/configure configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking whether gmake supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++46 accepts -g... yes checking for style of include used by gmake... GNU checking dependency style of g++46... gcc3 checking for mpic++... /usr/local/mpi/openmpi/bin/mpiCC checking for MPI_Init... yes checking for mpi.h... yes checking for extra flag needed to combine stdio.h and mpi.h... none c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX integrate.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX integrate2.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX monitor.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX mympi.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX multilevel-atom.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX output_directory.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX random.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX sources.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX step.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX step_db.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX stress.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX structure.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX susceptibility.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX time.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX update_eh.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX mpb.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX update_pols.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX vec.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX step_generic.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXX step_generic_stride1.lo c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXXLD libmeep_mpi.la CXX sphere-quad.o c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused CXXLD sphere_quad gmake[4]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/src' gmake[3]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/src' Making all in libctl gmake[3]: Entering directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/libctl' (echo "// AUTOMATICALLY GENERATED -- DO NOT EDIT"; sed 's/^ *class \+\([A-Za-z_0-9:]*\)\( *\| *:[^{]*\){.*$/%rename(meep_\1) meep::\1;/' ../src/meep.hpp ../src/meep/vec.hpp ../src/meep/mympi.hpp | grep "%rename" | sort -u; echo; grep -hv typedef ../src/meep.hpp ../src/meep/vec.hpp ../src/meep/mympi.hpp | sed 's/\(inline\|const\|extern\|static\) \+//g' | sed 's/^[A-Za-z_0-9:<>]\+[* ]\+\([A-Za-z_0-9:]*\) *(.*$/%rename(meep_\1) meep::\1;/' | grep "%rename" | sort -u; ) > meep_renames.i (echo "// AUTOMATICALLY GENERATED -- DO NOT EDIT"; for f in ../src/meep.hpp ../src/meep/vec.hpp ../src/meep/mympi.hpp; do egrep "^enum" $f | gsed 's/enum \+\([A-Za-z_0-9:]\+\).*$/\1/g' | while read enum; do cat $f | tr -d '\n' | gsed 's/.*enum \+'${enum}' *{\([^}]*\)}.*/\1/g' | gsed 's/= *[0-9]\+//g' |tr -d ' \t' | tr ',' '\n' | gsed 's/^.*$/'"%rename(meep_${enum}_\0) meep::\0;/g"; echo; done; done;) > meep_enum_renames.i (echo "// AUTOMATICALLY GENERATED -- DO NOT EDIT"; grep -h friend ../src/meep.hpp ../src/meep/vec.hpp ../src/meep/mympi.hpp | sed 's/^ *friend \+[A-Za-z_0-9:<>]\+[* ]\+\([A-Za-z_0-9:]*\) *(.*$/%ignore \1;/' | grep "%ignore" | sort -u;) > meep_swig_bug_workaround.i (gsed 's/%rename(\([A-Za-z0-9_]*\)) *\([A-Za-z0-9:_]*\);$/(define \2 (\1))/' meep_enum_renames.i | gsed 's/[A-Za-z0-9:_]*:://g' | sed 's/_/-/g' | sed 's,//,;,'; echo "(define Centered Dielectric)") > meep-enums.scm gmake all-am gmake[4]: Entering directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/libctl' gen-ctl-io --cxx --header -o ctl-io.h meep.scm /usr/local/share/libctl CXX meep.o c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused c++: warning: -Wl,-rpath=/usr/local/lib/gcc46: 'linker' input unused In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:270:8: error: reference to 'function' is ambiguous extern function ctl_get_function(char *identifier); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:284:48: error: reference to 'function' is ambiguous extern void ctl_set_function(char *identifier, function value); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:303:8: error: reference to 'function' is ambiguous extern function function_list_ref(list l, int index); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:321:53: error: reference to 'function' is ambiguous extern list make_function_list(int num_items, const function *items); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:322:48: error: reference to 'function' is ambiguous extern list make_SCM_list(int num_items, const function *items); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: In file included from ./ctl-io.h:7: /usr/local/include/ctl.h:341:8: error: reference to 'function' is ambiguous extern function function_object_property(object o, char *property_name); ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: ./ctl-io.h:84:1: error: reference to 'function' is ambiguous function material_func; ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: ./ctl-io.h:190:1: error: reference to 'function' is ambiguous function pml_profile; ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ In file included from meep.cpp:1: In file included from ./meep-ctl.hpp:10: ./ctl-io.h:226:1: error: reference to 'function' is ambiguous function src_func; ^ /usr/local/include/ctl.h:83:13: note: candidate found by name lookup is 'function' typedef SCM function; ^ /usr/include/c++/v1/__functional_03:206:49: note: candidate found by name lookup is 'std::__1::function' template class _LIBCPP_TYPE_VIS_ONLY function; // undefined ^ 9 errors generated. gmake[4]: *** [meep.o] Error 1 gmake[4]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/libctl' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2/libctl' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/wrkdirs/usr/ports/science/meep/work/meep-1.2' *** Error code 1 Stop. make: stopped in /usr/ports/science/meep ===> Cleaning for meep-1.2_1