Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282770 - dev-db/sqlite-3.6.17: fails to build without tcl, even with USE=-tcl
Summary: dev-db/sqlite-3.6.17: fails to build without tcl, even with USE=-tcl
Status: RESOLVED DUPLICATE of bug 281294
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-26 04:42 UTC by Robin Johnson
Modified: 2009-08-26 10:47 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-26 04:42:04 UTC
The build system now requires TCL due to this change in Makefile.in/main.mk:

@@ -389,9 +389,7 @@
    awk -f $(TOP)/addopcodes.awk parse.h.temp >parse.h

 sqlite3.h: $(TOP)/src/sqlite.h.in
-   sed -e s/--VERS--/`cat ${TOP}/VERSION`/ \
-       -e s/--VERSION-NUMBER--/`cat ${TOP}/VERSION | sed 's/[^0-9]/ /g' | $(NAWK) '{printf "%d%03d%03d",$$1,$$2,$$3}'`/ \
-                 $(TOP)/src/sqlite.h.in >sqlite3.h
+   cat $(TOP)/src/sqlite.h.in | tclsh $(TOP)/tool/mksqlite3h.tcl `cat ${TOP}/VERSION` > sqlite3.h

Build error output:
./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-threadsafe --enable-cross-thread-connections --disable-tcl
...
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
...
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-db/sqlite-3.6.17/work/sqlite-3.6.17 ...
make TCLLIBDIR=/usr/lib64/sqlite-3.6.17 
cat ./src/sqlite.h.in | tclsh ./tool/mksqlite3h.tcl `cat ./VERSION` > sqlite3.h
/bin/sh: tclsh: command not found
make: *** [sqlite3.h] Error 127
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-26 10:47:30 UTC
Why don't you synchronize the tree more often? :)

*** This bug has been marked as a duplicate of bug 281294 ***