Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle variable ncurses naming better #34549

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

kevingranade
Copy link
Member

Summary

SUMMARY: None

Purpose of change

Github actions builds have been failing due to being unable to find the curses.h header.
This seems to have been caused by this commit in ncurses https://salsa.debian.org/debian/ncurses/commit/6675cdcba4ba0eeca79f55b661622bf135e70d90

Describe the solution

Upon further investigation, it looks like the real problem is that pkg-config expects to ask for "ncursesw" instead of "ncurses", so we are no longer detecting that pkg-config can find ncurses and as a result falling back to specifying no include directory overrides and specifying that we link against the wrong library name.

Describe alternatives you've considered

The makefile is super crufty at this point and could very much stand to have some of this stuff extracted to little helpers or something, but that's not something I want to tackle right now.

Additional context

See also #34545 for the first attempt at fixing this, I think the current PR is a better solution.

@ZhilkinSerg ZhilkinSerg added Code: Build Issues regarding different builds and build environments OS: Linux Issues related to Linux operating system labels Oct 8, 2019
@ZhilkinSerg ZhilkinSerg merged commit 9baaebe into master Oct 8, 2019
@Leland Leland deleted the kevingranade-ncurses-names-are-hard branch October 9, 2019 02:33
@kevingranade kevingranade restored the kevingranade-ncurses-names-are-hard branch December 16, 2019 22:16
@kevingranade kevingranade deleted the kevingranade-ncurses-names-are-hard branch December 16, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code: Build Issues regarding different builds and build environments OS: Linux Issues related to Linux operating system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants