tag 605077 patch
thanks

On Fri, Nov 26, 2010 at 7:42 PM, Clint Adams wrote:
> On Fri, Nov 26, 2010 at 07:32:02PM -0500, Michael Gilbert wrote:
>> Fakeroot doesn't provide for example
>> /usr/lib32/fakeroot/libfakeroot-sysv.so, which makes it impossible to
>> create an i386 fakechroot on an amd64 system.
>>
>> For example, the following will fail
>>
>>   $ export PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin
>>   $ fakeroot fakechroot debootstrap --variant=fakechroot --arch=i386 squeeze
>>    ./chroot http://ftp.us.debian.org/debian
>>
>> Note that on i386 the fakeroot package does provide the necessary
>> 64-bit libraries. Thanks for looking into this.
>
> They were removed in order to close #538037.  The alternative was a 
> Pre-Depends
> on libc6-i386, which would have been ridiculous.
>
> If you have an idea of how to fix this before squeeze is released, I'm 
> listening.

Bug #538037 may have been a relic of the old lib32->/emul symlink
situation.  I just restored biarch support for amd64 fakeroot and
found that libc6-i386 installed just fine even if though the new
biarch fakeroot was installed.  Attached is my patch.

Mike
diff -Nru fakeroot-1.14.4/debian/rules fakeroot-1.14.4/debian/rules
--- fakeroot-1.14.4/debian/rules	2009-11-14 22:06:33.000000000 -0500
+++ fakeroot-1.14.4/debian/rules	2010-11-26 20:51:35.000000000 -0500
@@ -102,7 +102,7 @@
 #	cd obj-sysv && ./libtool --finish $(CURDIR)/debian/tmp/usr/lib/fakeroot
 	rm -f debian/tmp/usr/lib/libfakeroot/libfakeroot.*a*
 	rm -f debian/tmp/usr/bin/simple
-ifneq (,$(findstring $(DEB_HOST_GNU_TYPE), sparc-linux-gnu s390-linux-gnu i486-linux-gnu powerpc-linux-gnu ppc64-linux-gnui x86_64-kfreebsd-gnu))
+ifneq (,$(findstring $(DEB_HOST_GNU_TYPE), sparc-linux-gnu s390-linux-gnu x86_64-linux-gnu i486-linux-gnu powerpc-linux-gnu ppc64-linux-gnui x86_64-kfreebsd-gnu))
 	$(MAKE) -f debian/rules binary-biarch
 endif
 	$(INSTALL_FILE) debian/copyright debian/tmp/usr/share/doc/fakeroot/copyright

Reply via email to