[REL - head-i386-default][graphics/png2ico] Failed for png2ico-2002.12.08_4 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Fri Nov 8 04:13:24 UTC 2013
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 at FreeBSD.org
Last committer: bapt at FreeBSD.org
Ident: $FreeBSD: head/graphics/png2ico/Makefile 327733 2013-09-20 18:35:44Z bapt $
Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-07_15h02m20s/logs/png2ico-2002.12.08_4.log
Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-11-07_15h02m20s
Log:
====>> Building graphics/png2ico
build started at Fri Nov 8 04:13:20 UTC 2013
port directory: /usr/ports/graphics/png2ico
building for: FreeBSD head-i386-default-job-16 11.0-CURRENT FreeBSD 11.0-CURRENT r256430 i386
maintained by: ports at FreeBSD.org
Makefile ident: $FreeBSD: head/graphics/png2ico/Makefile 327733 2013-09-20 18:35:44Z bapt $
Poudriere version: 3.1-pre
---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100000
UNAME_v=FreeBSD 11.0-CURRENT r256430
UNAME_r=11.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-i386-default/ref
PKG_EXT=txz
tpid=83933
POUDRIERE_BUILD_TYPE=bulk
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-i386-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--
--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---
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
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---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_8.txz
Installing pkg-1.1.4_8... 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 int *') 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
More information about the freebsd-pkg-fallout
mailing list