Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 15:41:38 GMT
From:      pkg-fallout@FreeBSD.org
To:        lichray@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 10amd64-quarterly][chinese/sunpinyin] Failed for zh-sunpinyin-2.0.4.r2_1 in build
Message-ID:  <201408271541.s7RFfc19027159@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: miwi@FreeBSD.org
Ident:          $FreeBSD: branches/2014Q3/chinese/sunpinyin/Makefile 359586 2014-06-27 17:21:06Z miwi $
Log URL:        http://beefy2.isc.freebsd.org/data/10amd64-quarterly/2014-08-27_15h21m01s/logs/zh-sunpinyin-2.0.4.r2_1.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=10amd64-quarterly&build=2014-08-27_15h21m01s
Log:

====>> Building chinese/sunpinyin
build started at Wed Aug 27 15:41:25 UTC 2014
port directory: /usr/ports/chinese/sunpinyin
building for: FreeBSD 10amd64-quarterly-job-13 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 amd64
maintained by: lichray@gmail.com
Makefile ident:      $FreeBSD: branches/2014Q3/chinese/sunpinyin/Makefile 359586 2014-06-27 17:21:06Z miwi $
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-quarterly/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/poudriere
PWD=/usr/local/poudriere/data/.m/10amd64-quarterly/ref/.p/pool
MASTERNAME=10amd64-quarterly
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
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   >============================
===>  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.2.7_4.txz
Installing pkg-1.2.7_4... done
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          >============================
===>  License LGPL21 CDDL accepted by the user
===> Fetching all distfiles required by zh-sunpinyin-2.0.4.r2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  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        >============================
===>  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
===>  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.txz
Installing scons-2.3.0...Installing py27-setuptools27-5.1...Installing python27-2.7.6_4...Installing gettext-0.18.3.1_1...Installing indexinfo-0.2... done
 done
 done
 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_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
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.txz
Installing pkgconf-0.9.6... 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
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



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