[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#778037: okular: ftbfs with GCC-5



Package: src:okular
Version: 4:4.14.2-2
Severity: normal
Tags: sid stretch
User: debian-gcc@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/okular_4.14.2-2_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

[...]
dh_compress '-X.dcl' '-X.docbook' '-X-license' '-X.tag' '-X.sty' '-X.el'  # [-a]
dh_fixperms  # [-a]
make[1]: Leaving directory '/«PKGBUILDDIR»'
# "install-arch" target is done
/usr/bin/make -f debian/rules dhmk_run_binary-arch_commands DHMK_TARGET="binary-arch"
make[1]: Entering directory '/«PKGBUILDDIR»'
# Running override target (override_dh_strip)
test -z "`ls debian/*.debhelper.log 2>/dev/null`" || sed -i '/^override_dh_strip[[:space:]]/d' debian/*.debhelper.log
/usr/bin/make -f debian/rules override_dh_strip DH_INTERNAL_OVERRIDE="dh_strip"  # [-a]
make[2]: Entering directory '/«PKGBUILDDIR»'
dh_strip  --dbg-package=okular-dbg
make[2]: Leaving directory '/«PKGBUILDDIR»'
dh_makeshlibs '-Xusr/lib/kde4/'  # [-a]
dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libokularcore5/DEBIAN/symbols doesn't match completely debian/libokularcore5.symbols
--- debian/libokularcore5.symbols (libokularcore5_4:4.14.2-2_amd64)
+++ dpkg-gensymbols3pm03x	2015-02-07 16:41:33.512681908 +0000
@@ -475,9 +475,9 @@
  _ZN6Okular19HighlightAnnotationD2Ev@Base 1.7
  _ZN6Okular19SourceRefObjectRectC1ERKNS_15NormalizedPointEPv@Base 1.7
  _ZN6Okular19SourceRefObjectRectC2ERKNS_15NormalizedPointEPv@Base 1.7
- _ZN6Okular19SourceRefObjectRectD0Ev@Base 1.7
- _ZN6Okular19SourceRefObjectRectD1Ev@Base 1.7
- _ZN6Okular19SourceRefObjectRectD2Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular19SourceRefObjectRectD0Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular19SourceRefObjectRectD1Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular19SourceRefObjectRectD2Ev@Base 1.7
  _ZN6Okular20AnnotationObjectRect9transformERK10QTransform@Base 1.7
  _ZN6Okular20AnnotationObjectRectC1EPNS_10AnnotationE@Base 1.7
  _ZN6Okular20AnnotationObjectRectC2EPNS_10AnnotationE@Base 1.7
@@ -486,9 +486,9 @@
  _ZN6Okular20AnnotationObjectRectD2Ev@Base 1.7
  _ZN6Okular20TextDocumentSettingsC1ERK7QStringP7QObject@Base 1.7
  _ZN6Okular20TextDocumentSettingsC2ERK7QStringP7QObject@Base 1.7
- _ZN6Okular20TextDocumentSettingsD0Ev@Base 1.7
- _ZN6Okular20TextDocumentSettingsD1Ev@Base 1.7
- _ZN6Okular20TextDocumentSettingsD2Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular20TextDocumentSettingsD0Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular20TextDocumentSettingsD1Ev@Base 1.7
+#MISSING: 4:4.14.2-2# _ZN6Okular20TextDocumentSettingsD2Ev@Base 1.7
  _ZN6Okular21TextDocumentConverter11addMetaDataENS_12DocumentInfo3KeyERK7QString@Base 1.7
  _ZN6Okular21TextDocumentConverter11addMetaDataERK7QStringS3_S3_@Base 1.7
  _ZN6Okular21TextDocumentConverter11qt_metacallEN11QMetaObject4CallEiPPv@Base 1.7
dh_makeshlibs: failing due to earlier errors
make[1]: *** [pre_binary-arch_dh_makeshlibs] Error 2
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:97: recipe for target 'pre_binary-arch_dh_makeshlibs' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [debian/dhmk_binary-arch] Error 2
/usr/share/pkg-kde-tools/qt-kde-team/2/dhmk.mk:110: recipe for target 'debian/dhmk_binary-arch' failed
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error exit status 2


Reply to: