Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281294 - dev-db/sqlite-3.6.17 fails to build when dev-lang/tcl isn't installed
Summary: dev-db/sqlite-3.6.17 fails to build when dev-lang/tcl isn't installed
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal with 1 vote (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL: http://www.sqlite.org/src/tktview/7d9...
Whiteboard:
Keywords:
: 281357 281564 281861 282062 282770 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-13 08:17 UTC by Adam Gregoire
Modified: 2012-01-04 06:13 UTC (History)
26 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,7.58 KB, text/plain)
2009-08-13 08:22 UTC, Adam Gregoire
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Gregoire 2009-08-13 08:17:37 UTC
sqlite-3.6.17 build fails (tclsh related).

Reproducible: Always

Steps to Reproduce:
1. Attempt to build.
2. Build fails.

Actual Results:  
Build fails.

Expected Results:  
Build succeeds.

Portage 2.2_rc38 (default/linux/amd64/10.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)                                                                
=================================================================               
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1                                                        
Timestamp of tree: Thu, 13 Aug 2009 07:00:01 +0000                              
ccache version 2.4 [enabled]                                                    
app-shells/bash:     4.0_p28                                                    
dev-java/java-config: 2.1.8-r1                                                  
dev-lang/python:     2.6.2-r1, 3.1                                              
dev-util/ccache:     2.4-r8                                                     
dev-util/cmake:      2.6.4-r2                                                   
sys-apps/baselayout: 2.0.1                                                      
sys-apps/openrc:     0.4.3-r3                                                   
sys-apps/sandbox:    2.0                                                        
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="assume-digests ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 avi bzip2 cairo cli cracklib crypt dbus djvu dri ffmpeg fortran glitz gpm hal iconv ipv6 isdnlog jpeg jpeg2k lcms lm_sensors mad mmx mng mpeg mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf png pppd readline reflection sdl session smp spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd theora tiff truetype unicode vdpau vim-syntax vorbis wmf xcomposite xorg xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Adam Gregoire 2009-08-13 08:22:43 UTC
Created attachment 201113 [details]
Build log
Comment 2 Steffen 'j0inty' Stollfuß 2009-08-13 13:44:57 UTC
Hi,

I got the same result here on my root server.

>>> Compiling source in /var/tmp/portage/dev-db/sqlite-3.6.17/work/sqlite-3.6.17 ...
make -j4 TCLLIBDIR=/usr/lib64/sqlite-3.6.17
cat ./src/sqlite.h.in | tclsh ./tool/mksqlite3h.tcl `cat ./VERSION` > sqlite3.h
x86_64-pc-linux-gnu-gcc  -march=k8-sse3 -O2 -pipe -fforce-addr -o lemon ./tool/lemon.c
/bin/sh: tclsh: command not found
x86_64-pc-linux-gnu-gcc  -march=k8-sse3 -O2 -pipe -fforce-addr -o mkkeywordhash -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA  ./tool/mkkeywordhash.c
./mkkeywordhash >keywordhash.h
make: *** [sqlite3.h] Error 127
make: *** Waiting for unfinished jobs....
cp ./src/lempar.c .
 *
 * ERROR: dev-db/sqlite-3.6.17 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2870:  Called die
 * The specific snippet of code:
 *       emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
 *  The die message:
 *   emake failed

The funny thing is that I don't use the tcl use-flag.

[ebuild     U ] dev-db/sqlite-3.6.17 [3.6.16] USE="threadsafe -debug -doc -soundex -tcl" 0 kB

j0inty
Comment 3 DrSlony 2009-08-13 16:13:50 UTC
Same for me.

Portage 2.2_rc38 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 13 Aug 2009 12:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/berkano /usr/local/portage/layman/voyageur /usr/local/portage/layman/roslin /usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi additions alsa amd64 apache2 apm archive avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups dbus devil dhcp divx djvu dlloader dns dri dts dv dvd dvdr dvdread embedded emboss enblend enca encode esd evo exif fam ffmpeg fftw firefox flac fortran gadu gdbm gif gimp glitz gmedia gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml h323 hal hdri iconv imagemagick ipv6 isdnlog java jpeg jpeg2k kde kdeenablefinal lcms ldap libg++ libnotify libsamplerate mad melt mikmod mmx mng modplug mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack mysql ncurses nls npp nptl nptlonly nsplugin nvidia ogg openexr opengl openmp oss pam pcre pdf pdflib perl pipechan png portaudio ppds pppd python qt3 qt3support qt4 quicktime raw rdp readline realmedia reflection scanner sdl session sid sift sip smp sound speex spell spl sql sqlite srt sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 video vnc vorbis wav webkit wmp x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



>>> Emerging (1 of 1) dev-db/sqlite-3.6.17
(...)
Warning: can't find tclsh - defaulting to non-amalgamation build.                                                                                                                                                                            
./configure: line 12322: tclsh: command not found    
(...)
make -j3 TCLLIBDIR=/usr/lib64/sqlite-3.6.17                                                                                                                                                                                                  
cat ./src/sqlite.h.in | tclsh ./tool/mksqlite3h.tcl `cat ./VERSION` > sqlite3.h                                                                                                                                                              
x86_64-pc-linux-gnu-gcc  -march=nocona -O2 -pipe -o lemon ./tool/lemon.c                                                                                                                                                                     
/bin/sh: tclsh: command not found                                                                                                                                                                                                            
x86_64-pc-linux-gnu-gcc  -march=nocona -O2 -pipe -o mkkeywordhash -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA  ./tool/mkkeywordhash.c                                                                                     
make: *** [sqlite3.h] Error 127                                                                                                                                                                                                              
make: *** Waiting for unfinished jobs....                                                                                                                                                                                                    
./mkkeywordhash >keywordhash.h                                                                                                                                                                                                               
cp ./src/lempar.c .                                                                                                                                                                                                                          
 *                                                                                                                                                                                                                                           
 * ERROR: dev-db/sqlite-3.6.17 failed.                                                                                                                                                                                                       
 * Call stack:                                                                                                                                                                                                                               
 *               ebuild.sh, line   49:  Called src_compile                                                                                                                                                                                   
 *             environment, line 2873:  Called die                                                                                                                                                                                           
 * The specific snippet of code:                                                                                                                                                                                                             
 *       emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"                                                                                                                                                                     
 *  The die message:                                                                                                                                                                                                                         
 *   emake failed
Comment 4 Andrew Walker 2009-08-14 08:32:48 UTC
(In reply to comment #3)
> Same for me.
> 
> Portage 2.2_rc38 (default/linux/amd64/2008.0/desktop, gcc-4.3.2,
> glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
> =================================================================
> System uname:
> Linux-2.6.30-gentoo-r4-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-gentoo-1.12.11.1
> Timestamp of tree: Thu, 13 Aug 2009 12:45:01 +0000
> ccache version 2.4 [enabled]
> app-shells/bash:     3.2_p39
> dev-java/java-config: 2.1.8-r1
> dev-lang/python:     2.5.4-r3, 2.6.2-r1
> dev-python/pycrypto: 2.0.1-r8
> dev-util/ccache:     2.4-r7
> dev-util/cmake:      2.6.4-r2
> sys-apps/baselayout: 1.12.11.1
> sys-apps/sandbox:    1.6-r2
> sys-devel/autoconf:  2.13, 2.63-r1
> sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
> sys-devel/binutils:  2.18-r3
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   1.5.26
> virtual/os-headers:  2.6.27-r2
> ACCEPT_KEYWORDS="amd64"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=nocona -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
> /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
> /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-march=nocona -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="assume-digests ccache collision-protect distlocks fixpackages
> parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs
> unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl"
> LANG="en_US.UTF-8"
> LDFLAGS="-Wl,-O1"
> LINGUAS="en"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
> --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/dev/shm/"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage/layman/berkano
> /usr/local/portage/layman/voyageur /usr/local/portage/layman/roslin
> /usr/local/portage/layman/sunrise /usr/local/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="X a52 aac aalib acl acpi additions alsa amd64 apache2 apm archive avi
> bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli
> cracklib crypt cups dbus devil dhcp divx djvu dlloader dns dri dts dv dvd dvdr
> dvdread embedded emboss enblend enca encode esd evo exif fam ffmpeg fftw
> firefox flac fortran gadu gdbm gif gimp glitz gmedia gnutls gphoto2 gpm
> gstreamer gtk gtk2 gtkhtml h323 hal hdri iconv imagemagick ipv6 isdnlog java
> jpeg jpeg2k kde kdeenablefinal lcms ldap libg++ libnotify libsamplerate mad
> melt mikmod mmx mng modplug mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack
> mysql ncurses nls npp nptl nptlonly nsplugin nvidia ogg openexr opengl openmp
> oss pam pcre pdf pdflib perl pipechan png portaudio ppds pppd python qt3
> qt3support qt4 quicktime raw rdp readline realmedia reflection scanner sdl
> session sid sift sip smp sound speex spell spl sql sqlite srt sse sse2 ssl
> ssse3 startup-notification svg symlink sysfs tcpd theora threads tiff truetype
> truetype-fonts type1-fonts udev unicode usb v4l v4l2 video vnc vorbis wav
> webkit wmp x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zip zlib"
> ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x
> ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3
> trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw
> asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
> lfloat linear meter mmap_emul mulaw multi null plug rate route share shm
> softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon
> authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
> authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
> dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter
> headers ident imagemap include info log_config logio mem_cache mime mime_magic
> negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite
> setenvif so speling status unique_id userdir usertrack vhost_alias"
> ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"
> USERLAND="GNU" VIDEO_CARDS="nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> 
> 
> 
> >>> Emerging (1 of 1) dev-db/sqlite-3.6.17
> (...)
> Warning: can't find tclsh - defaulting to non-amalgamation build.               
> ./configure: line 12322: tclsh: command not found    
> (...)
> make -j3 TCLLIBDIR=/usr/lib64/sqlite-3.6.17                                     
> cat ./src/sqlite.h.in | tclsh ./tool/mksqlite3h.tcl `cat ./VERSION` > sqlite3.h 
> x86_64-pc-linux-gnu-gcc  -march=nocona -O2 -pipe -o lemon ./tool/lemon.c        
> /bin/sh: tclsh: command not found                                               
> x86_64-pc-linux-gnu-gcc  -march=nocona -O2 -pipe -o mkkeywordhash
> -DSQLITE_OMIT_LOAD_EXTENSION=1 -DSQLITE_ENABLE_COLUMN_METADATA 
> ./tool/mkkeywordhash.c                                                          
> make: *** [sqlite3.h] Error 127                                                 
> make: *** Waiting for unfinished jobs....                                       
> ./mkkeywordhash >keywordhash.h                                                  
> cp ./src/lempar.c .                                                             
>  *                                                                              
>  * ERROR: dev-db/sqlite-3.6.17 failed.                                          
>  * Call stack:                                                                  
>  *               ebuild.sh, line   49:  Called src_compile                      
>  *             environment, line 2873:  Called die                              
>  * The specific snippet of code:                                                
>  *       emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"        
>  *  The die message:                                                            
>  *   emake failed
> 


Confirmed here as well.
/bin/sh: tclsh: command not found                                                                                                                  
make: *** [sqlite3.h] Error 127                                                                                                                    
make: *** Waiting for unfinished jobs....                                                                                                          
./mkkeywordhash >keywordhash.h  
Comment 5 Søren Færløv 2009-08-14 08:44:46 UTC
See bug #281357 for a possible fix/workaround.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-14 15:52:11 UTC
*** Bug 281357 has been marked as a duplicate of this bug. ***
Comment 7 Rahul Jain 2009-08-15 08:53:46 UTC
Same here as well.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-08-15 10:46:44 UTC
*** Bug 281564 has been marked as a duplicate of this bug. ***
Comment 9 Frank Goubert 2009-08-15 19:47:56 UTC
* ERROR: dev-db/sqlite-3.6.17 failed.

==> Same here.
Comment 10 steffen katzenberger 2009-08-16 12:28:33 UTC
seems to be a simple dependency problem. on my system simply tcl was missing. just make a simple emerge tcl. then sqllite is installing without problems
Comment 11 Duncan 2009-08-16 13:26:37 UTC
(In reply to comment #10)
> seems to be a simple dependency problem. on my system simply tcl was missing.
> just make a simple emerge tcl. then sqllite is installing without problems

Except it's not so simple.  tcl dependency is supposed to be controlled by the tcl USE flag, and shouldn't be required if it's not on.  Only due to this bug it's being required to properly merge, regardless, because there's a call to tclsh that shouldn't be there if the dependency is off.  But the patch introducing that call fixes another issue, so they have to find a different way to fix that other issue instead of simply making the assumption that tcl is there, even when it's supposed to be building without it.

IOW, yes, installing tcl is a temporary work around for this one little issue, sure, but that can't be the permanent solution, because if we were to allow this for every build making such an invalid assumption, our systems would very quickly be filled with junk depends that aren't wanted or otherwise needed, and that's a nightmare in terms of both maintainability (think 100 or 500 extra packages installed to keep updated) and security (think of all those extra packages now sitting there, waiting for someone to find and exploit a vuln, if you /fail/ to keep them updated or if the bad guys find the vuln before the good guys do).

If it were as simple as settling for requiring that dependency, yeah, just require it. but it's not, and that's not a satisfactory solution, either, tho it might be a reasonable temporary workaround (but so might be putting this version in your package.mask file, and reverting to a working version without the issue, until it's all straightened out).
Comment 12 Davide Pesavento gentoo-dev 2009-08-17 14:49:08 UTC
Please don't make tcl a hard dependency.
Comment 13 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-18 04:46:00 UTC
*** Bug 281861 has been marked as a duplicate of this bug. ***
Comment 14 Alexander Polozov 2009-08-18 18:46:29 UTC
sqlite-3.6.17.ebuild
--- /usr/portage/dev-db/sqlite/sqlite-3.6.17.ebuild     2009-08-12 21:05:53.000000000 +0400
+++ /tmp/sqlite-3.6.17.ebuild   2009-08-18 22:37:21.000000000 +0400
@@ -28,7 +28,7 @@
        epatch "${FILESDIR}/sandbox-fix2.patch"

        epatch "${FILESDIR}/${PN}-3.6.16-tkt3922.test.patch"
-       epatch "${FILESDIR}/${P}-fix_installation.patch"
+#      epatch "${FILESDIR}/${P}-fix_installation.patch"

        epunt_cxx
 }
@@ -43,7 +43,7 @@
        econf \
                $(use_enable debug) \
                $(use_enable threadsafe) \
-               $(use_enable threadsafe cross-thread-connections) \
+               $(use_enable cross-thread-connections) \
                $(use_enable tcl)
 }
Comment 15 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-20 02:47:42 UTC
Fixed.
Comment 16 Boney McCracker 2009-08-20 03:24:44 UTC
Thank you.

Will there be a bugfix release (e.g. sqlite-3.6.17-r1)?

Or should users 'emerge -1 sqlite'?
Comment 17 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-20 03:35:28 UTC
(In reply to comment #16)

Fixing of this bug doesn't change any files installed by dev-db/sqlite-3.6.17, so new revision isn't needed. If you had dev-lang/tcl installed, then you don't need to rebuild dev-db/sqlite.
Comment 18 Boney McCracker 2009-08-20 04:03:14 UTC
(In reply to comment #17)

If I had looked closer, I'd have noticed the patch itself answered my question.

Thanks again.
Comment 19 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-08-20 04:58:50 UTC
*** Bug 282062 has been marked as a duplicate of this bug. ***
Comment 20 Jeff Kowalczyk 2009-08-20 16:58:13 UTC
Just to document it here, the patch:

/usr/portage/dev-db/sqlite/files/sqlite-3.6.17-fix_installation.patch

Has the following effect on the sqlite build: 

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

SQLite amalgamation is described here: http://www.sqlite.org/amalgamation.html

Should a request be files with upstream to remove the dependency on tclsh?
Comment 21 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-20 17:10:23 UTC
(In reply to comment #20)

Why don't you check URL field?
Comment 22 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-26 10:47:30 UTC
*** Bug 282770 has been marked as a duplicate of this bug. ***