Opened 14 months ago

Last modified 3 months ago

#68057 closed defect

wren-cli @0.3.0: error: call to undeclared function 'uv__idna_toascii' — at Version 2

Reported by: kwolcott Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: ventura haspatch Cc:
Port: wren-cli

Description (last modified by ryandesign (Ryan Carsten Schmidt))

../../deps/libuv/src/unix/getaddrinfo.c:165:10: error: call to undeclared function 'uv__idna_toascii'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    rc = uv__idna_toascii(hostname,
         ^
1 error generated.

Change History (3)

Changed 14 months ago by kwolcott

comment:1 Changed 14 months ago by kwolcott

I initiated this process with sudo port -v -s install wren wren-cli.

Last edited 14 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ventura added
Owner: set to herbygillot
Port: wren-cli added
Status: newassigned
Summary: wren port build from source fails: call to undeclared function 'uv__idna_toascii';wren-cli @0.3.0: error: call to undeclared function 'uv__idna_toascii'
Version: 2.8.1

Remember WikiFormatting and see WimplicitFunctionDeclaration.

I see that the problem is in a bundled copy of libuv 1.34.2 and this makes me wonder if the port could avoid the problem by using the MacPorts copy of libuv 1.44.2 instead which would be preferable for other reasons as well.

I do not see this issue on my Monterey x86_64 system and we did not see the problem on our buildbot machines. I do see a similar report from a Ventura x86_64 user in another program that bundles libuv:

https://github.com/pytorch/pytorch/issues/101586

wren-cli 0.4.0 was released nearly two years ago and it updates the bundled libuv to 1.38.0. The port should be updated; maybe it fixes this problem.

Note: See TracTickets for help on using tickets.