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

Bug#898542: qt4-x11: FTBFS with libicu60



Source: qt4-x11
Version: 4:4.8.7+dfsg-16
Severity: serious
Justification: fails to build from source

Hi!

qt4-x11 fails to build from source due to incompatible changes in libicu60:

g++ -c -include .pch/release-shared/QtCore -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/qt4-x11-4.8.7+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++98 -I/usr/include/freetype2 -pthr
ead -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_A
SCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQLIBRARYINFO_EPOCROOT -DQT_USE_ICU -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HA
VE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include -I../../include/QtCore -I.rc
c/release-shared -Iglobal -I../../tools/shared -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qlocale_icu.o tools/qlocale_icu.cpp
In file included from /usr/include/unicode/uversion.h:30:0,
                 from tools/qlocale_icu.cpp:46:
/usr/include/unicode/umachine.h:347:13: error: 'char16_t' does not name a type; did you mean 'wchar_t'?
     typedef char16_t UChar;
             ^~~~~~~~
             wchar_t
In file included from tools/qlocale_icu.cpp:46:0:
/usr/include/unicode/uversion.h:167:55: error: 'UChar' does not name a type; did you mean 'QChar'?
 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
                                                       ^~~~~
                                                       QChar
In file included from /usr/include/unicode/unorm.h:24:0,
                 from /usr/include/unicode/ucol.h:17,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uiter.h:594:44: error: 'UChar' does not name a type; did you mean 'QChar'?
 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length);
                                            ^~~~~
                                            QChar

I first discovered this issue on m68k [1], but also made a test build on amd64
to make sure this bug is not an artifact.

I unfortunately don't have a patch yet to address this issue.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=qt4-x11&arch=m68k&ver=4%3A4.8.7%2Bdfsg-16&stamp=1526192657&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: