Skip to content

New package: asymptote-2.68#58748

Closed
tfcolin wants to merge 0 commit intovoid-linux:masterfrom
tfcolin:asymptote
Closed

New package: asymptote-2.68#58748
tfcolin wants to merge 0 commit intovoid-linux:masterfrom
tfcolin:asymptote

Conversation

@tfcolin
Copy link

@tfcolin tfcolin commented Jan 30, 2026

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • 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.

The relative issue is #18809.

@tfcolin tfcolin marked this pull request as ready for review January 30, 2026 07:37
@tranzystorekk tranzystorekk added the new-package This PR adds a new package label Jan 30, 2026
@sgn
Copy link
Member

sgn commented Jan 31, 2026

What is the problem with boost?

@tfcolin
Copy link
Author

tfcolin commented Feb 2, 2026

What is the problem with boost?

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

......
......

@sgn
Copy link
Member

sgn commented Feb 2, 2026

Sorry, I mis-pushed.

@sgn
Copy link
Member

sgn commented Feb 2, 2026

#58789

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package This PR adds a new package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments