Date: Fri, 7 Feb 2014 00:18:03 GMT From: pkg-fallout-builder@FreeBSD.org To: perl@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - head-amd64-default][devel/p5-Algorithm-SVM] Failed for p5-Algorithm-SVM-0.13 in build Message-ID: <201402070018.s170I3A0047223@beefy2.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: perl@FreeBSD.org Last committer: az@FreeBSD.org Ident: $FreeBSD: head/devel/p5-Algorithm-SVM/Makefile 338751 2014-01-05 12:07:20Z az $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s/logs/p5-Algorithm-SVM-0.13.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s Log: ====>> Building devel/p5-Algorithm-SVM build started at Fri Feb 7 00:17:48 UTC 2014 port directory: /usr/ports/devel/p5-Algorithm-SVM building for: FreeBSD head-amd64-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 amd64 maintained by: perl@FreeBSD.org Makefile ident: $FreeBSD: head/devel/p5-Algorithm-SVM/Makefile 338751 2014-01-05 12:07:20Z az $ 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=25111 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=p5-Algorithm-SVM-0.13 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--- ---End OPTIONS List--- --CONFIGURE_ARGS-- INSTALLDIRS="site" CC="c++" CCFLAGS="-O2 -pipe -fno-strict-aliasing" PREFIX="/usr/local" INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib" --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES" --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="c++" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/Algorithm-SVM DOCSDIR=/usr/local/share/doc/Algorithm-SVM EXAMPLESDIR=/usr/local/share/examples/Algorithm-SVM WWWDIR=/usr/local/www/Algorithm-SVM ETCDIR=/usr/local/etc/Algorithm-SVM --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 p5-Algorithm-SVM-0.13 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> p5-Algorithm-SVM-0.13 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 p5-Algorithm-SVM-0.13 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by p5-Algorithm-SVM-0.13 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by p5-Algorithm-SVM-0.13 for building => SHA256 Checksum OK for Algorithm-SVM-0.13.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by p5-Algorithm-SVM-0.13 for building ===> Extracting for p5-Algorithm-SVM-0.13 => SHA256 Checksum OK for Algorithm-SVM-0.13.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for p5-Algorithm-SVM-0.13 =========================================================================== =======================<phase: build-depends >============================ ===> p5-Algorithm-SVM-0.13 depends on file: /usr/local/bin/perl5.16.3 - not found ===> Verifying install for /usr/local/bin/perl5.16.3 in /usr/ports/lang/perl5.16 ===> Installing existing package /packages/All/perl5-5.16.3_6.txz Installing perl5-5.16.3_6...Removing /usr/local/etc/perl5_version... Done. Creating /usr/local/etc/perl5_version... Done. Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5 Done. done ===> Returning to build of p5-Algorithm-SVM-0.13 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for p5-Algorithm-SVM-0.13 Checking if your kit is complete... Looks good Writing Makefile for Algorithm::SVM Writing MYMETA.yml and MYMETA.json =========================================================================== =======================<phase: build >============================ ===> Building for p5-Algorithm-SVM-0.13 cp lib/Algorithm/SVM/DataSet.pm blib/lib/Algorithm/SVM/DataSet.pm cp lib/Algorithm/SVM.pm blib/lib/Algorithm/SVM.pm AutoSplitting blib/lib/Algorithm/SVM.pm (blib/lib/auto/Algorithm/SVM) /usr/local/bin/perl5.16.3 /usr/local/lib/perl5/5.16/ExtUtils/xsubpp -C++ -noprototypes -typemap /usr/local/lib/perl5/5.16/ExtUtils/typemap -typemap typemap SVM.xs > SVM.xsc && mv SVM.xsc SVM.c c++ -c -O2 -pipe -fno-strict-aliasing -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE" SVM.c c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated SVM.c:1268:1: warning: duplicate 'extern' declaration specifier [-Wduplicate-decl-specifier] XS_EXTERNAL(boot_Algorithm__SVM); /* prototype to pass -Wmissing-prototypes */ ^ /usr/local/lib/perl5/5.16/mach/CORE/XSUB.h:145:33: note: expanded from macro 'XS_EXTERNAL' # define XS_EXTERNAL(name) extern "C" XSPROTO(name) ^ 1 warning generated. c++ -c -O2 -pipe -fno-strict-aliasing -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE" libsvm.cpp c++ -c -O2 -pipe -fno-strict-aliasing -O3 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE" bindings.cpp In file included from bindings.cpp:1: ./bindings.h:4:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ bindings.cpp:22:34: error: use of undeclared identifier 'malloc' attributes = (struct svm_node *)malloc(sizeof(struct svm_node) * max_n); ^ bindings.cpp:33:3: error: use of undeclared identifier 'free' free(attributes); ^ bindings.cpp:40:3: error: use of undeclared identifier 'free' free(attributes); attributes=address; ^ bindings.cpp:48:47: error: use of undeclared identifier 'malloc' struct svm_node *address=(struct svm_node *)malloc(sizeof(struct svm_node)*max_n); ^ bindings.cpp:86:35: error: use of undeclared identifier 'realloc' attributes = (struct svm_node *)realloc(attributes,sizeof(struct svm_node)*max_n); ^ bindings.cpp:160:3: error: use of undeclared identifier 'free' free(x_space); x_space=NULL; ^ bindings.cpp:180:20: error: use of undeclared identifier 'free' if(prob != NULL) free(prob); ^ bindings.cpp:186:36: error: use of undeclared identifier 'malloc' if((prob = (struct svm_problem *)malloc(sizeof(struct svm_problem))) == NULL) return 0; ^ bindings.cpp:191:23: error: use of undeclared identifier 'malloc' prob->y = (double *)malloc(sizeof(double) * prob->l); ^ bindings.cpp:192:33: error: use of undeclared identifier 'malloc' prob->x = (struct svm_node **)malloc(sizeof(struct svm_node *) * prob->l); ^ bindings.cpp:195:25: error: use of undeclared identifier 'free' if(prob->y != NULL) free(prob->y); ^ bindings.cpp:196:25: error: use of undeclared identifier 'free' if(prob->x != NULL) free(prob->x); ^ bindings.cpp:197:5: error: use of undeclared identifier 'free' free(prob); ^ bindings.cpp:203:15: error: use of undeclared identifier 'free' if(error) { free(prob->x); free (prob->y); free(prob); return 0; } ^ bindings.cpp:203:30: error: use of undeclared identifier 'free' if(error) { free(prob->x); free (prob->y); free(prob); return 0; } ^ bindings.cpp:203:46: error: use of undeclared identifier 'free' if(error) { free(prob->x); free (prob->y); free(prob); return 0; } ^ bindings.cpp:211:31: error: use of undeclared identifier 'malloc' x_space = (struct svm_node *)malloc(sizeof(struct svm_node)*nelem); ^ bindings.cpp:219:5: error: use of undeclared identifier 'free' free(prob->y); ^ bindings.cpp:220:3: error: use of undeclared identifier 'free' free(prob->x); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/devel/p5-Algorithm-SVM/work/Algorithm-SVM-0.13 *** Error code 1 Stop. make: stopped in /usr/ports/devel/p5-Algorithm-SVM ===> Cleaning for p5-Algorithm-SVM-0.13
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402070018.s170I3A0047223>