Bug#853565: muse: ftbfs with GCC-7

Philip Chung philipchung1995 at yahoo.com
Mon Sep 4 04:08:46 UTC 2017


Control: tags 853565 patch
Control: block 836432 by 853565

On Tue, 31 Jan 2017 09:34:12 +0000 Matthias Klose <doko at debian.org> wrote:
> Package: src:muse
> Version: 2.1.2-3
> Severity: normal
> Tags: sid buster
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-7
> 
> 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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
> severity of this report may be raised before the buster release.
> There is no need to fix this issue in time for the stretch release.
> 
> The full build log can be found at:
> http://people.debian.org/~doko/logs/gcc7-20170126/muse_2.1.2-3_unstable_gcc7.log
> The last lines of the build log are at the end of this report.
> 
> To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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-7/porting_to.html
> 
> [snip]

A compilation error occurs because abs() is being called on an unsigned
argument, which is ambiguous and "will become explicitly invalid" [1].
(The actual error is a few lines *above* the quoted part of the build log.)

Since I previously submitted a patch to fix similar errors [2], I've
placed the new fixes in an updated version of the previous patch, attached.

Incidentally, I already submitted some of the same changes in another
bug report [3], so I've blocked that bug by this bug. The other bug [3]
can be closed immediately when this is closed.

Philip Chung

[1] https://gcc.gnu.org/gcc-6/porting_to.html#overloaded-abs
[2] https://bugs.debian.org/831147
[3] https://bugs.debian.org/836432
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1002-abs-errors.patch
Type: text/x-patch
Size: 4087 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170903/348db67e/attachment-0002.bin>


More information about the pkg-multimedia-maintainers mailing list