Advertisement
Guest User

Rust LIBFFI

a guest
May 6th, 2022
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.72 KB | None | 0 0
  1. error: failed to run custom build command for `libffi-sys v0.7.0`
  2.  
  3. Caused by:
  4. process didn't exit successfully: `/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-1a1d4cf94906ca56/build-script-build` (exit status: 101)
  5. --- stdout
  6. libtoolize: putting auxiliary files in '.'.
  7. libtoolize: copying file './ltmain.sh'
  8. libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
  9. libtoolize: copying file 'm4/libtool.m4'
  10. libtoolize: copying file 'm4/ltoptions.m4'
  11. libtoolize: copying file 'm4/ltsugar.m4'
  12. libtoolize: copying file 'm4/ltversion.m4'
  13. libtoolize: copying file 'm4/lt~obsolete.m4'
  14. checking build system type... x86_64-pc-linux-gnu
  15. checking host system type... x86_64-pc-linux-gnu
  16. checking target system type... x86_64-pc-linux-gnu
  17. continue configure in default builddir "./x86_64-unknown-linux-gnu"
  18. ....exec /bin/bash ../configure "--srcdir=.." "--enable-builddir=x86_64-unknown-linux-gnu" "linux
  19. gnu"
  20. checking build system type... x86_64-pc-linux-gnu
  21. checking host system type... x86_64-pc-linux-gnu
  22. checking target system type... x86_64-pc-linux-gnu
  23. checking for gsed... sed
  24. checking for a BSD-compatible install... /usr/bin/install -c
  25. checking whether build environment is sane... yes
  26. checking for a race-free mkdir -p... /usr/bin/mkdir -p
  27. checking for gawk... no
  28. checking for mawk... mawk
  29. checking whether make sets $(MAKE)... yes
  30. checking whether make supports nested variables... yes
  31. checking for gcc... gcc
  32. checking whether the C compiler works... yes
  33. checking for C compiler default output file name... a.out
  34. checking for suffix of executables...
  35. checking whether we are cross compiling... no
  36. checking for suffix of object files... o
  37. checking whether the compiler supports GNU C... yes
  38. checking whether gcc accepts -g... yes
  39. checking for gcc option to enable C11 features... none needed
  40. checking whether gcc understands -c and -o together... yes
  41. checking whether make supports the include directive... yes (GNU style)
  42. checking dependency style of gcc... gcc3
  43. checking for g++... g++
  44. checking whether the compiler supports GNU C++... yes
  45. checking whether g++ accepts -g... yes
  46. checking for g++ option to enable C++11 features... none needed
  47. checking dependency style of g++... gcc3
  48. checking dependency style of gcc... gcc3
  49. checking how to print strings... printf
  50. checking for a sed that does not truncate output... /usr/bin/sed
  51. checking for grep that handles long lines and -e... /usr/bin/grep
  52. checking for egrep... /usr/bin/grep -E
  53. checking for fgrep... /usr/bin/grep -F
  54. checking for ld used by gcc... /usr/bin/ld
  55. checking if the linker (/usr/bin/ld) is GNU ld... yes
  56. checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
  57. checking the name lister (/usr/bin/nm -B) interface... BSD nm
  58. checking whether ln -s works... yes
  59. checking the maximum length of command line arguments... 1572864
  60. checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
  61. checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
  62. checking for /usr/bin/ld option to reload object files... -r
  63. checking for objdump... objdump
  64. checking how to recognize dependent libraries... pass_all
  65. checking for dlltool... no
  66. checking how to associate runtime and link libraries... printf %s\n
  67. checking for ar... ar
  68. checking for archiver @FILE support... @
  69. checking for strip... strip
  70. checking for ranlib... ranlib
  71. checking command to parse /usr/bin/nm -B output from gcc object... ok
  72. checking for sysroot... no
  73. checking for a working dd... /usr/bin/dd
  74. checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
  75. checking for mt... mt
  76. checking if mt is a manifest tool... no
  77. checking for stdio.h... yes
  78. checking for stdlib.h... yes
  79. checking for string.h... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for strings.h... yes
  83. checking for sys/stat.h... yes
  84. checking for sys/types.h... yes
  85. checking for unistd.h... yes
  86. checking for dlfcn.h... yes
  87. checking for objdir... .libs
  88. checking if gcc supports -fno-rtti -fno-exceptions... no
  89. checking for gcc option to produce PIC... -fPIC -DPIC
  90. checking if gcc PIC flag -fPIC -DPIC works... yes
  91. checking if gcc static flag -static works... yes
  92. checking if gcc supports -c -o file.o... yes
  93. checking if gcc supports -c -o file.o... (cached) yes
  94. checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  95. checking whether -lc should be explicitly linked in... no
  96. checking dynamic linker characteristics... GNU/Linux ld.so
  97. checking how to hardcode library paths into programs... immediate
  98. checking whether stripping libraries is possible... yes
  99. checking if libtool supports shared libraries... yes
  100. checking whether to build shared libraries... yes
  101. checking whether to build static libraries... yes
  102. checking how to run the C++ preprocessor... g++ -E
  103. checking for ld used by g++... /usr/bin/ld -m elf_x86_64
  104. checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
  105. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  106. checking for g++ option to produce PIC... -fPIC -DPIC
  107. checking if g++ PIC flag -fPIC -DPIC works... yes
  108. checking if g++ static flag -static works... yes
  109. checking if g++ supports -c -o file.o... yes
  110. checking if g++ supports -c -o file.o... (cached) yes
  111. checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  112. checking dynamic linker characteristics... (cached) GNU/Linux ld.so
  113. checking how to hardcode library paths into programs... immediate
  114. checking size of size_t... 8
  115. checking for C compiler vendor... gnu
  116. checking whether C compiler accepts -fstrict-aliasing... yes
  117. checking whether C compiler accepts -ffast-math... yes
  118. checking for gcc architecture flag...
  119. checking for x86 cpuid 0 output... 16:756e6547:6c65746e:49656e69
  120. checking for x86 cpuid 1 output... a0652:2100800:7ffafbbf:bfebfbff
  121. checking whether C compiler accepts -march=core2... yes
  122. checking for gcc architecture flag... -march=core2
  123. checking whether C compiler accepts -O3 -fomit-frame-pointer -fstrict-aliasing -ffast-math -march=core2... yes
  124. checking CFLAGS for maximum warnings... -Wall
  125. checking whether to enable maintainer-specific portions of Makefiles... no
  126. checking for sys/mman.h... yes
  127. checking for mmap... yes
  128. checking for mkostemp... yes
  129. checking for sys/mman.h... (cached) yes
  130. checking for mmap... (cached) yes
  131. checking whether read-only mmap of a plain file works... yes
  132. checking whether mmap from /dev/zero works... yes
  133. checking for MAP_ANON(YMOUS)... yes
  134. checking whether mmap with MAP_ANON(YMOUS) works... yes
  135. checking for egrep... (cached) /usr/bin/grep -E
  136. checking for memcpy... yes
  137. checking for size_t... yes
  138. checking for working alloca.h... yes
  139. checking for alloca... yes
  140. checking size of double... 8
  141. checking size of long double... 16
  142. checking whether byte ordering is bigendian... no
  143. checking assembler .cfi pseudo-op support... yes
  144. checking assembler supports pc related relocs... yes
  145. checking assembler .ascii pseudo-op support... yes
  146. checking assembler .string pseudo-op support... yes
  147. checking for _ prefix in compiled symbols... no
  148. checking toolchain supports unwind section type... yes
  149. checking whether .eh_frame section should be read-only... yes
  150. checking for __attribute__((visibility("hidden")))... yes
  151. checking that generated files are newer than configure... done
  152. configure: creating ./config.status
  153. config.status: creating include/Makefile
  154. config.status: creating include/ffi.h
  155. config.status: creating Makefile
  156. config.status: creating testsuite/Makefile
  157. config.status: creating man/Makefile
  158. config.status: creating libffi.pc
  159. config.status: creating fficonfig.h
  160. config.status: linking ../src/x86/ffitarget.h to include/ffitarget.h
  161. config.status: executing buildir commands
  162. config.status: create top_srcdir/Makefile guessed from local Makefile
  163. config.status: build in x86_64-unknown-linux-gnu (HOST=x86_64-unknown-linux-gnu)
  164. config.status: executing depfiles commands
  165. config.status: executing libtool commands
  166. config.status: executing include commands
  167. config.status: executing src commands
  168. MAKE x86_64-unknown-linux-gnu : 1 * install
  169. make[1]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu'
  170. Making install in include
  171. make[2]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/include'
  172. make[3]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/include'
  173. make[3]: Nothing to be done for 'install-exec-am'.
  174. /usr/bin/mkdir -p '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-root/lib/libffi-3.2.1/include'
  175. /usr/bin/install -c -m 644 ffi.h ffitarget.h '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-root/lib/libffi-3.2.1/include'
  176. make[3]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/include'
  177. make[2]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/include'
  178. Making install in testsuite
  179. make[2]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/testsuite'
  180. make[3]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/testsuite'
  181. make[3]: Nothing to be done for 'install-exec-am'.
  182. make[3]: Nothing to be done for 'install-data-am'.
  183. make[3]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/testsuite'
  184. make[2]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/testsuite'
  185. Making install in man
  186. make[2]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/man'
  187. make[3]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/man'
  188. make[3]: Nothing to be done for 'install-exec-am'.
  189. /usr/bin/mkdir -p '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-root/share/man/man3'
  190. /usr/bin/install -c -m 644 ../../man/ffi.3 ../../man/ffi_call.3 ../../man/ffi_prep_cif.3 ../../man/ffi_prep_cif_var.3 '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-root/share/man/man3'
  191. make[3]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/man'
  192. make[2]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu/man'
  193. make[2]: Entering directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu'
  194. restore=: && backupdir=".am$$" && \
  195. am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd .. && \
  196. rm -rf $backupdir && mkdir $backupdir && \
  197. if (/bin/bash /home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/missing makeinfo --version) >/dev/null 2>&1; then \
  198. for f in ../doc/libffi.info ../doc/libffi.info-[0-9] ../doc/libffi.info-[0-9][0-9] ../doc/libffi.i[0-9] ../doc/libffi.i[0-9][0-9]; do \
  199. if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  200. done; \
  201. else :; fi && \
  202. cd "$am__cwd"; \
  203. if /bin/bash /home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/missing makeinfo -I doc -I ../doc \
  204. -o ../doc/libffi.info ../doc/libffi.texi; \
  205. then \
  206. rc=0; \
  207. CDPATH="${ZSH_VERSION+.}:" && cd ..; \
  208. else \
  209. rc=$?; \
  210. CDPATH="${ZSH_VERSION+.}:" && cd .. && \
  211. $restore $backupdir/* `echo "./../doc/libffi.info" | sed 's|[^/]*$||'`; \
  212. fi; \
  213. rm -rf $backupdir; exit $rc
  214. make[2]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu'
  215. make[1]: Leaving directory '/home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/x86_64-unknown-linux-gnu'
  216.  
  217. --- stderr
  218. autoreconf: export WARNINGS=
  219. autoreconf: Entering directory '.'
  220. autoreconf: configure.ac: not using Gettext
  221. autoreconf: running: aclocal --force -I m4
  222. autoreconf: configure.ac: tracing
  223. autoreconf: running: libtoolize --copy --force
  224. autoreconf: configure.ac: not using Intltool
  225. autoreconf: configure.ac: not using Gtkdoc
  226. autoreconf: running: aclocal --force -I m4
  227. autoreconf: running: /usr/bin/autoconf --force
  228. configure.ac:8: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete.
  229. configure.ac:8: You should run autoupdate.
  230. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from...
  231. configure.ac:8: the top level
  232. configure.ac:41: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
  233. configure.ac:41: You should run autoupdate.
  234. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from...
  235. configure.ac:41: the top level
  236. configure.ac:68: warning: The macro `AC_TRY_COMPILE' is obsolete.
  237. configure.ac:68: You should run autoupdate.
  238. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
  239. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  240. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  241. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  242. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  243. acinclude.m4:3: AC_FUNC_MMAP_BLACKLIST is expanded from...
  244. configure.ac:68: the top level
  245. configure.ac:341: warning: The macro `AC_HEADER_STDC' is obsolete.
  246. configure.ac:341: You should run autoupdate.
  247. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
  248. configure.ac:341: the top level
  249. configure.ac:368: warning: The macro `AC_TRY_COMPILE' is obsolete.
  250. configure.ac:368: You should run autoupdate.
  251. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
  252. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  253. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  254. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  255. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  256. m4/asmcfi.m4:1: GCC_AS_CFI_PSEUDO_OP is expanded from...
  257. configure.ac:368: the top level
  258. configure.ac:371: warning: The macro `AC_TRY_LINK' is obsolete.
  259. configure.ac:371: You should run autoupdate.
  260. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
  261. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  262. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  263. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  264. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  265. configure.ac:371: the top level
  266. configure.ac:387: warning: The macro `AC_TRY_COMPILE' is obsolete.
  267. configure.ac:387: You should run autoupdate.
  268. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
  269. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  270. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  271. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  272. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  273. configure.ac:387: the top level
  274. configure.ac:415: warning: The macro `AC_TRY_COMPILE' is obsolete.
  275. configure.ac:415: You should run autoupdate.
  276. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
  277. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  278. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  279. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  280. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  281. configure.ac:415: the top level
  282. configure.ac:428: warning: The macro `AC_TRY_COMPILE' is obsolete.
  283. configure.ac:428: You should run autoupdate.
  284. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
  285. lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
  286. lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
  287. ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
  288. ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
  289. configure.ac:428: the top level
  290. autoreconf: running: /usr/bin/autoheader --force
  291. autoreconf: running: automake --add-missing --copy --force-missing
  292. configure.ac:31: installing './compile'
  293. configure.ac:8: installing './config.guess'
  294. configure.ac:8: installing './config.sub'
  295. configure.ac:19: installing './install-sh'
  296. configure.ac:19: installing './missing'
  297. Makefile.am: installing './depcomp'
  298. Makefile.am:56: installing './mdate-sh'
  299. autoreconf: Leaving directory '.'
  300. /home/my_name/Documents/Rust/heat_equation_mpi/target/debug/build/libffi-sys-be3e0a016fde0703/out/libffi-build/missing: line 81: makeinfo: command not found
  301. WARNING: 'makeinfo' is missing on your system.
  302. You should only need it if you modified a '.texi' file, or
  303. any other file indirectly affecting the aspect of the manual.
  304. You might want to install the Texinfo package:
  305. <https://www.gnu.org/software/texinfo/>
  306. The spurious makeinfo call might also be the consequence of
  307. using a buggy 'make' (AIX, DU, IRIX), in which case you might
  308. want to install GNU make:
  309. <https://www.gnu.org/software/make/>
  310. make[2]: *** [Makefile:1474: ../doc/libffi.info] Error 127
  311. make[1]: *** [Makefile:1659: install-recursive] Error 1
  312. make: *** [Makefile:3258: install] Error 2
  313. thread 'main' panicked at 'Building libffi', /home/my_name/.cargo/registry/src/github.com-1ecc6299db9ec823/libffi-sys-0.7.0/build.rs:41:5
  314. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
  315.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement