Cook: js 38.2.1 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): autoconf213-2.13-i486 Installing (pkg/local): libice-1.0.9-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): libsm-1.2.3-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): libxt-1.1.5-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libice-dev-1.0.9-any Installing (pkg/local): libsm-dev-1.2.3-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): libxt-dev-1.1.5-any Installing (pkg/local): python-dev-2.7.15-i486 Installing (pkg/local): nspr-4.20-i486 Installing (pkg/local): nspr-dev-4.20-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): libicu-60.2-i486 Installing (pkg/local): icu-60.2-i486 Installing (pkg/local): icu-dev-60.2-i486 Installing (pkg/local): coreutils-file-special-8.32-i486 Extracting source archive "mozjs-38.2.1.rc0.tar.bz2" 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 Applying patch js38-38.2.1-upstream_fixes-2.patch patching file build/autoconf/icu.m4 patching file js/src/configure patching file js/src/configure.in patching file js/src/jit/RegisterSets.h patching file js/src/Makefile.in CFLAGS : -march=i486 -O2 -pipe -mindirect-branch=thunk LDFLAGS : -Wl,-O2,--as-needed loading site script /etc/slitaz/cook.site creating cache ./config.cache checking host system type... i486-slitaz-linux-gnu checking target system type... i486-slitaz-linux-gnu checking build system type... i486-slitaz-linux-gnu checking for mawk... no checking for gawk... no checking for nawk... no checking for awk... awk checking for perl5... no checking for perl... /usr/bin/perl checking for gcc... gcc checking whether the C compiler (gcc -march=i486 -O2 -pipe -mindirect-branch=thunk -Wl,-O2,--as-needed) works... yes checking whether the C compiler (gcc -march=i486 -O2 -pipe -mindirect-branch=thunk -Wl,-O2,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-O2,--as-needed) works... yes checking whether the C++ compiler (c++ -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-O2,--as-needed) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking for as... /usr/bin/as checking for ar... ar checking for ld... ld checking for strip... strip checking for windres... no checking how to run the C preprocessor... gcc -E checking how to run the C++ preprocessor... c++ -E checking for sb-conf... no checking for ve... no checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for tar archiver... checking for gnutar... no checking for gtar... no checking for tar... tar tar checking for minimum required perl version >= 5.006... 5.028001 checking for full perl installation... yes checking for python2.7... /usr/bin/python2.7 Creating Python environment New python executable in /home/slitaz/wok/js/source/js-38.2.1/js/src/_virtualenv/bin/python2.7 Also creating executable in /home/slitaz/wok/js/source/js-38.2.1/js/src/_virtualenv/bin/python Installing setuptools, pip...done. running build_ext building '_psutil_linux' extension creating build creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/psutil i486-slitaz-linux-gcc -pthread -fno-strict-aliasing -march=i486 -Os -pipe -mindirect-branch=thunk -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -fPIC -I/usr/include/python2.7 -c psutil/_psutil_linux.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o psutil/_psutil_linux.c: In function 'init_psutil_linux': psutil/_psutil_linux.c:563:54: warning: overflow in conversion from 'long long unsigned int' to 'long int' changes value from '18446744073709551615' to '-1' [-Woverflow] PyModule_AddIntConstant(module, "RLIM_INFINITY", RLIM_INFINITY); ^~~~~~~~~~~~~ creating build/lib.linux-x86_64-2.7 i486-slitaz-linux-gcc -pthread -shared -Wl,-Os,--as-needed -D_GLIBCXX_USE_C99_MATH=1 build/temp.linux-x86_64-2.7/psutil/_psutil_linux.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/_psutil_linux.so building '_psutil_posix' extension i486-slitaz-linux-gcc -pthread -fno-strict-aliasing -march=i486 -Os -pipe -mindirect-branch=thunk -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -D_GLIBCXX_USE_C99_MATH=1 -fPIC -I/usr/include/python2.7 -c psutil/_psutil_posix.c -o build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o i486-slitaz-linux-gcc -pthread -shared -Wl,-Os,--as-needed -D_GLIBCXX_USE_C99_MATH=1 build/temp.linux-x86_64-2.7/psutil/_psutil_posix.o -L/usr/lib -lpython2.7 -o build/lib.linux-x86_64-2.7/_psutil_posix.so copying build/lib.linux-x86_64-2.7/_psutil_linux.so -> copying build/lib.linux-x86_64-2.7/_psutil_posix.so -> checking Python environment is Mozilla virtualenv... yes checking for doxygen... : checking for autoconf... : checking for xargs... /usr/bin/xargs checking for gmake... no checking for make... /usr/bin/make checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... no checking for connect... no checking for remove... no checking for shmat... no checking for IceConnectionNumber in -lICE... yes checking that static assertion macros used in autoconf tests work... yes checking for --noexecstack option to as... yes checking for -z noexecstack option to ld... yes checking for -z text option to ld... yes checking for --build-id option to ld... yes checking whether ld has archive extraction flags... yes checking for 64-bit OS... no checking whether the C++ compiler (c++ -march=i486 -Os -pipe -mindirect-branch=thunk -fno-rtti -Wl,-O2,--as-needed -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id) actually is a C++ compiler... yes checking for ANSI C header files... yes checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for gcc c++0x headers bug without rtti... no checking for gcc PR49911... no checking for llvm pr8927... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for sys/byteorder.h... no checking for compat.h... no checking for getopt.h... yes checking for sys/bitypes.h... yes checking for memory.h... yes checking for unistd.h... yes checking for gnu/libc-version.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for X11/XKBlib.h... yes checking for io.h... no checking for cpuid.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for sys/cdefs.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking for gethostbyname_r in -lc_r... no checking for library containing dlopen... -ldl checking for dlfcn.h... yes checking for socket in -lsocket... no checking for pthread_create in -lpthreads... no checking for pthread_create in -lpthread... yes checking whether gcc accepts -pthread... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking for getc_unlocked... yes checking for _getc_nolock... no checking for gmtime_r... yes checking for localtime_r... yes checking for sin in -lm... yes checking for log2... yes checking for log1p... yes checking for expm1... yes checking for sqrt1pm1... no checking for acosh... yes checking for asinh... yes checking for atanh... yes checking for trunc... yes checking for cbrt... yes checking for wcrtomb... yes checking for mbrtowc... yes checking for res_ninit()... yes checking for nl_langinfo and CODESET... yes checking for an implementation of va_copy()... yes checking whether va_list can be copied by value... yes checking whether the C++ "using" keyword resolves ambiguity... yes checking for C++ dynamic_cast to void*... yes checking for __thread keyword for TLS variables... yes checking for __attribute__((always_inline))... yes checking for __attribute__((malloc))... yes checking for __attribute__((warn_unused_result))... yes checking for LC_MESSAGES... yes checking for localeconv... yes checking NSPR selection... system checking for nspr-config... /usr/bin/nspr-config checking for NSPR - version >= 4.9.2... yes checking for gzread in -lz... yes checking for valid optimization flags... yes checking for __cxa_demangle... yes checking for -pipe support... yes checking whether C compiler supports -fprofile-generate... yes checking for tm_zone tm_gmtoff in struct tm... yes checking what kind of list files are supported by the linker... linkerscript checking what kind of ordering can be done with the linker... section-ordering-file checking for readline in -lreadline... no configure: error: No system readline library found. ------ config.log ------ configure:14391: gcc -c -march=i486 -O2 -pipe -mindirect-branch=thunk -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -fprofile-generate -fprofile-correction -D_GLIBCXX_USE_C99_MATH=1 conftest.c 1>&5 configure:14440: checking for tm_zone tm_gmtoff in struct tm configure:14452: c++ -c -march=i486 -Os -pipe -mindirect-branch=thunk -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe -D_GLIBCXX_USE_C99_MATH=1 conftest.C 1>&5 configure:14494: checking what kind of list files are supported by the linker configure:14499: gcc -o conftest.o -c -march=i486 -O2 -pipe -mindirect-branch=thunk -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -D_GLIBCXX_USE_C99_MATH=1 conftest.c 1>&5 configure:14501: gcc -o conftest -lpthread -Wl,-O2,--as-needed -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /home/slitaz/wok/js/source/js-38.2.1/js/src/build/unix/gold conftest.list -lm -ldl 1>&5 configure:14527: checking what kind of ordering can be done with the linker configure:14542: gcc -o conftest -march=i486 -O2 -pipe -mindirect-branch=thunk -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -D_GLIBCXX_USE_C99_MATH=1 -lpthread -Wl,-O2,--as-needed -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /home/slitaz/wok/js/source/js-38.2.1/js/src/build/unix/gold -Wl,--section-ordering-file,conftest.order conftest.c -lm -ldl 1>&5 configure:14636: checking for readline in -lreadline configure:14655: gcc -o conftest -march=i486 -O2 -pipe -mindirect-branch=thunk -std=gnu99 -fgnu89-inline -fno-math-errno -pthread -pipe -D_GLIBCXX_USE_C99_MATH=1 -lpthread -Wl,-O2,--as-needed -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id -B /home/slitaz/wok/js/source/js-38.2.1/js/src/build/unix/gold conftest.c -lreadline -lm -ldl 1>&5 /home/slitaz/wok/js/source/js-38.2.1/js/src/build/unix/gold/ld: error: cannot find -lreadline /tmp/cc8HyEUG.o:conftest.c:function main: error: undefined reference to 'readline' collect2: error: ld returned 1 exit status configure: failed program was: #line 14644 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char readline(); int main() { readline() ; return 0; } configure: error: No system readline library found. Build dependencies to remove: 28 Removing: autoconf213 coreutils-file-special icu icu-dev libgdbm libice libice-dev libicu libsm libsm-dev libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxt libxt-dev nspr nspr-dev perl perl-core python-dev util-linux-uuid xorgproto zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 15:50 Wasted time : 104s ~ 01m 44s 221:configure: error: No system readline library found. 233:/home/slitaz/wok/js/source/js-38.2.1/js/src/build/unix/gold/ld: error: cannot find -lreadline 234:/tmp/cc8HyEUG.o:conftest.c:function main: error: undefined reference to 'readline' 235:collect2: error: ld returned 1 exit status 247:configure: error: No system readline library found. ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================