Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 11.78 KB | None | 0 0
  1. make  all-recursive
  2. make[1]: Entering directory '/usr/local/src/flatpak-0.9.6'
  3. Making all in .
  4. make[2]: Entering directory '/usr/local/src/flatpak-0.9.6'
  5.   CC       common/libflatpak_common_la-flatpak-oci-registry.lo
  6. In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
  7.                  from /usr/include/glib-2.0/glib/gtypes.h:32,
  8.                  from /usr/include/glib-2.0/glib/galloca.h:32,
  9.                  from /usr/include/glib-2.0/glib.h:30,
  10.                  from /usr/include/glib-2.0/glib/gi18n.h:21,
  11.                  from common/flatpak-oci-registry.c:23:
  12. common/flatpak-oci-registry.c: In function ‘flatpak_oci_registry_mirror_blob’:
  13. common/flatpak-oci-registry.c:751:10: error: unknown type name ‘GLnxTmpfile’
  14.    g_auto(GLnxTmpfile) tmpf = { 0 };
  15.           ^
  16. /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
  17.  #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
  18.                                                                         ^~~~~~~~
  19. common/flatpak-oci-registry.c:751:3: error: cleanup argument not a function
  20.    g_auto(GLnxTmpfile) tmpf = { 0 };
  21.    ^~~~~~
  22. common/flatpak-oci-registry.c:775:46: error: passing argument 5 of ‘glnx_open_tmpfile_linkable_at’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  23.                                        &tmpf, error))
  24.                                               ^~~~~
  25. In file included from ./libglnx/libglnx.h:37:0,
  26.                  from common/flatpak-oci-registry.c:27:
  27. ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
  28.  glnx_open_tmpfile_linkable_at (int dfd,
  29.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  30. common/flatpak-oci-registry.c:773:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
  31.    if (!glnx_open_tmpfile_linkable_at (self->dfd, "blobs/sha256",
  32.         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. In file included from ./libglnx/libglnx.h:37:0,
  34.                  from common/flatpak-oci-registry.c:27:
  35. ./libglnx/glnx-fdio.h:52:1: note: declared here
  36.  glnx_open_tmpfile_linkable_at (int dfd,
  37.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  38. common/flatpak-oci-registry.c:786:48: error: request for member ‘fd’ in something not a structure or union
  39.        if (glnx_regfile_copy_bytes (src_fd, tmpf.fd, (off_t)-1, TRUE) < 0)
  40.                                                 ^
  41. common/flatpak-oci-registry.c:802:50: error: request for member ‘fd’ in something not a structure or union
  42.        out_stream = g_unix_output_stream_new (tmpf.fd, FALSE);
  43.                                                   ^
  44. common/flatpak-oci-registry.c:814:14: error: request for member ‘fd’ in something not a structure or union
  45.    lseek (tmpf.fd, 0, SEEK_SET);
  46.               ^
  47. common/flatpak-oci-registry.c:816:31: error: request for member ‘fd’ in something not a structure or union
  48.    checksum = checksum_fd (tmpf.fd, cancellable, error);
  49.                                ^
  50. common/flatpak-oci-registry.c:827:30: error: passing argument 1 of ‘glnx_link_tmpfile_at’ makes integer from pointer without a cast [-Werror=int-conversion]
  51.    if (!glnx_link_tmpfile_at (&tmpf,
  52.                               ^
  53. In file included from ./libglnx/libglnx.h:37:0,
  54.                  from common/flatpak-oci-registry.c:27:
  55. ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘int *’
  56.  glnx_link_tmpfile_at (int dfd,
  57.  ^~~~~~~~~~~~~~~~~~~~
  58. common/flatpak-oci-registry.c:830:30: error: passing argument 5 of ‘glnx_link_tmpfile_at’ makes integer from pointer without a cast [-Werror=int-conversion]
  59.                               error))
  60.                               ^~~~~
  61. In file included from ./libglnx/libglnx.h:37:0,
  62.                  from common/flatpak-oci-registry.c:27:
  63. ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘GError ** {aka struct _GError **}’
  64.  glnx_link_tmpfile_at (int dfd,
  65.  ^~~~~~~~~~~~~~~~~~~~
  66. common/flatpak-oci-registry.c:827:8: error: too few arguments to function ‘glnx_link_tmpfile_at’
  67.    if (!glnx_link_tmpfile_at (&tmpf,
  68.         ^~~~~~~~~~~~~~~~~~~~
  69. In file included from ./libglnx/libglnx.h:37:0,
  70.                  from common/flatpak-oci-registry.c:27:
  71. ./libglnx/glnx-fdio.h:66:1: note: declared here
  72.  glnx_link_tmpfile_at (int dfd,
  73.  ^~~~~~~~~~~~~~~~~~~~
  74. common/flatpak-oci-registry.c: At top level:
  75. common/flatpak-oci-registry.c:935:3: error: unknown type name ‘GLnxTmpfile’
  76.    GLnxTmpfile tmpf;
  77.    ^~~~~~~~~~~
  78. common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_reset’:
  79. common/flatpak-oci-registry.c:957:3: error: implicit declaration of function ‘glnx_tmpfile_clear’ [-Werror=implicit-function-declaration]
  80.    glnx_tmpfile_clear (&self->tmpf);
  81.    ^~~~~~~~~~~~~~~~~~
  82. common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_compress’:
  83. common/flatpak-oci-registry.c:1052:42: error: request for member ‘fd’ in something not a structure or union
  84.            ssize_t res = write (self->tmpf.fd, to_write, to_write_len);
  85.                                           ^
  86. In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
  87.                  from /usr/include/glib-2.0/glib/gtypes.h:32,
  88.                  from /usr/include/glib-2.0/glib/galloca.h:32,
  89.                  from /usr/include/glib-2.0/glib.h:30,
  90.                  from /usr/include/glib-2.0/glib/gi18n.h:21,
  91.                  from common/flatpak-oci-registry.c:23:
  92. common/flatpak-oci-registry.c: In function ‘flatpak_oci_registry_write_layer’:
  93. common/flatpak-oci-registry.c:1106:10: error: unknown type name ‘GLnxTmpfile’
  94.    g_auto(GLnxTmpfile) tmpf = { 0 };
  95.           ^
  96. /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
  97.  #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
  98.                                                                         ^~~~~~~~
  99. common/flatpak-oci-registry.c:1106:3: error: cleanup argument not a function
  100.    g_auto(GLnxTmpfile) tmpf = { 0 };
  101.    ^~~~~~
  102. common/flatpak-oci-registry.c:1124:39: error: passing argument 5 of ‘glnx_open_tmpfile_linkable_at’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  103.                                        error))
  104.                                        ^~~~~
  105. In file included from ./libglnx/libglnx.h:37:0,
  106.                  from common/flatpak-oci-registry.c:27:
  107. ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
  108.  glnx_open_tmpfile_linkable_at (int dfd,
  109.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  110. common/flatpak-oci-registry.c:1120:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
  111.    if (!glnx_open_tmpfile_linkable_at (self->dfd,
  112.         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113. In file included from ./libglnx/libglnx.h:37:0,
  114.                  from common/flatpak-oci-registry.c:27:
  115. ./libglnx/glnx-fdio.h:52:1: note: declared here
  116.  glnx_open_tmpfile_linkable_at (int dfd,
  117.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  118. common/flatpak-oci-registry.c:1127:19: error: request for member ‘fd’ in something not a structure or union
  119.    if (fchmod (tmpf.fd, 0644) != 0)
  120.                    ^
  121. common/flatpak-oci-registry.c:1154:38: error: request for member ‘initialized’ in something not a structure or union
  122.    oci_layer_writer->tmpf = tmpf; tmpf.initialized = 0;
  123.                                       ^
  124. common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_close’:
  125. common/flatpak-oci-registry.c:1175:30: error: passing argument 1 of ‘glnx_link_tmpfile_at’ makes integer from pointer without a cast [-Werror=int-conversion]
  126.    if (!glnx_link_tmpfile_at (&self->tmpf,
  127.                               ^
  128. In file included from ./libglnx/libglnx.h:37:0,
  129.                  from common/flatpak-oci-registry.c:27:
  130. ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘int *’
  131.  glnx_link_tmpfile_at (int dfd,
  132.  ^~~~~~~~~~~~~~~~~~~~
  133. common/flatpak-oci-registry.c:1179:30: error: passing argument 5 of ‘glnx_link_tmpfile_at’ makes integer from pointer without a cast [-Werror=int-conversion]
  134.                               error))
  135.                               ^~~~~
  136. In file included from ./libglnx/libglnx.h:37:0,
  137.                  from common/flatpak-oci-registry.c:27:
  138. ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘GError ** {aka struct _GError **}’
  139.  glnx_link_tmpfile_at (int dfd,
  140.  ^~~~~~~~~~~~~~~~~~~~
  141. common/flatpak-oci-registry.c:1175:8: error: too few arguments to function ‘glnx_link_tmpfile_at’
  142.    if (!glnx_link_tmpfile_at (&self->tmpf,
  143.         ^~~~~~~~~~~~~~~~~~~~
  144. In file included from ./libglnx/libglnx.h:37:0,
  145.                  from common/flatpak-oci-registry.c:27:
  146. ./libglnx/glnx-fdio.h:66:1: note: declared here
  147.  glnx_link_tmpfile_at (int dfd,
  148.  ^~~~~~~~~~~~~~~~~~~~
  149. In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
  150.                  from /usr/include/glib-2.0/glib/gtypes.h:32,
  151.                  from /usr/include/glib-2.0/glib/galloca.h:32,
  152.                  from /usr/include/glib-2.0/glib.h:30,
  153.                  from /usr/include/glib-2.0/glib/gi18n.h:21,
  154.                  from common/flatpak-oci-registry.c:23:
  155. common/flatpak-oci-registry.c: In function ‘flatpak_oci_sign_data’:
  156. common/flatpak-oci-registry.c:1579:10: error: unknown type name ‘GLnxTmpfile’
  157.    g_auto(GLnxTmpfile) tmpf = { 0 };
  158.           ^
  159. /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
  160.  #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
  161.                                                                         ^~~~~~~~
  162. common/flatpak-oci-registry.c:1579:3: error: cleanup argument not a function
  163.    g_auto(GLnxTmpfile) tmpf = { 0 };
  164.    ^~~~~~
  165. common/flatpak-oci-registry.c:1589:46: error: passing argument 5 of ‘glnx_open_tmpfile_linkable_at’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  166.                                        &tmpf, error))
  167.                                               ^~~~~
  168. In file included from ./libglnx/libglnx.h:37:0,
  169.                  from common/flatpak-oci-registry.c:27:
  170. ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
  171.  glnx_open_tmpfile_linkable_at (int dfd,
  172.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  173. common/flatpak-oci-registry.c:1588:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
  174.    if (!glnx_open_tmpfile_linkable_at (AT_FDCWD, "/tmp", O_RDWR | O_CLOEXEC,
  175.         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  176. In file included from ./libglnx/libglnx.h:37:0,
  177.                  from common/flatpak-oci-registry.c:27:
  178. ./libglnx/glnx-fdio.h:52:1: note: declared here
  179.  glnx_open_tmpfile_linkable_at (int dfd,
  180.  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181. common/flatpak-oci-registry.c:1592:56: error: request for member ‘fd’ in something not a structure or union
  182.    tmp_signature_output = g_unix_output_stream_new (tmpf.fd, FALSE);
  183.                                                         ^
  184. common/flatpak-oci-registry.c:1648:51: error: request for member ‘fd’ in something not a structure or union
  185.    signature_file = g_mapped_file_new_from_fd (tmpf.fd, FALSE, error);
  186.                                                    ^
  187. cc1: some warnings being treated as errors
  188. Makefile:2795: recipe for target 'common/libflatpak_common_la-flatpak-oci-registry.lo' failed
  189. make[2]: *** [common/libflatpak_common_la-flatpak-oci-registry.lo] Error 1
  190. make[2]: Leaving directory '/usr/local/src/flatpak-0.9.6'
  191. Makefile:4470: recipe for target 'all-recursive' failed
  192. make[1]: *** [all-recursive] Error 1
  193. make[1]: Leaving directory '/usr/local/src/flatpak-0.9.6'
  194. Makefile:1705: recipe for target 'all' failed
  195. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement