Created
September 26, 2022 07:31
-
-
Save VitalyAnkh/6ecd4f69be230a2ee852bec2d1fd93a2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ninja -C build | |
ninja: Entering directory `build' | |
[44/55] Compiling C object core/libcogcore.so.9.1.1.p/cog-utils.c.o | |
FAILED: core/libcogcore.so.9.1.1.p/cog-utils.c.o | |
ccache cc -Icore/libcogcore.so.9.1.1.p -Icore -I../core -I/usr/include/wpe-webkit-1.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libsoup-3.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/wpe-1.0 -I/usr/include/libmanette -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -DCOG_INSIDE_COG__=1 -DCOG_USE_SOUP2=1 -fPIC -pthread -DWPE_ENABLE_XKB=1 '-DG_LOG_DOMAIN="Cog-Core"' -MD -MQ core/libcogcore.so.9.1.1.p/cog-utils.c.o -MF core/libcogcore.so.9.1.1.p/cog-utils.c.o.d -o core/libcogcore.so.9.1.1.p/cog-utils.c.o -c ../core/cog-utils.c | |
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, | |
from /usr/include/glib-2.0/glib/gtypes.h:34, | |
from /usr/include/glib-2.0/glib/galloca.h:34, | |
from /usr/include/glib-2.0/glib.h:32, | |
from /usr/include/glib-2.0/gobject/gbinding.h:30, | |
from /usr/include/glib-2.0/glib-object.h:24, | |
from ../core/cog-utils.h:14, | |
from ../core/cog-utils.c:8: | |
../core/cog-utils.c: 在函数‘cog_uri_guess_internal’中: | |
../core/cog-utils.c:31:15: 错误:未知的类型名‘SoupURI_autoptr’ | |
31 | g_autoptr(SoupURI) uri = soup_uri_new(utf8_uri_like); | |
| ^~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:1294:43: 附注:in definition of macro ‘_GLIB_AUTOPTR_TYPENAME’ | |
1294 | #define _GLIB_AUTOPTR_TYPENAME(TypeName) TypeName##_autoptr | |
| ^~~~~~~~ | |
../core/cog-utils.c:31:5: 附注:in expansion of macro ‘g_autoptr’ | |
31 | g_autoptr(SoupURI) uri = soup_uri_new(utf8_uri_like); | |
| ^~~~~~~~~ | |
../core/cog-utils.c:31:5: 错误:cleanup 实参不是一个函数../core/cog-utils.c:31:30: 警告:implicit declaration of function ‘soup_uri_new’; did you mean ‘soup_auth_new’? [-Wimplicit-function-declaration] | |
31 | g_autoptr(SoupURI) uri = soup_uri_new(utf8_uri_like); | |
| ^~~~~~~~~~~~ | |
| soup_auth_new | |
../core/cog-utils.c:33:16: 错误:‘->’参数类型无效(有‘int’) | |
33 | if (uri->scheme == SOUP_URI_SCHEME_HTTP || uri->scheme == SOUP_URI_SCHEME_HTTPS || | |
| ^~ | |
../core/cog-utils.c:33:28: 错误:‘SOUP_URI_SCHEME_HTTP’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
33 | if (uri->scheme == SOUP_URI_SCHEME_HTTP || uri->scheme == SOUP_URI_SCHEME_HTTPS || | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:33:28: 附注:每个未声明的标识符在其出现的函数内只报告一次../core/cog-utils.c:33:55: 错误:‘->’参数类型无效(有‘int’) | |
33 | if (uri->scheme == SOUP_URI_SCHEME_HTTP || uri->scheme == SOUP_URI_SCHEME_HTTPS || | |
| ^~ | |
../core/cog-utils.c:33:67: 错误:‘SOUP_URI_SCHEME_HTTPS’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
33 | if (uri->scheme == SOUP_URI_SCHEME_HTTP || uri->scheme == SOUP_URI_SCHEME_HTTPS || | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:34:16: 错误:‘->’参数类型无效(有‘int’) | |
34 | uri->scheme == SOUP_URI_SCHEME_FTP || uri->scheme == SOUP_URI_SCHEME_WS || | |
| ^~ | |
../core/cog-utils.c:34:28: 错误:‘SOUP_URI_SCHEME_FTP’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
34 | uri->scheme == SOUP_URI_SCHEME_FTP || uri->scheme == SOUP_URI_SCHEME_WS || | |
| ^~~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:34:54: 错误:‘->’参数类型无效(有‘int’) | |
34 | uri->scheme == SOUP_URI_SCHEME_FTP || uri->scheme == SOUP_URI_SCHEME_WS || | |
| ^~ | |
../core/cog-utils.c:34:66: 错误:‘SOUP_URI_SCHEME_WS’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
34 | uri->scheme == SOUP_URI_SCHEME_FTP || uri->scheme == SOUP_URI_SCHEME_WS || | |
| ^~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:35:16: 错误:‘->’参数类型无效(有‘int’) | |
35 | uri->scheme == SOUP_URI_SCHEME_WSS) { | |
| ^~ | |
../core/cog-utils.c:35:28: 错误:‘SOUP_URI_SCHEME_WSS’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
35 | uri->scheme == SOUP_URI_SCHEME_WSS) { | |
| ^~~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:43:51: 错误:‘->’参数类型无效(有‘int’) | |
43 | g_autofree char *relpath = g_strconcat(uri->host ? uri->host : "", uri->path ? uri->path : "", NULL); | |
| ^~ | |
../core/cog-utils.c:43:63: 错误:‘->’参数类型无效(有‘int’) | |
43 | g_autofree char *relpath = g_strconcat(uri->host ? uri->host : "", uri->path ? uri->path : "", NULL); | |
| ^~ | |
../core/cog-utils.c:43:79: 错误:‘->’参数类型无效(有‘int’) | |
43 | g_autofree char *relpath = g_strconcat(uri->host ? uri->host : "", uri->path ? uri->path : "", NULL); | |
| ^~ | |
../core/cog-utils.c:43:91: 错误:‘->’参数类型无效(有‘int’) | |
43 | g_autofree char *relpath = g_strconcat(uri->host ? uri->host : "", uri->path ? uri->path : "", NULL); | |
| ^~ | |
../core/cog-utils.c:44:16: 错误:‘->’参数类型无效(有‘int’) | |
44 | if (uri->scheme == SOUP_URI_SCHEME_FILE && relpath && *relpath != '\0') { | |
| ^~ | |
../core/cog-utils.c:44:28: 错误:‘SOUP_URI_SCHEME_FILE’ undeclared (first use in this function); did you mean ‘SOUP_URI_SCHEME’? | |
44 | if (uri->scheme == SOUP_URI_SCHEME_FILE && relpath && *relpath != '\0') { | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| SOUP_URI_SCHEME | |
../core/cog-utils.c:48:17: 警告:implicit declaration of function ‘soup_uri_set_path’; did you mean ‘soup_cookie_set_path’? [-Wimplicit-function-declaration] | |
48 | soup_uri_set_path(uri, path); | |
| ^~~~~~~~~~~~~~~~~ | |
| soup_cookie_set_path | |
../core/cog-utils.c:49:17: 警告:implicit declaration of function ‘soup_uri_set_host’; did you mean ‘g_uri_get_host’? [-Wimplicit-function-declaration] | |
49 | soup_uri_set_host(uri, ""); | |
| ^~~~~~~~~~~~~~~~~ | |
| g_uri_get_host | |
../core/cog-utils.c:55:17: 错误:‘->’参数类型无效(有‘int’) | |
55 | if (!uri->path || *uri->path == '\0') | |
| ^~ | |
../core/cog-utils.c:55:31: 错误:‘->’参数类型无效(有‘int’) | |
55 | if (!uri->path || *uri->path == '\0') | |
| ^~ | |
../core/cog-utils.c:57:16: 警告:implicit declaration of function ‘soup_uri_to_string’; did you mean ‘g_uri_to_string’? [-Wimplicit-function-declaration] | |
57 | return soup_uri_to_string(uri, FALSE); | |
| ^~~~~~~~~~~~~~~~~~ | |
| g_uri_to_string | |
../core/cog-utils.c:57:16: 警告:returning ‘int’ from a function with return type ‘char *’ makes pointer from integer without a cast [-Wint-conversion] | |
57 | return soup_uri_to_string(uri, FALSE); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[45/55] Compiling C object core/libcogcore.so.9.1.1.p/cog-host-routes-handler.c.o | |
FAILED: core/libcogcore.so.9.1.1.p/cog-host-routes-handler.c.o | |
ccache cc -Icore/libcogcore.so.9.1.1.p -Icore -I../core -I/usr/include/wpe-webkit-1.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libsoup-3.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/wpe-1.0 -I/usr/include/libmanette -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -DCOG_INSIDE_COG__=1 -DCOG_USE_SOUP2=1 -fPIC -pthread -DWPE_ENABLE_XKB=1 '-DG_LOG_DOMAIN="Cog-Core"' -MD -MQ core/libcogcore.so.9.1.1.p/cog-host-routes-handler.c.o -MF core/libcogcore.so.9.1.1.p/cog-host-routes-handler.c.o.d -o core/libcogcore.so.9.1.1.p/cog-host-routes-handler.c.o -c ../core/cog-host-routes-handler.c | |
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, | |
from /usr/include/glib-2.0/glib/gtypes.h:34, | |
from /usr/include/glib-2.0/glib/galloca.h:34, | |
from /usr/include/glib-2.0/glib.h:32, | |
from ../core/cog-webkit-utils.h:17, | |
from ../core/cog-request-handler.h:15, | |
from ../core/cog-host-routes-handler.h:14, | |
from ../core/cog-host-routes-handler.c:8: | |
../core/cog-host-routes-handler.c: 在函数‘cog_host_routes_handler_run’中: | |
../core/cog-host-routes-handler.c:88:15: 错误:未知的类型名‘SoupURI_autoptr’ | |
88 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:1294:43: 附注:in definition of macro ‘_GLIB_AUTOPTR_TYPENAME’ | |
1294 | #define _GLIB_AUTOPTR_TYPENAME(TypeName) TypeName##_autoptr | |
| ^~~~~~~~ | |
../core/cog-host-routes-handler.c:88:5: 附注:in expansion of macro ‘g_autoptr’ | |
88 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~~~ | |
../core/cog-host-routes-handler.c:88:5: 错误:cleanup 实参不是一个函数../core/cog-host-routes-handler.c:88:30: 警告:implicit declaration of function ‘soup_uri_new’; did you mean ‘soup_auth_new’? [-Wimplicit-function-declaration] | |
88 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~~~~~~ | |
| soup_auth_new | |
../core/cog-host-routes-handler.c:89:24: 警告:隐式声明函数‘SOUP_URI_IS_VALID’ [-Wimplicit-function-declaration] | |
89 | const char *host = SOUP_URI_IS_VALID(uri) ? soup_uri_get_host(uri) : NULL; | |
| ^~~~~~~~~~~~~~~~~ | |
../core/cog-host-routes-handler.c:89:49: 警告:implicit declaration of function ‘soup_uri_get_host’; did you mean ‘g_uri_get_host’? [-Wimplicit-function-declaration] | |
89 | const char *host = SOUP_URI_IS_VALID(uri) ? soup_uri_get_host(uri) : NULL; | |
| ^~~~~~~~~~~~~~~~~ | |
| g_uri_get_host | |
../core/cog-host-routes-handler.c:89:72: 警告:条件表达式中指针/整数类型不匹配89 | const char *host = SOUP_URI_IS_VALID(uri) ? soup_uri_get_host(uri) : NULL; | |
| ^ | |
[46/55] Compiling C object core/libcogcore.so.9.1.1.p/cog-directory-files-handler.c.o | |
FAILED: core/libcogcore.so.9.1.1.p/cog-directory-files-handler.c.o | |
ccache cc -Icore/libcogcore.so.9.1.1.p -Icore -I../core -I/usr/include/wpe-webkit-1.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libsoup-3.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/wpe-1.0 -I/usr/include/libmanette -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O2 -g -DCOG_INSIDE_COG__=1 -DCOG_USE_SOUP2=1 -fPIC -pthread -DWPE_ENABLE_XKB=1 '-DG_LOG_DOMAIN="Cog-Core"' -MD -MQ core/libcogcore.so.9.1.1.p/cog-directory-files-handler.c.o -MF core/libcogcore.so.9.1.1.p/cog-directory-files-handler.c.o.d -o core/libcogcore.so.9.1.1.p/cog-directory-files-handler.c.o -c ../core/cog-directory-files-handler.c | |
In file included from /usr/lib/glib-2.0/include/glibconfig.h:9, | |
from /usr/include/glib-2.0/glib/gtypes.h:34, | |
from /usr/include/glib-2.0/glib/galloca.h:34, | |
from /usr/include/glib-2.0/glib.h:32, | |
from ../core/cog-webkit-utils.h:17, | |
from ../core/cog-request-handler.h:15, | |
from ../core/cog-directory-files-handler.h:15, | |
from ../core/cog-directory-files-handler.c:8: | |
../core/cog-directory-files-handler.c: 在函数‘cog_directory_files_handler_run’中: | |
../core/cog-directory-files-handler.c:165:15: 错误:未知的类型名‘SoupURI_autoptr’ | |
165 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:1294:43: 附注:in definition of macro ‘_GLIB_AUTOPTR_TYPENAME’ | |
1294 | #define _GLIB_AUTOPTR_TYPENAME(TypeName) TypeName##_autoptr | |
| ^~~~~~~~ | |
../core/cog-directory-files-handler.c:165:5: 附注:in expansion of macro ‘g_autoptr’ | |
165 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~~~ | |
../core/cog-directory-files-handler.c:165:5: 错误:cleanup 实参不是一个函数../core/cog-directory-files-handler.c:165:30: 警告:implicit declaration of function ‘soup_uri_new’; did you mean ‘soup_auth_new’? [-Wimplicit-function-declaration] | |
165 | g_autoptr(SoupURI) uri = soup_uri_new(webkit_uri_scheme_request_get_uri(request)); | |
| ^~~~~~~~~~~~ | |
| soup_auth_new | |
../core/cog-directory-files-handler.c:175:24: 警告:implicit declaration of function ‘soup_uri_get_path’; did you mean ‘g_uri_get_path’? [-Wimplicit-function-declaration] | |
175 | const char *path = soup_uri_get_path(uri); | |
| ^~~~~~~~~~~~~~~~~ | |
| g_uri_get_path | |
../core/cog-directory-files-handler.c:175:24: 警告:initialization of ‘const char *’ from ‘int’ makes pointer frominteger without a cast [-Wint-conversion] | |
../core/cog-directory-files-handler.c:181:9: 警告:implicit declaration of function ‘soup_uri_set_path’; did you mean ‘soup_cookie_set_path’? [-Wimplicit-function-declaration] | |
181 | soup_uri_set_path(uri, "/"); | |
| ^~~~~~~~~~~~~~~~~ | |
| soup_cookie_set_path | |
../core/cog-directory-files-handler.c:182:39: 警告:implicit declaration of function ‘soup_uri_to_string’; did youmean ‘g_uri_to_string’? [-Wimplicit-function-declaration] | |
182 | g_autofree char *uri_string = soup_uri_to_string(uri, FALSE); | |
| ^~~~~~~~~~~~~~~~~~ | |
| g_uri_to_string | |
../core/cog-directory-files-handler.c:182:39: 警告:initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | |
../core/cog-directory-files-handler.c:194:28: 警告:implicit declaration of function ‘soup_uri_get_host’; did you mean ‘g_uri_get_host’? [-Wimplicit-function-declaration] | |
194 | const char *host = soup_uri_get_host(uri); | |
| ^~~~~~~~~~~~~~~~~ | |
| g_uri_get_host | |
../core/cog-directory-files-handler.c:194:28: 警告:initialization of ‘const char *’ from ‘int’ makes pointer frominteger without a cast [-Wint-conversion] | |
../core/cog-directory-files-handler.c:200:43: 警告:initialization of ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] | |
200 | g_autofree char *uri_string = soup_uri_to_string(uri, FALSE); | |
| ^~~~~~~~~~~~~~~~~~ | |
ninja: build stopped: subcommand failed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment