Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PlatformSDK [faraday@probook qt5-qpa-surfaceflinger-plugin]$ mb2 -s rpm/qt5-qpa-surfaceflinger-plugin.spec -t $VENDOR-$DEVICE-$PORT_ARCH build
- Building target platforms: armv7hl-meego-linux
- Building for target armv7hl-meego-linux
- Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IC9Fxz
- + umask 022
- + cd /home/faraday/qt5-qpa-surfaceflinger-plugin
- + LANG=C
- + export LANG
- + unset DISPLAY
- + CFLAGS='-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'
- + export CFLAGS
- + CXXFLAGS='-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'
- + export CXXFLAGS
- + FFLAGS='-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 -I/usr/lib/gfortran/modules'
- + export FFLAGS
- + LD_AS_NEEDED=1
- + export LD_AS_NEEDED
- + export QTDIR=/usr/share/qt5
- + QTDIR=/usr/share/qt5
- + cd surfaceflinger
- + export QT_SELECT=5
- + QT_SELECT=5
- + 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
- /usr/lib/qt5/bin/moc -DQT_NO_XCB -DQT_NO_XKBCOMMON -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_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -I/usr/include/hybris/surface_flinger -I/usr/include/hybris/eglplatformcommon -I/usr/include/qt5/QtCompositor/5.4.0 -I/usr/include/qt5/QtCompositor/5.4.0/QtCompositor -I/usr/include/qt5 -I/usr/include/qt5/QtCompositor -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5/QtPlatformSupport/5.2.2 -I/usr/include/qt5/QtPlatformSupport/5.2.2/QtPlatformSupport -I/usr/include/qt5/QtGui/5.2.2 -I/usr/include/qt5/QtGui/5.2.2/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.2.2 -I/usr/include/qt5/QtCore/5.2.2/QtCore -I/usr/include/qt5/QtCore -I.moc -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/4.8.3 -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/4.8.3/armv7hl-meego-linux-gnueabi -I/opt/cross/armv7hl-meego-linux-gnueabi/include/c++/4.8.3/backward -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/4.8.3/include -I/usr/local/include -I/opt/cross/lib/gcc/armv7hl-meego-linux-gnueabi/4.8.3/include-fixed -I/opt/cross/armv7hl-meego-linux-gnueabi/include -I/usr/include main.cpp -o .moc/main.moc
- 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 -DMESA_EGL_NO_X11_HEADERS -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -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_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -I/usr/include/hybris/surface_flinger -I/usr/include/hybris/eglplatformcommon -I/usr/include/qt5/QtCompositor/5.4.0 -I/usr/include/qt5/QtCompositor/5.4.0/QtCompositor -I/usr/include/qt5 -I/usr/include/qt5/QtCompositor -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5/QtPlatformSupport/5.2.2 -I/usr/include/qt5/QtPlatformSupport/5.2.2/QtPlatformSupport -I/usr/include/qt5/QtGui/5.2.2 -I/usr/include/qt5/QtGui/5.2.2/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.2.2 -I/usr/include/qt5/QtCore/5.2.2/QtCore -I/usr/include/qt5/QtCore -I.moc -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 -DMESA_EGL_NO_X11_HEADERS -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -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_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -I/usr/include/hybris/surface_flinger -I/usr/include/hybris/eglplatformcommon -I/usr/include/qt5/QtCompositor/5.4.0 -I/usr/include/qt5/QtCompositor/5.4.0/QtCompositor -I/usr/include/qt5 -I/usr/include/qt5/QtCompositor -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5/QtPlatformSupport/5.2.2 -I/usr/include/qt5/QtPlatformSupport/5.2.2/QtPlatformSupport -I/usr/include/qt5/QtGui/5.2.2 -I/usr/include/qt5/QtGui/5.2.2/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.2.2 -I/usr/include/qt5/QtCore/5.2.2/QtCore -I/usr/include/qt5/QtCore -I.moc -o .obj/surfaceflinger_screeninfo.o surfaceflinger_screeninfo.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 -DMESA_EGL_NO_X11_HEADERS -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_XCB -DQT_NO_XKBCOMMON -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_COMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/droid-devel/droid-headers -I/usr/include/hybris/surface_flinger -I/usr/include/hybris/eglplatformcommon -I/usr/include/qt5/QtCompositor/5.4.0 -I/usr/include/qt5/QtCompositor/5.4.0/QtCompositor -I/usr/include/qt5 -I/usr/include/qt5/QtCompositor -I/usr/include/qt5/QtPlatformSupport -I/usr/include/qt5/QtPlatformSupport/5.2.2 -I/usr/include/qt5/QtPlatformSupport/5.2.2/QtPlatformSupport -I/usr/include/qt5/QtGui/5.2.2 -I/usr/include/qt5/QtGui/5.2.2/QtGui -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore/5.2.2 -I/usr/include/qt5/QtCore/5.2.2/QtCore -I/usr/include/qt5/QtCore -I.moc -o .obj/surfaceflinger_backend.o surfaceflinger_backend.cpp
- surfaceflinger_screeninfo.cpp: In constructor '{anonymous}::SurfaceFlingerScreenInfoAndroidSource::SurfaceFlingerScreenInfoAndroidSource(size_t)':
- surfaceflinger_screeninfo.cpp:135:30: error: aggregate '{anonymous}::SurfaceFlingerScreenInfoAndroidSource::SurfaceFlingerScreenInfoAndroidSource(size_t)::SfDisplayInfo display_info' has incomplete type and cannot be defined
- struct SfDisplayInfo display_info;
- ^
- surfaceflinger_screeninfo.cpp:136:58: error: 'sf_get_display_info' was not declared in this scope
- if (sf_get_display_info(display_id, &display_info) == 0) {
- ^
- surfaceflinger_backend.cpp: In member function 'void SurfaceFlingerBackend::sleepDisplay(bool)':
- surfaceflinger_backend.cpp:136:48: error: 'sf_set_power_mode' was not declared in this scope
- sf_set_power_mode(0, HWC_POWER_MODE_OFF);
- ^
- surfaceflinger_backend.cpp:138:51: error: 'sf_set_power_mode' was not declared in this scope
- sf_set_power_mode(0, HWC_POWER_MODE_NORMAL);
- ^
- make: *** [.obj/surfaceflinger_screeninfo.o] Error 1
- make: *** Waiting for unfinished jobs....
- make: *** [.obj/surfaceflinger_backend.o] Error 1
- error: Bad exit status from /var/tmp/rpm-tmp.IC9Fxz (%build)
- RPM build errors:
- Bad exit status from /var/tmp/rpm-tmp.IC9Fxz (%build)
- PlatformSDK [faraday@probook qt5-qpa-surfaceflinger-plugin]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement