1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
* Building rpm/qt5-qpa-surfaceflinger-plugin.spec
+ qmake -qt=5 -makefile 'QMAKE_CFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_RELEASE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' 'QMAKE_CXXFLAGS_DEBUG=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi' QMAKE_STRIP=: PREFIX=/usr
+ make -j4
g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=c++1y -DMESA_EGL_NO_X11_HEADERS -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQEGL_EXTRA_DEBUG -DMESA_EGL_NO_X11_HEADERS -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -isystem /usr/include/hybris/eglplatformcommon -isystem /usr/include/libdrm -isystem /usr/include/qt5/QtCompositor/5.4.0 -isystem /usr/include/qt5/QtCompositor/5.4.0/QtCompositor -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPlatformSupport -isystem /usr/include/qt5/QtPlatformSupport/5.6.3 -isystem /usr/include/qt5/QtPlatformSupport/5.6.3/QtPlatformSupport -isystem /usr/include/qt5/QtGui/5.6.3 -isystem /usr/include/qt5/QtGui/5.6.3/QtGui -isystem /usr/include/qt5/QtCompositor -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore/5.6.3 -isystem /usr/include/qt5/QtCore/5.6.3/QtCore -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/freetype2 -I/usr/share/qt5/mkspecs/linux-g++ -o .obj/surfaceflinger_context.o surfaceflinger_context.cpp
g++ -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fmessage-length=0 -march=armv7-a -mfloat-abi=hard -mfpu=neon -mthumb -Wno-psabi -std=c++1y -DMESA_EGL_NO_X11_HEADERS -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_LIBINPUT -DQEGL_EXTRA_DEBUG -DMESA_EGL_NO_X11_HEADERS -DQ_FONTCONFIGDATABASE -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PLATFORMSUPPORT_LIB -DQT_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -isystem /usr/include/hybris/eglplatformcommon -isystem /usr/include/libdrm -isystem /usr/include/qt5/QtCompositor/5.4.0 -isystem /usr/include/qt5/QtCompositor/5.4.0/QtCompositor -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPlatformSupport -isystem /usr/include/qt5/QtPlatformSupport/5.6.3 -isystem /usr/include/qt5/QtPlatformSupport/5.6.3/QtPlatformSupport -isystem /usr/include/qt5/QtGui/5.6.3 -isystem /usr/include/qt5/QtGui/5.6.3/QtGui -isystem /usr/include/qt5/QtCompositor -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore/5.6.3 -isystem /usr/include/qt5/QtCore/5.6.3/QtCore -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/freetype2 -I/usr/share/qt5/mkspecs/linux-g++ -o .obj/surfaceflinger_backend.o surfaceflinger_backend.cpp
rm -f libsurfaceflinger.so
g++ -Wl,--no-undefined -Wl,--no-undefined -Wl,-O1 -Wl,--enable-new-dtags -shared -o libsurfaceflinger.so .obj/main.o .obj/surfaceflinger_context.o .obj/surfaceflinger_screeninfo.o .obj/surfaceflinger_backend.o .obj/qeglfsintegration.o .obj/qeglfswindow.o .obj/qeglfsbackingstore.o .obj/qeglfsscreen.o .obj/qeglfscontext.o  -ludev -lglib-2.0 -lmtdev -lsf -lhybris-common -lhybris-eglplatformcommon -lQt5PlatformSupport -lQt5Compositor -lQt5Gui -lQt5DBus -lQt5Core -lGLESv2 -lpthread -lfontconfig -lfontconfig -lfreetype -lEGL
/srv/mer/toolings/SailfishOS-latest/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: /srv/mer/targets/samsung-j5nlte-armv7hl/usr/lib/libQt5PlatformSupport.a(qeventdispatcher_glib.o): in function `QPAEventDispatcherGlibPrivate::QPAEventDispatcherGlibPrivate(_GMainContext*)':
(.text+0x48): undefined reference to `g_source_new'
/srv/mer/toolings/SailfishOS-latest/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: (.text+0x52): undefined reference to `g_source_set_can_recurse'
/srv/mer/toolings/SailfishOS-latest/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: (.text+0x5a): undefined reference to `g_source_attach'
/srv/mer/toolings/SailfishOS-latest/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: /srv/mer/targets/samsung-j5nlte-armv7hl/usr/lib/libQt5PlatformSupport.a(qeventdispatcher_glib.o): in function `QPAEventDispatcherGlib::~QPAEventDispatcherGlib()':
(.text+0xc4): undefined reference to `g_source_destroy'
/srv/mer/toolings/SailfishOS-latest/opt/cross/bin/armv7hl-meego-linux-gnueabi-ld: (.text+0xca): undefined reference to `g_source_unref'
collect2: error: ld returned 1 exit status
make: *** [Makefile:100: plugins/platforms/libsurfaceflinger.so] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.OphHBC (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.OphHBC (%build)
* Check /home/patroxzimnicki/hadk/hybris/mw/qt5-qpa-surfaceflinger-plugin.log for full log.
!! building of package failed
PlatformSDK PlatformSDK PlatformSDK patroxzimnicki@instance-1:~/hadk$