Hi, Could you please check if the attached patch fixes problem reported in this bug?
Nikita
Index: dpkg-cross =================================================================== RCS file: /cvsroot/dpkg-cross/dpkg-cross/dpkg-cross,v retrieving revision 1.19 diff -u -r1.19 dpkg-cross --- dpkg-cross 20 Jul 2006 06:51:27 -0000 1.19 +++ dpkg-cross 23 Jul 2006 19:49:26 -0000 @@ -600,11 +600,13 @@ # Check if destination object exists. # FIXME: this code is not correct for the case of symlink chains. - # If converting symlink will be ever needed, this should - # be rewritten + # If converting symlink chains will be ever needed, this + # should be rewritten if (! -e "$dst$lv") { - # Non-existsing destination allowed only if it is .so link - /.*\.so$/ or next; + # Non-existsing destination allowed only if it is .so link, + # or if both source and destination is under /usr/src + next unless (!(/.*\.so$/ || + (/\/usr\/src\// && $lv =~ /\/usr\/src\//))); } # Calculate corresponding SOURCE path
pgpntxFXGKHpp.pgp
Description: PGP signature