Source: yoshimi
Version: 1.3.8.2-1
Severity: normal
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6
Hi,
yoshimi FTBFS with GCC 6 which will probably become the default
compiler for stretch. I just noticed this while looking at the cmake
end of the yoshimi build issue.
The build log is attached with the initial errors below:
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Effects/Alienwah.cpp: In
> member function ‘virtual void Alienwah::out(float*, float*)’:
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Effects/Alienwah.cpp:73:50:
> error: lvalue required as left operand of assignment
> out.real() += (1 - abs(fb)) * smpsl[i] * pangainL;
> ^~~~
>
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Effects/Alienwah.cpp:82:50:
> error: lvalue required as left operand of assignment
> out.real() += (1 - abs(fb)) * smpsr[i] * pangainR;
> ^~~~
[...]
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Misc/CmdInterface.cpp: In
> member function ‘void
> CmdInterface::helpLoop(std::__cxx11::liststd::__cxx11
> ::basic_string >&, std::__cxx11::string*, int)’:
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Misc/CmdInterface.cpp:211:51:
> error: no matching function for call to ‘std::__cxx11::basic_string >::assign(int&, char)’
> msg.push_back(dent.assign(indent, ' ') + left +
> blanks.assign(spaces - left.length(), ' ') + "- " + commands[word + 1]);
> ^
>
> In file included from /usr/include/c++/6/string:52:0,
> from /usr/include/c++/6/bits/locale_classes.h:40,
> from /usr/include/c++/6/bits/ios_base.h:41,
> from /usr/include/c++/6/ios:42,
> from /usr/include/c++/6/ostream:38,
> from /usr/include/c++/6/iostream:39,
> from
> /home/james/deb-pkg/yoshimi/yoshimi-1.3.8.2/src/Misc/CmdInterface.cpp:1:
> /usr/include/c++/6/bits/basic_string.h:1285:9: note: candidate:
> template std::__cxx11::basic_string<_CharT,
> _Traits, _All
> oc>& std::__cxx11::basic_string<_CharT, _Traits,
> _Alloc>::assign(_InputIterator, _InputIterator) [with _InputIterator =
> _InputIterator; meter-2-2> = ; _CharT = char; _Traits =
> std::char_traits; _Alloc = std::allocator]
> assign(_InputIterator __first, _InputIterator __last)
> ^~
>
> /usr/include/c++/6/bits/basic_string.h:1285:9: note: template argument
> deduction/substitution failed:
Thanks,
James
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: source package yoshimi
dpkg-buildpackage: source version 1.3.8.2-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Sebastian Ramacher
dpkg-source --before-build yoshimi-1.3.8.2
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --parallel --sourcedirectory=src
dh_testdir -O--parallel -O--sourcedirectory=src
dh_auto_clean -O--parallel -O--sourcedirectory=src
dh_clean -O--parallel -O--sourcedirectory=src
debian/rules build
dh build --parallel --sourcedirectory=src
dh_testdir -O--parallel -O--sourcedirectory=src
dh_update_autotools_config -O--parallel -O--sourcedirectory=src
dh_auto_configure -O--parallel -O--sourcedirectory=src
cmake ../src -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
-- The C compiler identification is GNU 6.0.0
-- The CXX compiler identification is GNU 6.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building Yoshimi version 1.3.8.2 for Linux
-- Performing Test HasJackSession
-- Performing Test HasJackSession - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found pkg-config /usr/bin/pkg-config
-- Performing Test HAS_LIBZ
-- Performing Test HAS_LIBZ - Success
-- Found libz
-- Checking for module 'fftw3f>=0.22'
-- Found fftw3f, version 3.3.4
-- Found fftw3f 3.3.4
-- Checking for module 'mxml>=2.5'
-- Found mxml, version 2.6
-- Found mxml 2.6
-- Checking for module 'alsa>=1.0.17'
-- Found alsa, version 1.1.0
-- Found Alsa 1.1.0
-- Checking for module 'jack>=0.115.6'
-- Found jack, version 1.9.11
-- Found jack 1.9.11
-- Boost version: 1.58.0
-- Found boost headers version 105800
-- Checking for module 'fontconfig>=0.22'
-- Found fontconfig, version 2.11.0
-- Found fontconfig