Opened 5 years ago

Closed 7 months ago

Last modified 7 months ago

#60361 closed defect (fixed)

nodejs20: uv/errno.h file missing

Reported by: mohd-akram (Mohamed Akram) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: nodejs20

Description

uv.h is often used in Node.js addons. Doing echo "#include <uv.h>" | CPATH=/opt/local/include/node cc -x c - shows this error:

In file included from <stdin>:1:
/opt/local/include/node/uv.h:52:10: fatal error: 'uv/errno.h' file not found
#include "uv/errno.h"
         ^~~~~~~~~~~~
1 error generated.

Change History (5)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: ci42 removed
Owner: set to ci42
Status: newassigned

comment:2 Changed 5 years ago by mohd-akram (Mohamed Akram)

Port: nodejs14 added; nodejs13 removed
Summary: nodejs13: uv/errno.h file missingnodejs14: uv/errno.h file missing

comment:3 Changed 7 months ago by mohd-akram (Mohamed Akram)

Port: nodejs20 added; nodejs14 removed
Summary: nodejs14: uv/errno.h file missingnodejs20: uv/errno.h file missing

comment:4 Changed 7 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: assignedclosed

In 342e3b76448b9c8e45fb384385627a91a4e4fdbd/macports-ports (master):

nodejs20: add missing libuv include files

Fixes: #60361

comment:5 Changed 7 months ago by blair (Blair Zajac)

In 8975bab717a317e0d38b193c8be54f779004e2d7/macports-ports (master):

nodejs21: add missing libuv include files

Fixes: #60361

Note: See TracTickets for help on using tickets.