Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 18:37:43 GMT
From:      pkg-fallout@FreeBSD.org
To:        lichray@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default-ssp][chinese/sunpinyin] Failed for zh-sunpinyin-2.0.4.r2_1 in build
Message-ID:  <201408271837.s7RIbhKm046315@beefy4.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: adamw@FreeBSD.org
Ident:          $FreeBSD: head/chinese/sunpinyin/Makefile 363392 2014-07-29 21:07:39Z adamw $
Log URL:        http://beefy4.isc.freebsd.org/data/head-i386-default-ssp/2014-08-27_18h09m09s/logs/zh-sunpinyin-2.0.4.r2_1.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=head-i386-default-ssp&build=2014-08-27_18h09m09s
Log:

====>> Building chinese/sunpinyin
build started at Wed Aug 27 18:37:27 UTC 2014
port directory: /usr/ports/chinese/sunpinyin
building for: FreeBSD pkg.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT r269897 i386
maintained by: lichray@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: 1100028




!!! Jail is newer than host. (Jail: 1100028, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269897
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default-ssp/ref
PKG_EXT=txz
FORCE_PACKAGE=yes
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_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/root
PWD=/usr/local/poudriere/data/.m/head-i386-default-ssp/ref/.p/pool
MASTERNAME=head-i386-default-ssp
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/.p/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--
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 PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache"
--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  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib  -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" 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=11.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---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
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
#### /usr/local/etc/poudriere.d/ssp-make.conf ####
WITH_SSP_PORTS=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
[pkg.FreeBSD.org] 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
[pkg.FreeBSD.org] Installing indexinfo-0.2... done
[pkg.FreeBSD.org] Installing m4-1.4.17_1,1... done
[pkg.FreeBSD.org] Installing gettext-0.18.3.1_1... done
[pkg.FreeBSD.org] Installing readline-6.3.6_1... done
[pkg.FreeBSD.org] Installing python27-2.7.8_3... done
[pkg.FreeBSD.org] Installing py27-setuptools27-5.5.1... done
[pkg.FreeBSD.org] Installing python2-2_3... done
[pkg.FreeBSD.org] 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
[pkg.FreeBSD.org] 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
[pkg.FreeBSD.org] Installing pkgconf-0.9.6_1... done
===>   Returning to build of zh-sunpinyin-2.0.4.r2_1
===>   zh-sunpinyin-2.0.4.r2_1 depends on file: /usr/local/bin/ccache - not found
===>    Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache
===>   Installing existing package /packages/All/ccache-3.1.9_8.txz
[pkg.FreeBSD.org] Installing ccache-3.1.9_8... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
Message for ccache-3.1.9_8:
 NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for 
information on using ccache with FreeBSD ports and src.
===>   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
[pkg.FreeBSD.org] 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 -fstack-protector -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 -fstack-protector -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 -fstack-protector -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 -fstack-protector -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 -fstack-protector -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 -fstack-protector -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 -fstack-protector -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?201408271837.s7RIbhKm046315>