[package - 140releng-powerpc-quarterly][net-im/telegram-cli] Failed for telegram-cli-20200106_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 19 Jan 2024 21:42:45 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul1/data/140releng-powerpc-quarterly/294d1b3c41db/logs/telegram-cli-20200106_1.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=140releng-powerpc-quarterly&build=294d1b3c41db
Log:

=>> Building net-im/telegram-cli
build started at Fri Jan 19 21:41:59 UTC 2024
port directory: /usr/ports/net-im/telegram-cli
package name: telegram-cli-20200106_1
building for: FreeBSD 140releng-powerpc-quarterly-job-13 14.0-RELEASE-p4 FreeBSD 14.0-RELEASE-p4 1400097 powerpc
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1187 Oct 17 01:03 /usr/ports/net-im/telegram-cli/Makefile
Ports top last git commit: 294d1b3c4
Ports top unclean checkout: no
Port dir last git commit: b41c26148
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500003
Jail OSVERSION: 1400097
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=powerpc
UNAME_p=powerpc
UNAME_r=14.0-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p4 1400097
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/140releng-powerpc-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/140releng-powerpc-quarterly/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=140releng-powerpc-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140releng-powerpc-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for telegram-cli-20200106_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@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  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work/.cache  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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/telegram-cli/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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.4  LUA_MODSHAREDIR=/usr/local/share/lua/5.4  LUA_MODDOCSDIR=/usr/local/share/doc/lua54  LUA_INCDIR=/usr/local/include/lua54  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.4  LUA_VER_STR=54 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  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-im/telegram-cli/work/.cache  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 PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net-im/telegram-cli/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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-str
 ict-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.4  LUA_MODSHAREDIR=share/lua/5.4  LUA_MODDOCSDIR=share/doc/lua54  LUA_INCDIR=include/lua54  LUA_VER=5.4  LUA_VER_STR=54 OSREL=14.0 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
MACHINE=powerpc
MACHINE_ARCH=powerpc
ARCH=${MACHINE_ARCH}
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  1048576
stack size              (kbytes, -s)  65536
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The telegram-cli port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   telegram-cli-20200106_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[140releng-powerpc-quarterly-job-13] Installing pkg-1.20.9...
[140releng-powerpc-quarterly-job-13] Extracting pkg-1.20.9: .......... done
===>   telegram-cli-20200106_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of telegram-cli-20200106_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The telegram-cli port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by telegram-cli-20200106_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The telegram-cli port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by telegram-cli-20200106_1 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>============================
<snip>
[140releng-powerpc-quarterly-job-13] Installing libconfig-1.7.3...
[140releng-powerpc-quarterly-job-13] Extracting libconfig-1.7.3: .......... done
===>   telegram-cli-20200106_1 depends on shared library: libconfig.so - found (/usr/local/lib/libconfig.so)
===>   Returning to build of telegram-cli-20200106_1
===>   telegram-cli-20200106_1 depends on shared library: libevent.so - not found
===>   Installing existing package /packages/All/libevent-2.1.12.pkg
[140releng-powerpc-quarterly-job-13] Installing libevent-2.1.12...
[140releng-powerpc-quarterly-job-13] Extracting libevent-2.1.12: .......... done
===>   telegram-cli-20200106_1 depends on shared library: libevent.so - found (/usr/local/lib/libevent.so)
===>   Returning to build of telegram-cli-20200106_1
===>   telegram-cli-20200106_1 depends on shared library: libjansson.so - not found
===>   Installing existing package /packages/All/jansson-2.14.pkg
[140releng-powerpc-quarterly-job-13] Installing jansson-2.14...
[140releng-powerpc-quarterly-job-13] Extracting jansson-2.14: .......... done
===>   telegram-cli-20200106_1 depends on shared library: libjansson.so - found (/usr/local/lib/libjansson.so)
===>   Returning to build of telegram-cli-20200106_1
===>   telegram-cli-20200106_1 depends on shared library: liblua-5.4.so - not found
===>   Installing existing package /packages/All/lua54-5.4.6.pkg
[140releng-powerpc-quarterly-job-13] Installing lua54-5.4.6...
[140releng-powerpc-quarterly-job-13] `-- Installing libedit-3.1.20221030,1...
[140releng-powerpc-quarterly-job-13] `-- Extracting libedit-3.1.20221030,1: .......... done
[140releng-powerpc-quarterly-job-13] Extracting lua54-5.4.6: .......... done
===>   telegram-cli-20200106_1 depends on shared library: liblua-5.4.so - found (/usr/local/lib/liblua-5.4.so)
===>   Returning to build of telegram-cli-20200106_1
===>   telegram-cli-20200106_1 depends on shared library: libreadline.so.8 - not found
===>   Installing existing package /packages/All/readline-8.2.1.pkg
[140releng-powerpc-quarterly-job-13] Installing readline-8.2.1...
[140releng-powerpc-quarterly-job-13] Extracting readline-8.2.1: .......... done
===>   telegram-cli-20200106_1 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8)
===>   Returning to build of telegram-cli-20200106_1
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for telegram-cli-20200106_1
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 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... /usr/local/bin/lua54
checking if /usr/local/bin/lua54 is a Lua interpreter... yes
checking for lua version... Hello Lua 5.4!
5.4
checking for lua platform... unknown
checking for lua script directory... ${prefix}/share/lua/5.4
checking for lua module directory... ${exec_prefix}/lib/lua/5.4
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/lua54
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.4
checking if Lua header version matches 5.4... 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.4
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          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for telegram-cli-20200106_1
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/lua54  -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/lua54  -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
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/lua54  -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 -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.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/lua54  -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 -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c
tgl/generate.c:330:7: warning: variable 'y' set but not used [-Wunused-but-set-variable]
  int y;
      ^
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/lua54  -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 -c -MP -MD -MF dep/crypto/rand_openssl.d -MQ objs/crypto/rand_openssl.o -o objs/crypto/rand_openssl.o tgl/crypto/rand_openssl.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/lua54  -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 -c -MP -MD -MF dep/crypto/rand_altern.d -MQ objs/crypto/rand_altern.o -o objs/crypto/rand_altern.o tgl/crypto/rand_altern.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/lua54  -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 -c -MP -MD -MF dep/crypto/err_openssl.d -MQ objs/crypto/err_openssl.o -o objs/crypto/err_openssl.o tgl/crypto/err_openssl.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/lua54  -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 -c -MP -MD -MF dep/crypto/err_altern.d -MQ objs/crypto/err_altern.o -o objs/crypto/err_altern.o tgl/crypto/err_altern.c
1 warning generated.
cc objs/generate.o objs/tools.o objs/crypto/rand_openssl.o objs/crypto/rand_altern.o objs/crypto/err_openssl.o objs/crypto/err_altern.o -L/usr/local/lib  -fstack-protector-strong  -L/usr/local/lib -L/usr/lib -L/usr/lib  -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lexecinfo   -lreadline -llua-5.4  -lm -lssl -lcrypto -lpthread -lutil -o bin/generate
cc objs/tl-parser.o objs/tlc.o -L/usr/local/lib  -fstack-protector-strong  -L/usr/local/lib -L/usr/lib -L/usr/lib  -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lexecinfo   -lreadline -llua-5.4  -lm -lssl -lcrypto -lpthread -lutil -o bin/tl-parser
bin/tl-parser -e auto/scheme.tlo auto/scheme.tl
bin/tl-parser -E auto/scheme.tl 2> auto/scheme2.tl  || ( cat auto/scheme2.tl && rm auto/scheme2.tl && false )
awk -f ./tgl/gen_constants_h.awk < auto/scheme2.tl > auto/constants.h
bin/generate -g skip-header auto/scheme.tlo > auto/auto-skip.h  || ( rm auto/auto-skip.h && false )
bin/generate -g fetch-header auto/scheme.tlo > auto/auto-fetch.h  || ( rm auto/auto-fetch.h && false )
bin/generate -g store-header auto/scheme.tlo > auto/auto-store.h  || ( rm auto/auto-store.h && false )
Assertion failed: (get_int () == TLS_SCHEMA_V2), function parse_tlo_file, file tgl/generate.c, line 2831.
Assertion failed: (get_int () == TLS_SCHEMA_V2), function parse_tlo_file, file tgl/generate.c, line 2831.
Assertion failed: (get_int () == TLS_SCHEMA_V2), function parse_tlo_file, file tgl/generate.c, line 2831.
gmake[1]: *** [Makefile.tgl:49: auto/auto-skip.h] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: *** [Makefile.tgl:49: auto/auto-fetch.h] Error 1
gmake[1]: *** [Makefile.tgl:49: auto/auto-store.h] 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