>>> tg: Building community/tg 1.3.1-r13 (using abuild 3.8.0_rc3-r2) started Sat, 29 May 2021 12:34:03 +0000 >>> tg: Checking sanity of /home/buildozer/aports/community/tg/APKBUILD... >>> WARNING: tg: depends_dev found but no development subpackage found >>> tg: Analyzing dependencies... >>> tg: Installing for build: build-base readline-dev openssl-dev libconfig-dev libevent-dev jansson-dev lua5.3-dev zlib-dev grep (1/27) Installing libhistory (8.1.0-r0) (2/27) Installing ncurses-dev (6.2_p20210522-r0) (3/27) Installing readline (8.1.0-r0) (4/27) Installing readline-dev (8.1.0-r0) (5/27) Installing openssl-dev (1.1.1k-r0) (6/27) Installing libconfig++ (1.7.2-r0) (7/27) Installing libconfig (1.7.2-r0) (8/27) Installing libconfig-dev (1.7.2-r0) (9/27) Installing libbz2 (1.0.8-r1) (10/27) Installing libffi (3.3-r2) (11/27) Installing gdbm (1.19-r0) (12/27) Installing xz-libs (5.2.5-r0) (13/27) Installing mpdecimal (2.5.1-r1) (14/27) Installing sqlite-libs (3.35.5-r0) (15/27) Installing python3 (3.9.5-r1) (16/27) Installing libevent (2.1.12-r2) (17/27) Installing libevent-dev (2.1.12-r2) (18/27) Installing jansson (2.13.1-r0) (19/27) Installing jansson-dev (2.13.1-r0) (20/27) Installing linenoise (1.0-r1) (21/27) Installing lua5.3-libs (5.3.6-r0) (22/27) Installing lua5.3 (5.3.6-r0) (23/27) Installing lua5.3-dev (5.3.6-r0) (24/27) Installing zlib-dev (1.2.11-r3) (25/27) Installing pcre (8.44-r0) (26/27) Installing grep (3.6-r0) (27/27) Installing .makedepends-tg (20210529.123412) Executing busybox-1.33.1-r1.trigger OK: 364 MiB in 116 packages >>> tg: Cleaning up srcdir >>> tg: Cleaning up pkgdir >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tg-1.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 341 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tg: Fetching tg-1.3.1.tar.gz::https://github.com/vysheng/tg/archive/1.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 117 100 117 0 0 637 0 --:--:-- --:--:-- --:--:-- 639 100 271k 0 271k 0 0 600k 0 --:--:-- --:--:-- --:--:-- 600k >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tgl-2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 341 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tg: Fetching tgl-2.0.1.tar.gz::https://github.com/vysheng/tgl/archive/2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 118 100 118 0 0 567 0 --:--:-- --:--:-- --:--:-- 570 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 244k 0 244k 0 0 502k 0 --:--:-- --:--:-- --:--:-- 919k >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tl-parser-0_git20151118.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 341 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> tg: Fetching https://dev.alpinelinux.org/archive/tl-parser/tl-parser-0_git20151118.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 66625 100 66625 0 0 170k 0 --:--:-- --:--:-- --:--:-- 171k >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tg-1.3.1.tar.gz >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tgl-2.0.1.tar.gz >>> tg: Fetching https://distfiles.alpinelinux.org/distfiles/v3.14/tl-parser-0_git20151118.tar.gz >>> tg: Checking sha512sums... tg-1.3.1.tar.gz: OK tgl-2.0.1.tar.gz: OK tl-parser-0_git20151118.tar.gz: OK makefile-tl-parser-nocrc32.patch: OK musl-include-fix.patch: OK makefile-remove-werror.patch: OK openssl-1.1.patch: OK >>> tg: Unpacking /var/cache/distfiles/v3.14/tg-1.3.1.tar.gz... >>> tg: Unpacking /var/cache/distfiles/v3.14/tgl-2.0.1.tar.gz... >>> tg: Unpacking /var/cache/distfiles/v3.14/tl-parser-0_git20151118.tar.gz... >>> tg: makefile-tl-parser-nocrc32.patch patching file tgl/Makefile.tl-parser patching file Makefile.tl-parser >>> tg: musl-include-fix.patch patching file tgl/generate.c >>> tg: makefile-remove-werror.patch patching file Makefile.in >>> tg: openssl-1.1.patch patching file tgl/mtproto-client.c patching file tgl/mtproto-common.c checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for sqrt in -lm... yes checking for library containing clock_gettime... none required checking for library containing backtrace... no checking for event_base_new in -levent... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking event2/event.h usability... yes checking event2/event.h presence... yes checking for event2/event.h... yes checking for pkg-config... /usr/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 zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... 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 if /usr/bin/lua5.3 is a Lua interpreter... yes checking for lua version... 5.3 checking for lua platform... unknown checking for lua script directory... ${prefix}/local/share/lua/5.3 checking for lua module directory... ${exec_prefix}/lib/lua/5.3 checking if LUA_VERSION is defined... yes 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.3 checking if Lua header version matches 5.3... yes checking if LUA_VERSION is defined... yes checking for library containing lua_load... none required checking for libjansson... enabled checking for json_array_set_new in -ljansson... yes checking progname... default checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for alarm... yes checking for endpwent... yes checking for memset... yes checking for memmove... yes checking for mkdir... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strndup... yes checking for uname... yes checking for __builtin_bswap32... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h cat tgl/scheme.tl tgl/encrypted_scheme.tl tgl/binlog.tl tgl/append.tl tgl/mtproto.tl > auto/scheme.tl gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -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 gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl/tl-parser -c -MP -MD -MF dep/tlc.d -MQ objs/tlc.o -o objs/tlc.o tgl/tl-parser/tlc.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/generate.d -MQ objs/generate.o -o objs/generate.o tgl/generate.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tools.d -MQ objs/tools.o -o objs/tools.o tgl/tools.c gcc objs/generate.o objs/tools.o -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lm -lreadline -L/usr/lib/lua5.3 -llua -lm -lssl -lcrypto -o bin/generate gcc objs/tl-parser.o objs/tlc.o -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lm -lreadline -L/usr/lib/lua5.3 -llua -lm -lssl -lcrypto -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 bin/generate -g fetch-header auto/scheme.tlo > auto/auto-fetch.h || rm auto/auto-fetch.h bin/generate -g store-header auto/scheme.tlo > auto/auto-store.h || rm auto/auto-store.h bin/generate -g autocomplete-header auto/scheme.tlo > auto/auto-autocomplete.h || rm auto/auto-autocomplete.h bin/generate -g types-header auto/scheme.tlo > auto/auto-types.h || rm auto/auto-types.h bin/generate -g fetch-ds-header auto/scheme.tlo > auto/auto-fetch-ds.h || rm auto/auto-fetch-ds.h bin/generate -g free-ds-header auto/scheme.tlo > auto/auto-free-ds.h || rm auto/auto-free-ds.h bin/generate -g store-ds-header auto/scheme.tlo > auto/auto-store-ds.h || rm auto/auto-store-ds.h bin/generate -g print-ds-header auto/scheme.tlo > auto/auto-print-ds.h || rm auto/auto-print-ds.h gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/main.d -MQ objs/main.o -o objs/main.o main.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/loop.d -MQ objs/loop.o -o objs/loop.o loop.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/interface.d -MQ objs/interface.o -o objs/interface.o interface.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/lua-tg.d -MQ objs/lua-tg.o -o objs/lua-tg.o lua-tg.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -c -MP -MD -MF dep/json-tg.d -MQ objs/json-tg.o -o objs/json-tg.o json-tg.c bin/generate -g skip auto/scheme.tlo > auto/auto-skip.c || rm auto/auto-skip.c bin/generate -g fetch auto/scheme.tlo > auto/auto-fetch.c || rm auto/auto-fetch.c bin/generate -g store auto/scheme.tlo > auto/auto-store.c || rm auto/auto-store.c bin/generate -g autocomplete auto/scheme.tlo > auto/auto-autocomplete.c || rm auto/auto-autocomplete.c bin/generate -g types auto/scheme.tlo > auto/auto-types.c || rm auto/auto-types.c bin/generate -g fetch-ds auto/scheme.tlo > auto/auto-fetch-ds.c || rm auto/auto-fetch-ds.c bin/generate -g free-ds auto/scheme.tlo > auto/auto-free-ds.c || rm auto/auto-free-ds.c bin/generate -g store-ds auto/scheme.tlo > auto/auto-store-ds.c || rm auto/auto-store-ds.c bin/generate -g print-ds auto/scheme.tlo > auto/auto-print-ds.c || rm auto/auto-print-ds.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-common.d -MQ objs/mtproto-common.o -o objs/mtproto-common.o tgl/mtproto-common.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-client.d -MQ objs/mtproto-client.o -o objs/mtproto-client.o tgl/mtproto-client.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/queries.d -MQ objs/queries.o -o objs/queries.o tgl/queries.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/structures.d -MQ objs/structures.o -o objs/structures.o tgl/structures.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/binlog.d -MQ objs/binlog.o -o objs/binlog.o tgl/binlog.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl.d -MQ objs/tgl.o -o objs/tgl.o tgl/tgl.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/updates.d -MQ objs/updates.o -o objs/updates.o tgl/updates.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-net.d -MQ objs/tgl-net.o -o objs/tgl-net.o tgl/tgl-net.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tgl-timers.d -MQ objs/tgl-timers.o -o objs/tgl-timers.o tgl/tgl-timers.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/tg-mime-types.d -MQ objs/tg-mime-types.o -o objs/tg-mime-types.o tgl/tg-mime-types.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/mtproto-utils.d -MQ objs/mtproto-utils.o -o objs/mtproto-utils.o tgl/mtproto-utils.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-types.d -MQ objs/auto-types.o -o objs/auto/auto-types.o auto/auto-types.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-skip.d -MQ objs/auto-skip.o -o objs/auto/auto-skip.o auto/auto-skip.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-free-ds.d -MQ objs/auto-free-ds.o -o objs/auto/auto-free-ds.o auto/auto-free-ds.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-store-ds.d -MQ objs/auto-store-ds.o -o objs/auto/auto-store-ds.o auto/auto-store-ds.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-fetch-ds.d -MQ objs/auto-fetch-ds.o -o objs/auto/auto-fetch-ds.o auto/auto-fetch-ds.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-fetch.d -MQ objs/auto-fetch.o -o objs/auto/auto-fetch.o auto/auto-fetch.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-print-ds.d -MQ objs/auto-print-ds.o -o objs/auto/auto-print-ds.o auto/auto-print-ds.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-store.d -MQ objs/auto-store.o -o objs/auto/auto-store.o auto/auto-store.c gcc -I. -I. -I./tgl -Os -fomit-frame-pointer -fcommon -Os -fomit-frame-pointer -I/usr/local/include -I/usr/include -I/usr/include -I/usr/include/lua5.3 -DHAVE_CONFIG_H -Wall -Wextra -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -Wno-unused-parameter -fPIC -iquote ./tgl -c -MP -MD -MF dep/auto-autocomplete.d -MQ objs/auto-autocomplete.o -o objs/auto/auto-autocomplete.o auto/auto-autocomplete.c In file included from tgl/tgl-net.c:33: /usr/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] 1 | #warning redirecting incorrect #include to | ^~~~~~~ tgl/mtproto-common.c: In function 'tgl_do_compute_rsa_key_fingerprint': tgl/mtproto-common.c:184:34: warning: passing argument 1 of 'tgl_serialize_bignum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 184 | int l1 = tgl_serialize_bignum (n, tempbuff, 4096); | ^ tgl/mtproto-common.c:148:35: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 148 | int tgl_serialize_bignum (BIGNUM *b, char *buffer, int maxlen) { | ~~~~~~~~^ tgl/mtproto-common.c:186:34: warning: passing argument 1 of 'tgl_serialize_bignum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | int l2 = tgl_serialize_bignum (e, tempbuff + l1, 4096 - l1); | ^ tgl/mtproto-common.c:148:35: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 148 | int tgl_serialize_bignum (BIGNUM *b, char *buffer, int maxlen) { | ~~~~~~~~^ tgl/queries.c: In function '_tgl_do_send_photo': tgl/queries.c:1594:10: warning: cast between incompatible function types from 'void (*)(struct tgl_state *, void *, int, struct tgl_message *)' to 'void (*)(struct tgl_state *, void *, int)' [-Wcast-function-type] 1594 | ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0); | ^ tgl/queries.c:1611:10: warning: cast between incompatible function types from 'void (*)(struct tgl_state *, void *, int, struct tgl_message *)' to 'void (*)(struct tgl_state *, void *, int)' [-Wcast-function-type] 1611 | ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0); | ^ tgl/queries.c:1640:10: warning: cast between incompatible function types from 'void (*)(struct tgl_state *, void *, int, struct tgl_message *)' to 'void (*)(struct tgl_state *, void *, int)' [-Wcast-function-type] 1640 | ((void (*)(struct tgl_state *, void *, int))callback) (TLS, callback_extra, 0); | ^ tgl/mtproto-client.c: In function 'encrypt_packet_buffer': tgl/mtproto-client.c:148:144: warning: passing argument 6 of 'tgl_pad_rsa_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | return tgl_pad_rsa_encrypt (TLS, (char *) packet_buffer, (packet_ptr - packet_buffer) * 4, (char *) encrypt_buffer, ENCRYPT_BUFFER_INTS * 4, n, e); | ^ In file included from tgl/mtproto-client.c:76: tgl/mtproto-common.h:360:103: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 360 | int tgl_pad_rsa_encrypt (struct tgl_state *TLS, char *from, int from_len, char *to, int size, BIGNUM *N, BIGNUM *E); | ~~~~~~~~^ tgl/mtproto-client.c:148:147: warning: passing argument 7 of 'tgl_pad_rsa_encrypt' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | return tgl_pad_rsa_encrypt (TLS, (char *) packet_buffer, (packet_ptr - packet_buffer) * 4, (char *) encrypt_buffer, ENCRYPT_BUFFER_INTS * 4, n, e); | ^ In file included from tgl/mtproto-client.c:76: tgl/mtproto-common.h:360:114: note: expected 'BIGNUM *' {aka 'struct bignum_st *'} but argument is of type 'const BIGNUM *' {aka 'const struct bignum_st *'} 360 | int tgl_pad_rsa_encrypt (struct tgl_state *TLS, char *from, int from_len, char *to, int size, BIGNUM *N, BIGNUM *E); | ~~~~~~~~^ rm -f libs/libtgl.a && ar ruv libs/libtgl.a objs/mtproto-common.o objs/mtproto-client.o objs/queries.o objs/structures.o objs/binlog.o objs/tgl.o objs/updates.o objs/tgl-net.o objs/tgl-timers.o objs/tg-mime-types.o objs/mtproto-utils.o objs/tools.o objs/auto/auto-skip.o objs/auto/auto-fetch.o objs/auto/auto-store.o objs/auto/auto-autocomplete.o objs/auto/auto-types.o objs/auto/auto-fetch-ds.o objs/auto/auto-free-ds.o objs/auto/auto-store-ds.o objs/auto/auto-print-ds.o ar: `u' modifier ignored since `D' is the default (see `U') ar: creating libs/libtgl.a a - objs/mtproto-common.o a - objs/mtproto-client.o a - objs/queries.o a - objs/structures.o a - objs/binlog.o a - objs/tgl.o a - objs/updates.o a - objs/tgl-net.o a - objs/tgl-timers.o a - objs/tg-mime-types.o a - objs/mtproto-utils.o a - objs/tools.o a - objs/auto/auto-skip.o a - objs/auto/auto-fetch.o a - objs/auto/auto-store.o a - objs/auto/auto-autocomplete.o a - objs/auto/auto-types.o a - objs/auto/auto-fetch-ds.o a - objs/auto/auto-free-ds.o a - objs/auto/auto-store-ds.o a - objs/auto/auto-print-ds.o gcc objs/main.o objs/loop.o objs/interface.o objs/lua-tg.o objs/json-tg.o libs/libtgl.a -L/usr/local/lib -L/usr/lib -L/usr/lib -rdynamic -ggdb -levent -ljansson -lconfig -lz -levent -lm -lreadline -L/usr/lib/lua5.3 -llua -lm -lssl -lcrypto -o bin/telegram-cli >>> WARNING: tg: APKBUILD does not run any tests! Alpine policy will soon require that packages have any relevant testsuites run during the build process. To fix, either define a check() function, or declare !check in $options to indicate the package does not have a testsuite. >>> tg: Entering fakeroot... >>> tg*: Running postcheck for tg >>> tg*: Preparing package tg... >>> tg*: Stripping binaries >>> tg*: Scanning shared objects >>> tg*: Tracing dependencies... so:libc.musl-x86.so.1 so:libconfig.so.11 so:libcrypto.so.1.1 so:libevent-2.1.so.7 so:libjansson.so.4 so:liblua-5.3.so.0 so:libreadline.so.8 so:libz.so.1 >>> tg*: Package size: 2.6 MB >>> tg*: Compressing data... >>> tg*: Create checksum... >>> tg*: Create tg-1.3.1-r13.apk >>> tg: Build complete at Sat, 29 May 2021 12:34:50 +0000 elapsed time 0h 0m 47s >>> tg: Cleaning up srcdir >>> tg: Cleaning up pkgdir >>> tg: Uninstalling dependencies... (1/27) Purging .makedepends-tg (20210529.123412) (2/27) Purging readline-dev (8.1.0-r0) (3/27) Purging libhistory (8.1.0-r0) (4/27) Purging openssl-dev (1.1.1k-r0) (5/27) Purging libconfig-dev (1.7.2-r0) (6/27) Purging libconfig++ (1.7.2-r0) (7/27) Purging libconfig (1.7.2-r0) (8/27) Purging libevent-dev (2.1.12-r2) (9/27) Purging python3 (3.9.5-r1) (10/27) Purging libevent (2.1.12-r2) (11/27) Purging jansson-dev (2.13.1-r0) (12/27) Purging jansson (2.13.1-r0) (13/27) Purging lua5.3-dev (5.3.6-r0) (14/27) Purging lua5.3 (5.3.6-r0) (15/27) Purging lua5.3-libs (5.3.6-r0) (16/27) Purging zlib-dev (1.2.11-r3) (17/27) Purging grep (3.6-r0) (18/27) Purging ncurses-dev (6.2_p20210522-r0) (19/27) Purging readline (8.1.0-r0) (20/27) Purging libbz2 (1.0.8-r1) (21/27) Purging libffi (3.3-r2) (22/27) Purging gdbm (1.19-r0) (23/27) Purging xz-libs (5.2.5-r0) (24/27) Purging mpdecimal (2.5.1-r1) (25/27) Purging sqlite-libs (3.35.5-r0) (26/27) Purging linenoise (1.0-r1) (27/27) Purging pcre (8.44-r0) Executing busybox-1.33.1-r1.trigger OK: 312 MiB in 89 packages >>> tg: Updating the community/x86 repository index... >>> tg: Signing the index...