Skip to content

Strange build failure on i386 #93

@Peter2121

Description

@Peter2121

The build bot of FreeBSD packages indicates a strange error during i386 package build:

/wrkdirs/usr/ports/net/libsockpp/work/sockpp-0.8.2/examples/udp/udpechosvr.cpp:75:8: error: call to member function 'send_to' is ambiguous
                sock.send_to(buf, n, srcAddr);
                ~~~~~^~~~~~~
/wrkdirs/usr/ports/net/libsockpp/work/sockpp-0.8.2/examples/udp/udpechosvr.cpp:114:13: note: in instantiation of function template specialization 'run_echo<sockpp::datagram_socket_tmpl<sockpp::inet_address>>' requested here
        thread thr(run_echo<sockpp::udp_socket>, std::move(udpsock));
                   ^
/wrkdirs/usr/ports/net/libsockpp/work/sockpp-0.8.2/include/sockpp/datagram_socket.h:369:10: note: candidate function
        ssize_t send_to(const std::string& s, int flags, const ADDR& addr) {
                ^
/wrkdirs/usr/ports/net/libsockpp/work/sockpp-0.8.2/include/sockpp/datagram_socket.h:379:10: note: candidate function
        ssize_t send_to(const void* buf, size_t n, const ADDR& addr) {
                ^

The full log is available here

Update of the port to 0.8.3 is pending, but I'm not sure it fixes the problem.

Metadata

Metadata

Assignees

Labels

fix addedA fix was added but has yet to be fully tested/verified

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions