Advertisement
Guest User

llpp make error

a guest
Sep 18th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.37 KB | None | 0 0
  1. :: Proceed with installation? [Y/n]
  2. (6/6) checking keys in keyring                                                                                     [--------------------------------------------------------------------] 100%
  3. (6/6) checking package integrity                                                                                   [--------------------------------------------------------------------] 100%
  4. (6/6) loading package files                                                                                        [--------------------------------------------------------------------] 100%
  5. (6/6) checking for file conflicts                                                                                  [--------------------------------------------------------------------] 100%
  6. :: Processing package changes...
  7. (1/6) installing docbook-xml                                                                                       [--------------------------------------------------------------------] 100%
  8. (2/6) installing docbook-xsl                                                                                       [--------------------------------------------------------------------] 100%
  9. (3/6) installing asciidoc                                                                                          [--------------------------------------------------------------------] 100%
  10. Optional dependencies for asciidoc
  11.     graphviz: graphviz-filter [installed]
  12.     lilypond: music-filter
  13.     imagemagick: music-filter [installed]
  14.     source-highlight: source-highlight-filter
  15.     dblatex: pdf generation
  16.     fop: alternative pdf generation
  17.     w3m: text generation
  18.     lynx: alternative text generation
  19. (4/6) installing libmupdf                                                                                          [--------------------------------------------------------------------] 100%
  20. (5/6) installing ocaml                                                                                             [--------------------------------------------------------------------] 100%
  21. Optional dependencies for ocaml
  22.     ncurses: advanced ncurses features [installed]
  23.     tk: advanced tk features
  24. (6/6) installing ocaml-lablgl                                                                                      [--------------------------------------------------------------------] 100%
  25. :: Running post-transaction hooks...
  26. (1/1) Arming ConditionNeedsUpdate...
  27. ==> Making package: llpp 36-1 (Sun 18 Sep 2022 18:11:53 BST)
  28. ==> Retrieving sources...
  29.   -> Updating llpp git repo...
  30.   -> Found system-makedeps.patch
  31. ==> Validating source files with b2sums...
  32.     llpp ... Skipped
  33.     system-makedeps.patch ... Passed
  34.  -> asciidoc not satisfied, flushing install queue
  35. ==> Making package: llpp 36-1 (Sun 18 Sep 2022 18:12:08 BST)
  36. ==> Checking runtime dependencies...
  37. ==> Checking buildtime dependencies...
  38. ==> Retrieving sources...
  39.   -> Updating llpp git repo...
  40.   -> Found system-makedeps.patch
  41. ==> Validating source files with b2sums...
  42.     llpp ... Skipped
  43.     system-makedeps.patch ... Passed
  44. ==> Removing existing $srcdir/ directory...
  45. ==> Extracting sources...
  46.   -> Creating working copy of llpp git repo...
  47. Cloning into 'llpp'...
  48. done.
  49. Switched to a new branch 'makepkg'
  50. ==> Starting prepare()...
  51. patching file build.bash
  52. ==> Sources are ready.
  53. ==> Making package: llpp 36-1 (Sun 18 Sep 2022 18:12:48 BST)
  54. ==> Checking runtime dependencies...
  55. ==> Checking buildtime dependencies...
  56. ==> WARNING: Using existing $srcdir/ tree
  57. ==> Removing existing $pkgdir/ directory...
  58. ==> Starting build()...
  59. generating build/confstruct.ml
  60.   keys.cmi
  61.  wsi/x11/wsi.cmi
  62.  utils.cmi
  63.  utf8syms.cmo
  64.    parser.cmi
  65.    confstruct.cmo
  66.   config.cmo
  67.  uiutils.cmi
  68.  help.cmi
  69.   lablGL/raw.cmi
  70.  glutils.cmi
  71.    lablGL/gl.cmi
  72.   lablGL/glPix.cmi
  73.  lablGL/glTex.cmi
  74.  lablGL/glMisc.cmi
  75.  lablGL/glMat.cmi
  76.  lablGL/glFunc.cmi
  77.  lablGL/glDraw.cmi
  78.  lablGL/glClear.cmi
  79.  lablGL/glArray.cmi
  80.  ffi.cmo
  81.  main.cmi
  82. main.cmo
  83. keys.cmo
  84. wsi/x11/wsi.cmo
  85. utils.cmo
  86. parser.cmo
  87. uiutils.cmo
  88. help.cmo
  89. lablGL/raw.cmo
  90. glutils.cmo
  91. lablGL/gl.cmo
  92. lablGL/glPix.cmo
  93. lablGL/glTex.cmo
  94. lablGL/glMisc.cmo
  95. lablGL/glMat.cmo
  96. lablGL/glFunc.cmo
  97. lablGL/glDraw.cmo
  98. lablGL/glClear.cmo
  99. lablGL/glArray.cmo
  100. link.o
  101. ./link.c: In function ‘ml_getfileannot’:
  102. ./link.c:2561:31: error: implicit declaration of function ‘pdf_embedded_file_name’ [-Werror=implicit-function-declaration]
  103.  2561 |     ret_v = caml_copy_string (pdf_embedded_file_name (state.ctx, fs));
  104.       |                               ^~~~~~~~~~~~~~~~~~~~~~
  105. ./link.c:2561:31: error: passing argument 1 of ‘caml_copy_string’ makes pointer from integer without a cast [-Werror=int-conversion]
  106.  2561 |     ret_v = caml_copy_string (pdf_embedded_file_name (state.ctx, fs));
  107.       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  108.       |                               |
  109.       |                               int
  110. In file included from ./link.c:37:
  111. /usr/lib/ocaml/caml/alloc.h:39:36: note: expected ‘const char *’ but argument is of type ‘int’
  112.    39 | CAMLextern value caml_copy_string (char const *);
  113.       |                                    ^~~~~~~~~~~~
  114. ./link.c: In function ‘ml_savefileannot’:
  115. ./link.c:2579:26: error: implicit declaration of function ‘pdf_load_embedded_file’; did you mean ‘pdf_add_embedded_file’? [-Werror=implicit-function-declaration]
  116.  2579 |         fz_buffer *buf = pdf_load_embedded_file (state.ctx, fs);
  117.       |                          ^~~~~~~~~~~~~~~~~~~~~~
  118.       |                          pdf_add_embedded_file
  119. ./link.c:2579:26: error: initialization of ‘fz_buffer *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
  120. cc1: all warnings being treated as errors
  121. ocamlc -ccopt "-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -std=c11 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/openjpeg-2.5 -Wall -Werror -Wextra -pedantic -O2 -D_POSIX_C_SOURCE -DGL_H='<GL/gl.h>' -DTEXT_TYPE=GL_TEXTURE_RECTANGLE_ARB -MMD -MF build/link.o.dep -MT_" -o build/link.o -c ./link.c failed
  122. build failed
  123. ==> ERROR: A failure occurred in build().
  124.     Aborting...
  125.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement