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

Bug#508929: mklibs selects symbols from the wrong library

On Monday 12 January 2009, Andrew Stubbs wrote:
> Frans Pop wrote:
> > That still gives me an error:
> > Traceback (most recent call last):
> >   File "/usr/bin/mklibs", line 509, in <module>
> >     library_symbols_used[lib].add(library_symbols[lib][name])
> > KeyError: 'strlongest@Base@unknown'
> > make[2]: *** [stamps/tree-netboot-stamp] Error 1
> OK, let's try again. I've attached another patch with the obvious
> omission fixed. Unfortunately I don't have any libraries handy to test
> this. If this doesn't work for you then I'll see if I can reproduce the
> problem locally.

I think that would save time :-)

/usr/bin/mklibs:467: DeprecationWarning: raising a string exception is deprecated
  raise "Unresolvable symbol %s" % name
Traceback (most recent call last):
  File "/usr/bin/mklibs", line 467, in <module>
    raise "Unresolvable symbol %s" % name
Unresolvable symbol g_warn_message@Base@unknown

To reproduce (assuming you have debian sid or lenny installed) you'll
need to do something like this (besides building and installing your
version of mklibs and mklibs-copy of course):
$ apt-get install build-essential subversion
$ svn co svn://svn.debian.org/svn/d-i/trunk/installer
$ cd installer/build
$ apt-get build-dep debian-installer
$ make all_build

I'm running amd64, but I suspect the error can be reproduced on i386
as well. Eventually we should test on a few different architectures.


Reply to: