Date: Thu, 26 Sep 2013 07:33:25 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [REL - head-amd64-default][graphics/png2ico] Failed for png2ico-2002.12.08_4 in build Message-ID: <201309260733.r8Q7XPNC061388@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: ports@FreeBSD.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: head/graphics/png2ico/Makefile 327733 2013-09-20 18:35:44Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/png2ico-2002.12.08_4.log Build URL: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s Log: ====>> Building graphics/png2ico build started at Thu Sep 26 07:33:22 UTC 2013 port directory: /usr/ports/graphics/png2ico building for: FreeBSD head-amd64-default-job-24 10.0-CURRENT FreeBSD 10.0-CURRENT amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/graphics/png2ico/Makefile 327733 2013-09-20 18:35:44Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- OSVERSION=1000055 UNAME_v=FreeBSD 10.0-CURRENT UNAME_r=10.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref PKG_EXT=txz tpid=58819 POUDRIERE_BUILD_TYPE=bulk NBPARALLEL=24 PKGNG=1 PKGNAME=png2ico-2002.12.08_4 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 ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" TMPDIR="/tmp" 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="" 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/png2ico DOCSDIR=/usr/local/share/doc/png2ico EXAMPLESDIR=/usr/local/share/examples/png2ico WWWDIR=/usr/local/www/png2ico ETCDIR=/usr/local/etc/png2ico --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=yes ---End make.conf--- ===> Cleaning for png2ico-2002.12.08_4 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> png2ico-2002.12.08_4 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.1.4_5.txz Installing pkg-1.1.4_5... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of png2ico-2002.12.08_4 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by png2ico-2002.12.08_4 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by png2ico-2002.12.08_4 for building => SHA256 Checksum OK for png2ico-src-2002-12-08.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by png2ico-2002.12.08_4 for building ===> Extracting for png2ico-2002.12.08_4 => SHA256 Checksum OK for png2ico-src-2002-12-08.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for png2ico-2002.12.08_4 ===> Applying FreeBSD patches for png2ico-2002.12.08_4 =========================================================================== =======================<phase: build-depends >============================ =========================================================================== =======================<phase: lib-depends >============================ ===> png2ico-2002.12.08_4 depends on shared library: png15 - not found ===> Verifying install for png15 in /usr/ports/graphics/png ===> Installing existing package /packages/All/png-1.5.17.txz Installing png-1.5.17... done ===> Returning to build of png2ico-2002.12.08_4 =========================================================================== =======================<phase: configure >============================ ===> Configuring for png2ico-2002.12.08_4 =========================================================================== =======================<phase: build >============================ ===> Building for png2ico-2002.12.08_4 c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -L/usr/local/lib -o png2ico png2ico.cpp -lpng -lz -lm In file included from png2ico.cpp:40: /usr/include/c++/v1/ext/hash_map:209:2: warning: Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> [-W#warnings] #warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> ^ png2ico.cpp:63:54: error: use of undeclared identifier 'exit' if (fwrite(data,2,1,f)!=1) {perror("Write error"); exit(1);}; ^ png2ico.cpp:73:54: error: use of undeclared identifier 'exit' if (fwrite(data,4,1,f)!=1) {perror("Write error"); exit(1);}; ^ png2ico.cpp:80:54: error: use of undeclared identifier 'exit' if (fwrite(data,1,1,f)!=1) {perror("Write error"); exit(1);}; ^ png2ico.cpp:132:27: error: use of undeclared identifier 'malloc' img.palette=(png_colorp)malloc(palSize); ^ png2ico.cpp:346:28: error: use of undeclared identifier 'malloc' img.transMap=(png_bytepp)malloc(img.height*sizeof(png_bytep)); ^ png2ico.cpp:355:51: error: use of undeclared identifier 'malloc' png_bytep transPtr=img.transMap[y]=(png_bytep)malloc(transLineLen); ^ png2ico.cpp:422:3: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:432:5: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:449:9: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:452:16: error: use of undeclared identifier 'strtol'; did you mean 'stol'? long num=strtol(argv[i],&endptr,10); ^~~~~~ stol /usr/include/c++/v1/string:3997:20: note: 'stol' declared here long stol (const string& __str, size_t* __idx = 0, int __base = 10); ^ png2ico.cpp:452:31: error: cannot initialize a parameter of type 'size_t *' (aka 'unsigned long *') with an rvalue of type 'char **' long num=strtol(argv[i],&endptr,10); ^~~~~~~ /usr/include/c++/v1/string:3997:56: note: passing argument to parameter '__idx' here long stol (const string& __str, size_t* __idx = 0, int __base = 10); ^ png2ico.cpp:456:9: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:465:43: error: use of undeclared identifier 'exit' if (pngfile==NULL) {perror(argv[i]); exit(1);}; ^ png2ico.cpp:467:57: error: use of undeclared identifier 'exit' if (fread(header,8,1,pngfile)!=1) {perror(argv[i]); exit(1);}; ^ png2ico.cpp:471:7: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:483:7: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:491:7: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:499:7: error: use of undeclared identifier 'exit' exit(1); ^ png2ico.cpp:506:7: error: use of undeclared identifier 'exit' exit(1); ^ 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/graphics/png2ico/work/png2ico *** Error code 1 Stop. make: stopped in /usr/ports/graphics/png2ico ===> Cleaning for png2ico-2002.12.08_4
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309260733.r8Q7XPNC061388>