http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2838979 g++ -c -pipe -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fno-exceptions -Wall -W -D_REENTRANT -fPIE -DQT_NO_MTDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/qtsensors-opensource-src-5.4.0/examples/sensors/shakeit -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I.moc -I. -o .obj/qrc_shakeit.o .rcc/qrc_shakeit.cpp g++ -Wl,-z,relro -shared -Wl,-soname,libgruesensor.so.1 -o libgruesensor.so.1.0.0 .obj/gruesensor.o -L/builddir/build/BUILD/qtsensors-opensource-src-5.4.0/aarch64-redhat-linux-gnu/lib -lQt5Sensors -lQt5Core -lpthread ln -s libgruesensor.so.1.0.0 libgruesensor.so ln -s libgruesensor.so.1.0.0 libgruesensor.so.1 ln -s libgruesensor.so.1.0.0 libgruesensor.so.1.0 rm -f ../../grue/libgruesensor.so.1.0.0 mv -f libgruesensor.so.1.0.0 ../../grue/ rm -f ../../grue/libgruesensor.so rm -f ../../grue/libgruesensor.so.1 rm -f ../../grue/libgruesensor.so.1.0 mv -f libgruesensor.so ../../grue/ mv -f libgruesensor.so.1 ../../grue/ mv -f libgruesensor.so.1.0 ../../grue/ make[4]: Leaving directory '/builddir/build/BUILD/qtsensors-opensource-src-5.4.0/aarch64-redhat-linux-gnu/examples/sensors/grue/lib' ( test -e Makefile.qml || /usr/lib64/qt5/bin/qmake /builddir/build/BUILD/qtsensors-opensource-src-5.4.0/examples/sensors/grue/qml.pro QMAKE_CFLAGS_DEBUG=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -fexceptions\ -fstack-protector-strong\ --param=ssp-buffer-size=4\ -grecord-gcc-switches\ QMAKE_CFLAGS_RELEASE=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -fexceptions\ -fstack-protector-strong\ --param=ssp-buffer-size=4\ -grecord-gcc-switches\ QMAKE_CXXFLAGS_DEBUG=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -fexceptions\ -fstack-protector-strong\ --param=ssp-buffer-size=4\ -grecord-gcc-switches\ QMAKE_CXXFLAGS_RELEASE=-O2\ -g\ -pipe\ -Wall\ -Werror=format-security\ -Wp,-D_FORTIFY_SOURCE=2\ -fexceptions\ -fstack-protector-strong\ --param=ssp-buffer-size=4\ -grecord-gcc-switches\ QMAKE_LFLAGS_DEBUG=-Wl,-z,relro\ QMAKE_LFLAGS_RELEASE=-Wl,-z,relro\ QMAKE_STRIP= -o Makefile.qml ) && make -f Makefile.qml /usr/lib/gcc/aarch64-redhat-linux/4.9.2/../../../../lib64/libQt5Quick.so: undefined reference to `QOpenGLContextPrivate::globalShareContext()' collect2: error: ld returned 1 exit status Makefile:97: recipe for target 'qmlqtsensors' failed make[3]: Leaving directory '/builddir/build/BUILD/qtsensors-opensource-src-5.4.0/aarch64-redhat-linux-gnu/examples/sensors/qmlqtsensors' make[3]: *** [qmlqtsensors] Error 1 Makefile:123: recipe for target 'sub-qmlqtsensors-make_first' failed
Looks like I need to bump BuildRequires: pkgconfig(Qt5Qml) to BuildRequires: pkgconfig(Qt5Qml) > 5.4.0 (ie, if you build qt5-qtdeclarative first, this should be ok here too)
%changelog * Wed Dec 31 2014 Rex Dieter <rdieter> 5.4.0-2 - BR: pkgconfig(Qt5Qml) > 5.4.0 (#1177985)
qt5-qtsensors-5.4.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/qt5-qtsensors-5.4.0-2.fc21
Package qt5-qtsensors-5.4.0-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qt5-qtsensors-5.4.0-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-0031/qt5-qtsensors-5.4.0-2.fc21 then log in and leave karma (feedback).
qt5-qtsensors-5.4.0-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.