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

Re: Maintaining C++ library symbols control file with unstable mangled symbols



Hi lumin,

2016-12-02 14:36 GMT-02:00 lumin <cdluminate@gmail.com>:
> Hi mentors,
>
> I need advise on the way maintaining symbols control file when
> the mangled C++ symbols are unstable.
>
> I'm maintaining a package named "Caffe". I migrated the same
> source from experimental to unstable, and it FTBFS'ed as you
> see at [0], due to the mangled C++ symbols change. Actually
> this package FTBFS'ed many times in the history due to
> symbols change. (I have no e.g. ppc64el machine, hence
> unable to test before upload)


For the symbols problem over ppc64el, you need to remove all symbols
marked as #MISSING.

>From 'man dpkg-gensymbols':

DESCRIPTION
       dpkg-gensymbols  scans  a  temporary  build tree (debian/tmp by
default) looking for libraries and generates a symbols
       file describing them.
[...]
       When  generating those files, it uses as input some symbols
files provided by the maintainer.


So, you need provide some symbols, not all symbols. You can safely
delete the symbols tagged as MISSING. YOU DON'T need provide a symbols
file for each arch. You need remove MISSING shown in experimental
only.

Regards,

Eriberto

----------------------------
Useful UDDs:

Help a package: https://people.debian.org/~eriberto/udd/help_a_package.html
Uploaders ranking:
https://people.debian.org/~eriberto/udd/uploaders_ranking.html
Top 500 NEW packages: https://people.debian.org/~eriberto/udd/top_500_new.html
----------------------------


Reply to: