Your message dated Sun, 20 Nov 2016 21:18:35 +0000
with message-id <[email protected]>
and subject line Bug#780759: fixed in fakechroot 2.19-1
has caused the Debian Bug report #780759,
regarding ldd.fakechroot : wrong path of the elf loader
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 [email protected]
immediately.)


-- 
780759: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780759
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fakechroot
Version: 2.17.2-1
Tags: patch

Dear maintainer,

It seems that ldd.fakechroot outputs a wrong path of the elf
loader on alpha, i.e. /lib64/ld-linux.so.2 instead of the correct 
path /lib/ld-linux.so.2 :

$ ldd minimal/root/bin/ls
        libselinux.so.1 => /lib/alpha-linux-gnu/libselinux.so.1 
(0x000002000000c000)
        libacl.so.1 => /lib/alpha-linux-gnu/libacl.so.1 (0x0000020000046000)
        libc.so.6.1 => /lib/alpha-linux-gnu/libc.so.6.1 (0x0000020000064000)
        libpcre.so.3 => /lib/alpha-linux-gnu/libpcre.so.3 (0x000002000022a000)
        libdl.so.2.1 => /lib/alpha-linux-gnu/libdl.so.2.1 (0x0000020000286000)
        /lib/ld-linux.so.2 (0x0000020001000000)
        libattr.so.1 => /lib/alpha-linux-gnu/libattr.so.1 (0x000002000029c000)
$ debirf enter minimal/
debirf> loading profile 'minimal'...
0 alpha3:/# ldd bin/ls
        linux-vdso.so.1 =>  (0x0000000000000000)
        libfakechroot.so => 
/usr/lib/alpha-linux-gnu/fakechroot/libfakechroot.so (0x0000000000000000)
        libfakeroot-sysv.so => 
/usr/lib/alpha-linux-gnu/libfakeroot/libfakeroot-sysv.so (0x0000000000000000)
        libselinux.so.1 => /lib/alpha-linux-gnu/libselinux.so.1 
(0x0000000000000000)
        libpcre.so.3 => /lib/alpha-linux-gnu/libpcre.so.3 (0x0000000000000000)
        libc.so.6.1 => /lib/alpha-linux-gnu/libc.so.6.1 (0x0000000000000000)
        /lib64/ld-linux.so.2 (0x0000000000000000)
        libdl.so.2.1 => /lib/alpha-linux-gnu/libdl.so.2.1 (0x0000000000000000)
        libacl.so.1 => /lib/alpha-linux-gnu/libacl.so.1 (0x0000000000000000)
        libattr.so.1 => /lib/alpha-linux-gnu/libattr.so.1 (0x0000000000000000)

With the following patch (untested on sparc64 and x32), we get the correct 
result :

0 alpha3:/# ldd /bin/ls
        linux-vdso.so.1 =>  (0x0000000000000000)
        libfakechroot.so => 
/usr/lib/alpha-linux-gnu/fakechroot/libfakechroot.so (0x0000000000000000)
        libfakeroot-sysv.so => 
/usr/lib/alpha-linux-gnu/libfakeroot/libfakeroot-sysv.so (0x0000000000000000)
        libselinux.so.1 => /lib/alpha-linux-gnu/libselinux.so.1 
(0x0000000000000000)
        libpcre.so.3 => /lib/alpha-linux-gnu/libpcre.so.3 (0x0000000000000000)
        libc.so.6.1 => /lib/alpha-linux-gnu/libc.so.6.1 (0x0000000000000000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000000000000000)
        libdl.so.2.1 => /lib/alpha-linux-gnu/libdl.so.2.1 (0x0000000000000000)
        libacl.so.1 => /lib/alpha-linux-gnu/libacl.so.1 (0x0000000000000000)
        libattr.so.1 => /lib/alpha-linux-gnu/libattr.so.1 (0x0000000000000000)

Regards,
JH Chatenet

diff -Naur a/usr/bin/ldd.fakechroot b/usr/bin/ldd.fakechroot
--- a/usr/bin/ldd.fakechroot    2015-02-20 15:57:17.000000000 +0100
+++ b/usr/bin/ldd.fakechroot    2015-03-03 23:26:41.000000000 +0100
@@ -81,10 +81,15 @@
                     $Format = $1;
 
                     if ($^O eq 'linux') {
+                        if ($Format =~ /^elf64-(x86-64|sparc)$/) {
+                            $Ldsodir = "/lib64";
+                        } elsif ($Format =~ /^elf32-x86-64$/) {
+                            $Ldsodir = "/libx32";
+                        }
+
                         if ($Format =~ /^elf64-/) {
                             push @Libs, 'linux-vdso.so.1';
                             $Libs{'linux-vdso.so.1'} = '';
-                            $Ldsodir = "/lib64";
                         }
                         else {
                             push @Libs, 'linux-gate.so.1';

--- End Message ---
--- Begin Message ---
Source: fakechroot
Source-Version: 2.19-1

We believe that the bug you reported is fixed in the latest version of
fakechroot, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Piotr Roszatycki <[email protected]> (supplier of updated fakechroot 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 [email protected])


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

Format: 1.8
Date: Sun, 20 Nov 2016 18:05:23 +0100
Source: fakechroot
Binary: fakechroot libfakechroot
Architecture: source all amd64
Version: 2.19-1
Distribution: unstable
Urgency: medium
Maintainer: Piotr Roszatycki <[email protected]>
Changed-By: Piotr Roszatycki <[email protected]>
Description:
 fakechroot - gives a fake chroot environment - utilities
 libfakechroot - gives a fake chroot environment - runtime
Closes: 741670 741965 742070 742072 745084 780759 815194 839873 839962 840007 
840008
Changes:
 fakechroot (2.19-1) unstable; urgency=medium
 .
   * New upstream version 2.19:
     - Prevent escaping fake chroot. Closes: #742072.
     - Can do chroot twice. Closes: #741965.
     - Variable FAKECHROOT_EXCLUDE_PATH can contain 100 elements.
       Closes: #745084.
     - Bugfixes for chroot wrapper: Closes: #741670.
     - Bugfixes for debootstrap wrapper. Closes: #742070.
     - Bugfixes for env wrapper. Closes: #815194.
     - Bugfixes for fakechroot command. Closes: #840008.
     - Bugfixes for ldd wrapper. Closes: #780759, #839873, #839962, #840007.
Checksums-Sha1:
 b33321154293d3e6a8d047d7952a9c0ae256d2c3 2021 fakechroot_2.19-1.dsc
 35c2c206dd871331167cd8c139773f1760284b57 492346 fakechroot_2.19.orig.tar.gz
 a7b49ffa414f863d27613b2d22bcc7b11d43539b 8952 fakechroot_2.19-1.debian.tar.xz
 bccc59de06ad59891f992764eea9c99cc09103ec 28934 fakechroot_2.19-1_all.deb
 a9553e65f79f67c73515e69cfd78d30421be13cb 5361 fakechroot_2.19-1_amd64.buildinfo
 8ec3c1c4b429d545779c3205d568a6991e2d341a 120182 
libfakechroot-dbgsym_2.19-1_amd64.deb
 e3c3e8a3aee4637876f87497785fbdc3d54d48ea 43902 libfakechroot_2.19-1_amd64.deb
Checksums-Sha256:
 cea12ed4f3e99e8b6b30411534c8c6063d1d10d344eb19bd6779658b6843a90c 2021 
fakechroot_2.19-1.dsc
 39ffbbbe3a823be7450928b8e3b99ae4cb339c47213b2f1d8ff903e0246f2e15 492346 
fakechroot_2.19.orig.tar.gz
 33bfb005b3cd2f86eed0115da6bebb2b739332ab3076b4d102e38a8f23a4c668 8952 
fakechroot_2.19-1.debian.tar.xz
 d224a1699567f246fa96f6ed7eefaecda67188a180f19f6188ae031cff7dc811 28934 
fakechroot_2.19-1_all.deb
 9d89dfdec592af2c84e57dd1de07142ab56009488c12b31a4f4f6c3291e99849 5361 
fakechroot_2.19-1_amd64.buildinfo
 f8f1f89b34c57183621853038c4c3babea41a05ce8753222c26ccb9b6f7bcb8e 120182 
libfakechroot-dbgsym_2.19-1_amd64.deb
 69700073166150bbae2f4ebe9a6b7c6d1bbcc1905d8c8e176c75b7bb256895d0 43902 
libfakechroot_2.19-1_amd64.deb
Files:
 b94e5bd33e7d29a4ba0aa3e831798cb4 2021 utils optional fakechroot_2.19-1.dsc
 db6378420c769232e69508bb78612c34 492346 utils optional 
fakechroot_2.19.orig.tar.gz
 b8b507da62f5dd5deae53df0298ee285 8952 utils optional 
fakechroot_2.19-1.debian.tar.xz
 215a44a046c84f5f2f7fd96357899956 28934 utils optional fakechroot_2.19-1_all.deb
 9c4175d93905793915d9cb518aabd081 5361 utils optional 
fakechroot_2.19-1_amd64.buildinfo
 7367c670a896cf7a6e8967b441abb873 120182 debug extra 
libfakechroot-dbgsym_2.19-1_amd64.deb
 100f70530476c8163745991823f83b86 43902 libs optional 
libfakechroot_2.19-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCAAwFiEEEsz+SLrYKbvWv/49VmIX88Q5XJwFAlgyDXsSHGRleHRlckBk
ZWJpYW4ub3JnAAoJEFZiF/PEOVycvWkP/2As2vqb5Sg3Cb6PIakfgxj27MeV9xsH
7NTQ4ATcBz8BIzsFABZE48G2GAwtZJpr1xAkXW7DpNm489b5Mhk1iseKyljjKEby
QhqpAXkYfS+U5Lj5VdMcvvUa/3wNeidUvEpYmddXlBRSaCl4S5EL+RcY/ikvpXPw
+dxzBERUfbbFOF9fstmjoXqwTrbZHhrJeE2lv8zp/Oh7Yy83K49dNrd/I/SYbwHk
bPX5LbVwOzXDXk2f7mMsp+xbhQ8O1cPTgYVcvh+cZuH0c27V3CgUKPf1FfSuc46a
G1R9q/pAuTEAoUMd+KxNbel2oELsBE2DXQR6jrQkbns533XiHkeZsd4Ze8HDoL8y
7pormpN/wsKY+derS53zPnffuxOMMuwJiOTntohfEIwFi+2PY988HYcE0LjS/oGr
8TlWYxXQogQDDyMIM59HGr5h/FLBZSJvXcRzlV+e2lULxnzFknDMB0TjWIT7ij2i
afSk0jNS0jetQLKHc6gyKDtBbb/GUQQsrYjSK5rNyLz6CQ7HOEvD9RgzfixRzmkt
IZNrLJnkRdK359hL9sF9kh6PYDFaToOsRwy05/rKuwtzP5QHBsGnDF7/lMmoTO28
rlvWfMptrCOjYijhmJ1wmRQUbmGJ4Fi9CR/MnKK7EatEdL6iA6cOq+Q2XIrnxeAX
dv+HlBzE3QxI
=b+D2
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to