[Debian-med-packaging] Different symbols files on different architectures

Sebastiaan Couwenberg sebastic at xs4all.nl
Fri Apr 6 17:09:31 BST 2018


On 04/06/2018 05:48 PM, Andreas Tille wrote:
> Hi Bas,
> 
> On Fri, Apr 06, 2018 at 02:18:03PM +0200, Sebastiaan Couwenberg wrote:
>> On 04/06/2018 02:08 PM, Andreas Tille wrote:
>>> after adding a symbols file to libbpp-core all other architectures are
>>> failing due to different symbols (see below for ppc64el[1]) but others
>>> are failing as well.  What is the correct way to fix this?
>>
>> Use (arch=ppc64el) tags for the symbols, or something more generic like
>> arch-bits or arch-endian if those symbols differ based on 32/64 bits
>> CPUs or big/little endian.
>>
>> See: dpkg-symbols(1)
>> https://manpages.debian.org/unstable/dpkg-dev/dpkg-gensymbols.1.en.html#Standard_symbol_tags
> 
> I've checked this and I think I understand the task in principle but
> in practice for libbpp-core that's a no-go for manual adaption to
> edit about 1000 entries (may be per architecture).  Is there some
> tool that helps here?  If not my proposed solution would be to
> provide a symbols file for amd64 only and move it out of the way
> in debian/rules for other architectures.
> 
> (I gave it a very minimal shot in branch symbols_i386 but gave up
> after some 20+x entries.)

Since it's a C++ library, I suggest pkgkde-tools:

 http://pkg-kde.alioth.debian.org/symbolfiles.html

Or just not bother with symbols and use `dh_makeshlibs -V`.

Kind Regards,

Bas



More information about the Debian-med-packaging mailing list