Advertisement
Guest User

Untitled

a guest
Feb 12th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.33 KB | None | 0 0
  1. -> yaourt -S coq --noconfirm
  2.  
  3. ==> Downloading coq PKGBUILD from AUR...
  4. x .SRCINFO
  5. x PKGBUILD
  6. jdarch commented on 2016-01-23 18:46
  7. Shouldn't camlp5 or camlp4 be a dependency?
  8.  
  9. zorun commented on 2016-01-23 19:00
  10. Indeed, when updating to 8.5, I thought camlp4 was bundled with ocaml. I have now added the missing dependency, thanks!
  11.  
  12. srl commented on 2016-01-26 17:08
  13. A nice touch would be a .desktop file for coqide. There's one at [1], for instance.
  14.  
  15. [1] https://github.com/nana4gonta/gentoo-prefix-overlay/blob/master/sci-mathematics/coq/files/coqide.desktop
  16.  
  17. tomoki commented on 2016-02-06 07:53
  18. Thank you for mentaining this package!
  19.  
  20. I got following error when I build this package:
  21.  
  22. ---
  23. OCAMLDEP checker/analyze.ml
  24. OCAMLBEST -o bin/ocamllibdep
  25. /usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  26. /usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
  27. collect2: error: ld returned 1 exit status
  28. File "caml_startup", line 1:
  29. Error: Error during linking
  30. make[1]: *** No rule to make target 'bin/ocamllibdep', needed by 'grammar/grammar.mllib.d'. Stop.
  31. ---
  32.  
  33. Any ideas?
  34.  
  35. zorun commented on 2016-02-11 12:48
  36. Hi tomoki,
  37.  
  38. I cannot reproduce this error. A quick search dig out these seemingly related bug reports:
  39.  
  40. https://bugs.archlinux.org/task/42748
  41. http://caml.inria.fr/mantis/view.php?id=6693
  42. https://bugzilla.redhat.com/show_bug.cgi?id=1195025
  43.  
  44. Which version of ocaml are you using? Is your system up-to-date?
  45.  
  46. Could you provide the output of the start of compilation? It should look like this: http://paste.aliens-lyon.fr/u3v
  47. Can you also provide the output of "pacman -Qs ocaml"?
  48.  
  49. coq 8.5-2 (2016-01-23 18:56)
  50. ( Unsupported package: Potentially dangerous ! )
  51. ==> coq dependencies:
  52. - gtk2 (already installed)
  53. - ocaml (already installed)
  54. - camlp4 (already installed)
  55. - gtksourceview2 (already installed)
  56. - ocaml-findlib (already installed) [makedepend]
  57. - lablgtk2 (already installed) [makedepend]
  58.  
  59.  
  60. ==> Continue building coq ? [Y/n]
  61. ==> -----------------------------
  62. ==>
  63. ==> Building and installing package
  64. ==> Making package: coq 8.5-2 (Fri Feb 12 20:18:48 JST 2016)
  65. ==> Checking runtime dependencies...
  66. ==> Checking buildtime dependencies...
  67. ==> Retrieving sources...
  68. -> Downloading coq-8.5.tar.gz...
  69. % Total % Received % Xferd Average Speed Time Time Time Current
  70. Dload Upload Total Spent Left Speed
  71. 100 238 100 238 0 0 110 0 0:00:02 0:00:02 --:--:-- 110
  72. 100 5221k 100 5221k 0 0 141k 0 0:00:36 0:00:36 --:--:-- 200k
  73. ==> Validating source files with md5sums...
  74. coq-8.5.tar.gz ... Passed
  75. ==> Validating source files with sha1sums...
  76. coq-8.5.tar.gz ... Passed
  77. ==> Validating source files with sha256sums...
  78. coq-8.5.tar.gz ... Passed
  79. ==> Extracting sources...
  80. -> Extracting coq-8.5.tar.gz with bsdtar
  81. ==> Starting build()...
  82. You have GNU Make 4.1. Good!
  83. You have OCaml 4.02.3. Good!
  84. You have native-code compilation. Good!
  85. LablGtk2 found (via ocamlfind), with native threads:
  86. => native CoqIde will be built.
  87.  
  88.  
  89. Coq VM bytecode link flags : -dllib -lcoqrun -dllpath /usr/lib/coq
  90. Other bytecode link flags :
  91. OS dependent libraries : -cclib -lunix
  92. OCaml version : 4.02.3
  93. OCaml binaries in : /usr/bin
  94. OCaml library in : /usr/lib/ocaml
  95. Camlp4 version : 4.02.3
  96. Camlp4 binaries in : /usr/bin
  97. Camlp4 library in : +camlp4
  98. Native dynamic link support : true
  99. Lablgtk2 library in : +lablgtk2
  100. CoqIde : opt
  101. Documentation : None
  102. Web browser : firefox -remote "OpenURL(%s,new-tab)" || firefox %s &
  103. Coq web site : http://coq.inria.fr/
  104.  
  105. Paths for true installation:
  106. - the Coq binaries will be copied in /usr/bin
  107. - the Coq library will be copied in /usr/lib/coq
  108. - the Coqide configuration files will be copied in /etc/xdg/coq/
  109. - the Coqide data files will be copied in /usr/share/coq
  110. - the Coq man pages will be copied in /usr/share/man
  111. - the Coq documentation will be copied in /usr/share/doc/coq
  112. - the Coq Emacs mode will be copied in /usr/share/emacs/site-lisp
  113. - the Coqdoc LaTeX files will be copied in /usr/share/emacs/site-lisp
  114.  
  115. If anything is wrong above, please restart './configure'.
  116.  
  117. *Warning* To compile the system for a new architecture
  118. don't forget to do a 'make clean' before './configure'.
  119. make --warn-undefined-variable --no-builtin-rules -f Makefile.build BUILDGRAMMAR=1 grammar/grammar.cma grammar/q_constr.cmo
  120. make[1]: Entering directory '/tmp/yaourt-tmp-tomoki/aur-coq/src/coq-8.5'
  121. OCAMLLEX tools/coqdep_lexer.mll
  122. 406 states, 7873 transitions, table size 33928 bytes
  123. 3479 additional bytes used for bindings
  124. OCAMLBEST -o bin/coqdep_boot
  125. /usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  126. /usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
  127. collect2: error: ld returned 1 exit status
  128. File "caml_startup", line 1:
  129. Error: Error during linking
  130. OCAMLLEX ide/config_lexer.mll
  131. 30 states, 1657 transitions, table size 6808 bytes
  132. 6052 additional bytes used for bindings
  133. CAMLP4DEPS grammar/argextend.ml4
  134. CAMLP4DEPS grammar/tacextend.ml4
  135. CAMLP4DEPS grammar/q_coqast.ml4
  136. CAMLP4DEPS grammar/q_constr.ml4
  137. CAMLP4DEPS grammar/q_util.ml4
  138. CAMLP4DEPS grammar/vernacextend.ml4
  139. CAMLP4DEPS ide/project_file.ml4
  140. CAMLP4DEPS ide/coqide_main.ml4
  141. CAMLP4DEPS parsing/compat.ml4
  142. CAMLP4DEPS parsing/g_proofs.ml4
  143. CAMLP4DEPS parsing/g_constr.ml4
  144. CAMLP4DEPS parsing/pcoq.ml4
  145. CAMLP4DEPS parsing/g_vernac.ml4
  146. CAMLP4DEPS parsing/g_prim.ml4
  147. CAMLP4DEPS parsing/g_tactic.ml4
  148. CAMLP4DEPS parsing/g_ltac.ml4
  149. CAMLP4DEPS parsing/lexer.ml4
  150. "/usr/bin/ocamlc.opt" -rectypes -w -3 -c -I "+camlp4" -pp '"/usr/bin/camlp4orf" -I "/usr/lib/ocaml" -I "/usr/lib/ocaml"/threads -I "+camlp4" unix.cma threads.cma -impl' -impl tools/compat5.mlp
  151. "/usr/bin/ocamlc.opt" -rectypes -w -3 -c -I "+camlp4" -pp '"/usr/bin/camlp4orf" -I "/usr/lib/ocaml" -I "/usr/lib/ocaml"/threads -I "+camlp4" unix.cma threads.cma -impl' -impl tools/compat5b.mlp
  152. CAMLP4O grammar/argextend.ml4
  153. CAMLP4O grammar/tacextend.ml4
  154. CAMLP4O grammar/q_coqast.ml4
  155. CAMLP4O grammar/q_constr.ml4
  156. CAMLP4O grammar/q_util.ml4
  157. CAMLP4O grammar/vernacextend.ml4
  158. CAMLP4O ide/project_file.ml4
  159. CAMLP4O ide/coqide_main.ml4
  160. CAMLP4O parsing/compat.ml4
  161. CAMLP4O parsing/g_proofs.ml4
  162. CAMLP4O parsing/g_constr.ml4
  163. CAMLP4O parsing/pcoq.ml4
  164. CAMLP4O parsing/g_vernac.ml4
  165. CAMLP4O parsing/g_prim.ml4
  166. CAMLP4O parsing/g_tactic.ml4
  167. CAMLP4O parsing/g_ltac.ml4
  168. CAMLP4O parsing/lexer.ml4
  169. ECHO... > plugins/quote/quote_plugin_mod.ml
  170. ECHO... > plugins/extraction/extraction_plugin_mod.ml
  171. ECHO... > plugins/setoid_ring/newring_plugin_mod.ml
  172. ECHO... > plugins/btauto/btauto_plugin_mod.ml
  173. ECHO... > plugins/micromega/micromega_plugin_mod.ml
  174. ECHO... > plugins/romega/romega_plugin_mod.ml
  175. ECHO... > plugins/nsatz/nsatz_plugin_mod.ml
  176. ECHO... > plugins/firstorder/ground_plugin_mod.ml
  177. ECHO... > plugins/funind/recdef_plugin_mod.ml
  178. ECHO... > plugins/fourier/fourier_plugin_mod.ml
  179. ECHO... > plugins/cc/cc_plugin_mod.ml
  180. ECHO... > plugins/rtauto/rtauto_plugin_mod.ml
  181. ECHO... > plugins/syntax/numbers_syntax_plugin_mod.ml
  182. ECHO... > plugins/syntax/r_syntax_plugin_mod.ml
  183. ECHO... > plugins/syntax/z_syntax_plugin_mod.ml
  184. ECHO... > plugins/syntax/ascii_syntax_plugin_mod.ml
  185. ECHO... > plugins/syntax/nat_syntax_plugin_mod.ml
  186. ECHO... > plugins/syntax/string_syntax_plugin_mod.ml
  187. ECHO... > plugins/omega/omega_plugin_mod.ml
  188. ECHO... > plugins/derive/derive_plugin_mod.ml
  189. ECHO... > plugins/decl_mode/decl_mode_plugin_mod.ml
  190. sed -n -e '/^enum/p' -e 's/,//g' -e '/^ /p' kernel/byterun/coq_instruct.h | \
  191. awk -f kernel/make-opcodes > "kernel/copcodes.ml" || (RV=$?; rm -f "kernel/copcodes.ml"; exit ${RV})
  192. ECHO... > tools/tolink.ml
  193. OCAMLLEX lib/xml_lexer.mll
  194. 80 states, 774 transitions, table size 3576 bytes
  195. OCAMLLEX tools/gallina_lexer.mll
  196. 190 states, 498 transitions, table size 3132 bytes
  197. OCAMLLEX tools/coqdoc/cpretty.mll
  198. 2628 states, 8154 transitions, table size 48384 bytes
  199. OCAMLLEX tools/coqwc.mll
  200. 230 states, 784 transitions, table size 4516 bytes
  201. OCAMLLEX ide/utf8_convert.mll
  202. 15 states, 827 transitions, table size 3398 bytes
  203. OCAMLLEX ide/coq_lex.mll
  204. 30 states, 505 transitions, table size 2200 bytes
  205. OCAMLBEST -o bin/coqdep_boot
  206. /usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
  207. /usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
  208. collect2: error: ld returned 1 exit status
  209. File "caml_startup", line 1:
  210. Error: Error during linking
  211. sed -n -e '/^ /s/ \([A-Z]\)/ \&\&coq_lbl_\1/gp' \
  212. -e '/^}/q' kernel/byterun/coq_instruct.h > "kernel/byterun/coq_jumptbl.h" || (RV=$?; rm -f "kernel/byterun/coq_jumptbl.h"; exit ${RV})
  213. make[1]: *** No rule to make target 'bin/coqdep_boot', needed by 'grammar/grammar.mllib.d'. Stop.
  214. make[1]: Leaving directory '/tmp/yaourt-tmp-tomoki/aur-coq/src/coq-8.5'
  215. make: *** [submake] Error 2
  216. Makefile:158: recipe for target 'submake' failed
  217. ==> ERROR: A failure occurred in build().
  218. Aborting...
  219. ==> ERROR: Makepkg was unable to build coq.
  220. ==> Restart building coq ? [y/N]
  221. ==> ----------------------------
  222. ==>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement