Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2014 15:01:25 GMT
From:      pkg-fallout@FreeBSD.org
To:        lichray@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][chinese/sunpinyin] Failed for zh-sunpinyin-2.0.4.r2_1 in build
Message-ID:  <201408011501.s71F1PtL069737@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: adamw@FreeBSD.org
Ident:          $FreeBSD: head/chinese/sunpinyin/Makefile 363392 2014-07-29 21:07:39Z adamw $
Log URL:        http://beefy2.isc.freebsd.org/data/head-amd64-default/2014-08-01_05h57m11s/logs/zh-sunpinyin-2.0.4.r2_1.log
Build URL:      http://beefy2.isc.freebsd.org/build.html?mastername=head-amd64-default&build=2014-08-01_05h57m11s
Log:

====>> Building chinese/sunpinyin
build started at Fri Aug  1 15:01:08 UTC 2014
port directory: /usr/ports/chinese/sunpinyin
building for: FreeBSD head-amd64-default-job-08 11.0-CURRENT FreeBSD 11.0-CURRENT r269282 amd64
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---
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269282
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PKG_EXT=txz
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-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
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
--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=11.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
# 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.3.txz
Message for pkg-1.3.3:
 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
===>   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
===>   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
===>   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
===>   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?201408011501.s71F1PtL069737>