Advertisement
vivxdeveloper

libmtp pisi build error

Apr 1st, 2015
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 15.37 KB | None | 0 0
  1. Building source package: libmtp
  2. DEBUG: ComponentDB initialized in 0.0297708511353.
  3. DEBUG: RepoDB initialized in 0.020003080368.
  4. DEBUG: InstallDB initialized in 0.0332851409912.
  5. libmtp-1.1.6.tar.gz [cached]
  6. Unpacking archive(s)...
  7.  unpacked (/var/pisi/libmtp-1.1.6-4/work)
  8. ccache detected...
  9. Setting up source...
  10. Sandbox enabled build...
  11. GNU Config Update Finished.
  12. GNU Config Update Finished.
  13. checking for a BSD-compatible install... /usr/bin/install -c
  14. checking whether build environment is sane... yes
  15. checking for a thread-safe mkdir -p... /bin/mkdir -p
  16. checking for gawk... gawk
  17. checking whether make sets $(MAKE)... yes
  18. checking for gcc... x86_64-pc-linux-gnu-gcc
  19. checking whether the C compiler works... yes
  20. checking for C compiler default output file name... a.out
  21. checking for suffix of executables...
  22. checking whether we are cross compiling... no
  23. checking for suffix of object files... o
  24. checking whether we are using the GNU C compiler... yes
  25. checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
  26. checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
  27. checking for style of include used by make... GNU
  28. checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
  29. checking whether ln -s works... yes
  30. checking build system type... x86_64-pc-linux-gnu
  31. checking host system type... x86_64-pc-linux-gnu
  32. checking how to print strings... printf
  33. checking for a sed that does not truncate output... /bin/sed
  34. checking for grep that handles long lines and -e... /bin/grep
  35. checking for egrep... /bin/grep -E
  36. checking for fgrep... /bin/grep -F
  37. checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/bin/ld
  38. checking if the linker (/usr/bin/ld) is GNU ld... yes                                                                                                      
  39. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B                                                                                      
  40. checking the name lister (/usr/bin/nm -B) interface... BSD nm                                                                                              
  41. checking the maximum length of command line arguments... 1572864
  42. checking whether the shell understands some XSI constructs... yes
  43. checking whether the shell understands "+="... yes
  44. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  45. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  46. checking for /usr/bin/ld option to reload object files... -r
  47. checking for objdump... objdump
  48. checking how to recognize dependent libraries... pass_all
  49. checking for dlltool... dlltool
  50. checking how to associate runtime and link libraries... printf %s\n
  51. checking for ar... ar
  52. checking for archiver @FILE support... @
  53. checking for strip... strip
  54. checking for ranlib... ranlib
  55. checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
  56. checking for sysroot... no
  57. checking for mt... no
  58. checking if : is a manifest tool... no
  59. checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
  60. checking for ANSI C header files... yes
  61. checking for sys/types.h... yes
  62. checking for sys/stat.h... yes
  63. checking for stdlib.h... yes
  64. checking for string.h... yes
  65. checking for memory.h... yes
  66. checking for strings.h... yes
  67. checking for inttypes.h... yes
  68. checking for stdint.h... yes
  69. checking for unistd.h... yes
  70. checking for dlfcn.h... yes
  71. checking for objdir... .libs
  72. checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
  73. checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
  74. checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
  75. checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
  76. checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
  77. checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
  78. checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  79. checking whether -lc should be explicitly linked in... no
  80. checking dynamic linker characteristics... GNU/Linux ld.so
  81. checking how to hardcode library paths into programs... immediate
  82. checking whether stripping libraries is possible... yes
  83. checking if libtool supports shared libraries... yes
  84. checking whether to build shared libraries... yes
  85. checking whether to build static libraries... no
  86. checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
  87. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  88. checking for shared library run path origin... done
  89. checking for iconv... yes
  90. checking for working iconv... yes
  91. checking for iconv declaration...
  92.          extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  93. configure: API documentation will not be generated
  94. checking if the host operating system is Darwin... no
  95. checking if the host operating system is Linux... yes
  96. checking For MinGW32... no
  97. checking for pkg-config... /usr/bin/pkg-config
  98. checking pkg-config is at least version 0.9.0... yes
  99. checking for LIBUSB... yes
  100. checking for libgcrypt... checking for gcry_check_version in -lgcrypt... yes
  101. configure: MTPZ functionality enabled
  102. configure: *** using libusb 1.0.19 ***
  103. checking for ANSI C header files... (cached) yes
  104. checking whether time.h and sys/time.h may both be included... yes
  105. checking ctype.h usability... yes
  106. checking ctype.h presence... yes
  107. checking for ctype.h... yes
  108. checking errno.h usability... yes
  109. checking errno.h presence... yes
  110. checking for errno.h... yes
  111. checking fcntl.h usability... yes
  112. checking fcntl.h presence... yes
  113. checking for fcntl.h... yes
  114. checking getopt.h usability... yes
  115. checking getopt.h presence... yes
  116. checking for getopt.h... yes
  117. checking libgen.h usability... yes
  118. checking libgen.h presence... yes
  119. checking for libgen.h... yes
  120. checking limits.h usability... yes
  121. checking limits.h presence... yes
  122. checking for limits.h... yes
  123. checking stdio.h usability... yes
  124. checking stdio.h presence... yes
  125. checking for stdio.h... yes
  126. checking for string.h... (cached) yes
  127. checking for sys/stat.h... (cached) yes
  128. checking sys/time.h usability... yes
  129. checking sys/time.h presence... yes
  130. checking for sys/time.h... yes
  131. checking for unistd.h... (cached) yes
  132. checking langinfo.h usability... yes
  133. checking langinfo.h presence... yes
  134. checking for langinfo.h... yes
  135. checking locale.h usability... yes
  136. checking locale.h presence... yes
  137. checking for locale.h... yes
  138. checking arpa/inet.h usability... yes
  139. checking arpa/inet.h presence... yes
  140. checking for arpa/inet.h... yes
  141. checking byteswap.h usability... yes
  142. checking byteswap.h presence... yes
  143. checking for byteswap.h... yes
  144. checking sys/uio.h usability... yes
  145. checking sys/uio.h presence... yes
  146. checking for sys/uio.h... yes
  147. checking for an ANSI C-conforming const... yes
  148. checking for off_t... yes
  149. checking return type of signal handlers... void
  150. checking for size_t... yes
  151. checking for struct stat.st_blksize... yes
  152. checking for stdlib.h... (cached) yes
  153. checking for GNU libc compatible malloc... yes
  154. checking for working memcmp... yes
  155. checking whether lstat correctly handles trailing slash... yes
  156. checking whether stat accepts an empty string... no
  157. checking for basename... yes
  158. checking for memset... yes
  159. checking for select... yes
  160. checking for strdup... yes
  161. checking for strerror... yes
  162. checking for strndup... yes
  163. checking for strrchr... yes
  164. checking for strtoul... yes
  165. checking for usleep... yes
  166. checking for mkstemp... yes
  167. checking for special C compiler options needed for large files... no
  168. checking for _FILE_OFFSET_BITS value needed for large files... no
  169. checking for uint8_t in stdint.h... yes
  170. checking whether byte ordering is bigendian... no
  171. checking for le32toh in machine/endian.h... no
  172. checking for ntohl in arpa/inet.h... yes
  173. checking for swap32 in machine/endian.h... no
  174. checking for bswap_32 in byteswap.h... yes
  175. checking that generated files are newer than configure... done
  176. configure: creating ./config.status
  177. config.status: creating src/libmtp.h
  178. config.status: creating doc/Doxyfile
  179. config.status: creating Makefile
  180. config.status: creating doc/Makefile
  181. config.status: creating src/Makefile
  182. config.status: creating examples/Makefile
  183. config.status: creating util/Makefile
  184. config.status: creating libmtp.sh
  185. config.status: creating hotplug.sh
  186. config.status: creating libmtp.pc
  187. config.status: creating config.h
  188. config.status: executing depfiles commands
  189. config.status: executing libtool commands
  190. DEBUG: return value for "./configure --prefix=/usr --build=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --disable-static --disable-rpath --with-udev-rules=69-libmtp.rules" is 0
  191. Building source...
  192. Sandbox enabled build...
  193. make  all-recursive
  194. make[1]: Entering directory '/var/pisi/libmtp-1.1.6-4/work/libmtp-1.1.6'
  195. Making all in src
  196. make[2]: Entering directory '/var/pisi/libmtp-1.1.6-4/work/libmtp-1.1.6/src'
  197. /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/libusb-1.0  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c -o libmtp_la-libmtp.lo `test -f 'libmtp.c' || echo './'`libmtp.c
  198. /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/libusb-1.0  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-unicode.lo -MD -MP -MF .deps/libmtp_la-unicode.Tpo -c -o libmtp_la-unicode.lo `test -f 'unicode.c' || echo './'`unicode.c
  199. /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/libusb-1.0  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c -o libmtp_la-util.lo `test -f 'util.c' || echo './'`util.c
  200. /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/libusb-1.0  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-playlist-spl.lo -MD -MP -MF .deps/libmtp_la-playlist-spl.Tpo -c -o libmtp_la-playlist-spl.lo `test -f 'playlist-spl.c' || echo './'`playlist-spl.c
  201. /bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -I/usr/include/libusb-1.0  -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-ptp.lo -MD -MP -MF .deps/libmtp_la-ptp.Tpo -c -o libmtp_la-ptp.lo `test -f 'ptp.c' || echo './'`ptp.c
  202. libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-playlist-spl.lo -MD -MP -MF .deps/libmtp_la-playlist-spl.Tpo -c playlist-spl.c  -fPIC -DPIC -o .libs/libmtp_la-playlist-spl.o
  203. libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-util.lo -MD -MP -MF .deps/libmtp_la-util.Tpo -c util.c  -fPIC -DPIC -o .libs/libmtp_la-util.o
  204. libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-ptp.lo -MD -MP -MF .deps/libmtp_la-ptp.Tpo -c ptp.c  -fPIC -DPIC -o .libs/libmtp_la-ptp.o
  205. libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-unicode.lo -MD -MP -MF .deps/libmtp_la-unicode.Tpo -c unicode.c  -fPIC -DPIC -o .libs/libmtp_la-unicode.o
  206. libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libusb-1.0 -mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC -Wall -Wmissing-prototypes -MT libmtp_la-libmtp.lo -MD -MP -MF .deps/libmtp_la-libmtp.Tpo -c libmtp.c  -fPIC -DPIC -o .libs/libmtp_la-libmtp.o
  207. In file included from /usr/include/time.h:27:0,
  208.                  from ptp.h:27,
  209.                  from ptp.c:27:
  210. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  211.  # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
  212.    ^
  213. In file included from /usr/include/string.h:634:0,
  214.                  from util.c:36:
  215. util.h:29:7: error: expected identifier or ‘(’ before ‘__extension__’
  216.  char *strndup (const char *s, size_t n);
  217.        ^
  218. util.c:111:7: error: expected identifier or ‘(’ before ‘__extension__’
  219.  char *strndup (const char *s, size_t n)
  220.        ^
  221. Makefile:446: recipe for target 'libmtp_la-util.lo' failed
  222. make[2]: *** [libmtp_la-util.lo] Error 1
  223. make[2]: *** Waiting for unfinished jobs....
  224. mv -f .deps/libmtp_la-unicode.Tpo .deps/libmtp_la-unicode.Plo
  225. libmtp.c: In function ‘LIBMTP_Read_Event’:
  226. libmtp.c:2159:12: warning: variable ‘param3’ set but not used [-Wunused-but-set-variable]
  227.    uint32_t param3;
  228.             ^
  229. libmtp.c:2158:12: warning: variable ‘param2’ set but not used [-Wunused-but-set-variable]
  230.    uint32_t param2;
  231.             ^
  232. libmtp.c:2156:12: warning: variable ‘transaction_id’ set but not used [-Wunused-but-set-variable]
  233.    uint32_t transaction_id;
  234.             ^
  235. ptp.c: In function ‘ptp_nikon_writewifiprofile’:
  236. ptp.c:2614:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  237.   *((unsigned int*)&buffer[0x3A]) = profile->ip_address; /* Do not reverse bytes */
  238.   ^
  239. ptp.c:2616:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  240.   *((unsigned int*)&buffer[0x3F]) = profile->gateway_address; /* Do not reverse bytes */
  241.   ^
  242. mv -f .deps/libmtp_la-playlist-spl.Tpo .deps/libmtp_la-playlist-spl.Plo
  243. mv -f .deps/libmtp_la-libmtp.Tpo .deps/libmtp_la-libmtp.Plo
  244. mv -f .deps/libmtp_la-ptp.Tpo .deps/libmtp_la-ptp.Plo
  245. make[2]: Leaving directory '/var/pisi/libmtp-1.1.6-4/work/libmtp-1.1.6/src'
  246. Makefile:429: recipe for target 'all-recursive' failed
  247. make[1]: *** [all-recursive] Error 1
  248. make[1]: Leaving directory '/var/pisi/libmtp-1.1.6-4/work/libmtp-1.1.6'
  249. Makefile:312: recipe for target 'all' failed
  250. make: *** [all] Error 2
  251. DEBUG: return value for "make -j5" is 2
  252. Traceback (most recent call last):
  253.   File "/var/lib/buildfarm/repositories/main/hardware/misc/libmtp/actions.py", line 18, in build
  254.     autotools.make()
  255.   File "/usr/lib/pisilinux/pisi/actionsapi/autotools.py", line 103, in make
  256.     if system('make %s %s' % (get.makeJOBS(), parameters)):
  257.   File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
  258.     error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
  259.   File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
  260.     raise Error(msg)
  261. pisi.actionsapi.Error: Command "make -j5" failed, return value was 2.
  262. Action script error caught.
  263. *** 1 error(s), 0 warning(s)
  264. Program terminated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement