Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make all-recursive
- make[1]: Entering directory '/usr/local/src/flatpak-0.9.6'
- Making all in .
- make[2]: Entering directory '/usr/local/src/flatpak-0.9.6'
- CC common/libflatpak_common_la-flatpak-oci-registry.lo
- In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
- from /usr/include/glib-2.0/glib/gtypes.h:32,
- from /usr/include/glib-2.0/glib/galloca.h:32,
- from /usr/include/glib-2.0/glib.h:30,
- from /usr/include/glib-2.0/glib/gi18n.h:21,
- from common/flatpak-oci-registry.c:23:
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_registry_mirror_blob’:
- common/flatpak-oci-registry.c:751:10: error: unknown type name ‘GLnxTmpfile’
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^
- /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
- #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
- ^~~~~~~~
- common/flatpak-oci-registry.c:751:3: error: cleanup argument not a function
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^~~~~~
- 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]
- &tmpf, error))
- ^~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:773:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
- if (!glnx_open_tmpfile_linkable_at (self->dfd, "blobs/sha256",
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: declared here
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:786:48: error: request for member ‘fd’ in something not a structure or union
- if (glnx_regfile_copy_bytes (src_fd, tmpf.fd, (off_t)-1, TRUE) < 0)
- ^
- common/flatpak-oci-registry.c:802:50: error: request for member ‘fd’ in something not a structure or union
- out_stream = g_unix_output_stream_new (tmpf.fd, FALSE);
- ^
- common/flatpak-oci-registry.c:814:14: error: request for member ‘fd’ in something not a structure or union
- lseek (tmpf.fd, 0, SEEK_SET);
- ^
- common/flatpak-oci-registry.c:816:31: error: request for member ‘fd’ in something not a structure or union
- checksum = checksum_fd (tmpf.fd, cancellable, error);
- ^
- 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]
- if (!glnx_link_tmpfile_at (&tmpf,
- ^
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘int *’
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- 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]
- error))
- ^~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘GError ** {aka struct _GError **}’
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:827:8: error: too few arguments to function ‘glnx_link_tmpfile_at’
- if (!glnx_link_tmpfile_at (&tmpf,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: declared here
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c: At top level:
- common/flatpak-oci-registry.c:935:3: error: unknown type name ‘GLnxTmpfile’
- GLnxTmpfile tmpf;
- ^~~~~~~~~~~
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_reset’:
- common/flatpak-oci-registry.c:957:3: error: implicit declaration of function ‘glnx_tmpfile_clear’ [-Werror=implicit-function-declaration]
- glnx_tmpfile_clear (&self->tmpf);
- ^~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_compress’:
- common/flatpak-oci-registry.c:1052:42: error: request for member ‘fd’ in something not a structure or union
- ssize_t res = write (self->tmpf.fd, to_write, to_write_len);
- ^
- In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
- from /usr/include/glib-2.0/glib/gtypes.h:32,
- from /usr/include/glib-2.0/glib/galloca.h:32,
- from /usr/include/glib-2.0/glib.h:30,
- from /usr/include/glib-2.0/glib/gi18n.h:21,
- from common/flatpak-oci-registry.c:23:
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_registry_write_layer’:
- common/flatpak-oci-registry.c:1106:10: error: unknown type name ‘GLnxTmpfile’
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^
- /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
- #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
- ^~~~~~~~
- common/flatpak-oci-registry.c:1106:3: error: cleanup argument not a function
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^~~~~~
- 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]
- error))
- ^~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:1120:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
- if (!glnx_open_tmpfile_linkable_at (self->dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: declared here
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:1127:19: error: request for member ‘fd’ in something not a structure or union
- if (fchmod (tmpf.fd, 0644) != 0)
- ^
- common/flatpak-oci-registry.c:1154:38: error: request for member ‘initialized’ in something not a structure or union
- oci_layer_writer->tmpf = tmpf; tmpf.initialized = 0;
- ^
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_layer_writer_close’:
- 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]
- if (!glnx_link_tmpfile_at (&self->tmpf,
- ^
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘int *’
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- 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]
- error))
- ^~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: expected ‘int’ but argument is of type ‘GError ** {aka struct _GError **}’
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:1175:8: error: too few arguments to function ‘glnx_link_tmpfile_at’
- if (!glnx_link_tmpfile_at (&self->tmpf,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:66:1: note: declared here
- glnx_link_tmpfile_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~
- In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9:0,
- from /usr/include/glib-2.0/glib/gtypes.h:32,
- from /usr/include/glib-2.0/glib/galloca.h:32,
- from /usr/include/glib-2.0/glib.h:30,
- from /usr/include/glib-2.0/glib/gi18n.h:21,
- from common/flatpak-oci-registry.c:23:
- common/flatpak-oci-registry.c: In function ‘flatpak_oci_sign_data’:
- common/flatpak-oci-registry.c:1579:10: error: unknown type name ‘GLnxTmpfile’
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^
- /usr/include/glib-2.0/glib/gmacros.h:455:72: note: in definition of macro ‘g_auto’
- #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName
- ^~~~~~~~
- common/flatpak-oci-registry.c:1579:3: error: cleanup argument not a function
- g_auto(GLnxTmpfile) tmpf = { 0 };
- ^~~~~~
- 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]
- &tmpf, error))
- ^~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: expected ‘char **’ but argument is of type ‘GError ** {aka struct _GError **}’
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:1588:8: error: too few arguments to function ‘glnx_open_tmpfile_linkable_at’
- if (!glnx_open_tmpfile_linkable_at (AT_FDCWD, "/tmp", O_RDWR | O_CLOEXEC,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- In file included from ./libglnx/libglnx.h:37:0,
- from common/flatpak-oci-registry.c:27:
- ./libglnx/glnx-fdio.h:52:1: note: declared here
- glnx_open_tmpfile_linkable_at (int dfd,
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- common/flatpak-oci-registry.c:1592:56: error: request for member ‘fd’ in something not a structure or union
- tmp_signature_output = g_unix_output_stream_new (tmpf.fd, FALSE);
- ^
- common/flatpak-oci-registry.c:1648:51: error: request for member ‘fd’ in something not a structure or union
- signature_file = g_mapped_file_new_from_fd (tmpf.fd, FALSE, error);
- ^
- cc1: some warnings being treated as errors
- Makefile:2795: recipe for target 'common/libflatpak_common_la-flatpak-oci-registry.lo' failed
- make[2]: *** [common/libflatpak_common_la-flatpak-oci-registry.lo] Error 1
- make[2]: Leaving directory '/usr/local/src/flatpak-0.9.6'
- Makefile:4470: recipe for target 'all-recursive' failed
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory '/usr/local/src/flatpak-0.9.6'
- Makefile:1705: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement