user/calligra: FTBFS: undefined reference to `FcPatternBuild' (+ others)
Found on ppc64:
...
In file included from /usr/include/QtCore/qcborvalue.h:44,
from /usr/include/QtCore/qcborarray.h:43,
from /usr/include/QtCore/QtCore:38,
from /usr/include/QtXml/QtXmlDepends:3,
from /usr/include/QtXml/QtXml:3,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/store/KoXmlReader.h:29,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoListStyle.h:31,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/KoList.h:23,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/opendocument/KoTextLoader.cpp:45:
/usr/include/QtCore/qdatetime.h:237:54: note: declared here
QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
^~~~~~~
/root/packages/user/calligra/src/calligra-3.2.1/libs/text/opendocument/KoTextLoader.cpp:1646:59: warning: ‘int QTime::elapsed() const’ is deprecated: Use QElapsedTimer instead [-Wdeprecated-declarations]
d->nextProgressReportMs = d->progressTime.elapsed() + 333; // report 3 times per second
^
In file included from /usr/include/QtCore/qcborvalue.h:44,
from /usr/include/QtCore/qcborarray.h:43,
from /usr/include/QtCore/QtCore:38,
from /usr/include/QtXml/QtXmlDepends:3,
from /usr/include/QtXml/QtXml:3,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/store/KoXmlReader.h:29,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoListStyle.h:31,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/KoList.h:23,
from /root/packages/user/calligra/src/calligra-3.2.1/libs/text/opendocument/KoTextLoader.cpp:45:
/usr/include/QtCore/qdatetime.h:237:54: note: declared here
QT_DEPRECATED_X("Use QElapsedTimer instead") int elapsed() const;
^~~~~~~
[ 32%] Linking CXX shared library libkotext.so
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: CMakeFiles/kotext.dir/styles/KoCharacterStyle.cpp.o: in function `KoCharacterStyle::Private::calculateFontYStretch(QString const&)':
/root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:222: undefined reference to `FcPatternBuild'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:229: undefined reference to `FcFontMatch'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:237: undefined reference to `FcPatternGetString'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:312: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:313: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:239: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:240: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:231: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:254: undefined reference to `FcPatternGetString'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:262: undefined reference to `FcPatternGetInteger'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:326: undefined reference to `FcPatternDestroy'
/usr/lib/gcc/powerpc64-foxkit-linux-musl/8.5.0/../../../../powerpc64-foxkit-linux-musl/bin/ld: /root/packages/user/calligra/src/calligra-3.2.1/libs/text/styles/KoCharacterStyle.cpp:327: undefined reference to `FcPatternDestroy'
collect2: error: ld returned 1 exit status
make[2]: *** [libs/text/CMakeFiles/kotext.dir/build.make:1859: libs/text/libkotext.so.17.0.0] Error 1
make[2]: Leaving directory '/root/packages/user/calligra/src/calligra-3.2.1/build'
make[1]: *** [CMakeFiles/Makefile2:16041: libs/text/CMakeFiles/kotext.dir/all] Error 2
make[1]: Leaving directory '/root/packages/user/calligra/src/calligra-3.2.1/build'
make: *** [Makefile:146: all] Error 2
make: Leaving directory '/root/packages/user/calligra/src/calligra-3.2.1/build'
>>> ERROR: calligra: build failed