[package - 122powerpc64-quarterly][net-im/telegram-cli] Failed for telegram-cli-20200106 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 20 Jul 2021 03:13:30 UTC
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:     0mp@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/9e264d4e422a/logs/telegram-cli-20200106.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=9e264d4e422a
Log:

=>> Building net-im/telegram-cli
build started at Tue Jul 20 03:12:58 UTC 2021
port directory: /usr/ports/net-im/telegram-cli
package name: telegram-cli-20200106
building for: FreeBSD 122powerpc64-quarterly-job-08 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: 0mp@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/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 telegram-cli-20200106:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
0mp@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-python --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work  HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/telegram-cli/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
LUA_MODLIBDIR=/usr/local/lib/lua/5.2  LUA_MODSHAREDIR=/usr/local/share/lua/5.2  LUA_MODDOCSDIR=/usr/local/share/doc/lua52  LUA_INCDIR=/usr/local/include/lua52  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.2  LUA_VER_STR=52 OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work  HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-im/telegram-cli/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fcommon -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fcommon -fstack-protector-strong -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--
PORTDOCS="" LUA_MODLIBDIR=lib/lua/5.2  LUA_MODSHAREDIR=share/lua/5.2  LUA_MODDOCSDIR=share/doc/lua52  LUA_INCDIR=include/lua52  LUA_VER=5.2  LUA_VER_STR=52 OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/telegram-cli"  EXAMPLESDIR="share/examples/telegram-cli"  DATADIR="share/telegram-cli"  WWWDIR="www/telegram-cli"  ETCDIR="etc/telegram-cli"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/telegram-cli DOCSDIR=/usr/local/share/doc/telegram-cli EXAMPLESDIR=/usr/local/share/examples/telegram-cli  WWWDIR=/usr/local/www/telegram-cli ETCDIR=/usr/local/etc/telegram-cli
--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
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   telegram-cli-20200106 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-08] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-08] Extracting pkg-1.16.3: .......... done
===>   telegram-cli-20200106 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of telegram-cli-20200106
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by telegram-cli-20200106 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by telegram-cli-20200106 for building
=> SHA256 Checksum OK for kenorb-contrib-tg-20200106_GH0.tar.gz.
=> SHA256 Checksum OK for kenorb-contrib-tgl-57f1bc4_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by telegram-cli-20200106 for building
===>  Extracting for telegram-cli-20200106
=> SHA256 Checksum OK for kenorb-contrib-tg-20200106_GH0.tar.gz.
=> SHA256 Checksum OK for kenorb-contrib-tgl-57f1bc4_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for telegram-cli-20200106
===>  Applying FreeBSD patches for telegram-cli-20200106 from /usr/ports/net-im/telegram-cli/files
===========================================================================
=======================<phase: build-depends  >============================
===>   telegram-cli-20200106 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122powerpc64-quarterly-job-08] Installing gmake-4.3_2...
[122powerpc64-quarterly-job-08] `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-08] |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-08] `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-08] Extracting gmake-4.3_2: .......... done
===>   telegram-cli-20200106 depends on package: gmake>=4.3 - found
===>   Returning to build of telegram-cli-20200106
===>   telegram-cli-20200106 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.txz
[122powerpc64-quarterly-job-08] Installing pkgconf-1.7.4,1...
[122powerpc64-quarterly-job-08] Extracting pkgconf-1.7.4,1: .......... done
===>   telegram-cli-20200106 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of telegram-cli-20200106
===========================================================================
=======================<phase: lib-depends    >============================
===>   telegram-cli-20200106 depends on shared library: libconfig.so - not found
===>   Installing existing package /packages/All/libconfig-1.7.2_1.txz
[122powerpc64-quarterly-job-08] Installing libconfig-1.7.2_1...
[122powerpc64-quarterly-job-08] Extracting libconfig-1.7.2_1: .......... done
===>   telegram-cli-20200106 depends on shared library: libconfig.so - found (/usr/local/lib/libconfig.so)
===>   Returning to build of telegram-cli-20200106
===>   telegram-cli-20200106 depends on shared library: libevent.so - not found
===>   Installing existing package /packages/All/libevent-2.1.12.txz
[122powerpc64-quarterly-job-08] Installing libevent-2.1.12...
[122powerpc64-quarterly-job-08] Extracting libevent-2.1.12: .......... done
===>   telegram-cli-20200106 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   Returning to build of telegram-cli-20200106
===>   telegram-cli-20200106 depends on shared library: libjansson.so - not found
===>   Installing existing package /packages/All/jansson-2.13.1.txz
[122powerpc64-quarterly-job-08] Installing jansson-2.13.1...
[122powerpc64-quarterly-job-08] Extracting jansson-2.13.1: .......... done
===>   telegram-cli-20200106 depends on shared library: libjansson.so - found (/usr/local/lib/libjansson.so)
===>   Returning to build of telegram-cli-20200106
===>   telegram-cli-20200106 depends on shared library: liblua-5.2.so - not found
===>   Installing existing package /packages/All/lua52-5.2.4.txz
[122powerpc64-quarterly-job-08] Installing lua52-5.2.4...
[122powerpc64-quarterly-job-08] `-- Installing libedit-3.1.20210216,1...
[122powerpc64-quarterly-job-08] `-- Extracting libedit-3.1.20210216,1: .......... done
[122powerpc64-quarterly-job-08] Extracting lua52-5.2.4: ......... done
===>   telegram-cli-20200106 depends on shared library: liblua-5.2.so - found (/usr/local/lib/liblua-5.2.so)
===>   Returning to build of telegram-cli-20200106
===>   telegram-cli-20200106 depends on shared library: libreadline.so.8 - not found
===>   Installing existing package /packages/All/readline-8.1.1.txz
[122powerpc64-quarterly-job-08] Installing readline-8.1.1...
[122powerpc64-quarterly-job-08] Extracting readline-8.1.1: .......... done
===>   telegram-cli-20200106 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8)
===>   Returning to build of telegram-cli-20200106
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for telegram-cli-20200106
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for library containing clock_gettime... none required
checking for library containing backtrace... -lexecinfo
checking for event_base_new in -levent... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking event2/event.h usability... yes
checking event2/event.h presence... yes
checking for event2/event.h... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for openssl/ssl.h in /usr/local/ssl... no
checking for openssl/ssl.h in /usr/lib/ssl... no
checking for openssl/ssl.h in /usr/ssl... no
checking for openssl/ssl.h in /usr/pkg... no
checking for openssl/ssl.h in /usr/local... no
checking for openssl/ssl.h in /usr... yes
checking whether compiling and linking against OpenSSL works... yes
checking if zlib is wanted... yes
checking for inflateEnd in -lz... yes
checking for zlib.h... (cached) yes
checking for rl_save_prompt in -lreadline... yes
checking for libconfig... enabled
checking for config_init in -lconfig... yes
checking for liblua... enabled
checking for lua... no
checking for lua5.4... no
checking for lua54... no
checking for lua5.3... no
checking for lua53... no
checking for lua5.2... no
checking for lua52... /usr/local/bin/lua52
checking if /usr/local/bin/lua52 is a Lua interpreter... yes
checking for lua version... Hello Lua 5.2!
5.2
checking for lua platform... unknown
checking for lua script directory... ${prefix}/share/lua/5.2
checking for lua module directory... ${exec_prefix}/lib/lua/5.2
checking if LUA_VERSION is defined... yes
checking lua.h usability... no
checking lua.h presence... no
checking for lua.h... no
checking lualib.h usability... no
checking lualib.h presence... no
checking for lualib.h... no
checking lauxlib.h usability... no
checking lauxlib.h presence... no
checking for lauxlib.h... no
checking luaconf.h usability... no
checking luaconf.h presence... no
checking for luaconf.h... no
checking for Lua headers in... /usr/local/include/lua52
checking lua.h usability... yes
checking lua.h presence... yes
checking for lua.h... yes
checking lualib.h usability... yes
checking lualib.h presence... yes
checking for lualib.h... yes
checking lauxlib.h usability... yes
checking lauxlib.h presence... yes
checking for lauxlib.h... yes
checking luaconf.h usability... yes
checking luaconf.h presence... yes
checking for luaconf.h... yes
checking for Lua header version... 5.2
checking if Lua header version matches 5.2... yes
checking if LUA_VERSION is defined... yes
checking for library containing exp... -lm
checking for library containing dlopen... none required
checking for library containing lua_load... -llua-5.2
checking for python... disabled
checking for libjansson... enabled
checking for json_array_set_new in -ljansson... yes
checking progname... default
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for fcntl.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for netdb.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking for netinet/in.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for inline... inline
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for alarm... (cached) yes
checking for endpwent... yes
checking for memset... (cached) yes
checking for memmove... (cached) yes
checking for mkdir... yes
checking for select... (cached) yes
checking for socket... yes
checking for strdup... (cached) yes
checking for strndup... (cached) yes
checking for uname... (cached) yes
checking for __builtin_bswap32... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for telegram-cli-20200106
gmake[1]: Entering directory '/wrkdirs/usr/ports/net-im/telegram-cli/work/tg-20200106'
cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl
cc -I. -I. -I./tgl -O2 -pipe  -fcommon -fstack-protector-strong -fno-strict-aliasing   -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/local/include/lua52 -I/usr/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -Wno-unused-function -Wno-builtin-memcpy-chk-size -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tl-parser.d -MQ objs/tl-parser.o -o objs/tl-parser.o tgl/tl-parser/tl-parser.c
cc -I. -I. -I./tgl -O2 -pipe  -fcommon -fstack-protector-strong -fno-strict-aliasing   -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -I/usr/local/include/lua52 -I/usr/include -DHAVE_CONFIG_H -Wall -Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -Wno-unused-function -Wno-builtin-memcpy-chk-size -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c
cc1: error: unrecognized command line option "-Wno-builtin-memcpy-chk-size"
cc1: error: unrecognized command line option "-Wno-builtin-memcpy-chk-size"
gmake[1]: *** [Makefile.tl-parser:4: objs/tl-parser.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile.tl-parser:4: objs/tlc.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net-im/telegram-cli/work/tg-20200106'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/telegram-cli