>=calibre-2.47 does not compile with qt-5.6.0_beta

Bug #1540652 reported by Andres-becerra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Error obtained:

from /var/tmp/portage/app-text/calibre-2.47.0/work/calibre-2.47.0/src/calibre/headless/fontconfig_database.cpp:34:
/var/tmp/portage/app-text/calibre-2.47.0/work/calibre-2.47.0/src/calibre/headless/fontconfig_database.cpp:275:1: error: static assertion failed: sizeof(specialLanguages) / sizeof(const char *) == QChar::ScriptCount
 Q_STATIC_ASSERT(sizeof(specialLanguages) / sizeof(const char *) == QChar::ScriptCount);
 ^
Makefile:489: recipe for target 'fontconfig_database.o' failed

Distribution: Gentoo
Portage 2.2.27 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma,
gcc-5.3.0, glibc-2.22-r1, 3.13.0-76-generic x86_64)

=================================================================

sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0::gentoo
dev-lang/perl: 5.22.1::gentoo
dev-lang/python: 2.7.11-r2::gentoo,
dev-util/cmake: 3.4.3::gentoo
dev-util/pkgconfig: 0.29::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.20.4::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 5.3.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r1::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc: 2.22-r1::gentoo

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1540652

I'm not going to update calibre for Qt 5.6 until it is released. That
said, I have committed changes to fontconfig_database.cpp for 5.6 --
since it is just an (almost) identical copy of the file from the Qt
sourcecode.

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.