[Debian-med-packaging] Bug#897794: How to fix symbols files to work with gcc-7 and gcc-8 (Was: Bug#897794: libquazip: ftbfs with GCC-8)

Andreas Tille andreas at an3as.eu
Fri May 4 13:52:30 BST 2018


Hi,

there are several bugs filed against packages of the Debian Med
team.  What's the correct way to fix the symbols file to work
with both versions of gcc?

Kind regards

        Andreas.

On Fri, May 04, 2018 at 12:22:23PM +0000, Matthias Klose wrote:
> Package: src:libquazip
> Version: 0.7.3-6
> Severity: normal
> Tags: sid buster
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-8
> 
> Please keep this issue open in the bug tracker for the package it
> was filed for.  If a fix in another package is required, please
> file a bug for the other package (or clone), and add a block in this
> package. Please keep the issue open until the package can be built in
> a follow-up test rebuild.
> 
> The package fails to build in a test rebuild on at least amd64 with
> gcc-8/g++-8, but succeeds to build with gcc-7/g++-7. The
> severity of this report will be raised before the buster release.
> 
> The full build log can be found at:
> http://aws-logs.debian.net/2018/05/01/gcc8/libquazip_0.7.3-6_unstable_gcc8.log.gz
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 8, either set CC=gcc-8 CXX=g++-8 explicitly,
> or install the gcc, g++, gfortran, ... packages from experimental.
> 
>   apt-get -t=experimental install g++ 
> 
> Common build failures are new warnings resulting in build failures with
> -Werror turned on, or new/dropped symbols in Debian symbols files.
> For other C/C++ related build failures see the porting guide at
> http://gcc.gnu.org/gcc-8/porting_to.html
> 
> [...]
>   _ZN5QListI16QuaZipFileInfo64E6appendERKS0_ at Base 0.7.3
> - (optional)_ZN5QListI16QuaZipFileInfo64ED1Ev at Base 0.7.3
> - (optional)_ZN5QListI16QuaZipFileInfo64ED2Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI16QuaZipFileInfo64ED1Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI16QuaZipFileInfo64ED2Ev at Base 0.7.3
>   _ZN5QListI7QStringE13detach_helperEi at Base 0.7.3
>   _ZN5QListI7QStringE18detach_helper_growEii at Base 0.7.3
>   (optional)_ZN5QListI7QStringE5clearEv at Base 0.7.3
>   _ZN5QListI7QStringE6appendERKS0_ at Base 0.7.3
> - (optional)_ZN5QListI7QStringED1Ev at Base 0.7.3
> - (optional)_ZN5QListI7QStringED2Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI7QStringED1Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI7QStringED2Ev at Base 0.7.3
>   _ZN5QListI9QFileInfoE13detach_helperEi at Base 0.7.3
> - (optional)_ZN5QListI9QFileInfoED1Ev at Base 0.7.3
> - (optional)_ZN5QListI9QFileInfoED2Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI9QFileInfoED1Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN5QListI9QFileInfoED2Ev at Base 0.7.3
>   _ZN6QuaZip10getUnzFileEv at Base 0.7.3
>   _ZN6QuaZip10getZipFileEv at Base 0.7.3
>   _ZN6QuaZip10setCommentERK7QString at Base 0.7.3
> @@ -202,8 +202,8 @@
>   _ZN6QuaZipC2Ev at Base 0.7.3
>   _ZN6QuaZipD1Ev at Base 0.7.3
>   _ZN6QuaZipD2Ev at Base 0.7.3
> - (optional)_ZN7QStringD1Ev at Base 0.7.3
> - (optional)_ZN7QStringD2Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN7QStringD1Ev at Base 0.7.3
> +#MISSING: 0.7.3-6# (optional)_ZN7QStringD2Ev at Base 0.7.3
>   _ZN8QuaCrc325resetEv at Base 0.7.3
>   _ZN8QuaCrc325valueEv at Base 0.7.3
>   _ZN8QuaCrc326updateERK10QByteArray at Base 0.7.3
> dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols file: see diff output below
> dpkg-gensymbols: warning: debian/libquazip5-1/DEBIAN/symbols doesn't match completely debian/libquazip5-1.symbols
> --- debian/libquazip5-1.symbols (libquazip5-1_0.7.3-6_amd64)
> +++ dpkg-gensymbolsslI1lw	2018-05-02 13:22:04.076864552 +0000
> @@ -74,8 +74,8 @@
>   _ZN10QuaZipFileD0Ev at Base 0.7.3
>   _ZN10QuaZipFileD1Ev at Base 0.7.3
>   _ZN10QuaZipFileD2Ev at Base 0.7.3
> - _ZN11QStringListC1ERK7QString at Base 0.7.3
> - _ZN11QStringListC2ERK7QString at Base 0.7.3
> +#MISSING: 0.7.3-6# _ZN11QStringListC1ERK7QString at Base 0.7.3
> +#MISSING: 0.7.3-6# _ZN11QStringListC2ERK7QString at Base 0.7.3
>   _ZN11QuaGzipFile11qt_metacallEN11QMetaObject4CallEiPPv at Base 0.7.3
>   _ZN11QuaGzipFile11qt_metacastEPKc at Base 0.7.3
>   _ZN11QuaGzipFile11setFileNameERK7QString at Base 0.7.3
> dh_makeshlibs: failing due to earlier errors
> make: *** [debian/rules:20: binary-arch] Error 2
> dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list