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

Bug#154169: mklibs: bug re-introduces (symlinks)



Package: mklibs
Version: 0.1.4
Severity: important

Hi, I tried to rebuild d-i and I looked that symlinks of /lib/ld-2.2.5 to
/lib/ld-linux.so.2 (and others) was missing.

It was removed of mklibs during the last update.

The missing part is :

@@ -427,6 +426,16 @@
 for lib in regexpfilter(os.listdir(dest_path), "(.*-so)$").elems():
     os.remove(dest_path + "/" + lib)
 
+for lib in regexpfilter(os.listdir(dest_path), "(.*so[.\d]*)$").elems():
+    print soname
+    print dest_path + "/" + lib
+    soname = regexpfilter(command("readelf", "--all", dest_path + "/" +
lib),
+                          ".*SONAME.*\[(.*)\].*").elems()[0]
+    try:
+        os.symlink(lib, dest_path + "/" + soname)
+    except OSError:
+        pass
+


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux thomas 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages mklibs depends on:
ii  python                        2.1.3-3    An interactive object-oriented scr

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: