voidlinux-zh / void-packages-zh

中文用户可能需要的 VoidLinux 软件包
1 stars 0 forks source link

add some packages #3

Closed pugaizai closed 10 months ago

pugaizai commented 10 months ago

add kikoplay linuxqq chrome qqmusic asar fix mihomo buildtime version tag

wiliwili build fail, but i think it is a problem with voidlinux

pugaizai commented 10 months ago
=> wiliwili-1.2.2_1: running pre-build hook: 02-script-wrapper ...
=> wiliwili-1.2.2_1: running do_build ...
[0/2] Re-checking globbed directories...
[1/299] cd /builddir/wiliwili-1.2.2/build && /usr/bin/cmake -E copy_directory /builddir/wiliwili-1.2.2/resources /builddir/wiliwili-1.2.2/build/resources && echo copy\ resources
copy resources
[2/299] Building CXX object library/CMakeFiles/pdr.dir/libpdr/src/protocol_define.cpp.o
[3/299] Building CXX object library/CMakeFiles/pdr.dir/libpdr/src/soap.cpp.o
FAILED: library/CMakeFiles/pdr.dir/libpdr/src/soap.cpp.o 
/usr/bin/g++ -D__GLFW__ -I/builddir/wiliwili-1.2.2/library/libpdr/include -DNDEBUG -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2    -ffile-prefix-map=/builddir/wiliwili-1.2.2/build=. -DNDEBUG -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2    -ffile-prefix-map=/builddir/wiliwili-1.2.2/build=. -O3 -Wall -std=gnu++17 -MD -MT library/CMakeFiles/pdr.dir/libpdr/src/soap.cpp.o -MF library/CMakeFiles/pdr.dir/libpdr/src/soap.cpp.o.d -o library/CMakeFiles/pdr.dir/libpdr/src/soap.cpp.o -c /builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp: In member function 'std::string pdr::RendererDevice::parseRequest(const std::string&, const std::string&, const std::string&)':
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:147:19: warning: left operand of comma operator has no effect [-Wunused-value]
  147 |         MG_ERROR(("Unknown service: %s/%s", service.c_str(), action.c_str()));
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:147:9: error: 'MG_ERROR' was not declared in this scope; did you mean 'LL_ERROR'?
  147 |         MG_ERROR(("Unknown service: %s/%s", service.c_str(), action.c_str()));
      |         ^~~~~~~~
      |         LL_ERROR
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp: In function 'void pdr::printClientIP(mg_connection*)':
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:157:12: error: 'struct mg_connection' has no member named 'rem'
  157 |     if (c->rem.is_ip6) {
      |            ^~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:158:34: error: 'struct mg_connection' has no member named 'rem'
  158 |         inet_ntop(AF_INET6, &(c->rem.ip), client_ip, INET6_ADDRSTRLEN);
      |                                  ^~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:160:33: error: 'struct mg_connection' has no member named 'rem'
  160 |         inet_ntop(AF_INET, &(c->rem.ip), client_ip, INET6_ADDRSTRLEN);
      |                                 ^~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:162:48: error: 'struct mg_connection' has no member named 'rem'
  162 |     printf("Client IP: %s:%d\n", client_ip, c->rem.port);
      |                                                ^~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp: In static member function 'static void pdr::SOAP::fn(mg_connection*, int, void*, void*)':
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:206:9: error: 'MG_INFO' was not declared in this scope; did you mean 'LL_INFO'?
  206 |         MG_INFO(("Got a HTTP request"));
      |         ^~~~~~~
      |         LL_INFO
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:212:36: error: 'MG_C_STR' was not declared in this scope
  212 |             if (mg_strcmp(hm->uri, MG_C_STR("/")) == 0) {
      |                                    ^~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/soap.cpp:238:17: error: 'MG_ERROR' was not declared in this scope; did you mean 'LL_ERROR'?
  238 |                 MG_ERROR(("unknown post request"));
      |                 ^~~~~~~~
      |                 LL_ERROR
[4/299] Building CXX object library/cpr/cpr/CMakeFiles/cpr.dir/accept_encoding.cpp.o
[5/299] Building CXX object library/CMakeFiles/pdr.dir/libpdr/src/ssdp.cpp.o
FAILED: library/CMakeFiles/pdr.dir/libpdr/src/ssdp.cpp.o 
/usr/bin/g++ -D__GLFW__ -I/builddir/wiliwili-1.2.2/library/libpdr/include -DNDEBUG -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2    -ffile-prefix-map=/builddir/wiliwili-1.2.2/build=. -DNDEBUG -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2    -ffile-prefix-map=/builddir/wiliwili-1.2.2/build=. -O3 -Wall -std=gnu++17 -MD -MT library/CMakeFiles/pdr.dir/libpdr/src/ssdp.cpp.o -MF library/CMakeFiles/pdr.dir/libpdr/src/ssdp.cpp.o.d -o library/CMakeFiles/pdr.dir/libpdr/src/ssdp.cpp.o -c /builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp: In static member function 'static void pdr::SSDP::fn(mg_connection*, int, void*, void*)':
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:43:15: warning: left operand of comma operator has no effect [-Wunused-value]
   43 |     MG_DEBUG(("%p got event: %d %p %p", c, ev, ev_data, fn_data));
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:43:44: warning: right operand of comma operator has no effect [-Wunused-value]
   43 |     MG_DEBUG(("%p got event: %d %p %p", c, ev, ev_data, fn_data));
      |                                            ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:43:48: warning: right operand of comma operator has no effect [-Wunused-value]
   43 |     MG_DEBUG(("%p got event: %d %p %p", c, ev, ev_data, fn_data));
      |                                                ^~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:43:57: warning: right operand of comma operator has no effect [-Wunused-value]
   43 |     MG_DEBUG(("%p got event: %d %p %p", c, ev, ev_data, fn_data));
      |                                                         ^~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:43:5: error: 'MG_DEBUG' was not declared in this scope; did you mean 'LL_DEBUG'?
   43 |     MG_DEBUG(("%p got event: %d %p %p", c, ev, ev_data, fn_data));
      |     ^~~~~~~~
      |     LL_DEBUG
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:58:9: error: 'MG_INFO' was not declared in this scope; did you mean 'LL_INFO'?
   58 |         MG_INFO(("Got a request"));
      |         ^~~~~~~
      |         LL_INFO
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp: In member function 'void pdr::SSDP::sendNotify(const std::string&)':
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:103:14: warning: left operand of comma operator has no effect [-Wunused-value]
  103 |     MG_INFO(("Sending SSDP NOTIFY: %s", NTS.c_str()));
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:103:5: error: 'MG_INFO' was not declared in this scope; did you mean 'LL_INFO'?
  103 |     MG_INFO(("Sending SSDP NOTIFY: %s", NTS.c_str()));
      |     ^~~~~~~
      |     LL_INFO
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp: In lambda function:
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:18: error: 'MG_SOCKET_TYPE' was not declared in this scope
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                  ^~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:153:24: note: in expansion of macro 'FD'
  153 |         if (setsockopt(FD(connection), IPPROTO_IP, IP_ADD_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:40: error: expected primary-expression before ')' token
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                                        ^
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:153:24: note: in expansion of macro 'FD'
  153 |         if (setsockopt(FD(connection), IPPROTO_IP, IP_ADD_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:156:13: error: 'MG_ERROR' was not declared in this scope; did you mean 'LL_ERROR'?
  156 |             MG_ERROR(("SSDP: server socket cannot join to multicast group"));
      |             ^~~~~~~~
      |             LL_ERROR
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:18: error: 'MG_SOCKET_TYPE' was not declared in this scope
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                  ^~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:162:24: note: in expansion of macro 'FD'
  162 |         if (setsockopt(FD(notifyConnection), IPPROTO_IP, IP_ADD_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:40: error: expected primary-expression before ')' token
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                                        ^
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:162:24: note: in expansion of macro 'FD'
  162 |         if (setsockopt(FD(notifyConnection), IPPROTO_IP, IP_ADD_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:165:13: error: 'MG_ERROR' was not declared in this scope; did you mean 'LL_ERROR'?
  165 |             MG_ERROR(("SSDP: notify socket cannot join to multicast group"));
      |             ^~~~~~~~
      |             LL_ERROR
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:18: error: 'MG_SOCKET_TYPE' was not declared in this scope
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                  ^~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:175:28: note: in expansion of macro 'FD'
  175 |             if (setsockopt(FD(notifyConnection), SOL_SOCKET, SO_BROADCAST,
      |                            ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:40: error: expected primary-expression before ')' token
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                                        ^
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:175:28: note: in expansion of macro 'FD'
  175 |             if (setsockopt(FD(notifyConnection), SOL_SOCKET, SO_BROADCAST,
      |                            ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:186:9: error: 'mg_timer_add' was not declared in this scope; did you mean 'mg_timer_poll'?
  186 |         mg_timer_add(&mgr, 3000, MG_TIMER_REPEAT | MG_TIMER_RUN_NOW, tfn, this);
      |         ^~~~~~~~~~~~
      |         mg_timer_poll
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:18: error: 'MG_SOCKET_TYPE' was not declared in this scope
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                  ^~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:193:24: note: in expansion of macro 'FD'
  193 |             setsockopt(FD(connection), IPPROTO_IP, IP_DROP_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:40: error: expected primary-expression before ')' token
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                                        ^
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:193:24: note: in expansion of macro 'FD'
  193 |             setsockopt(FD(connection), IPPROTO_IP, IP_DROP_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:18: error: 'MG_SOCKET_TYPE' was not declared in this scope
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                  ^~~~~~~~~~~~~~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:196:24: note: in expansion of macro 'FD'
  196 |             setsockopt(FD(notifyConnection), IPPROTO_IP, IP_DROP_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:6:40: error: expected primary-expression before ')' token
    6 | #define FD(c_) ((MG_SOCKET_TYPE)(size_t)(c_)->fd)
      |                                        ^
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:196:24: note: in expansion of macro 'FD'
  196 |             setsockopt(FD(notifyConnection), IPPROTO_IP, IP_DROP_MEMBERSHIP,
      |                        ^~
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp: At global scope:
/builddir/wiliwili-1.2.2/library/libpdr/src/ssdp.cpp:96:13: warning: 'void pdr::tfn(void*)' defined but not used [-Wunused-function]
   96 | static void tfn(void *param) {
      |             ^~~
[6/299] Building CXX object library/CMakeFiles/pdr.dir/libpdr/src/libpdr.cpp.o
/builddir/wiliwili-1.2.2/library/libpdr/src/libpdr.cpp: In static member function 'static void pdr::Event::showError(std::string, bool)':
/builddir/wiliwili-1.2.2/library/libpdr/src/libpdr.cpp:83:19: warning: ignoring return value of 'char* strerror_r(int, char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
   83 |         strerror_r(errno, ErrnoMsgShareBuf, sizeof(ErrnoMsgShareBuf));
      |         ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/299] Building CXX object library/cpr/cpr/CMakeFiles/cpr.dir/async.cpp.o
[8/299] Building CXX object library/cpr/cpr/CMakeFiles/cpr.dir/auth.cpp.o
[9/299] Building CXX object library/CMakeFiles/qrcode.dir/QR-Code-generator/cpp/qrcodegen.cpp.o
[10/299] Building CXX object library/CMakeFiles/pdr.dir/libpdr/src/protocol.cpp.o
ninja: build stopped: subcommand failed.
=> ERROR: wiliwili-1.2.2_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR:   in do_build() at common/build-style/cmake.sh:95
pugaizai commented 10 months ago

先别合