[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384201: marked as done (32-bit biarch support)



Your message dated Sun, 15 Jun 2008 12:09:08 +0200
with message-id <4854EA44.6060403@ens-lyon.org>
and subject line closing some old wontfix bugs that we don't need to keep open
has caused the Debian Bug report #384201,
regarding 32-bit biarch support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
384201: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=384201
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libice6
Version: 1:1.0.1-1
Severity: wishlist
Tags: patch

Patch attached for 32-bit biarch support (lib32ice6 and lib32ice-dev).

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-amd64-k8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)

Versions of packages libice6 depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  x11-common                    1:7.0.22   X Window System (X.Org) infrastruc

libice6 recommends no packages.

-- no debconf information
diff -Nur libice-1.0.1.old/debian/control libice-1.0.1/debian/control
--- libice-1.0.1.old/debian/control	2006-08-21 20:06:05.000000000 +0200
+++ libice-1.0.1/debian/control	2006-08-22 16:27:50.000000000 +0200
@@ -54,3 +54,39 @@
  .
  This module can be found as the module 'lib/ICE' at
  :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg
+
+Package: lib32ice6
+Architecture: amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, x11-common
+Description: X11 Inter-Client Exchange library
+ This package provides the main interface to the X11 Inter-Client Exchange
+ library, which allows for communciation of data between X clients.
+ .
+ More information about X.Org can be found at:
+ <URL:http://xorg.freedesktop.org>
+ <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+ .
+ This module can be found as the module 'lib/ICE' at
+ :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg
+ .
+ This package supports the 32-bit ABI variant of your system's architecture.
+
+Package: lib32ice-dev
+Architecture: amd64
+Depends: ${shlibs:Depends}, ${misc:Depends}, lib32ice6 (= ${Source-Version}), x11proto-core-dev, lib32c-dev, libice-dev (= ${Source-Version})
+Pre-Depends: x11-common (>= 1:7.0.0)
+Description: X11 Inter-Client Exchange library (development headers)
+ This package provides the main interface to the X11 Inter-Client Exchange
+ library, which allows for communciation of data between X clients.
+ .
+ This package contains the development headers for the library found in libice6.
+ Non-developers likely have little use for this package.
+ .
+ More information about X.Org can be found at:
+ <URL:http://xorg.freedesktop.org>
+ <URL:http://lists.freedesktop.org/mailman/listinfo/xorg>
+ .
+ This module can be found as the module 'lib/ICE' at
+ :pserver:anoncvs@cvs.freedesktop.org:/cvs/xorg
+ .
+ This package supports the 32-bit ABI variant of your system's architecture.
diff -Nur libice-1.0.1.old/debian/lib32ice6.install libice-1.0.1/debian/lib32ice6.install
--- libice-1.0.1.old/debian/lib32ice6.install	1970-01-01 01:00:00.000000000 +0100
+++ libice-1.0.1/debian/lib32ice6.install	2006-08-22 16:28:14.000000000 +0200
@@ -0,0 +1 @@
+emul/ia32-linux/usr/lib/libICE.so.6*
diff -Nur libice-1.0.1.old/debian/lib32ice-dev.install libice-1.0.1/debian/lib32ice-dev.install
--- libice-1.0.1.old/debian/lib32ice-dev.install	1970-01-01 01:00:00.000000000 +0100
+++ libice-1.0.1/debian/lib32ice-dev.install	2006-08-22 16:28:30.000000000 +0200
@@ -0,0 +1,3 @@
+emul/ia32-linux/usr/lib/libICE.a
+emul/ia32-linux/usr/lib/libICE.so
+emul/ia32-linux/usr/lib/pkgconfig/ice.pc
diff -Nur libice-1.0.1.old/debian/rules libice-1.0.1/debian/rules
--- libice-1.0.1.old/debian/rules	2006-08-21 20:06:05.000000000 +0200
+++ libice-1.0.1/debian/rules	2006-08-22 16:30:30.000000000 +0200
@@ -25,10 +25,11 @@
 DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
-	confflags += --build=$(DEB_HOST_GNU_TYPE)
-else
-	confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
+
+ifeq ($(DEB_HOST_ARCH), amd64)
+build32-target = i686-$(DEB_HOST_GNU_SYSTEM)
+lib32 = /emul/ia32-linux/lib
+usr_lib32 = /emul/ia32-linux/usr/lib
 endif
 
 build: patch build-stamp
@@ -39,9 +40,20 @@
 	cd obj-$(DEB_BUILD_GNU_TYPE) && \
 	../configure --prefix=/usr --mandir=\$${prefix}/share/man \
 	             --infodir=\$${prefix}/share/info $(confflags) \
+	             --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) \
 	             CFLAGS="$(CFLAGS)" 
 	cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE)
 
+ifneq (, $(build32-target))
+	mkdir obj-$(build32-target)
+	cd obj-$(build32-target) && \
+	../configure --prefix=/usr --mandir=\$${prefix}/share/man \
+	             --infodir=\$${prefix}/share/info $(confflags) \
+	             --build=$(DEB_BUILD_GNU_TYPE) --host=$(build32-target) --libdir=$(usr_lib32) \
+	             CFLAGS="$(CFLAGS)" CC="gcc -m32" BUILD_CC="gcc" CXX="g++ -m32"
+	cd obj-$(build32-target) && $(MAKE)
+endif
+
 	touch build-stamp
 
 clean: xsfclean
@@ -64,6 +76,9 @@
 	dh_installdirs
 
 	cd obj-$(DEB_BUILD_GNU_TYPE) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+ifneq (, $(build32-target))
+	cd obj-$(build32-target) && $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
+endif
 
 # Build architecture-dependent files here.
 binary-arch: build install
@@ -78,7 +93,7 @@
 	dh_compress
 	dh_fixperms
 	dh_makeshlibs
-	dh_shlibdeps
+	dh_shlibdeps -l$(lib32):$(usr_lib32)
 	dh_installdeb
 	dh_gencontrol
 	dh_md5sums

--- End Message ---
--- Begin Message ---
This bug has been marked as "wontfix" for a while, and I don't think it
is worth keeping it open. So as part of cleaning the BTS, I am just
closing it.

Cheers
Brice



--- End Message ---

Reply to: