Bug#778179: xbmc: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:38:03 UTC 2015


Package: src:xbmc
Version: 2:13.2+dfsg1-4
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/xbmc_13.2+dfsg1-4_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
 XBMC_GLOBAL(CGraphicContext,g_graphicsContext);
                             ^
/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils/GlobalsHandling.h:223:22: note: in definition of macro 'XBMC_GLOBAL'
   static classname & g_variable = (*(g_variable##Ref.get()))
                      ^
CPP     xbmc/guilib/StereoscopicsManager.o
CPP     xbmc/guilib/Texture.o
CPP     xbmc/guilib/TextureBundleXPR.o
CPP     xbmc/guilib/TextureBundleXBT.o
In file included from GraphicContext.h:48:0,
                 from GUIControl.h:30,
                 from IGUIContainer.h:23,
                 from GUIBaseContainer.h:28,
                 from GUIWrappingListContainer.h:28,
                 from GUIWrappingListContainer.cpp:21:
GraphicContext.h:285:29: warning: 'g_graphicsContext' defined but not used [-Wunused-variable]
 XBMC_GLOBAL(CGraphicContext,g_graphicsContext);
                             ^
/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils/GlobalsHandling.h:223:22: note: in definition of macro 'XBMC_GLOBAL'
   static classname & g_variable = (*(g_variable##Ref.get()))
                      ^
CPP     xbmc/guilib/TextureBundle.o
CPP     xbmc/guilib/TextureManager.o
CPP     xbmc/guilib/VisibleEffect.o
CPP     xbmc/guilib/XBTF.o
CPP     xbmc/guilib/XBTFReader.o
CPP     xbmc/guilib/TextureGL.o
CPP     xbmc/guilib/GUIFontTTFGL.o
CPP     xbmc/guilib/GUITextureGL.o
In file included from /«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils/CharsetConverter.h:26:0,
                 from XBTFReader.cpp:24:
/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils/CharsetConverter.h:177:31: warning: 'g_charsetConverter' defined but not used [-Wunused-variable]
 XBMC_GLOBAL(CCharsetConverter,g_charsetConverter);
                               ^
/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils/GlobalsHandling.h:223:22: note: in definition of macro 'XBMC_GLOBAL'
   static classname & g_variable = (*(g_variable##Ref.get()))
                      ^
AR      xbmc/guilib/guilib.a
make[2]: Leaving directory '/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/guilib'
Mime.cpp: In function 'std::map<std::basic_string<char>, std::basic_string<char> > fillMimeTypes()':
Mime.cpp:35:21: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
 map<string, string> fillMimeTypes()
                     ^
AR      xbmc/utils/utils.a
make[2]: Leaving directory '/«BUILDDIR»/xbmc-13.2+dfsg1/xbmc/utils'
make[1]: Leaving directory '/«BUILDDIR»/xbmc-13.2+dfsg1'
dh_auto_build: make -j10 returned exit code 2
make: *** [build-arch] Error 2
debian/rules:93: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list