muhammadrefa

Untitled

Sep 2nd, 2015
6
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. MerSDK bash-3.2$ mb2 -s rpm/libhybris.spec -t $VENDOR-$DEVICE-armv7hl build
  2.  
  3. Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1HEfm1
  4. + umask 022
  5. + cd /home/refa/mer/devel/mer-hybris/libhybris/libhybris
  6. + LANG=C
  7. + export LANG
  8. + unset DISPLAY
  9. + 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'
  10. + export CFLAGS
  11. + 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'
  12. + export CXXFLAGS
  13. + 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'
  14. + export FFLAGS
  15. + LD_AS_NEEDED=1
  16. + export LD_AS_NEEDED
  17. + cd hybris
  18. + autoreconf -v -f -i
  19. autoreconf: Entering directory `.'
  20. autoreconf: configure.ac: not using Gettext
  21. autoreconf: running: aclocal --force
  22. main::scan_file() called too early to check prototype at /usr/bin/aclocal line 617.
  23. autoreconf: configure.ac: tracing
  24. autoreconf: running: libtoolize --copy --force
  25. libtoolize: putting auxiliary files in `.'.
  26. libtoolize: copying file `./ltmain.sh'
  27. libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
  28. libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
  29. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
  30. main::scan_file() called too early to check prototype at /usr/bin/aclocal line 617.
  31. autoreconf: running: /usr/bin/autoconf --force
  32. autoreconf: running: /usr/bin/autoheader --force
  33. autoreconf: running: automake --add-missing --copy --force-missing
  34. common/Makefile.am:17: error No Android Version is defined: non-POSIX variable name
  35. common/Makefile.am:17: (probably a GNU make extension)
  36. egl/platforms/common/Makefile.am:29: `%'-style pattern rules are a GNU make extension
  37. egl/platforms/common/Makefile.am:32: `%'-style pattern rules are a GNU make extension
  38. egl/platforms/common/Makefile.am:35: `%'-style pattern rules are a GNU make extension
  39. tests/Makefile.am:31: variable `test_audio_SOURCES' is defined but no program or
  40. tests/Makefile.am:31: library has `test_audio' as canonical name (possible typo)
  41. tests/Makefile.am:102: variable `test_lights_SOURCES' is defined but no program or
  42. tests/Makefile.am:102: library has `test_lights' as canonical name (possible typo)
  43. tests/Makefile.am:34: variable `test_audio_LDADD' is defined but no program or
  44. tests/Makefile.am:34: library has `test_audio' as canonical name (possible typo)
  45. tests/Makefile.am:107: variable `test_lights_LDADD' is defined but no program or
  46. tests/Makefile.am:107: library has `test_lights' as canonical name (possible typo)
  47. autoreconf: Leaving directory `.'
  48. + 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'
  49. + export CFLAGS
  50. + 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'
  51. + export CXXFLAGS
  52. + 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'
  53. + export FFLAGS
  54. + ./configure --build=armv7l-unknown-linux-gnueabi --host=armv7l-unknown-linux-gnueabi --target=armv7hl-meego-linux-gnueabi --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-wayland --enable-debug --enable-trace --with-android-headers=/usr/lib/droid-devel/droid-headers --enable-arch=arm --with-default-hybris-ld-library-path=/usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib
  55. checking for a BSD-compatible install... /usr/bin/install -c
  56. checking whether build environment is sane... yes
  57. checking for a thread-safe mkdir -p... /bin/mkdir -p
  58. checking for gawk... gawk
  59. checking whether make sets $(MAKE)... yes
  60. checking for armv7l-unknown-linux-gnueabi-gcc... no
  61. checking for gcc... gcc
  62. checking whether the C compiler works... yes
  63. checking for C compiler default output file name... a.out
  64. checking for suffix of executables...
  65. checking whether we are cross compiling... no
  66. checking for suffix of object files... o
  67. checking whether we are using the GNU C compiler... yes
  68. checking whether gcc accepts -g... yes
  69. checking for gcc option to accept ISO C89... none needed
  70. checking for style of include used by make... GNU
  71. checking dependency style of gcc... gcc3
  72. checking for armv7l-unknown-linux-gnueabi-g++... no
  73. checking for armv7l-unknown-linux-gnueabi-c++... no
  74. checking for armv7l-unknown-linux-gnueabi-gpp... no
  75. checking for armv7l-unknown-linux-gnueabi-aCC... no
  76. checking for armv7l-unknown-linux-gnueabi-CC... no
  77. checking for armv7l-unknown-linux-gnueabi-cxx... no
  78. checking for armv7l-unknown-linux-gnueabi-cc++... no
  79. checking for armv7l-unknown-linux-gnueabi-cl.exe... no
  80. checking for armv7l-unknown-linux-gnueabi-FCC... no
  81. checking for armv7l-unknown-linux-gnueabi-KCC... no
  82. checking for armv7l-unknown-linux-gnueabi-RCC... no
  83. checking for armv7l-unknown-linux-gnueabi-xlC_r... no
  84. checking for armv7l-unknown-linux-gnueabi-xlC... no
  85. checking for g++... g++
  86. checking whether we are using the GNU C++ compiler... yes
  87. checking whether g++ accepts -g... yes
  88. checking dependency style of g++... gcc3
  89. checking whether gcc and cc understand -c and -o together... yes
  90. checking how to run the C preprocessor... gcc -E
  91. checking for grep that handles long lines and -e... /bin/grep
  92. checking for egrep... /bin/grep -E
  93. checking for ANSI C header files... yes
  94. checking for sys/types.h... yes
  95. checking for sys/stat.h... yes
  96. checking for stdlib.h... yes
  97. checking for string.h... yes
  98. checking for memory.h... yes
  99. checking for strings.h... yes
  100. checking for inttypes.h... yes
  101. checking for stdint.h... yes
  102. checking for unistd.h... yes
  103. checking minix/config.h usability... no
  104. checking minix/config.h presence... no
  105. checking for minix/config.h... no
  106. checking whether it is safe to define __EXTENSIONS__... yes
  107. checking build system type... armv7l-unknown-linux-gnueabi
  108. checking host system type... armv7l-unknown-linux-gnueabi
  109. checking how to print strings... printf
  110. checking for a sed that does not truncate output... /bin/sed
  111. checking for fgrep... /bin/grep -F
  112. checking for ld used by gcc... /usr/bin/ld
  113. checking if the linker (/usr/bin/ld) is GNU ld... yes
  114. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  115. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  116. checking whether ln -s works... yes
  117. checking the maximum length of command line arguments... 1572864
  118. checking whether the shell understands some XSI constructs... yes
  119. checking whether the shell understands "+="... yes
  120. checking how to convert armv7l-unknown-linux-gnueabi file names to armv7l-unknown-linux-gnueabi format... func_convert_file_noop
  121. checking how to convert armv7l-unknown-linux-gnueabi file names to toolchain format... func_convert_file_noop
  122. checking for /usr/bin/ld option to reload object files... -r
  123. checking for armv7l-unknown-linux-gnueabi-objdump... no
  124. checking for objdump... objdump
  125. checking how to recognize dependent libraries... pass_all
  126. checking for armv7l-unknown-linux-gnueabi-dlltool... no
  127. checking for dlltool... no
  128. checking how to associate runtime and link libraries... printf %s\n
  129. checking for armv7l-unknown-linux-gnueabi-ar... no
  130. checking for ar... ar
  131. checking for archiver @FILE support... @
  132. checking for armv7l-unknown-linux-gnueabi-strip... no
  133. checking for strip... strip
  134. checking for armv7l-unknown-linux-gnueabi-ranlib... no
  135. checking for ranlib... ranlib
  136. checking command to parse /usr/bin/nm -B output from gcc object... ok
  137. checking for sysroot... no
  138. checking for armv7l-unknown-linux-gnueabi-mt... no
  139. checking for mt... no
  140. checking if : is a manifest tool... no
  141. checking for dlfcn.h... yes
  142. checking for objdir... .libs
  143. checking if gcc supports -fno-rtti -fno-exceptions... no
  144. checking for gcc option to produce PIC... -fPIC -DPIC
  145. checking if gcc PIC flag -fPIC -DPIC works... yes
  146. checking if gcc static flag -static works... no
  147. checking if gcc supports -c -o file.o... yes
  148. checking if gcc supports -c -o file.o... (cached) yes
  149. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  150. checking whether -lc should be explicitly linked in... no
  151. checking dynamic linker characteristics... GNU/Linux ld.so
  152. checking how to hardcode library paths into programs... immediate
  153. checking whether stripping libraries is possible... yes
  154. checking if libtool supports shared libraries... yes
  155. checking whether to build shared libraries... yes
  156. checking whether to build static libraries... no
  157. checking how to run the C++ preprocessor... g++ -E
  158. checking for ld used by g++... /usr/bin/ld
  159. checking if the linker (/usr/bin/ld) is GNU ld... yes
  160. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  161. checking for g++ option to produce PIC... -fPIC -DPIC
  162. checking if g++ PIC flag -fPIC -DPIC works... yes
  163. checking if g++ static flag -static works... no
  164. checking if g++ supports -c -o file.o... yes
  165. checking if g++ supports -c -o file.o... (cached) yes
  166. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  167. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  168. checking how to hardcode library paths into programs... immediate
  169. checking for armv7l-unknown-linux-gnueabi-pkg-config... no
  170. checking for pkg-config... /usr/bin/pkg-config
  171. checking pkg-config is at least version 0.9.0... yes
  172. checking for dlopen in -ldl... yes
  173. checking for clock_gettime in -lrt... yes
  174. checking for WAYLAND_CLIENT... yes
  175. checking for WAYLAND_SERVER... yes
  176. checking for wayland-scanner... /usr/bin/wayland-scanner
  177. checking android-config.h usability... yes
  178. checking android-config.h presence... yes
  179. checking for android-config.h... yes
  180. checking android-version.h usability... yes
  181. checking android-version.h presence... yes
  182. checking for android-version.h... yes
  183. configure: "Android headers version is 5.1.1.1"
  184. configure: "Android headers version is 5.1.1"
  185. configure: creating ./config.status
  186. config.status: creating Makefile
  187. config.status: creating properties/Makefile
  188. config.status: creating properties/libandroid-properties.pc
  189. config.status: creating common/Makefile
  190. config.status: creating common/gingerbread/Makefile
  191. config.status: creating common/ics/Makefile
  192. config.status: creating common/jb/Makefile
  193. config.status: creating egl/egl.pc
  194. config.status: creating egl/Makefile
  195. config.status: creating egl/platforms/Makefile
  196. config.status: creating egl/platforms/common/Makefile
  197. config.status: creating egl/platforms/common/hybris-egl-platform.pc
  198. config.status: creating egl/platforms/null/Makefile
  199. config.status: creating egl/platforms/fbdev/Makefile
  200. config.status: creating egl/platforms/wayland/Makefile
  201. config.status: creating egl/platforms/hwcomposer/Makefile
  202. config.status: creating egl/platforms/hwcomposer/hwcomposer-egl.pc
  203. config.status: creating glesv1/glesv1_cm.pc
  204. config.status: creating glesv1/Makefile
  205. config.status: creating glesv2/glesv2.pc
  206. config.status: creating glesv2/Makefile
  207. config.status: creating hardware/Makefile
  208. config.status: creating hardware/libhardware.pc
  209. config.status: creating libnfc_nxp/Makefile
  210. config.status: creating libnfc_nxp/libnfc_nxp.pc
  211. config.status: creating libnfc_ndef_nxp/Makefile
  212. config.status: creating libnfc_ndef_nxp/libnfc_ndef_nxp.pc
  213. config.status: creating libsync/Makefile
  214. config.status: creating libsync/libsync.pc
  215. config.status: creating ui/Makefile
  216. config.status: creating sf/Makefile
  217. config.status: creating sf/libsf.pc
  218. config.status: creating input/Makefile
  219. config.status: creating input/libis.pc
  220. config.status: creating camera/Makefile
  221. config.status: creating camera/libcamera.pc
  222. config.status: creating vibrator/Makefile
  223. config.status: creating vibrator/libvibrator.pc
  224. config.status: creating include/Makefile
  225. config.status: creating utils/Makefile
  226. config.status: creating tests/Makefile
  227. config.status: creating egl/platforms/common/wayland-egl.pc
  228. config.status: creating config.h
  229. config.status: config.h is unchanged
  230. config.status: executing depfiles commands
  231. config.status: executing libtool commands
  232.  
  233. ------------------------------------------------------------------------
  234. libhybris 0.1.0
  235. ------------------------------------------------------------------------
  236.  
  237. Configuration Options:
  238.  
  239. debug build.............: yes
  240.  
  241. trace...................: yes
  242.  
  243. prefix..................: /usr
  244.  
  245. arch ..................: arm
  246.  
  247. headers path ...........:
  248.  
  249. default egl platform ...: null
  250.  
  251. default ld_library_path.: /usr/libexec/droid-hybris/system/lib:/vendor/lib:/system/lib
  252.  
  253. ------------------------------------------------------------------------
  254.  
  255. Now type 'make' to compile and 'make install' to install this package.
  256. + make
  257. make all-recursive
  258. make[1]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris'
  259. Making all in include
  260. make[2]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/include'
  261. make[2]: Nothing to be done for `all'.
  262. make[2]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/include'
  263. Making all in properties
  264. make[2]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/properties'
  265. make[2]: Nothing to be done for `all'.
  266. make[2]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/properties'
  267. Making all in common
  268. make[2]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common'
  269. Making all in jb
  270. make[3]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common/jb'
  271. make[3]: Nothing to be done for `all'.
  272. make[3]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common/jb'
  273. make[3]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common'
  274. make[3]: Nothing to be done for `all-am'.
  275. make[3]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common'
  276. make[2]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/common'
  277. Making all in hardware
  278. make[2]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/hardware'
  279. make[2]: Nothing to be done for `all'.
  280. make[2]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/hardware'
  281. Making all in libsync
  282. make[2]: Entering directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/libsync'
  283. CC libsync_la-sync.lo
  284. sync.c:24:24: fatal error: linux/sync.h: No such file or directory
  285. compilation terminated.
  286. make[2]: *** [libsync_la-sync.lo] Error 1
  287. make[2]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris/libsync'
  288. make[1]: *** [all-recursive] Error 1
  289. make[1]: Leaving directory `/home/refa/mer/devel/mer-hybris/libhybris/libhybris/hybris'
  290. make: *** [all] Error 2
  291. error: Bad exit status from /var/tmp/rpm-tmp.1HEfm1 (%build)
  292.  
  293.  
  294. RPM build errors:
  295. Bad exit status from /var/tmp/rpm-tmp.1HEfm1 (%build)
  296. MerSDK bash-3.2$
RAW Paste Data