{"action":"closed","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/23157","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/23157/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/23157/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/23157/events","html_url":"https://github.com/godotengine/godot/issues/23157","id":372077662,"node_id":"MDU6SXNzdWUzNzIwNzc2NjI=","number":23157,"title":"Can't build the editor for mingw on linux","user":{"login":"fire","id":32321,"node_id":"MDQ6VXNlcjMyMzIx","avatar_url":"https://avatars0.githubusercontent.com/u/32321?v=4","gravatar_id":"","url":"https://api.github.com/users/fire","html_url":"https://github.com/fire","followers_url":"https://api.github.com/users/fire/followers","following_url":"https://api.github.com/users/fire/following{/other_user}","gists_url":"https://api.github.com/users/fire/gists{/gist_id}","starred_url":"https://api.github.com/users/fire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fire/subscriptions","organizations_url":"https://api.github.com/users/fire/orgs","repos_url":"https://api.github.com/users/fire/repos","events_url":"https://api.github.com/users/fire/events{/privacy}","received_events_url":"https://api.github.com/users/fire/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-19T18:58:33Z","updated_at":"2018-10-19T19:10:41Z","closed_at":"2018-10-19T19:10:41Z","author_association":"MEMBER","body":"**Godot version:**\r\ncf7a66195fadd078bb5d6fafebf54e250f5163e7\r\n\r\n**OS**\r\nfedora-28\r\n\r\n**Issue description:**\r\nCan't build the editor.\r\n\r\n@Faless\r\n\r\n**Steps to reproduce:**\r\n\r\n```\r\n[go] Start to build godot-sandbox/0.68.cf7a6619/defaultStage/1/defaultJob on gocd-agent-fedora-28-0 [/go]\r\n[go] Task: /bin/bash -c \"scons platform=windows target=release_debug -j`nproc` use_lto=no gdnative_wrapper=yes deprecated=no\"took: 31.677sexited: 2\r\nscons: Reading SConscript files ...\r\nConfiguring for Windows: target=release_debug, bits=default\r\nUsing Mingw\r\nYASM is necessary for WebM SIMD optimizations.\r\nWebM SIMD optimizations are disabled. Check if your CPU architecture, CPU bits or platform are supported!\r\nChecking for C header file mntent.h... (cached) no\r\nscons: done reading SConscript files.\r\nscons: Building targets ...\r\nCompiling ==> main/main.cpp\r\nCompiling ==> modules/websocket/lws_client.cpp\r\nmodules/websocket/lws_client.cpp: In member function 'virtual Error LWSClient::connect_to_host(String, String, uint16_t, bool, PoolVector<String>)':\r\nmodules/websocket/lws_client.cpp:87:41: error: invalid conversion from 'const char*' to 'size_t {aka long long unsigned int}' [-fpermissive]\r\n  strncpy(abuf, addr_str.ascii().get_data(), 1023);\r\n                ~~~~~~~~~~~~~~~~~~~~~~~~~^~\r\nmodules/websocket/lws_client.cpp:87:49: error: invalid conversion from 'int' to 'const char*' [-fpermissive]\r\n  strncpy(abuf, addr_str.ascii().get_data(), 1023);\r\n                                                 ^\r\nmodules/websocket/lws_client.cpp:87:49: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'\r\nIn file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:190:0,\r\n                 from ./core/os/copymem.h:42,\r\n                 from ./core/dvector.h:34,\r\n                 from ./core/variant.h:41,\r\n                 from ./core/method_ptrcall.h:36,\r\n                 from ./core/method_bind.h:35,\r\n                 from ./core/class_db.h:34,\r\n                 from ./core/reference.h:34,\r\n                 from ./core/io/stream_peer.h:34,\r\n                 from modules/websocket/lws_helper.h:36,\r\n                 from modules/websocket/lws_client.h:36,\r\n                 from modules/websocket/lws_client.cpp:32:\r\n/usr/x86_64-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h:39:27: note: declared here\r\n   _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);\r\n                           ^~~~~~~~~\r\nmodules/websocket/lws_client.cpp:89:38: error: invalid conversion from 'const char*' to 'size_t {aka long long unsigned int}' [-fpermissive]\r\n  strncpy(hbuf, p_host.utf8().get_data(), 1023);\r\n                ~~~~~~~~~~~~~~~~~~~~~~^~\r\nmodules/websocket/lws_client.cpp:89:46: error: invalid conversion from 'int' to 'const char*' [-fpermissive]\r\n  strncpy(hbuf, p_host.utf8().get_data(), 1023);\r\n                                              ^\r\nmodules/websocket/lws_client.cpp:89:46: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'\r\nIn file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:190:0,\r\n                 from ./core/os/copymem.h:42,\r\n                 from ./core/dvector.h:34,\r\n                 from ./core/variant.h:41,\r\n                 from ./core/method_ptrcall.h:36,\r\n                 from ./core/method_bind.h:35,\r\n                 from ./core/class_db.h:34,\r\n                 from ./core/reference.h:34,\r\n                 from ./core/io/stream_peer.h:34,\r\n                 from modules/websocket/lws_helper.h:36,\r\n                 from modules/websocket/lws_client.h:36,\r\n                 from modules/websocket/lws_client.cpp:32:\r\n/usr/x86_64-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h:39:27: note: declared here\r\n   _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);\r\n                           ^~~~~~~~~\r\nmodules/websocket/lws_client.cpp:91:38: error: invalid conversion from 'const char*' to 'size_t {aka long long unsigned int}' [-fpermissive]\r\n  strncpy(pbuf, p_path.utf8().get_data(), 2047);\r\n                ~~~~~~~~~~~~~~~~~~~~~~^~\r\nmodules/websocket/lws_client.cpp:91:46: error: invalid conversion from 'int' to 'const char*' [-fpermissive]\r\n  strncpy(pbuf, p_path.utf8().get_data(), 2047);\r\n                                              ^\r\nmodules/websocket/lws_client.cpp:91:46: error: too few arguments to function 'errno_t strncpy_s(char*, size_t, const char*, size_t)'\r\nIn file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:190:0,\r\n                 from ./core/os/copymem.h:42,\r\n                 from ./core/dvector.h:34,\r\n                 from ./core/variant.h:41,\r\n                 from ./core/method_ptrcall.h:36,\r\n                 from ./core/method_bind.h:35,\r\n                 from ./core/class_db.h:34,\r\n                 from ./core/reference.h:34,\r\n                 from ./core/io/stream_peer.h:34,\r\n                 from modules/websocket/lws_helper.h:36,\r\n                 from modules/websocket/lws_client.h:36,\r\n                 from modules/websocket/lws_client.cpp:32:\r\n/usr/x86_64-w64-mingw32/sys-root/mingw/include/sec_api/string_s.h:39:27: note: declared here\r\n   _CRTIMP errno_t __cdecl strncpy_s(char *_Dst,size_t _DstSizeInChars,const char *_Src,size_t _MaxCount);\r\n                           ^~~~~~~~~\r\nscons: *** [modules/websocket/lws_client.windows.opt.tools.64.o] Error 1\r\nscons: building terminated because of errors.\r\n[go] Task status: failed, took: 31.677s, exited: 2\r\n```"}}
{"actor":{"display_login":"akien-mga"}}