Skip to content

Add error for missing wayland-scanner #2193

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

Merged
merged 1 commit into from
May 3, 2025

Conversation

SFrijters
Copy link
Contributor

Checklist

  • I have described the changes
  • I have linked to any relevant GitHub issues, if applicable
  • Documentation in doc/ has been updated
  • All new code is licensed under GPLv3

Description

I have fixed cross-compilation for conky in nixpkgs (to be reviewed/merged), but in the process I encountered a situation where wayland was found, but wayland-scanner was not. That allowed the configuration process to continue with just a warning, but then the build process failed when the wayland-scanner executable was not available. In my opinion it would be nicer to fail earlier, with a clear error message.

Tested locally as a patch applied to the nixpkgs derivation.

@github-actions github-actions bot added dependencies adds or removes dependencies, or suggests alternatives build system related to build system (CMake) and/or building process/assumptions labels May 3, 2025
Copy link

netlify bot commented May 3, 2025

Deploy Preview for conkyweb canceled.

Name Link
🔨 Latest commit f97aacb
🔍 Latest deploy log https://app.netlify.com/sites/conkyweb/deploys/6815e4fc9442810008a1025a

@Caellian Caellian added enhancement suggests alteration of existing functionality to better support different use cases and removed dependencies adds or removes dependencies, or suggests alternatives labels May 3, 2025
Copy link
Collaborator

@Caellian Caellian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Caellian Caellian merged commit ca8874e into brndnmtthws:main May 3, 2025
29 checks passed
@SFrijters SFrijters deleted the improve-wayland-scanner-error branch May 4, 2025 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system related to build system (CMake) and/or building process/assumptions enhancement suggests alteration of existing functionality to better support different use cases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants