Package: music
Version: 1.0.7-1.2
Severity: important
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-invalid-convert

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. 
>    -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread 
> -pedantic -Wall -Wno-long-long -g -O3 -MT libmusic_la-connectivity.lo -MD -MP 
> -MF .deps/libmusic_la-connectivity.Tpo -c -o libmusic_la-connectivity.lo 
> `test -f 'connectivity.cc' || echo './'`connectivity.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/openmpi/include 
> -I/usr/lib/openmpi/include/openmpi -pthread -pedantic -Wall -Wno-long-long -g 
> -O3 -MT libmusic_la-connectivity.lo -MD -MP -MF 
> .deps/libmusic_la-connectivity.Tpo -c connectivity.cc  -fPIC -DPIC -o 
> .libs/libmusic_la-connectivity.o
> connectivity.cc: In member function 'MUSIC::ConnectivityInfo* 
> MUSIC::Connectivity::info(std::__cxx11::string)':
> connectivity.cc:92:14: error: invalid conversion from 'int' to 
> 'MUSIC::ConnectivityInfo*' [-fpermissive]
>        return NO_CONNECTIVITY;
>               ^~~~~~~~~~~~~~~
> 
> Makefile:552: recipe for target 'libmusic_la-connectivity.lo' failed
> make[3]: *** [libmusic_la-connectivity.lo] Error 1
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> Makefile:306: recipe for target 'all-recursive' failed

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to