Summary: | dev-db/sqlite-3.6.17 fails to build due to missing tclsh (with USE=-tcl) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simeon Maryasin <marsoft> |
Component: | Current packages | Assignee: | Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | betelgeuse, f5d8fd51ed1e804c9e8d0357e8614e0493b06e96 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Simeon Maryasin
2009-08-13 17:24:59 UTC
Created attachment 201156 [details] build.log PS: maybe it is a duplicate of bug 223873, although everything was OK with sqlite-3.6.16 ... The patch sqlite-3.6.17-fix_installation.patch forces the Makefile to use tclsh whenever tcl is installed or not. As a workaround i commented out the epatch "${FILESDIR}/${P}-fix_installation.patch" line to build sqlite. I can confirm this, dev-db/sqlite-3.6.17 wont compile without dev-lang/tcl installed. sqlite should depend on dev-lang/tcl if using sqlite-3.6.17-fix_installation.patch. Workaround: # emerge -1 dev-lang/tcl # emerge =dev-db/sqlite-3.6.17 (In reply to comment #2) > The patch sqlite-3.6.17-fix_installation.patch forces the Makefile to use tclsh > whenever tcl is installed or not. As a workaround i commented out the > epatch "${FILESDIR}/${P}-fix_installation.patch" line to build sqlite. > A better way to deal with this problem would be, instead of commenting the epatch line, to prepend it with "use tcl &&", like this: use tcl && epatch "${FILESDIR}/${P}-fix_installation.patch" This way portage only applies the patch when the tcl useflag is enabled. See #281357 for a possible fix/workaround. Terribly sorry for the noise, the above reply was meant for bug #281294. Ran into this during an @system upgrade on ~x86 after gcc-4.4.1 update, Søren's fix for the ebuild works perfectly here for sqlite -tcl. *** This bug has been marked as a duplicate of bug 281294 *** Can we get a legitimate patch for 3.6.17? Not everybody wants to rifle through bug reports here to get stuff to build. And FWIW, the fix is in comment #5 of bug #223873 though you need to edit that patch to match the version number here: http://bugs.gentoo.org/show_bug.cgi?id=223873#c5 (In reply to comment #9) > Can we get a legitimate patch for 3.6.17? Not everybody wants to rifle through > bug reports here to get stuff to build. And FWIW, the fix is in comment #5 of > bug #223873 though you need to edit that patch to match the version number > here: > > http://bugs.gentoo.org/show_bug.cgi?id=223873#c5 > Not quite true - the fix from comment #4 in this bug is proper - the workaround in that one does not fix it on either ppc or x86-fbsd - applying the patch only when tcl useflag is correct. And even built with -tcl, sqlite still need dev-lang/tcl as RDEPEND? (In reply to comment #10) > (In reply to comment #9) > > Can we get a legitimate patch for 3.6.17? Not everybody wants to rifle through > > bug reports here to get stuff to build. And FWIW, the fix is in comment #5 of > > bug #223873 though you need to edit that patch to match the version number > > here: > > > > http://bugs.gentoo.org/show_bug.cgi?id=223873#c5 > > > > Not quite true - the fix from comment #4 in this bug is proper - the workaround > in that one does not fix it on either ppc or x86-fbsd - applying the patch only > when tcl useflag is correct. > You are correct, sir. The suggested fix in comment #4 of this bug report worked for me. Thanks! |