Can't build sqlite without flag "tcl" The problem like as http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=281294 Reproducible: Always Steps to Reproduce: 1.emerge -eva system Actual Results: >>> Emerging (55 of 135) dev-db/sqlite-3.6.21 * sqlite-3.6.21.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * CPV: dev-db/sqlite-3.6.21 * REPO: gentoo * USE: amd64 elibc_glibc kernel_linux multilib readline threadsafe userland_GNU >>> Unpacking source... >>> Unpacking sqlite-3.6.21.tar.gz to /home/tmp2/portage/dev-db/sqlite-3.6.21/work >>> Source unpacked in /home/tmp2/portage/dev-db/sqlite-3.6.21/work >>> Preparing source in /home/tmp2/portage/dev-db/sqlite-3.6.21/work/sqlite-3.6.21 ... * Removing useless C++ checks ... [ ok ] >>> Source prepared. >>> Configuring source in /home/tmp2/portage/dev-db/sqlite-3.6.21/work/sqlite-3.6.21 ... * econf: updating sqlite-3.6.21/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sqlite-3.6.21/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-debug --enable-readline --enable-threadsafe --enable-cross-thread-connections --disable-tcl checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed 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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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 for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uintptr_t... yes checking for sys/types.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for usleep... yes checking for fdatasync... yes checking for localtime_r... yes checking for gmtime_r... yes checking for localtime_s... no checking for tclsh8.4... no checking for tclsh... no Warning: can't find tclsh - defaulting to non-amalgamation build. ./configure: line 12322: tclsh: command not found configure: Version set to 3.6 configure: Release set to 3.6.21 configure: Version number set to 3006021 checking whether to support threadsafe operation... yes checking for library containing pthread_create... -lpthread checking whether to allow connections to be shared across threads... yes checking whether threads can override each others locks... no checking whether to support shared library linked as release mode or not... no checking whether to use an in-ram database for temporary tables... no checking if executables have the .exe suffix... unknown checking host system type... (cached) x86_64-pc-linux-gnu checking for library containing tgetent... -lreadline checking for readline in -lreadline... yes checking readline.h usability... no checking readline.h presence... no checking for readline.h... no checking for /usr/include/readline.h... no checking for /usr/include/readline/readline.h... yes checking for library containing fdatasync... none required configure: creating ./config.status config.status: creating Makefile config.status: creating sqlite3.pc config.status: creating config.h config.status: executing libtool commands >>> Source configured. >>> Compiling source in /home/tmp2/portage/dev-db/sqlite-3.6.21/work/sqlite-3.6.21 ... make -j2 TCLLIBDIR=/usr/lib64/sqlite-3.6.21 tclsh ./tool/mksqlite3h.tcl . >sqlite3.h x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -fomit-frame-pointer -o lemon ./tool/lemon.c /bin/sh: tclsh: команда не найдена make: *** [sqlite3.h] Ошибка 127 make: *** Ожидание завершения заданий... cp ./src/lempar.c . * ERROR: dev-db/sqlite-3.6.21 failed: * emake failed * * Call stack: * ebuild.sh, line 55: Called src_compile * environment, line 2927: Called die * The specific snippet of code: * emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-db/sqlite-3.6.21', * the complete build log and the output of 'emerge -pqv =dev-db/sqlite-3.6.21'. * The complete build log is located at '/home/tmp2/portage/dev-db/sqlite-3.6.21/temp/build.log'. * The ebuild environment file is located at '/home/tmp2/portage/dev-db/sqlite-3.6.21/temp/environment'. * S: '/home/tmp2/portage/dev-db/sqlite-3.6.21/work/sqlite-3.6.21' >>> Failed to emerge dev-db/sqlite-3.6.21, Log file: >>> '/home/tmp2/portage/dev-db/sqlite-3.6.21/temp/build.log' * Regenerating GNU info directory index... * Processed 141 info files. * IMPORTANT: 1 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. home polatov # home polatov # emerge -pvt sqlite These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] dev-db/sqlite-3.6.21 USE="readline threadsafe -debug -doc -fts3 -icu -soundex -tcl" 0 kB [ebuild N ] dev-lang/tcl-8.5.7 USE="-debug -threads" 4,319 kB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 4,319 kB
dev-db/sqlite-3.6.21 depends on dev-lang/tcl, so Portage should install dev-lang/tcl before dev-db/sqlite. Run `emerge -1 sqlite`. You should always use '-u' option with system/world targets.