Mailinglist Archive: opensuse-packaging (107 mails)

< Previous Next >
Re: [opensuse-packaging] When a -devel package should require another -devel package?
  • From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
  • Date: Fri, 29 May 2009 07:35:56 -0400
  • Message-id: <4A1FC89C.5070902@xxxxxxxxxxxx>
Michael Matz escribió:
But you should go to great
lengths to make it happen, including bitching to other package
maintainers, those might be the reason why "your" .la can't go away.

Been there, done that ..painful experience. ;-)

Amongst the problems they create are (despite their total uselessness for
shared libraries in ELF systems):
1) hardcoded dependency libraries (no matter if necessary or not)

getting compiler to call ld with --as-needed by default while linking
"solves" this, but Im afraid that may open pandora's box and show some
issues not-quite-easy to fix ...

2) hardcoded paths (link-time or run-time) for search paths to libraries,
again no matter if necessary or not, those often have to be fixed up
during package build time

unneded hardcoded paths at runtime can be detected and fixed by using
brp-check-rpath that is used in fedora, which is (or was) quite strict
last time I checked...

In short, do not package *.la files _unless_ you receive a bug report
that the package breaks at runtime, if dependent packages fail to build
due to the lack of "la" files, you have to fix those, NOT restore "la"

good luck :-P

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups