You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built this PR locally for my native architecture: x86_64
TODO: xasy does not work now. The reason seems that some required python modules (e.g. cson) are not included in void-packages. However I am not familiar with Python, and it seems that 'pip install' can not be directly used in void. Could anyone relay this work?
The version here (2.68) is outdated from the upstream (3.05). That is because the upstream version can not be compiled successfully with boost 1.90. So I just tried several versions and finally find this one which do not depend on boost and can be successfully compiled.
g++ -DHAVE_CONFIG_H -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc -Igc/include -Itinyexr -Ibackports/glew/include -std=c++17 -g -O3 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o lspfundec.o -c lspfundec.cc
g++ -DHAVE_CONFIG_H -pthread -DFFTWPP_SINGLE_THREAD -Wall -I. -I. -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -I/usr/include/tirpc -Igc/include -Itinyexr -Ibackports/glew/include -std=c++17 -g -O3 -fno-var-tracking -Ibackports/optional/include -Iprc/include -ILspCpp/include -o lspstm.o -c lspstm.cc
In file included from /usr/include/boost/asio/detail/impl/posix_event.ipp:24,
from /usr/include/boost/asio/detail/posix_event.hpp:172,
from /usr/include/boost/asio/detail/event.hpp:25,
from /usr/include/boost/asio/execution/blocking_adaptation.hpp:19,
from /usr/include/boost/asio/execution.hpp:22,
from /usr/include/boost/asio/any_completion_executor.hpp:22,
from /usr/include/boost/asio.hpp:20,
from LspCpp/include/LibLsp/JsonRpc/TcpServer.h:3,
from lspserv.h:7,
from lspserv.cc:10:
/usr/include/boost/asio/error.hpp:188:20: error: 'HOST_NOT_FOUND' was not declared in this scope; did you mean 'GC_NOT_FOUND'?
188 | host_not_found = BOOST_ASIO_NETDB_ERROR(HOST_NOT_FOUND),
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/error.hpp:191:30: error: 'TRY_AGAIN' was not declared in this scope
191 | host_not_found_try_again = BOOST_ASIO_NETDB_ERROR(TRY_AGAIN),
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/error.hpp:194:13: error: 'NO_DATA' was not declared in this scope; did you mean 'ENODATA'?
194 | no_data = BOOST_ASIO_NETDB_ERROR(NO_DATA),
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/error.hpp:197:17: error: 'NO_RECOVERY' was not declared in this scope
197 | no_recovery = BOOST_ASIO_NETDB_ERROR(NO_RECOVERY)
| ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/error.hpp:205:7: error: 'EAI_SERVICE' was not declared in this scope
205 | BOOST_ASIO_GETADDRINFO_ERROR(EAI_SERVICE)),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/asio/error.hpp:210:7: error: 'EAI_SOCKTYPE' was not declared in this scope
210 | BOOST_ASIO_GETADDRINFO_ERROR(EAI_SOCKTYPE))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:30,
from /usr/include/boost/asio/detail/reactor.hpp:25,
from /usr/include/boost/asio/detail/impl/scheduler.ipp:30,
from /usr/include/boost/asio/detail/scheduler.hpp:242,
from /usr/include/boost/asio/io_context.hpp:41,
from /usr/include/boost/asio/detail/io_object_impl.hpp:23,
from /usr/include/boost/asio/basic_socket.hpp:23,
from /usr/include/boost/asio/basic_datagram_socket.hpp:20,
from /usr/include/boost/asio.hpp:32:
/usr/include/boost/asio/detail/socket_types.hpp:324:9: error: 'addrinfo' does not name a type
324 | typedef addrinfo addrinfo_type;
| ^~~~~~~~
In file included from /usr/include/boost/asio/detail/socket_holder.hpp:20,
from /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:25,
from /usr/include/boost/asio/detail/reactive_socket_service.hpp:31,
from /usr/include/boost/asio/basic_socket.hpp:39:
/usr/include/boost/asio/detail/socket_ops.hpp:336:32: error: 'addrinfo_type' does not name a type
336 | const char* service, const addrinfo_type& hints,
| ^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:337:5: error: 'addrinfo_type' has not been declared
337 | addrinfo_type** result, boost::system::error_code& ec);
| ^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:341:32: error: 'addrinfo_type' does not name a type
341 | const char* service, const addrinfo_type& hints,
| ^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:342:5: error: 'addrinfo_type' has not been declared
342 | addrinfo_type** result, boost::system::error_code& ec);
| ^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:344:22: error: variable or field 'freeaddrinfo' declared void
344 | BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
| ^~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:344:35: error: 'addrinfo_type' was not declared in this scope
344 | BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
| ^~~~~~~~~~~~~
/usr/include/boost/asio/detail/socket_ops.hpp:344:50: error: 'ai' was not declared in this scope; did you mean 'asio'?
344 | BOOST_ASIO_DECL void freeaddrinfo(addrinfo_type* ai);
| ^~
| asio
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing the changes
New package
Local build testing
TODO: xasy does not work now. The reason seems that some required python modules (e.g. cson) are not included in void-packages. However I am not familiar with Python, and it seems that 'pip install' can not be directly used in void. Could anyone relay this work?
The version here (2.68) is outdated from the upstream (3.05). That is because the upstream version can not be compiled successfully with boost 1.90. So I just tried several versions and finally find this one which do not depend on boost and can be successfully compiled.
The relative issue is #18809.