FS#42947 - Qt5-base libqminimal.so undefined symbol

Attached to Project: Arch Linux
Opened by Ilya (Ilya87) - Friday, 28 November 2014, 22:01 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 29 November 2014, 08:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When I try to build Qt 5.4 rc it fails with the following message

Got keys from plugin meta data ("xcb")
loaded library "/usr/lib/qt/plugins/platforms/libqminimal.so"
QLibraryPrivate::loadPlugin failed on "/usr/lib/qt/plugins/platforms/libqminimal.so" : "Cannot load library /usr/lib/qt/plugins/platforms/libqminimal.so: (/usr/lib/qt/plugins/platforms/libqminimal.so: undefined symbol: _ZNK15QPlatformScreen11pageFlipperEv)"
This application failed to start because it could not find or load the Qt platform plugin "minimal".

Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.

This means /usr/lib/qt/plugins/platforms/libqminimal.so lacks some library. What library?
Additional info:
qt5-base 5.3.2-2 x86-64

Steps to reproduce:

export QTDIR="${srcdir}"/qt5
export LD=g++
export LD_LIBRARY_PATH="${QTDIR}"/qtbase/lib:"${QTDIR}"/qttools/lib:"${LD_LIBRARY_PATH}"
export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins

[[ "${CARCH}" = "i686" ]] && SSE2="-no-sse2"

PYTHON=/usr/bin/python2 ./configure -confirm-license -opensource \
-prefix /usr \
-bindir /usr/lib/qt/bin \
-docdir /usr/share/doc/qt \
-headerdir /usr/include/qt \
-archdatadir /usr/lib/qt \
-datadir /usr/share/qt \
-sysconfdir /etc/xdg \
-examplesdir /usr/share/doc/qt/examples \
-plugin-sql-{psql,mysql,sqlite,odbc,ibase} \
-system-sqlite \
-nomake tests \
-openssl-linked \
-nomake examples \
-no-rpath \
-optimized-qmake \
-dbus-linked \
-system-harfbuzz \
-journald \
-reduce-relocations ${SSE2}

make

# Fix paths
find "${QTDIR}" -name Makefile -exec sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" {} +
find "${QTDIR}" -name Makefile.qmake-docs -exec sed -i "s|/usr/lib/qt/bin/qdoc|${QTDIR}/qtbase/bin/qdoc|g" {} +
find "${QTDIR}" -name Makefile -exec sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" {} +
find "${QTDIR}" -name Makefile.qmake-docs -exec sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" {} +
sed -i "s|/usr/lib/qt/bin/qhelpgenerator|${QTDIR}/qttools/bin/qhelpgenerator|g" qtwebkit/Source/Makefile.api
export QT_PLUGIN_PATH="${QTDIR}"/qtbase/plugins
export QT_DEBUG_PLUGINS=1
make docs
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 29 November 2014, 08:21 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Build it using makechrootpkg

Loading...