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

Bug#772045: marked as done (does not fix multilib ldscripts)



Your message dated Fri, 23 Jan 2015 00:03:21 +0000
with message-id <E1YERib-0007ug-0t@franck.debian.org>
and subject line Bug#772045: fixed in dpkg-cross 2.6.12
has caused the Debian Bug report #772045,
regarding does not fix multilib ldscripts
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.)


-- 
772045: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772045
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg-cross
Version: 2.6.11
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

After fixing #771497, dpkg-cross is still useless for building gcc.
While the converted libc dependencies can be installed now, they are
broken. Trying to gcc -m64 -lc ... (which is something that the gcc
build does) one gets:

| /usr/x86_64-linux-gnux32/bin/ld: cannot find /lib64/libc.so.6

Bernhard R. Link kindly pointed out that the absolute path hints a
broken ldscript. In fact, dpkg-cross converted the package and moved
/lib64 around but did not update the corresponding ldscript. The logic
for fixing multilib ldscripts is simply missing from dpkg-cross. Please
consider the attached patch to address this issue.

Helmut
diff -u dpkg-cross-2.6.11+nmu1/dpkg-cross dpkg-cross-2.6.11+nmu1/dpkg-cross
--- dpkg-cross-2.6.11+nmu1/dpkg-cross	2014-11-30 08:53:56.000000000 +0100
+++ dpkg-cross-2.6.11+nmu1/dpkg-cross	2014-11-30 22:40:26.000000000 +0100
@@ -629,6 +629,14 @@
 		}
 		while (<FROM>) {
 			s:(^|[^-\w/])(/usr)?/lib/$multiarch:$1$crosslib/:g;
+			unless ($multiarch) {
+				s:(^|[^-\w/])(/usr)?/lib32/:$1$crosslib32/:g;
+				s:(^|[^-\w/])(/usr)?/lib64/:$1$crosslib64/:g;
+				s:(^|[^-\w/])(/usr)?/libhf/:$1$crosslibhf/:g;
+				s:(^|[^-\w/])(/usr)?/libn32/:$1$crosslibn32/:g;
+				s:(^|[^-\w/])(/usr)?/libsf/:$1$crosslibsf/:g;
+				s:(^|[^-\w/])(/usr)?/libx32/:$1$crosslibx32/:g;
+			}
 			print TO;
 		}
 		close(FROM);

--- End Message ---
--- Begin Message ---
Source: dpkg-cross
Source-Version: 2.6.12

We believe that the bug you reported is fixed in the latest version of
dpkg-cross, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 772045@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Wookey <wookey@debian.org> (supplier of updated dpkg-cross package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 22 Jan 2015 19:18:29 +0000
Source: dpkg-cross
Binary: dpkg-cross libdebian-dpkgcross-perl
Architecture: source all
Version: 2.6.12
Distribution: experimental
Urgency: medium
Maintainer: Debian Embedded Group <debian-embedded@lists.debian.org>
Changed-By: Wookey <wookey@debian.org>
Description:
 dpkg-cross - tools for cross compiling Debian packages
 libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages
Closes: 649094 741476 771497 772045 776010
Changes:
 dpkg-cross (2.6.12) experimental; urgency=medium
 .
   * Remove ac_cv_sizeof_off_t as supreceded by AC_SYS_LARGEFILE (Closes: 776010)
   * Support lib{hf,n32,sf,x32}. (Closes: 771497)
   * Ensure multilib ldscripts are fixed up. (Closes: 772045,649094)
   * Update uploaders list (Closes: 741476)
   * Include support for libo32 multilibs
Checksums-Sha1:
 1b337ae9a81ccd23adcf8b5caceb50d811e8b9f4 1783 dpkg-cross_2.6.12.dsc
 23518429614c7dc3ebd535cf43e46cebbdae549a 80101 dpkg-cross_2.6.12.tar.gz
 7560dd37b850c00cbf9fa8700620c263790eadb2 53912 dpkg-cross_2.6.12_all.deb
 5cdbd440e676697c09acfaf645731c83d4202850 29050 libdebian-dpkgcross-perl_2.6.12_all.deb
Checksums-Sha256:
 a95137a22076caaaaf0947cc7c8f367b451088a7027e98d07a1c1839682e3545 1783 dpkg-cross_2.6.12.dsc
 5e354da53fb8ab79ff67a4cdded507252f11255ff1e6c326efc4f6a5cc34b58e 80101 dpkg-cross_2.6.12.tar.gz
 34673376eb21ea716d9110789cb4a8f33691de2bed4d5248b9461e4c0624341b 53912 dpkg-cross_2.6.12_all.deb
 0037d43c3953f5b937f0becf020acb6cba0b0d3c51eda299c3728199a19b0b76 29050 libdebian-dpkgcross-perl_2.6.12_all.deb
Files:
 ca264c27ca53766c0ea530c5e389b8d7 1783 utils extra dpkg-cross_2.6.12.dsc
 df748c6b3d26bfe7afb304bb53685adb 80101 utils extra dpkg-cross_2.6.12.tar.gz
 626d545dbc9391fb7da307e133b8ee59 53912 utils extra dpkg-cross_2.6.12_all.deb
 0e15f197f8277d3d358c8400a88de48f 29050 perl extra libdebian-dpkgcross-perl_2.6.12_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJUwY9IAAoJEPuGMlGob55H0jwQALySklC3dA9rUvDglrgJyz9R
aCrp+MpoYqzNLLIG5rjkbwMzDld6GuIoA9uoPOMuRjV+G04vx8JFeBRlb1cCRIpb
nJ6lZI/KFCh3dW+AVCo5+gBNojZPjAzZ9nc92dBNN0qUVHZm65ZJEtreO4FIV6zJ
4AIt1ZllndOFQq7VPluejU9K/rkrYP77dbln1qD4P32QQp3ekp1DagYwQ4DSy3DL
aB6nqjfHJvhkKzIwRbmC4ZoPILEiR28SrfndpWwGT+XGbMzthHpOp3t8L6Us5ZLy
vUjEQo+MovmkqjJ3JRruUWh1lX9GRnHkTvaa/RdeXx292PKEL1V9CP4rvFz2sJKO
6rbo0b88vAQngk89xYEpexVhNw5aIwR44RtHGtBs1Ijx8B3HFY0vWK/OXEPnTQmZ
gE7vOLFaHg8sahCvhr296YzlsIJIOe5W6lEpPOSFbTbREP3MMk2sIUlm/LTQhTc+
kFpgzytXuoqUUJGe6ugBPNNewTkvsaAYhGenwBiXSzURMyYJX+rEl2osMJWZGvNj
q06OrdbU40Dsqq3VzdmvgvoP6tI2AQcMun0Eyo9tqNziarysqB4mw2dUBoWqDiSR
6Rf6//D6n/qV8xBRsn4M8kiDAFakcHvGjJLzx+68rfFgPSPlUQEFi5gOk9YmrOLe
Qpou45oW/m5I/rRd/MwW
=Ml4j
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: