Bug#211092: weak
Tags: patch
On Mon, Sep 15, 2003 at 10:25:59PM +0200, Tim Vandermeersch wrote:
> Package: mklibs
> Version: 0.1.12
> Severity: normal
>
> Hi,
>
> While running 'fakeroot make TYPE=netboot build' (debian-installer) on a sparc
> station 4, I get the following error:
>
> I: library reduction pass 1
> Object: ./tmp/netboot/tree/lib/brltty/libbrlttybmn.so
> Object: ./tmp/netboot/tree/lib/brltty/libbrlttybmd.so
> 419 symbols, 338 unresolved
> Traceback (most recent call last):
> File "/usr/bin/mklibs", line 469, in ?
> raise "No library provides non-weak " + symbol
> No library provides non-weak message
> make: *** [netboot-tree-stamp] Error 1
>
> Is this a known problem?
>
Yep, the problem is known, a workaround not yet ;-)
( http://lists.debian.org/debian-boot/2003/debian-boot-200309/msg00188.html )
The script has some debug message facility ( search for DEBUG_SPAM )
You may find empty arrays, "[]" in python syntax output,
but that is only optical
--- mklibs.dist 2003-09-15 18:31:44.000000000 +0000
+++ mklibs 2003-09-15 22:14:23.000000000 +0000
@@ -165,17 +165,17 @@
if not os.access(obj, os.F_OK):
raise "Cannot find lib" + obj
result = Set()
- debug(DEBUG_SPAM, "provided_symbols result = ", `result`)
output = command(target + "readelf", "-s", "-W", obj)
for line in output:
match = symline_regexp.match(line)
if match:
bind, ndx, name = match.groups()
if bind != "LOCAL" and not ndx in ("UND", "ABS"):
debug(DEBUG_SPAM, "provided_symbols adding ", `name`)
result.add(name)
+ debug(DEBUG_SPAM, "provided_symbols result = ", `result`)
return result
# Return real target of a symlink
def resolve_link(file):
Shows that there are symbols fetch the binaries.
So far from me.
Geert Stappers
Reply to: