Bug#667136: clam: ftbfs with GCC-4.7

Matthias Klose doko at debian.org
Tue Apr 3 23:08:20 UTC 2012


Package: clam
Version: 1.4.0-5
Severity: important
Tags: sid wheezy
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

scons/libs/core/include/CLAM/OutPort.hxx:287:45: error: 'SameType' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/clam_1.4.0-5_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

[...]
== Build copying src/Errors/ErrSystem.hxx
== Compiling shared scons/libs/core/src/ErrSystem.cxx
== Build copying src/Flow/Ports/AudioOutPort.cxx
== Build copying src/Flow/Ports/AudioOutPort.hxx
== Build copying src/Flow/Ports/OutPort.hxx
== Build copying src/Flow/Ports/InPort.hxx
== Build copying src/Flow/Ports/InPortPublisher.hxx
== Build copying src/Flow/Ports/WritingRegion.hxx
== Build copying src/Flow/Ports/ReadingRegion.hxx
== Build copying src/Flow/Ports/StreamImpl.hxx
== Build copying src/Flow/Ports/Region.hxx
== Build copying src/Flow/Ports/PhantomBuffer.hxx
== Compiling shared scons/libs/core/src/AudioOutPort.cxx
In file included from scons/libs/core/include/CLAM/AudioOutPort.hxx:25:0,
                 from scons/libs/core/src/AudioOutPort.cxx:22:
scons/libs/core/include/CLAM/OutPort.hxx: In instantiation of 'bool CLAM::OutPort<Token>::IsConnectableTo(CLAM::InPortBase&) [with Token = float]':
scons/libs/core/src/AudioOutPort.cxx:66:1:   required from here
scons/libs/core/include/CLAM/OutPort.hxx:287:45: error: 'SameType' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from scons/libs/core/include/CLAM/XMLIterableAdapter.hxx:32:0,
                 from scons/libs/core/include/CLAM/DynamicType.hxx:29,
                 from scons/libs/core/include/CLAM/Audio.hxx:34,
                 from scons/libs/core/include/CLAM/AudioOutPort.hxx:26,
                 from scons/libs/core/src/AudioOutPort.cxx:22:
scons/libs/core/include/CLAM/TypeInfo.hxx:30:7: note: 'bool CLAM::SameType(const std::type_info&, const std::type_info&)' declared here, later in the translation unit
scons: *** [scons/libs/core/src/AudioOutPort.os] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2





More information about the pkg-multimedia-maintainers mailing list