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

Bug#499292: dpkg-cross: cross package misses out libraries in sub-dirs



Package: dpkg-cross
retitle 499292 dpkg-cross: check for and remove dangling symlinks
severity 499292 wishlist
thanks

On Thu, 18 Sep 2008 14:53:34 +0100
Wookey <wookey@wookware.org> wrote:

> > Isn't that a private application plugin|module ? Is there any actual
> > purpose in providing these for linking during the build? Most plugins
> > and private application libraries are explicitly prevented from being
> > linked against other objects outside the application concerned 
> 
> Hmm, perhaps you are right. I had not appreciated that things below
> /lib are normally deemed 'private'. Stuff certainly seerms to build
> against the -cross package provided (wthout these objects in it), so I
> guess they are not externally linked.

objdump -p against the built binaries should be able to give the
definitive answer about linkages.

> > - it is
> > possible that even if these objects are provided, dpkg-shlibdeps may
> > not be able to locate them.
> 
> I do have to use --ignore-missing to shlibdeps to make it build, but I
> think that is to do with missing .shlibs files in the gsmd build, not
> these sub-libs. I will check.

Thanks.

> > "Shared object files (often .so files) that are not public libraries,
> > that is, they are not meant to be linked to by third party executables
> > (binaries of other packages), should be installed in subdirectories of
> > the /usr/lib directory. Such files are exempt from the rules that
> > govern ordinary shared libraries, except that they must not be
> > installed executable and should be stripped.
> 
> OK. I guess gsmd is complying with this packaging rule, and in fct
> everything is working as it should.
> 
> It was the dangling symlinks that made me assume things were broken,
> combined with onyl a vague knowledge of the workings of libgsmd.

OK. Retitling the bug to get dpkg-cross to check for and remove dangling
symlinks as well as explain things like this in the manpage. 

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgptIuOfsGadY.pgp
Description: PGP signature


Reply to: