[package - 10amd64-default][chinese/sunpinyin] Failed for zh-sunpinyin-2.0.4.r2_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue Aug 26 23:40:44 UTC 2014


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:     lichray at gmail.com
Last committer: adamw at FreeBSD.org
Ident:          $FreeBSD: head/chinese/sunpinyin/Makefile 363392 2014-07-29 21:07:39Z adamw $
Log URL:        http://beefy2.isc.freebsd.org/data/10amd64-default/2014-08-26_23h17m02s/logs/zh-sunpinyin-2.0.4.r2_1.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=10amd64-default&build=2014-08-26_23h17m02s
Log:

====>> Building chinese/sunpinyin
build started at Tue Aug 26 23:40:31 UTC 2014
port directory: /usr/ports/chinese/sunpinyin
building for: FreeBSD 10amd64-default-job-11 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 amd64
maintained by: lichray at gmail.com
Makefile ident:      $FreeBSD: head/chinese/sunpinyin/Makefile 363392 2014-07-29 21:07:39Z adamw $
Poudriere version: 3.1-pre
Host OSVERSION: 1100027
Jail OSVERSION: 1000510

---Begin Environment---
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RELEASE-p7
UNAME_r=10.0-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=zh-sunpinyin-2.0.4.r2_1
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/10amd64-default/ref/.p/pool
MASTERNAME=10amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work  HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work  HOME=/wrkdirs/usr/ports/chinese/sunpinyin/work TMPDIR="/tmp" NO_PIE=yes 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=" -L/usr/local/lib " LIBS=""  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--

--PLIST_SUB--
OSREL=10.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
DOCSDIR="share/doc/sunpinyin"
EXAMPLESDIR="share/examples/sunpinyin"
DATADIR="share/sunpinyin"
WWWDIR="www/sunpinyin"
ETCDIR="etc/sunpinyin"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/sunpinyin
DOCSDIR=/usr/local/share/doc/sunpinyin
EXAMPLESDIR=/usr/local/share/examples/sunpinyin
WWWDIR=/usr/local/www/sunpinyin
ETCDIR=/usr/local/etc/sunpinyin
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
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
#WITH_PKGNG=devel
# clean-restricted ran via poudriere.conf NO_RESTRICTED
#NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
=======================<phase: check-sanity   >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===>  License LGPL21 CDDL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zh-sunpinyin-2.0.4.r2_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.3.7.txz
[10amd64-default-job-11] Installing pkg-1.3.7... done
Message for pkg-1.3.7:
 If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2_1 for building
=> SHA256 Checksum OK for sunpinyin-2.0.4rc2.tar.xz.
=> SHA256 Checksum OK for lm_sc.t3g.arpa.tar.bz2.
=> SHA256 Checksum OK for dict.utf8.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2_1 for building
===>  Extracting for zh-sunpinyin-2.0.4.r2_1
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html.

It is scheduled to be removed on or after 2014-08-31.

===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2_1 for building
=> SHA256 Checksum OK for sunpinyin-2.0.4rc2.tar.xz.
=> SHA256 Checksum OK for lm_sc.t3g.arpa.tar.bz2.
=> SHA256 Checksum OK for dict.utf8.tar.bz2.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zh-sunpinyin-2.0.4.r2_1
===>  Applying FreeBSD patches for zh-sunpinyin-2.0.4.r2_1
===========================================================================
=======================<phase: build-depends  >============================
===>   zh-sunpinyin-2.0.4.r2_1 depends on file: /usr/local/bin/scons - not found
===>    Verifying install for /usr/local/bin/scons in /usr/ports/devel/scons
===>   Installing existing package /packages/All/scons-2.3.0_1.txz
[10amd64-default-job-11] Installing indexinfo-0.2... done
[10amd64-default-job-11] Installing m4-1.4.17_1,1... done
[10amd64-default-job-11] Installing gettext-0.18.3.1_1... done
[10amd64-default-job-11] Installing python27-2.7.8_3... done
[10amd64-default-job-11] Installing py27-setuptools27-5.5.1... done
[10amd64-default-job-11] Installing python2-2_3... done
[10amd64-default-job-11] Installing scons-2.3.0_1... done
Message for python27-2.7.8_3:
 =====================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

=====================================================================
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===>   zh-sunpinyin-2.0.4.r2_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
[10amd64-default-job-11] Installing gmake-3.82_1... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===>   zh-sunpinyin-2.0.4.r2_1 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.6_1.txz
[10amd64-default-job-11] Installing pkgconf-0.9.6_1... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   zh-sunpinyin-2.0.4.r2_1 depends on shared library: libsqlite3.so - not found
===>    Verifying for libsqlite3.so in /usr/ports/databases/sqlite3
===>   Installing existing package /packages/All/sqlite3-3.8.5_1.txz
[10amd64-default-job-11] Installing sqlite3-3.8.5_1... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for zh-sunpinyin-2.0.4.r2_1
===========================================================================
=======================<phase: build          >============================
===>  Building for zh-sunpinyin-2.0.4.r2_1
scons: Reading SConscript files ...
Warning: you've set CC in the environmental variable!
Warning: you've set CXX in the environmental variable!
Warning: you've set CFLAGS in the environmental variable!
Warning: you've set CXXFLAGS in the environmental variable!
Warning: you've set LDFLAGS in the environmental variable!
Checking for pkg-config... yes
Checking for sqlite3... yes
Checking for C header file assert.h... yes
Checking for C function bind_textdomain_codeset()... no
Checking for C function dcgettext()... no
Checking for C header file dlfcn.h... yes
Checking for C function exp2()... no
Checking for C header file fcntl.h... yes
Checking for C header file getopt.h... yes
Checking for C function getopt_long()... yes
Checking for C function getpagesize()... yes
Checking for C function get_opt()... no
Checking for C header file inttypes.h... yes
Checking for C header file locale.h... yes
Checking for C header file libintl.h... no
Checking for C header file limits.h... yes
Checking for C header file locale.h... yes
Checking for C function log2()... no
Checking for C header file memory.h... yes
Checking for C function memset()... yes
Checking for C function mmap()... yes
Checking for C function munmap()... yes
Checking for C function setlocale()... yes
Checking for C function strndup()... yes
Checking for C header file sys/mman.h... yes
Checking for C header file sys/param.h... yes
Checking for C header file sys/stat.h... yes
Checking for C header file sys/types.h... yes
Checking for C header file unistd.h... yes
Checking for C header file wchar.h... yes
scons: done reading SConscript files.
scons: Building targets ...
scons: Configure: creating config.h
c++ -o src/portability.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/portability.cpp
c++ -o src/slm/slm.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/slm/slm.cpp
c++ -o src/slm/tslmendian/writer.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/slm/tslmendian/writer.cpp
c++ -o src/lexicon/trie_writer.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/lexicon/trie_writer.cpp
c++ -o src/lexicon/genPYT.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/lexicon/genPYT.cpp
c++ -o src/lexicon/pytrie.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/lexicon/pytrie.cpp
c++ -o src/lexicon/pytrie_gen.o -c -O2 -pipe -fno-strict-aliasing -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/local/share/sunpinyin/data"' -I. -Isrc -Isrc/ime-core -Isrc/lexicon -Isrc/slm -Isrc/slm/ids2ngram -Isrc/slm/mmseg -Isrc/slm/slmbuild -Isrc/slm/slmseg -Isrc/slm/getWordFreq -Isrc/slm/tslminfo -Isrc/slm/slmprune -Isrc/slm/thread -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/slm/tslmpack -Isrc/slm/slminfo -Isrc/pinyin -I/usr/local/include src/lexicon/pytrie_gen.cpp
src/lexicon/pytrie_gen.cpp:146:10: error: use of undeclared identifier 'atoi'
    id = atoi(p);
         ^
src/lexicon/pytrie_gen.cpp:159:30: error: use of undeclared identifier 'atof'
                cost = -log2(atof(p)/100);
                             ^
src/lexicon/pytrie_gen.cpp:289:5: error: use of undeclared identifier 'free'
    free(buf);
    ^
3 errors generated.
scons: *** [src/lexicon/pytrie_gen.o] Error 1
scons: building terminated because of errors.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/chinese/sunpinyin
*** Error code 1

Stop.
make: stopped in /usr/ports/chinese/sunpinyin


More information about the freebsd-pkg-fallout mailing list