tag 654662 + patch
thanks

On Thu, Jan 05, 2012 at 02:12:32AM +0100, Laszlo Boszormenyi wrote:
> Hi Thorsten,
> 
> On Thu, 2012-01-05 at 00:09 +0000, Thorsten Glaser wrote:
> > Source: sqlite3
> > Version: 3.7.9-3
> > Severity: serious
> > Justification: fails to build from source (but built successfully in the 
> > past)
> > with my “m68k buildd” hat on, your package FTBFS. It also does that
> > on most release architectures, with the same error:
>  It was built previously, but the pkgIndex.tcl was generated incorrectly. I've
> added a self test (mentioned in the changelog) for this.
> Will ask for a chroot environment on m68k (or on any arch where it
> fails) to figure out the exact reason. Seems I'll leave today, but
> hopefully I'll be back on Sunday.

It's not m68k specific. It happens on any system where libsqlite is not
installed.

Attached patch works.

Mike
--- sqlite3-3.7.9/debian/rules  2012-01-03 20:38:36.000000000 +0100
+++ sqlite3-3.7.10/debian/rules 2012-02-10 18:19:51.703571310 +0100
@@ -83,7 +83,7 @@
 
        # Create the pkgIndex.tcl file for the Tcl module. This generated file
        # actually turns out to be relocatable.
-       echo "pkg_mkIndex -verbose $(DESTDIR)/usr/lib/tcltk/sqlite3" | tclsh8.5
+       echo "pkg_mkIndex -verbose $(DESTDIR)/usr/lib/tcltk/sqlite3" | 
LD_LIBRARY_PATH=$(DESTDIR)/usr/lib tclsh8.5
        grep -q 'package ifneeded sqlite3' \
                $(DESTDIR)/usr/lib/tcltk/sqlite3/pkgIndex.tcl || \
                (echo "pkgIndex.tcl seems to be wrong" && exit 1)

Reply via email to