Package: fakechroot
Version: 2.9-1
Severity: minor

er...@lisa:/tmp/x/fakechroot-2.9 $ strings /usr/lib/libfakechroot.so
5n{C
__gmon_start__
_init
_fini
__cxa_finalize
_Jv_RegisterClasses
See__usr_share_doc_fakechroot_README_fake
libc.so.6
_edata
__bss_start
_end
libfakechroot.so
GLIBC_2.1.3
er...@lisa:/tmp/x/fakechroot-2.9 $ ls -l /usr/share/doc/fakechroot/
total 12
-rw-r--r-- 1 root root 3872 Jan 24 23:34 changelog.Debian.gz
-rw-r--r-- 1 root root  858 Jan 24 23:34 copyright
drwxr-xr-x 2 root root 4096 Mar  1 16:41 examples

So /usr/lib/libfakechroot.so refers to
/usr/share/doc/fakechroot/README.fake, but that file doesn't actually
exist.

Here is a patch:
diff -urN fakechroot-2.9/debian/packages fakechroot-2.9.fixed/debian/packages
--- fakechroot-2.9/debian/packages      2010-03-01 16:57:08.000000000 +0200
+++ fakechroot-2.9.fixed/debian/packages        2010-03-01 16:54:39.000000000 
+0200
@@ -230,6 +230,7 @@
  find $ROOT -name *.so -print0 | xargs -0r chmod -v -x
  find $ROOT -name *.la -print0 | xargs -0r rm -v -f
  yada install -doc -subdir examples scripts/restoremode.sh scripts/savemode.sh 
scripts/ldd.fake
+ yada install -doc fake/doc/README.fake
 Finalize: sh
  chmod -v u+s $ROOT/usr/lib/*.so
  .
diff -urN fakechroot-2.9/debian/rules fakechroot-2.9.fixed/debian/rules
--- fakechroot-2.9/debian/rules 2010-03-01 16:57:08.000000000 +0200
+++ fakechroot-2.9.fixed/debian/rules   2010-03-01 16:54:50.000000000 +0200
@@ -319,7 +319,8 @@
        echo -E 'done';\
        echo -E 'find $$ROOT -name *.so -print0 | xargs -0r chmod -v -x';\
        echo -E 'find $$ROOT -name *.la -print0 | xargs -0r rm -v -f';\
-       echo -E 'yada install -doc -subdir examples scripts/restoremode.sh 
scripts/savemode.sh scripts/ldd.fake') | /bin/bash
+       echo -E 'yada install -doc -subdir examples scripts/restoremode.sh 
scripts/savemode.sh scripts/ldd.fake';\
+       echo -E 'yada install -doc fake/doc/README.fake') | /bin/bash
        @umask 022 \
          && export pwd="$$(pwd)" \
          && export ROOT="$$(pwd)/debian/tmp-fakechroot" \

Thanks,
Gergely



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

Reply via email to