Processed: Re: Bug#738507: src:sqlite3: Fix broken cross-compilation with multiarch Tcl

2014-02-10 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 severity 738507 important
Bug #738507 [src:sqlite3] src:sqlite3: Fix broken cross-compilation with 
multiarch Tcl
Severity set to 'important' from 'serious'
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
738507: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738507
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#738507: src:sqlite3: Fix broken cross-compilation with multiarch Tcl

2014-02-10 Thread GCS
severity 738507 important
thanks

Hi Christian,

On Mon, Feb 10, 2014 at 6:08 AM, Christian Svensson deb...@cmd.nu wrote:
 Package: src:sqlite3
 Version: 3.8.2-1
 Severity: serious
 Tags: patch
 Justification: fails to build from source

 With the new tcl8.5 in experimental the flags passed to configure
 must be updated. This patch does just that.
 Thanks for the heads-up. While experimental is integral part of
Debian, please don't file serious bugs that related only to that. The
version in unstable builds fine in an up-to-date environment.

 Also included is a small patch to remove chrpath usage on cross
 compilation. For the case x86_64 - or1k chrpath does not handle the ELF
 format and fails.
 Still, other cross compilations like x86_64 - armel should remove
the rpath I guess. Never tested that way, but may try it this week.

Any ETA when the new Tcl package will hit unstable?

Regards,
Laszlo/GCS


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#738507: src:sqlite3: Fix broken cross-compilation with multiarch Tcl

2014-02-09 Thread Christian Svensson
Package: src:sqlite3
Version: 3.8.2-1
Severity: serious
Tags: patch
Justification: fails to build from source

Dear Maintainer,

With the new tcl8.5 in experimental the flags passed to configure
must be updated. This patch does just that.

Also included is a small patch to remove chrpath usage on cross
compilation. For the case x86_64 - or1k chrpath does not handle the ELF
format and fails.


*** sqlite3-cross.patch
--- ../t/sqlite3-3.8.2/debian/rules 2013-09-07 06:27:48.0 +
+++ debian/rules2014-02-10 04:48:34.676551819 +
@@ -20,11 +20,15 @@
 export DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+# Keep --with-tcl to explicitly state where tclConfig is, otherwise configure
+# might find it in weird places.
+confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
+   LDFLAGS=-L/usr/lib/$(DEB_HOST_GNU_TYPE) \
+   --with-tcl=/usr/lib/tcl8.5
+
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-  confflags += --build $(DEB_HOST_GNU_TYPE) --with-tcl=/usr/lib/tcl8.5
   export CROSS_BUILDING=no
 else
-  confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) 
--with-tcl=/usr/$(DEB_HOST_GNU_TYPE)/lib/tcl8.5 
LDFLAGS=-L/usr/$(DEB_HOST_GNU_TYPE)/lib
   export CROSS_BUILDING=yes
 endif
 
@@ -86,8 +90,10 @@
dh_testroot
 
$(MAKE) install DESTDIR=$(DESTDIR)
+ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
chrpath -d $(DESTDIR)/usr/bin/sqlite3
chrpath -d $(DESTDIR)/usr/lib/tcltk/sqlite3/libtclsqlite3.so
+endif
install -m 0664 libtclsqlite3.la $(DESTDIR)/usr/lib/tcltk/sqlite3/
install -d $(DESTDIR)/usr/share/lemon
install -m 0664 tool/lempar.c $(DESTDIR)/usr/share/lemon/


-- System Information:
Debian Release: 7.2
Architecture: amd64 (x86_64)
Foreign Architectures: or1k

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org