Advertisement
Guest User

Untitled

a guest
Feb 17th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.89 KB | None | 0 0
  1. PlatformSDK [faraday@probook qt5-qpa-surfaceflinger-plugin]$ mb2 -s rpm/qt5-qpa-surfaceflinger-plugin.spec -t $VENDOR-$DEVICE-$PORT_ARCH build
  2.  
  3. Building target platforms: armv7hl-meego-linux
  4. Building for target armv7hl-meego-linux
  5. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IC9Fxz
  6. + umask 022
  7. + cd /home/faraday/qt5-qpa-surfaceflinger-plugin
  8. + LANG=C
  9. + export LANG
  10. + unset DISPLAY
  11. + 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'
  12. + export CFLAGS
  13. + 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'
  14. + export CXXFLAGS
  15. + 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'
  16. + export FFLAGS
  17. + LD_AS_NEEDED=1
  18. + export LD_AS_NEEDED
  19. + export QTDIR=/usr/share/qt5
  20. + QTDIR=/usr/share/qt5
  21. + cd surfaceflinger
  22. + export QT_SELECT=5
  23. + QT_SELECT=5
  24. + 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
  25. + make -j4
  26. /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
  27. 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
  28. 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
  29. 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
  30. surfaceflinger_screeninfo.cpp: In constructor '{anonymous}::SurfaceFlingerScreenInfoAndroidSource::SurfaceFlingerScreenInfoAndroidSource(size_t)':
  31. surfaceflinger_screeninfo.cpp:135:30: error: aggregate '{anonymous}::SurfaceFlingerScreenInfoAndroidSource::SurfaceFlingerScreenInfoAndroidSource(size_t)::SfDisplayInfo display_info' has incomplete type and cannot be defined
  32. struct SfDisplayInfo display_info;
  33. ^
  34. surfaceflinger_screeninfo.cpp:136:58: error: 'sf_get_display_info' was not declared in this scope
  35. if (sf_get_display_info(display_id, &display_info) == 0) {
  36. ^
  37. surfaceflinger_backend.cpp: In member function 'void SurfaceFlingerBackend::sleepDisplay(bool)':
  38. surfaceflinger_backend.cpp:136:48: error: 'sf_set_power_mode' was not declared in this scope
  39. sf_set_power_mode(0, HWC_POWER_MODE_OFF);
  40. ^
  41. surfaceflinger_backend.cpp:138:51: error: 'sf_set_power_mode' was not declared in this scope
  42. sf_set_power_mode(0, HWC_POWER_MODE_NORMAL);
  43. ^
  44. make: *** [.obj/surfaceflinger_screeninfo.o] Error 1
  45. make: *** Waiting for unfinished jobs....
  46. make: *** [.obj/surfaceflinger_backend.o] Error 1
  47. error: Bad exit status from /var/tmp/rpm-tmp.IC9Fxz (%build)
  48.  
  49.  
  50. RPM build errors:
  51. Bad exit status from /var/tmp/rpm-tmp.IC9Fxz (%build)
  52. PlatformSDK [faraday@probook qt5-qpa-surfaceflinger-plugin]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement