Cook: telegram 1dad2e8 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.0.5-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): libpsl-0.20.2-i486 Installing (pkg/local): util-linux-uuid-2.33-i486 Installing (pkg/local): wget-1.20-i486 Installing (pkg/local): libconfig-1.7.2-i486 Installing (pkg/local): libconfig-dev-1.7.2-i486 Installing (pkg/local): lua-5.3.4-i486 Installing (pkg/local): liblua-5.3.4-i486 Installing (pkg/local): lua-dev-5.3.4-any Installing (pkg/local): readline-dev-7.0p5-any Installing (pkg/local): openssl-dev-1.1.1a-i486 Installing (pkg/local): libedit-3.0-i486 Installing (pkg/local): zlib-dev-1.2.11-i486 Extracting source archive "telegram-1dad2e8.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for i486-slitaz-linux-gcc... i486-slitaz-linux-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 i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-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... none required checking for inflate in -lz... yes checking for AES_set_encrypt_key in -lcrypto... yes checking for rl_save_prompt in -lreadline... yes checking for libconfig... enabled checking for config_init in -lconfig... yes checking for liblua... checking how to run the C preprocessor... i486-slitaz-linux-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 enabled checking for lua... /usr/bin/lua checking if /usr/bin/lua is a Lua interpreter... yes checking for lua version... 5.3 checking for lua platform... unknown checking for lua script directory... ${prefix}/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 exp... none required checking for library containing dlopen... -ldl checking for library containing lua_load... -llua default checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes 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 configure: creating ./config.status config.status: creating Makefile config.status: creating config.h i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c main.c -o main.o i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c loop.c -o loop.o i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c interface.c -o interface.o i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c net.c -o net.o i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c mtproto-common.c -o mtproto-common.o i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c mtproto-client.c -o mtproto-client.o In file included from structures.h:22, from interface.h:21, from mtproto-common.h:29, from mtproto-common.c:41: mtproto-common.c: In function 'compute_rsa_key_fingerprint': mtproto-common.c:199:14: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} assert (key->n && key->e); ^~ mtproto-common.c: In function 'pad_rsa_encrypt': mtproto-common.c:279:10: error: storage size of 'x' isn't known BIGNUM x, y; ^ mtproto-common.c:279:13: error: storage size of 'y' isn't known BIGNUM x, y; ^ mtproto-common.c:280:3: error: implicit declaration of function 'BN_init'; did you mean 'BN_print'? [-Werror=implicit-function-declaration] BN_init (&x); ^~~~~~~ BN_print mtproto-common.c:279:13: error: unused variable 'y' [-Werror=unused-variable] BIGNUM x, y; ^ mtproto-common.c:279:10: error: unused variable 'x' [-Werror=unused-variable] BIGNUM x, y; ^ mtproto-common.c: In function 'pad_rsa_decrypt': mtproto-common.c:306:10: error: storage size of 'x' isn't known BIGNUM x, y; ^ mtproto-common.c:306:13: error: storage size of 'y' isn't known BIGNUM x, y; ^ mtproto-common.c:306:13: error: unused variable 'y' [-Werror=unused-variable] mtproto-common.c:306:10: error: unused variable 'x' [-Werror=unused-variable] BIGNUM x, y; ^ i486-slitaz-linux-gcc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -I/usr/local/include -DHAVE_CONFIG_H -Wall -Wextra -Werror -Wno-deprecated-declarations -fno-strict-aliasing -fno-omit-frame-pointer -ggdb -I. -I. -c queries.c -o queries.o cc1: all warnings being treated as errors make: *** [Makefile:30: mtproto-common.o] Error 1 make: *** Waiting for unfinished jobs.... mtproto-client.c: In function 'encrypt_packet_buffer': mtproto-client.c:189:141: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} return pad_rsa_encrypt ((char *) packet_buffer, (packet_ptr - packet_buffer) * 4, (char *) encrypt_buffer, ENCRYPT_BUFFER_INTS * 4, pubKey->n, pubKey->e); ^~ mtproto-client.c: In function 'check_DH_params': mtproto-client.c:448:10: error: storage size of 't' isn't known BIGNUM t; ^ mtproto-client.c:449:3: error: implicit declaration of function 'BN_init'; did you mean 'BN_print'? [-Werror=implicit-function-declaration] BN_init (&t); ^~~~~~~ BN_print mtproto-client.c:482:10: error: storage size of 'b' isn't known BIGNUM b; ^ mtproto-client.c:482:10: error: unused variable 'b' [-Werror=unused-variable] mtproto-client.c:448:10: error: unused variable 't' [-Werror=unused-variable] BIGNUM t; ^ mtproto-client.c: At top level: mtproto-client.c:172:8: error: storage size of 'dh_prime' isn't known BIGNUM dh_prime, dh_g, g_a, dh_power, auth_key_num; ^~~~~~~~ mtproto-client.c:172:18: error: storage size of 'dh_g' isn't known BIGNUM dh_prime, dh_g, g_a, dh_power, auth_key_num; ^~~~ mtproto-client.c:172:24: error: storage size of 'g_a' isn't known BIGNUM dh_prime, dh_g, g_a, dh_power, auth_key_num; ^~~ mtproto-client.c:172:29: error: storage size of 'dh_power' isn't known BIGNUM dh_prime, dh_g, g_a, dh_power, auth_key_num; ^~~~~~~~ mtproto-client.c:172:39: error: storage size of 'auth_key_num' isn't known BIGNUM dh_prime, dh_g, g_a, dh_power, auth_key_num; ^~~~~~~~~~~~ mtproto-client.c: In function 'encrypt_packet_buffer': mtproto-client.c:190:1: error: control reaches end of non-void function [-Werror=return-type] } ^ cc1: all warnings being treated as errors make: *** [Makefile:30: mtproto-client.o] Error 1 Build dependencies to remove: 15 Removing: libconfig libconfig-dev libedit libidn2 liblua libpcre libpsl libunistring lua lua-dev openssl-dev readline-dev util-linux-uuid wget zlib-dev Debug information ret1. ================================================================================ Cook date: 2018-12-27 07:11 Wasted time : 15s 151:mtproto-common.c:199:14: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} 155:mtproto-common.c:279:10: error: storage size of 'x' isn't known 158:mtproto-common.c:279:13: error: storage size of 'y' isn't known 161:mtproto-common.c:280:3: error: implicit declaration of function 'BN_init'; did you mean 'BN_print'? [-Werror=implicit-function-declaration] 165:mtproto-common.c:279:13: error: unused variable 'y' [-Werror=unused-variable] 168:mtproto-common.c:279:10: error: unused variable 'x' [-Werror=unused-variable] 172:mtproto-common.c:306:10: error: storage size of 'x' isn't known 175:mtproto-common.c:306:13: error: storage size of 'y' isn't known 178:mtproto-common.c:306:13: error: unused variable 'y' [-Werror=unused-variable] 179:mtproto-common.c:306:10: error: unused variable 'x' [-Werror=unused-variable] 187:mtproto-client.c:189:141: error: dereferencing pointer to incomplete type 'RSA' {aka 'struct rsa_st'} 191:mtproto-client.c:448:10: error: storage size of 't' isn't known 194:mtproto-client.c:449:3: error: implicit declaration of function 'BN_init'; did you mean 'BN_print'? [-Werror=implicit-function-declaration] 198:mtproto-client.c:482:10: error: storage size of 'b' isn't known 201:mtproto-client.c:482:10: error: unused variable 'b' [-Werror=unused-variable] 202:mtproto-client.c:448:10: error: unused variable 't' [-Werror=unused-variable] 206:mtproto-client.c:172:8: error: storage size of 'dh_prime' isn't known 209:mtproto-client.c:172:18: error: storage size of 'dh_g' isn't known 212:mtproto-client.c:172:24: error: storage size of 'g_a' isn't known 215:mtproto-client.c:172:29: error: storage size of 'dh_power' isn't known 218:mtproto-client.c:172:39: error: storage size of 'auth_key_num' isn't known 222:mtproto-client.c:190:1: error: control reaches end of non-void function [-Werror=return-type] ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================