Bug#811720: jackd2: FTBFS with GCC 6: narrowing conversion

Martin Michlmayr tbm at hpe.com
Wed Jan 20 01:42:08 UTC 2016


Package: jackd2
Version: 1.9.10+20150825git1ed50c92~dfsg-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-narrowing

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
...
> <BUILDDIR>>/jackd2-1.9.10+20150825git1ed50c92~dfsg/build', '-I/<<BUILDDIR>>/jackd2-1.9.10+20150825git1ed50c92~dfsg', '-DHAVE_DOXYGEN=0', '-DHAVE_ALSA=1', '-DHAVE_FIREWIRE=1', '-DHAVE_FREEBOB=0', '-DHAVE_IIO=0', '-DHAVE_PORTAUDIO=0', '-DHAVE_WINMME=0', '-DHAVE_CELT_API_0_11=0', '-DHAVE_CELT_API_0_8=0', '-DHAVE_CELT_API_0_7=0', '-DHAVE_CELT_API_0_5=0', '-DHAVE_CELT=0', '-DHAVE_OPUS=0', '-DHAVE_SAMPLERATE=1', '-DHAVE_SNDFILE=1', '-DHAVE_READLINE=1', '-DHAVE_PPOLL=1', '-DUSE_CLASSIC_AUTOLAUNCH=1', '-DCLIENT_NUM=64', '-DPORT_NUM_FOR_CLIENT=768', '-DADDON_DIR="/usr/lib/x86_64-linux-gnu/jack"', '-DJACK_LOCATION="/usr/bin"', '-DUSE_POSIX_SHM=1', '-DJACKMP=1', '-DJACK_DBUS=1', '-DHAVE_CONFIG_H', '-DSERVER_SIDE', '-DHAVE_PPOLL', '-DHAVE_TIMERFD', '-DHAVE_SAMPLERATE=1', '../common/JackNetOneDriver.cpp', '-c', '-o', '/<<BUILDDIR>>/jackd2-1.9.10+20150825git1ed50c92~dfsg/build/common/JackNetOneDriver.cpp.8.o']
> <command-line>:0:0: warning: "HAVE_OPUS" redefined
> 
> <command-line>:0:0: note: this is the location of the previous definition
> 
> <command-line>:0:0: warning: "HAVE_OPUS" redefined
> 
> <command-line>:0:0: note: this is the location of the previous definition
> ../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
>  jack_latency_range_t   capture_latency = {-1, -1};
>                                                  ^
> 
> ../tests/iodelay.cpp:170:49: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
> ../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
>  jack_latency_range_t   playback_latency = {-1, -1};
>                                                   ^
> 
> ../tests/iodelay.cpp:171:50: error: narrowing conversion of '-1' from 'int' to 'jack_nframes_t {aka unsigned int}' inside { } [-Wnarrowing]
> 
> <command-line>:0:0: warning: "HAVE_OPUS" redefined

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



More information about the pkg-multimedia-maintainers mailing list