Bug#701257: clam: ftbfs with GCC-4.8

Matthias Klose doko at debian.org
Sat Feb 23 11:20:17 UTC 2013


Package: src:clam
Version: 1.4.0-5.1
Severity: important
Tags: sid jessie
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.8

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

  scons/libs/core/include/CLAM/xtime.hxx:38:3: error: expected identifier before numeric constant

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/clam_1.4.0-5.1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
== Compiling shared scons/libs/core/src/XercesDomReadingContext.cxx
== Build copying src/Storage/XML/XmlWriteContext.cxx
== Build copying src/Storage/XML/XmlWriteContext.hxx
== Compiling shared scons/libs/core/src/XmlWriteContext.cxx
== Build copying src/Storage/XML/XercesDomWritingContext.cxx
== Compiling shared scons/libs/core/src/XercesDomWritingContext.cxx
== Build copying src/Storage/XML/XMLable.cxx
== Compiling shared scons/libs/core/src/XMLable.cxx
== Build copying src/Storage/XML/XercesDomWriter.cxx
== Compiling shared scons/libs/core/src/XercesDomWriter.cxx
== Build copying src/Storage/XML/XMLAdapter.cxx
== Compiling shared scons/libs/core/src/XMLAdapter.cxx
== Build copying src/Storage/XML/XmlStorageErr.cxx
== Compiling shared scons/libs/core/src/XmlStorageErr.cxx
== Build copying src/Storage/XML/BasicXMLable.cxx
== Compiling shared scons/libs/core/src/BasicXMLable.cxx
== Build copying src/Storage/XML/XMLComponentAdapter.cxx
== Compiling shared scons/libs/core/src/XMLComponentAdapter.cxx
== Build copying src/System/FileSystem.cxx
== Build copying src/System/FileSystem.hxx
== Build copying src/System/Threads/Lock.hxx
== Build copying src/System/Threads/Mutex.hxx
== Build copying src/System/Threads/xtime.hxx
== Compiling shared scons/libs/core/src/FileSystem.cxx
In file included from /usr/include/pthread.h:24:0,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr-default.h:35,
                 from /usr/include/x86_64-linux-gnu/c++/4.8/bits/gthr.h:148,
                 from /usr/include/c++/4.8/ext/atomicity.h:33,
                 from /usr/include/c++/4.8/bits/basic_string.h:39,
                 from /usr/include/c++/4.8/string:52,
                 from scons/libs/core/include/CLAM/FileSystem.hxx:25,
                 from scons/libs/core/src/FileSystem.cxx:22:
scons/libs/core/include/CLAM/xtime.hxx:38:3: error: expected identifier before numeric constant
   TIME_UTC=1,
   ^
scons/libs/core/include/CLAM/xtime.hxx:38:3: error: expected '}' before numeric constant
scons/libs/core/include/CLAM/xtime.hxx:38:3: error: expected unqualified-id before numeric constant
In file included from scons/libs/core/include/CLAM/Lock.hxx:26:0,
                 from scons/libs/core/include/CLAM/Mutex.hxx:26,
                 from scons/libs/core/include/CLAM/FileSystem.hxx:27,
                 from scons/libs/core/src/FileSystem.cxx:22:
scons/libs/core/include/CLAM/xtime.hxx:156:1: error: expected declaration before '}' token
 } // end of namespace CLAM
 ^
scons: *** [scons/libs/core/src/FileSystem.os] Error 1
scons: building terminated because of errors.
make[1]: *** [override_dh_auto_build] Error 2
make: *** [build-arch] Error 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list