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

Re: Bug#388627: dpkg-cross: libXXX.so symlinks are skipped



On 9/21/06, Eugene Konev <ejka@imfi.kspu.ru> wrote:
Package: dpkg-cross
Version: 1.30
Severity: normal

When converting -dev library packages, dpkg-cross doesn't include libXXX.so
symlinks in resulting cross packages, which makes linking to shared libraries
impossible.
The patch at the bottom should fix things. Unfortunately, I'm unable
to commit to CVS at the moment. Could someone please apply and upload?

The logic was broken since 1.30 release, which means nobody even tried
this release yet. Uh oh.

--- dpkg-cross  24 Jul 2006 13:02:04 -0000      1.21
+++ dpkg-cross  21 Sep 2006 16:57:04 -0000
@@ -608,8 +608,8 @@
               if (! -e "$dst$lv") {
                       # 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\//)));
+                       next unless (/.*\.so$/ ||
+                                      (/\/usr\/src\// && $lv =~
/\/usr\/src\//));
               }

               # Calculate corresponding SOURCE path



Reply to: