Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2018 09:09:54 GMT
From:      pkg-fallout@FreeBSD.org
To:        lichray@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 104amd64-default][chinese/fcitx-libpinyin] Failed for zh-fcitx-libpinyin-0.3.2 in build
Message-ID:  <201810180909.w9I99sO5069674@beefy6.nyi.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: tcberner@FreeBSD.org
Ident:          $FreeBSD: head/chinese/fcitx-libpinyin/Makefile 473503 2018-06-28 17:39:53Z tcberner $
Log URL:        http://beefy6.nyi.freebsd.org/data/104amd64-default/482319/logs/zh-fcitx-libpinyin-0.3.2.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=104amd64-default&build=482319
Log:

=>> Building chinese/fcitx-libpinyin
build started at Thu Oct 18 09:08:35 UTC 2018
port directory: /usr/ports/chinese/fcitx-libpinyin
package name: zh-fcitx-libpinyin-0.3.2
building for: FreeBSD 104amd64-default-job-12 10.4-RELEASE-p13 FreeBSD 10.4-RELEASE-p13 amd64
maintained by: lichray@gmail.com
Makefile ident:      $FreeBSD: head/chinese/fcitx-libpinyin/Makefile 473503 2018-06-28 17:39:53Z tcberner $
Poudriere version: 3.2.7-7-gb715fabe
Host OSVERSION: 1200084
Jail OSVERSION: 1004000
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1004000
UNAME_v=FreeBSD 10.4-RELEASE-p13
UNAME_r=10.4-RELEASE-p13
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-7-gb715fabe
MASTERMNT=/usr/local/poudriere/data/.m/104amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/104amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=104amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/104amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for zh-fcitx-libpinyin-0.3.2:
     QT4=on: Enable Qt4 for dictmanager
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lichray@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf QT_SELECT=qt4 QMAKEMODULES="/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/mkspecs/modules:/usr/local/share/qt4/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work  HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
QT_SELECT=qt4 QMAKEMODULES="/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/mkspecs/modules:/usr/local/share/qt4/mkspecs/modules" XDG_DATA_HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work  HOME=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DESTDIR=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -
 s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
QT4="" CMAKE_BUILD_TYPE="release" QT_BINDIR="lib/qt4/bin" QT_INCDIR="include/qt4" QT_LIBDIR="lib/qt4" QT_ARCHDIR="lib/qt4" QT_PLUGINDIR="lib/qt4/plugins" QT_LIBEXECDIR="libexec/qt4" QT_IMPORTDIR="lib/qt4/imports" QT_QMLDIR="lib/qt4/qml" QT_DATADIR="share/qt4" QT_DOCDIR="share/doc/qt4" QT_L10NDIR="share/qt4/translations" QT_EXAMPLEDIR="share/examples/qt4" QT_TESTDIR="share/qt4/tests" QT_MKSPECDIR="share/qt4/mkspecs" QT_QTCHOOSERDIR="etc/xdg/qtchooser" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=10.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fcitx-libpinyin"  EXAMPLESDIR="share/examples/fcitx-libpinyin"  DATADIR="share/fcitx-libpinyin"  WWWDIR="www/fcitx-libpinyin"  ETCDIR="etc/fcitx-libpinyin"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=error: invalid value 'c++14' in '-std=c++14'
CC_OUTPUT_921dbbb2_f2776b26=error: invalid value 'c++17' in '-std=c++17'
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=error: invalid value 'gnu++14' in '-std=gnu++14'
CC_OUTPUT_921dbbb2_fb62803b=error: invalid value 'gnu++17' in '-std=gnu++17'
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.4 Thread model: posix
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=10.4-RELEASE-p13
OSREL=10.4
OSVERSION=1004000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
sbsize                   (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zh-fcitx-libpinyin-0.3.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[104amd64-default-job-12] Installing pkg-1.10.5_5...
[104amd64-default-job-12] Extracting pkg-1.10.5_5: .......... done
===>   zh-fcitx-libpinyin-0.3.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of zh-fcitx-libpinyin-0.3.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zh-fcitx-libpinyin-0.3.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zh-fcitx-libpinyin-0.3.2 for building
=> SHA256 Checksum OK for fcitx/fcitx-libpinyin-0.3.2.tar.xz.
=> SHA256 Checksum OK for fcitx/model.text.20130308.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zh-fcitx-libpinyin-0.3.2 for building
===>  Extracting for zh-fcitx-libpinyin-0.3.2
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by zh-fcitx-libpinyin-0.3.2 for building
=> SHA256 Checksum OK for fcitx/fcitx-libpinyin-0.3.2.tar.xz.
=> SHA256 Checksum OK for fcitx/model.text.20130308.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zh-fcitx-libpinyin-0.3.2
===>  Applying FreeBSD patches for zh-fcitx-libpinyin-0.3.2
===========================================================================
=======================<phase: build-depends  >============================
===>   zh-fcitx-libpinyin-0.3.2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-3.12.2.txz
[104amd64-default-job-12] Installing cmake-3.12.2...
[104amd64-default-job-12] `-- Installing curl-7.61.1...
[104amd64-default-job-12] |   `-- Installing ca_root_nss-3.39...
[104amd64-default-job-12] |   `-- Extracting ca_root_nss-3.39: ........ done
[104amd64-default-job-12] |   `-- Installing libnghttp2-1.34.0...
[104amd64-default-job-12] |   `-- Extracting libnghttp2-1.34.0: .......... done
<snip>
 - databases/qt4-mysql-plugin		MySQL
 - databases/qt4-odbc-plugin		Open Database Connectivity
 - databases/qt4-pgsql-plugin		PostgreSQL
 - databases/qt4-sqlite-plugin		SQLite 2
 - databases/qt4-sqlite3-plugin		SQLite 3

======================================================================
===>   zh-fcitx-libpinyin-0.3.2 depends on shared library: libQtWebKit.so - found (/usr/local/lib/qt4/libQtWebKit.so)
===>   Returning to build of zh-fcitx-libpinyin-0.3.2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for zh-fcitx-libpinyin-0.3.2
===>  Performing in-source build
/bin/mkdir -p /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2
-- The C compiler identification is Clang 3.4.1
-- The CXX compiler identification is Clang 3.4.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for dgettext
-- Looking for dgettext - not found
-- Found Libintl: /usr/local/include  
-- Found PkgConfig: pkgconf (found version "1.5.3") 
-- Checking for module 'fcitx'
--   Found fcitx, version 4.2.9.1
-- Checking for module 'fcitx-config'
--   Found fcitx-config, version 4.2.9.1
-- Checking for module 'fcitx-utils'
--   Found fcitx-utils, version 4.2.9.1
-- fcitx4-config found /usr/local/bin/fcitx4-config
-- Found Fcitx: 4.2.9.1 (Required is at least version "4.2.8") 
-- Found GLIB2: /usr/local/lib/libglib-2.0.so  
-- Checking for module 'libpinyin>=1.1.91'
--   Found libpinyin, version 2.2.0
-- Found Libpinyin: /usr/local/lib/libpinyin.so  
-- Found D-Bus: /usr/local/lib/libdbus-1.so
-- Adding Fcitx Addon libpinyin
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.7", minimum required is "4.8") 
-- Checking for module 'fcitx-qt>=4.2.8'
--   Found fcitx-qt, version 4.2.9.1
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_COLOR_MAKEFILE
    CMAKE_CXX_FLAGS_DEBUG
    CMAKE_C_FLAGS_DEBUG
    CMAKE_C_FLAGS_RELEASE
    CMAKE_EXE_LINKER_FLAGS
    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2
===========================================================================
=======================<phase: build          >============================
===>  Building for zh-fcitx-libpinyin-0.3.2
[1/31] cd /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2 && env _FCITX_MACRO_CMAKE_DIR=/usr/local/share/cmake/fcitx _FCITX_PO_PARSER_EXECUTABLE=/usr/local/lib/fcitx/libexec/fcitx-po-parser FCITX_HELPER_CMAKE_CMD=/usr/local/bin/cmake FCITX_CMAKE_CACHE_BASE=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache _FCITX_TRANSLATION_TARGET_FILE=/wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/fcitx-libpinyin.pot /usr/local/share/cmake/fcitx/fcitx-cmake-helper.sh --parse-pos
Parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/de.po
Finished parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/de.po
Parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_CN.po
Finished parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_CN.po
Parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_TW.po
Finished parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_TW.po
Parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/ja.po
Finished parsing po file: /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/ja.po
[2/31] cd /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/de && /usr/local/bin/msgfmt -o /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/de/fcitx-libpinyin.mo /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/de.po
[3/31] cd /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/zh_CN && /usr/local/bin/msgfmt -o /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/zh_CN/fcitx-libpinyin.mo /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_CN.po
[4/31] cd /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/zh_TW && /usr/local/bin/msgfmt -o /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/zh_TW/fcitx-libpinyin.mo /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/zh_TW.po
[5/31] cd /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po && /usr/local/bin/cmake -E make_directory /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/ja && /usr/local/bin/msgfmt -o /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/fcitx_cmake_cache/mo/ja/fcitx-libpinyin.mo /wrkdirs/usr/ports/chinese/fcitx-libpinyin/work/fcitx-libpinyin-0.3.2/po/ja.po
[6/31] /usr/bin/c++  -DLOCALEDIR=\"/usr/local/share/locale\" -D_WITH_GETLINE -Dfcitx_libpinyin_EXPORTS -I. -I/usr/local/include/libpinyin-2.2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -Isrc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC   -fvisibility=hidden -MD -MT src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o -MF src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o.d -o src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o -c src/eim.cpp
FAILED: src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o 
/usr/bin/c++  -DLOCALEDIR=\"/usr/local/share/locale\" -D_WITH_GETLINE -Dfcitx_libpinyin_EXPORTS -I. -I/usr/local/include/libpinyin-2.2.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -Isrc -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -fvisibility=hidden -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC   -fvisibility=hidden -MD -MT src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o -MF src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o.d -o src/CMakeFiles/fcitx-libpinyin.dir/eim.cpp.o -c src/eim.cpp
In file included from src/eim.cpp:43:
src/enummap.h:27:1: error: unknown type name 'ChewingScheme'; did you mean 'ZhuyinScheme'?
ChewingScheme FcitxLibPinyinTransZhuyinLayout(FCITX_ZHUYIN_LAYOUT layout);
^~~~~~~~~~~~~
ZhuyinScheme
/usr/local/include/libpinyin-2.2.0/pinyin_custom2.h:124:6: note: 'ZhuyinScheme' declared here
enum ZhuyinScheme
     ^
src/eim.cpp:139:5: error: use of undeclared identifier 'pinyin_get_n_pinyin'; did you mean 'pinyin_get_n_phrase'?
    pinyin_get_n_pinyin(libpinyin->inst, &len);
    ^~~~~~~~~~~~~~~~~~~
    pinyin_get_n_phrase
/usr/local/include/libpinyin-2.2.0/pinyin.h:937:6: note: 'pinyin_get_n_phrase' declared here
bool pinyin_get_n_phrase(pinyin_instance_t * instance,
     ^
src/eim.cpp:399:9: error: use of undeclared identifier 'pinyin_get_raw_full_pinyin'
        pinyin_get_raw_full_pinyin(libpinyin->inst, &raw_full_pinyin);
        ^
src/eim.cpp:432:5: error: use of undeclared identifier 'pinyin_get_n_pinyin'; did you mean 'pinyin_get_n_phrase'?
    pinyin_get_n_pinyin(libpinyin->inst, &pinyinLen);
    ^~~~~~~~~~~~~~~~~~~
    pinyin_get_n_phrase
/usr/local/include/libpinyin-2.2.0/pinyin.h:937:6: note: 'pinyin_get_n_phrase' declared here
bool pinyin_get_n_phrase(pinyin_instance_t * instance,
     ^
src/eim.cpp:513:13: error: use of undeclared identifier 'pinyin_get_chewing_string'; did you mean 'pinyin_get_zhuyin_string'?
            pinyin_get_chewing_string(libpinyin->inst, pykey, &pystring);
            ^~~~~~~~~~~~~~~~~~~~~~~~~
            pinyin_get_zhuyin_string
/usr/local/include/libpinyin-2.2.0/pinyin.h:570:6: note: 'pinyin_get_zhuyin_string' declared here
bool pinyin_get_zhuyin_string(pinyin_instance_t * instance,
     ^
src/eim.cpp:559:5: error: no matching function for call to 'pinyin_get_sentence'
    pinyin_get_sentence(libpinyin->inst, &sentence);
    ^~~~~~~~~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:368:6: note: candidate function not viable: requires 3 arguments, but 2 were provided
bool pinyin_get_sentence(pinyin_instance_t * instance,
     ^
src/eim.cpp:633:5: error: no matching function for call to 'pinyin_guess_candidates'
    pinyin_guess_candidates(libpinyin->inst, LibPinyinGetOffset(libpinyin));
    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:484:6: note: candidate function not viable: requires 3 arguments, but 2 were provided
bool pinyin_guess_candidates(pinyin_instance_t * instance,
     ^
src/eim.cpp:695:9: error: use of undeclared identifier 'pinyin_get_n_pinyin'; did you mean 'pinyin_get_n_phrase'?
        pinyin_get_n_pinyin(libpinyin->inst, &pykeysLen);
        ^~~~~~~~~~~~~~~~~~~
        pinyin_get_n_phrase
/usr/local/include/libpinyin-2.2.0/pinyin.h:937:6: note: 'pinyin_get_n_phrase' declared here
bool pinyin_get_n_phrase(pinyin_instance_t * instance,
     ^
src/eim.cpp:703:17: error: no matching function for call to 'pinyin_train'
                pinyin_train(libpinyin->inst);
                ^~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:548:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool pinyin_train(pinyin_instance_t * instance, guint8 index);
     ^
src/eim.cpp:753:5: error: use of undeclared identifier 'pinyin_get_n_pinyin'; did you mean 'pinyin_get_n_phrase'?
    pinyin_get_n_pinyin(libpinyin->inst, &pinyinLen);
    ^~~~~~~~~~~~~~~~~~~
    pinyin_get_n_phrase
/usr/local/include/libpinyin-2.2.0/pinyin.h:937:6: note: 'pinyin_get_n_phrase' declared here
bool pinyin_get_n_phrase(pinyin_instance_t * instance,
     ^
src/eim.cpp:772:5: error: no matching function for call to 'pinyin_train'
    pinyin_train(libpinyin->inst);
    ^~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:548:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool pinyin_train(pinyin_instance_t * instance, guint8 index);
     ^
src/eim.cpp:886:9: error: use of undeclared identifier 'pinyin_set_chewing_scheme'; did you mean 'pinyin_set_zhuyin_scheme'?
        pinyin_set_chewing_scheme(libpinyinaddon->zhuyin_context, FcitxLibPinyinTransZhuyinLayout(config->zhuyinLayout));
        ^~~~~~~~~~~~~~~~~~~~~~~~~
        pinyin_set_zhuyin_scheme
/usr/local/include/libpinyin-2.2.0/pinyin.h:241:6: note: 'pinyin_set_zhuyin_scheme' declared here
bool pinyin_set_zhuyin_scheme(pinyin_context_t * context,
     ^
src/eim.cpp:923:21: error: use of undeclared identifier 'CHEWING_INCOMPLETE'; did you mean 'ZHUYIN_INCOMPLETE'?
        settings |= CHEWING_INCOMPLETE;
                    ^~~~~~~~~~~~~~~~~~
                    ZHUYIN_INCOMPLETE
/usr/local/include/libpinyin-2.2.0/pinyin_custom2.h:35:5: note: 'ZHUYIN_INCOMPLETE' declared here
    ZHUYIN_INCOMPLETE = 1U << 4,
    ^
src/eim.cpp:930:17: error: use of undeclared identifier 'IS_CHEWING'
    settings |= IS_CHEWING;
                ^
src/eim.cpp:976:5: error: no matching function for call to 'pinyin_train'
    pinyin_train(libpinyin->inst);
    ^~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:548:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool pinyin_train(pinyin_instance_t * instance, guint8 index);
     ^
src/eim.cpp:1052:9: error: no matching function for call to 'pinyin_train'
        pinyin_train(libpinyin->inst);
        ^~~~~~~~~~~~
/usr/local/include/libpinyin-2.2.0/pinyin.h:548:6: note: candidate function not viable: requires 2 arguments, but 1 was provided
bool pinyin_train(pinyin_instance_t * instance, guint8 index);
     ^
16 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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

Stop.
make: stopped in /usr/ports/chinese/fcitx-libpinyin



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