Skip to content

v14.17.5 fails to build if configured with --shared-cares #39747

@asavah

Description

@asavah

Version

v14.17.5

Platform

Linux kross-1910 5.11.0-25-generic #27-Ubuntu SMP Fri Jul 9 23:06:29 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

configure node with --shared-cares which most linux distros use, try building it

How often does it reproduce? Is there a required condition?

always

What is the expected behavior?

Clean build

What do you see instead?

Build failure

In file included from ../src/cares_wrap.cc:25:
../src/cares_wrap.h:25:11: fatal error: ares_nameser.h: No such file or directory
   25 | # include <ares_nameser.h>
      |           ^~~~~~~~~~~~~~~~

Additional information

ares_nameser.h is a private header which is not installed to the system include dir.

4923b59 shouldn't have landed in LTS in its current state ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    caresIssues and PRs related to the c-ares dependency or the cares_wrap binding.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions