Cook: n2nc r_133 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): openssl-dev-1.1.1a-i486 Installing (pkg/local): bzip2-apps-1.0.6-i486 Installing (pkg/local): bzip2-dev-1.0.6-i486 Installing (pkg/local): zlib-dev-1.2.11-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): autoconf-2.69-any Installing (pkg/local): automake-1.16.1-any Installing (pkg/local): libltdl-2.4.6-i486 Installing (pkg/local): libtool-2.4.6-i486 Extracting source archive "n2nc-r_133.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 libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:8: installing './compile' configure.in:4: installing './missing' src/Makefile.am:13: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/examples/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/filters/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ 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-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i486-slitaz-linux-g++... gcc3 checking build system type... i486-slitaz-linux-gnu checking host system type... i486-slitaz-linux-gnu checking how to print strings... printf checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc 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 whether i486-slitaz-linux-gcc understands -c and -o together... yes checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i486-slitaz-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i486-slitaz-linux-nm -B checking the name lister (/usr/bin/i486-slitaz-linux-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert i486-slitaz-linux-gnu file names to i486-slitaz-linux-gnu format... func_convert_file_noop checking how to convert i486-slitaz-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i486-slitaz-linux-objdump... i486-slitaz-linux-objdump checking how to recognize dependent libraries... pass_all checking for i486-slitaz-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i486-slitaz-linux-ar... i486-slitaz-linux-ar checking for archiver @FILE support... @ checking for i486-slitaz-linux-strip... i486-slitaz-linux-strip checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking command to parse /usr/bin/i486-slitaz-linux-nm -B output from i486-slitaz-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i486-slitaz-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... i486-slitaz-linux-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if i486-slitaz-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i486-slitaz-linux-gcc option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-gcc static flag -static works... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... yes checking if i486-slitaz-linux-gcc supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E checking for ld used by i486-slitaz-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i486-slitaz-linux-g++ option to produce PIC... -fPIC -DPIC checking if i486-slitaz-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i486-slitaz-linux-g++ static flag -static works... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... yes checking if i486-slitaz-linux-g++ supports -c -o file.o... (cached) yes checking whether the i486-slitaz-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/examples/Makefile config.status: creating src/filters/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/n2nc/source/n2nc-r_133' Making all in src make[2]: Entering directory '/home/slitaz/wok/n2nc/source/n2nc-r_133/src' Making all in examples make[3]: Entering directory '/home/slitaz/wok/n2nc/source/n2nc-r_133/src/examples' i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT argument.o -MD -MP -MF .deps/argument.Tpo -c -o argument.o argument.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT argument_ex.o -MD -MP -MF .deps/argument_ex.Tpo -c -o argument_ex.o argument_ex.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT argumentshelper.o -MD -MP -MF .deps/argumentshelper.Tpo -c -o argumentshelper.o argumentshelper.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT validargument.o -MD -MP -MF .deps/validargument.Tpo -c -o validargument.o validargument.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT blow_ex.o -MD -MP -MF .deps/blow_ex.Tpo -c -o blow_ex.o blow_ex.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/filters -D_GLIBCXX_USE_C99_MATH=1 -march=i486 -Os -pipe -mindirect-branch=thunk -MT blowfish.o -MD -MP -MF .deps/blowfish.Tpo -c -o blowfish.o blowfish.cpp In file included from blow_ex.cpp:6: ../../src/blowfish.h:29:20: error: field 'm_ctx' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx; ^~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from blow_ex.cpp:5: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ In file included from blow_ex.cpp:6: ../../src/blowfish.h:30:20: error: field 'm_ctx_e' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx_e; ^~~~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from blow_ex.cpp:5: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ In file included from blow_ex.cpp:6: ../../src/blowfish.h:31:20: error: field 'm_ctx_d' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx_d; ^~~~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from blow_ex.cpp:5: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ blow_ex.cpp: In function 'int main(int, char**)': blow_ex.cpp:14:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *str = "AncripteDncripteFncriptA" ; /* adding chain IV null */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ blow_ex.cpp:15:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *str1= "BncripteDncripteFncriptB" ; /* adding chain IV null */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ blow_ex.cpp:16:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *str2= "CncripteDncripteFncriptC" ; /* adding chain IV null */ ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:564: blow_ex.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv -f .deps/validargument.Tpo .deps/validargument.Po In file included from blowfish.cpp:1: ../../src/blowfish.h:29:20: error: field 'm_ctx' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx; ^~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from ../../src/blowfish.h:4, from blowfish.cpp:1: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ In file included from blowfish.cpp:1: ../../src/blowfish.h:30:20: error: field 'm_ctx_e' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx_e; ^~~~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from ../../src/blowfish.h:4, from blowfish.cpp:1: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ In file included from blowfish.cpp:1: ../../src/blowfish.h:31:20: error: field 'm_ctx_d' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} EVP_CIPHER_CTX m_ctx_d; ^~~~~~~ In file included from /usr/include/openssl/evp.h:14, from ../../src/nixsys.h:33, from ../../src/blowfish.h:4, from blowfish.cpp:1: /usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX' {aka 'struct evp_cipher_ctx_st'} typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX; ^~~~~~~~~~~~~~~~~ blowfish.cpp: In member function 'int n2nc::security::BlowFish::loadKey(n2nc::security::BlowFish::key_t*)': blowfish.cpp:28:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ blowfish.cpp: In member function 'int n2nc::security::BlowFish::reinit()': blowfish.cpp:41:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ blowfish.cpp: In static member function 'static int n2nc::security::BlowFish::keyRand(n2nc::security::BlowFish::key_t*)': blowfish.cpp:34:10: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] ::read ( fd, ( void* ) key->key , 16 ); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:564: blowfish.o] Error 1 mv -f .deps/argument.Tpo .deps/argument.Po mv -f .deps/argument_ex.Tpo .deps/argument_ex.Po mv -f .deps/argumentshelper.Tpo .deps/argumentshelper.Po make[3]: Leaving directory '/home/slitaz/wok/n2nc/source/n2nc-r_133/src/examples' make[2]: *** [Makefile:627: all-recursive] Error 1 make[2]: Leaving directory '/home/slitaz/wok/n2nc/source/n2nc-r_133/src' make[1]: *** [Makefile:400: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/n2nc/source/n2nc-r_133' make: *** [Makefile:332: all] Error 2 Build dependencies to remove: 10 Removing: autoconf automake bzip2-apps bzip2-dev libltdl libtool openssl-dev perl perl-core zlib-dev Debug information ret1. ================================================================================ Cook date: 2018-12-27 07:06 Wasted time : 20s 165:../../src/blowfish.h:29:20: error: field 'm_ctx' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} 175:../../src/blowfish.h:30:20: error: field 'm_ctx_e' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} 185:../../src/blowfish.h:31:20: error: field 'm_ctx_d' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} 208:../../src/blowfish.h:29:20: error: field 'm_ctx' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} 219:../../src/blowfish.h:30:20: error: field 'm_ctx_e' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} 230:../../src/blowfish.h:31:20: error: field 'm_ctx_d' has incomplete type 'EVP_CIPHER_CTX' {aka 'evp_cipher_ctx_st'} ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================