Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 00:29:19 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        lichray@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][chinese/sunpinyin] Failed for zh-sunpinyin-2.0.4.r2 in build
Message-ID:  <201402070029.s170TJYd018282@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:     lichray@gmail.com
Last committer: madpilot@FreeBSD.org
Ident:          $FreeBSD: head/chinese/sunpinyin/Makefile 328492 2013-09-27 15:17:26Z madpilot $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s/logs/zh-sunpinyin-2.0.4.r2.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s
Log:

====>> Building chinese/sunpinyin
build started at Fri Feb  7 00:29:04 UTC 2014
port directory: /usr/ports/chinese/sunpinyin
building for: FreeBSD head-amd64-default-job-21 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 amd64
maintained by: lichray@gmail.com
Makefile ident:      $FreeBSD: head/chinese/sunpinyin/Makefile 328492 2013-09-27 15:17:26Z madpilot $
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=558
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=zh-sunpinyin-2.0.4.r2
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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake PKG_CONFIG=pkgconf SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
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=" -L/usr/local/lib "  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/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
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 zh-sunpinyin-2.0.4.r2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zh-sunpinyin-2.0.4.r2 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 zh-sunpinyin-2.0.4.r2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2 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        >============================
===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2 for building
===>  Extracting for zh-sunpinyin-2.0.4.r2
===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2 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
===>  Applying FreeBSD patches for zh-sunpinyin-2.0.4.r2
===========================================================================
=======================<phase: build-depends  >============================
===>   zh-sunpinyin-2.0.4.r2 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
Installing gmake-3.82_1...Installing gettext-0.18.3.1... done
 done
===>   Returning to build of zh-sunpinyin-2.0.4.r2
===>   zh-sunpinyin-2.0.4.r2 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.4.txz
Installing pkgconf-0.9.4... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2
===>   zh-sunpinyin-2.0.4.r2 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.txz
Installing scons-2.3.0...Installing python27-2.7.6_2... done
Installing python2-2_2... done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

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

Install them as needed.
====
===>   Returning to build of zh-sunpinyin-2.0.4.r2
===========================================================================
=======================<phase: lib-depends    >============================
===>   zh-sunpinyin-2.0.4.r2 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.2_1.txz
Installing sqlite3-3.8.2_1... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for zh-sunpinyin-2.0.4.r2
===========================================================================
=======================<phase: build          >============================
===>  Building for zh-sunpinyin-2.0.4.r2
scons: Reading SConscript files ...
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 -O2 -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 -O2 -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 -O2 -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 -O2 -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 -O2 -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 -O2 -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 -O2 -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 2

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

Stop.
make: stopped in /usr/ports/chinese/sunpinyin
===>  Cleaning for zh-sunpinyin-2.0.4.r2



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402070029.s170TJYd018282>