Date: Sun, 10 Jan 2016 02:33:26 GMT From: pkg-fallout@FreeBSD.org To: stephen@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - head-amd64-default][math/octave-forge-xraylib] Failed for octave-forge-xraylib-1.0.8_11 in build Message-ID: <201601100233.u0A2XQBJ045014@beefy4.nyi.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: stephen@FreeBSD.org Last committer: gerald@FreeBSD.org Ident: $FreeBSD: head/math/octave-forge-xraylib/Makefile 367888 2014-09-10 20:50:31Z gerald $ Log URL: http://beefy4.nyi.freebsd.org/data/head-amd64-default/p405601_s293454/logs/octave-forge-xraylib-1.0.8_11.log Build URL: http://beefy4.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p405601_s293454 Log: ====>> Building math/octave-forge-xraylib build started at Sun Jan 10 02:31:53 UTC 2016 port directory: /usr/ports/math/octave-forge-xraylib building for: FreeBSD head-amd64-default-job-23 11.0-CURRENT FreeBSD 11.0-CURRENT r293454 amd64 maintained by: stephen@FreeBSD.org Makefile ident: $FreeBSD: head/math/octave-forge-xraylib/Makefile 367888 2014-09-10 20:50:31Z gerald $ Poudriere version: 3.1.10 Host OSVERSION: 1100091 Jail OSVERSION: 1100093 !!! Jail is newer than host. (Jail: 1100093, Host: 1100091) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh OSVERSION=1100093 UNAME_v=FreeBSD 11.0-CURRENT r293454 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNAME=octave-forge-xraylib-1.0.8_11 OLDPWD=/ PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool MASTERNAME=head-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root POUDRIERE_VERSION=3.1.10 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh LIBEXECPREFIX=/usr/local/libexec/poudriere LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- F77="gfortran48" FC="gfortran48" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc48" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc48" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work TMPDIR="/tmp" 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-- PACKAGE=/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8.tar.gz F77="gfortran48" FC="gfortran48" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc48" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc48" XDG_DATA_HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work HOME=/wrkdirs/usr/ports/math/octave-forge-xraylib/work TMPDIR="/tmp" NO_PIE=yes NO_DEBUG_FILES=yes 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="cc" CFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" - Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48 -B/usr/local/bin -fstack-protector" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=11.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/octave-forge-xraylib" EXAMPLESDIR="share/examples/octave-forge-xraylib" DATADIR="share/octave-forge-xraylib" WWWDIR="www/octave-forge-xraylib" ETCDIR="etc/octave-forge-xraylib" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/octave-forge-xraylib DOCSDIR=/usr/local/share/doc/octave-forge-xraylib EXAMPLESDIR=/usr/local/share/examples/octave-forge-xraylib WWWDIR=/usr/local/www/octave-forge-xraylib ETCDIR=/usr/local/etc/octave-forge-xraylib --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 #### DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =======================<phase: check-sanity >============================ ===> License GPLv2 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> octave-forge-xraylib-1.0.8_11 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.6.2.txz [head-amd64-default-job-23] Installing pkg-1.6.2... [head-amd64-default-job-23] Extracting pkg-1.6.2: .......... done Message from pkg-1.6.2: If you are upgrading from the old package format, first run: # pkg2ng ===> octave-forge-xraylib-1.0.8_11 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of octave-forge-xraylib-1.0.8_11 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by octave-forge-xraylib-1.0.8_11 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by octave-forge-xraylib-1.0.8_11 for building => SHA256 Checksum OK for octave-forge/xraylib-1.0.8.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by octave-forge-xraylib-1.0.8_11 for building ===> Extracting for octave-forge-xraylib-1.0.8_11 => SHA256 Checksum OK for octave-forge/xraylib-1.0.8.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for octave-forge-xraylib-1.0.8_11 =========================================================================== =======================<phase: build-depends >============================ ===> octave-forge-xraylib-1.0.8_11 depends on executable: bash - not found ===> Installing existing package /packages/All/bash-4.3.42_1.txz [head-amd64-default-job-23] Installing bash-4.3.42_1... [head-amd64-default-job-23] `-- Installing indexinfo-0.2.4... [head-amd64-default-job-23] `-- Extracting indexinfo-0.2.4: .... done [head-amd64-default-job-23] `-- Installing gettext-runtime-0.19.6... [head-amd64-default-job-23] `-- Extracting gettext-runtime-0.19.6: .......... done [head-amd64-default-job-23] Extracting bash-4.3.42_1: .......... done Message from bash-4.3.42_1: ====================================================================== bash requires fdescfs(5) mounted on /dev/fd If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 ====================================================================== ===> octave-forge-xraylib-1.0.8_11 depends on executable: bash - found ===> Returning to build of octave-forge-xraylib-1.0.8_11 ===> octave-forge-xraylib-1.0.8_11 depends on executable: octave - not found ===> Installing existing package /packages/All/octave-4.0.0.txz [head-amd64-default-job-23] Installing octave-4.0.0... [head-amd64-default-job-23] `-- Installing glpk-4.52.1_3... [head-amd64-default-job-23] | `-- Installing gmp-5.1.3_2... [head-amd64-default-job-23] | `-- Extracting gmp-5.1.3_2: .......... done [head-amd64-default-job-23] `-- Extracting glpk-4.52.1_3: .......... done [head-amd64-default-job-23] `-- Installing fftw3-float-3.3.3_2... [head-amd64-default-job-23] `-- Extracting fftw3-float-3.3.3_2: .......... done [head-amd64-default-job-23] `-- Installing openblas-0.2.14,1... [head-amd64-default-job-23] | `-- Installing gcc-4.8.5_2... [head-amd64-default-job-23] | | `-- Installing mpc-1.0.3... [head-amd64-default-job-23] | | `-- Installing mpfr-3.1.3... [head-amd64-default-job-23] | | `-- Extracting mpfr-3.1.3: .......... done [head-amd64-default-job-23] | | `-- Extracting mpc-1.0.3: ...... done [head-amd64-default-job-23] | | `-- Installing binutils-2.25.1... [head-amd64-default-job-23] | | `-- Extracting binutils-2.25.1: .......... done [head-amd64-default-job-23] | | `-- Installing gcc-ecj-4.5... [head-amd64-default-job-23] | | `-- Extracting gcc-ecj-4.5: . done [head-amd64-default-job-23] | `-- Extracting gcc-4.8.5_2: .......... done [head-amd64-default-job-23] `-- Extracting openblas-0.2.14,1: ......... done [head-amd64-default-job-23] `-- Installing GraphicsMagick-1.3.23_2,1... [head-amd64-default-job-23] | `-- Installing jbigkit-2.1_1... [head-amd64-default-job-23] | `-- Extracting jbigkit-2.1_1: .......... done [head-amd64-default-job-23] | `-- Installing jasper-1.900.1_15... [head-amd64-default-job-23] | | `-- Installing jpeg-turbo-1.4.2... [head-amd64-default-job-23] | | `-- Extracting jpeg-turbo-1.4.2: .......... done [head-amd64-default-job-23] | `-- Extracting jasper-1.900.1_15: .......... done [head-amd64-default-job-23] | `-- Installing libxml2-2.9.3... [head-amd64-default-job-23] | `-- Extracting libxml2-2.9.3: .......... done [head-amd64-default-job-23] | `-- Installing lcms2-2.7_2... [head-amd64-default-job-23] | | `-- Installing tiff-4.0.6_1... [head-amd64-default-job-23] | | `-- Extracting tiff-4.0.6_1: .......... done [head-amd64-default-job-23] | `-- Extracting lcms2-2.7_2: .......... done [head-amd64-default-job-23] | `-- Installing png-1.6.20... [head-amd64-default-job-23] | `-- Extracting png-1.6.20: .......... done [head-amd64-default-job-23] | `-- Installing libwmf-0.2.8.4_15... [head-amd64-default-job-23] | | `-- Installing libX11-1.6.3,1... [head-amd64-default-job-23] | | `-- Installing xproto-7.0.28... <snip> ====================================================================== To enable Qt database support, install the database plugin ports. The following plugin ports are available: - databases/qt4-ibase-plugin InterBase/Firebird - databases/qt4-mysql-plugin MySQL - databases/qt4-odbc-plugin Open Database Connectivity - databases/qt4-pgsql-plugin PostgreSQL - databases/qt4-sqlite-plugin SQLite 2 - databases/qt4-sqlite3-plugin SQLite 3 ====================================================================== ===> octave-forge-xraylib-1.0.8_11 depends on executable: octave - found ===> Returning to build of octave-forge-xraylib-1.0.8_11 ===> octave-forge-xraylib-1.0.8_11 depends on executable: gfortran48 - found ===> octave-forge-xraylib-1.0.8_11 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.1_2.txz [head-amd64-default-job-23] Installing gmake-4.1_2... [head-amd64-default-job-23] Extracting gmake-4.1_2: .......... done ===> octave-forge-xraylib-1.0.8_11 depends on executable: gmake - found ===> Returning to build of octave-forge-xraylib-1.0.8_11 ===> octave-forge-xraylib-1.0.8_11 depends on file: /usr/local/bin/as - found =========================================================================== =======================<phase: lib-depends >============================ ===> octave-forge-xraylib-1.0.8_11 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) =========================================================================== =======================<phase: configure >============================ ===> Configuring for octave-forge-xraylib-1.0.8_11 =========================================================================== =======================<phase: build >============================ ===> Building for octave-forge-xraylib-1.0.8_11 gmake[1]: Entering directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8' gmake[2]: Entering directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8/src' gmake -C xraylib/src inline gmake[3]: Entering directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8/src/xraylib/src' cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c xrayfiles.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c xrayglob.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c xrayvars.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c cross_sections.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c scattering.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c atomicweight.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c edges.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c fluor_lines.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c fluor_yield.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c jump.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c coskron.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c radrate.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c cs_line.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c polarized.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c splint.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c cs_barns.c rm libxrl.a rm: libxrl.a: No such file or directory Makefile:28: recipe for target 'external' failed gmake[3]: [external] Error 1 (ignored) ar cru libxrl.a xrayfiles.o xrayglob.o xrayvars.o cross_sections.o scattering.o atomicweight.o edges.o fluor_lines.o fluor_yield.o jump.o coskron.o radrate.o cs_line.o polarized.o splint.o cs_barns.o ranlib libxrl.a touch external_stamp cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC pr_data.c libxrl.a -o prdata XRAYLIB_DIR="../" ./prdata cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c xrayglob_inline.c cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -c xrayfiles_inline.c rm libxrl.a ar cru libxrl.a xrayglob_inline.o xrayfiles_inline.o xrayvars.o cross_sections.o scattering.o atomicweight.o edges.o fluor_lines.o fluor_yield.o jump.o coskron.o radrate.o cs_line.o polarized.o splint.o cs_barns.o ranlib libxrl.a touch inline_stamp gmake[3]: Leaving directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8/src/xraylib/src' touch xraylib_stamp mkoctfile -I./xraylib/src xraylib.cc -L./xraylib/src -lxrl xraylib.cc:236:1: error: no matching constructor for initialization of 'Array<octave_idx_type>' DEFUN_DLD_MULTIMAPPER4(DCSP_Rayl, DCSP_Rayl, int, float, float, float, "\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xraylib.cc:80:27: note: expanded from macro 'DEFUN_DLD_MULTIMAPPER4' Array<octave_idx_type> idx(4); \ ^ ~ /usr/local/include/octave-4.0.0/octave/Array.h:181:12: note: candidate constructor not viable: no known conversion from 'int' to 'const dim_vector' for 1st argument explicit Array (const dim_vector& dv) ^ /usr/local/include/octave-4.0.0/octave/Array.h:211:3: note: candidate constructor not viable: no known conversion from 'int' to 'const Array<int>' for 1st argument Array (const Array<T>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:204:3: note: candidate template ignored: could not match 'Array<type-parameter-0-0>' against 'int' Array (const Array<U>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:173:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Array (void) ^ /usr/local/include/octave-4.0.0/octave/Array.h:190:12: note: candidate constructor not viable: requires 2 arguments, but 1 was provided explicit Array (const dim_vector& dv, const T& val) ^ /usr/local/include/octave-4.0.0/octave/Array.h:200:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv); ^ /usr/local/include/octave-4.0.0/octave/Array.h:142:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv, ^ /usr/local/include/octave-4.0.0/octave/Array.h:165:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) ^ xraylib.cc:252:1: error: no matching constructor for initialization of 'Array<octave_idx_type>' DEFUN_DLD_MULTIMAPPER4(DCSP_Compt, DCSP_Compt, int, float, float, float, "\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xraylib.cc:80:27: note: expanded from macro 'DEFUN_DLD_MULTIMAPPER4' Array<octave_idx_type> idx(4); \ ^ ~ /usr/local/include/octave-4.0.0/octave/Array.h:181:12: note: candidate constructor not viable: no known conversion from 'int' to 'const dim_vector' for 1st argument explicit Array (const dim_vector& dv) ^ /usr/local/include/octave-4.0.0/octave/Array.h:211:3: note: candidate constructor not viable: no known conversion from 'int' to 'const Array<int>' for 1st argument Array (const Array<T>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:204:3: note: candidate template ignored: could not match 'Array<type-parameter-0-0>' against 'int' Array (const Array<U>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:173:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Array (void) ^ /usr/local/include/octave-4.0.0/octave/Array.h:190:12: note: candidate constructor not viable: requires 2 arguments, but 1 was provided explicit Array (const dim_vector& dv, const T& val) ^ /usr/local/include/octave-4.0.0/octave/Array.h:200:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv); ^ /usr/local/include/octave-4.0.0/octave/Array.h:142:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv, ^ /usr/local/include/octave-4.0.0/octave/Array.h:165:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) ^ xraylib.cc:587:1: error: no matching constructor for initialization of 'Array<octave_idx_type>' DEFUN_DLD_MULTIMAPPER4(DCSPb_Rayl, DCSPb_Rayl, int, float, float, float, "\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xraylib.cc:80:27: note: expanded from macro 'DEFUN_DLD_MULTIMAPPER4' Array<octave_idx_type> idx(4); \ ^ ~ /usr/local/include/octave-4.0.0/octave/Array.h:181:12: note: candidate constructor not viable: no known conversion from 'int' to 'const dim_vector' for 1st argument explicit Array (const dim_vector& dv) ^ /usr/local/include/octave-4.0.0/octave/Array.h:211:3: note: candidate constructor not viable: no known conversion from 'int' to 'const Array<int>' for 1st argument Array (const Array<T>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:204:3: note: candidate template ignored: could not match 'Array<type-parameter-0-0>' against 'int' Array (const Array<U>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:173:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Array (void) ^ /usr/local/include/octave-4.0.0/octave/Array.h:190:12: note: candidate constructor not viable: requires 2 arguments, but 1 was provided explicit Array (const dim_vector& dv, const T& val) ^ /usr/local/include/octave-4.0.0/octave/Array.h:200:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv); ^ /usr/local/include/octave-4.0.0/octave/Array.h:142:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv, ^ /usr/local/include/octave-4.0.0/octave/Array.h:165:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) ^ xraylib.cc:603:1: error: no matching constructor for initialization of 'Array<octave_idx_type>' DEFUN_DLD_MULTIMAPPER4(DCSPb_Compt, DCSPb_Compt, int, float, float, float, "\ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xraylib.cc:80:27: note: expanded from macro 'DEFUN_DLD_MULTIMAPPER4' Array<octave_idx_type> idx(4); \ ^ ~ /usr/local/include/octave-4.0.0/octave/Array.h:181:12: note: candidate constructor not viable: no known conversion from 'int' to 'const dim_vector' for 1st argument explicit Array (const dim_vector& dv) ^ /usr/local/include/octave-4.0.0/octave/Array.h:211:3: note: candidate constructor not viable: no known conversion from 'int' to 'const Array<int>' for 1st argument Array (const Array<T>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:204:3: note: candidate template ignored: could not match 'Array<type-parameter-0-0>' against 'int' Array (const Array<U>& a) ^ /usr/local/include/octave-4.0.0/octave/Array.h:173:3: note: candidate constructor not viable: requires 0 arguments, but 1 was provided Array (void) ^ /usr/local/include/octave-4.0.0/octave/Array.h:190:12: note: candidate constructor not viable: requires 2 arguments, but 1 was provided explicit Array (const dim_vector& dv, const T& val) ^ /usr/local/include/octave-4.0.0/octave/Array.h:200:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv); ^ /usr/local/include/octave-4.0.0/octave/Array.h:142:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (const Array<T>& a, const dim_vector& dv, ^ /usr/local/include/octave-4.0.0/octave/Array.h:165:3: note: candidate constructor not viable: requires 4 arguments, but 1 was provided Array (T *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep) ^ 4 errors generated. Makefile:2: recipe for target 'all' failed gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8/src' Makefile:16: recipe for target 'build' failed gmake[1]: *** [build] Error 2 gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/octave-forge-xraylib/work/xraylib-1.0.8' *** Error code 1 Stop. make: stopped in /usr/ports/math/octave-forge-xraylib
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601100233.u0A2XQBJ045014>