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

qt: Change QT_FEATURE to FEATURE #207131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LecrisUT
Copy link
Contributor

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

The QT_FEATURE bypasses some of the checks that are made when initializing the features, e.g. FEATURE_static and FEATURE_shared are mutually exclusive.

There was also a patch that seemed to be outdated based on the linked bug.

@github-actions github-actions bot added autosquash Automatically squash pull request commits according to Homebrew style. nodejs Node or npm use is a significant feature of the PR or issue CI-linux-self-hosted Build on Linux self-hosted runner long build Set a long timeout for formula testing icu4c ICU use is a significant feature of the PR or issue ffmpeg FFMPEG use is a significant feature of the PR or issue long dependent tests Set a long timeout for dependent testing labels Feb 10, 2025
@LecrisUT LecrisUT force-pushed the qt/feature branch 3 times, most recently from f78f2cc to a73c374 Compare February 10, 2025 14:20
@LecrisUT
Copy link
Contributor Author

Welp, can't figure out what's wrong with Commit style check. I have tried with both Qt: and qt: and other possible complaints, but nothing satisfied it.

@p-linnane
Copy link
Member

Welp, can't figure out what's wrong with Commit style check. I have tried with both Qt: and qt: and other possible complaints, but nothing satisfied it.

From the Formula Cookbook:

One formula per commit; one commit per formula.
Keep merge commits out of the pull request.

Please squash your commits.

@LecrisUT
Copy link
Contributor Author

Please squash your commits.

Oh right, always forget that point 🙁. Anyways there is a more important task of getting it to work since it seems changing this did detect an incompatibility. Even if it could be a false-positive, it would be good to report it if so. Anyone familiar with how this was configured for homebrew could pitch in and look at the error messages? The immediate error seems is with unnecessary dependency and is dropped in later versions 1.

Footnotes

  1. https://github.com/qt/qtwebengine/commit/66cdfc11b13efdc4d867aad066ca4677869fd927

The latter does additional checks for compatibility between features.

Signed-off-by: Cristian Le <[email protected]>
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-linux-self-hosted Build on Linux self-hosted runner ffmpeg FFMPEG use is a significant feature of the PR or issue icu4c ICU use is a significant feature of the PR or issue long build Set a long timeout for formula testing long dependent tests Set a long timeout for dependent testing nodejs Node or npm use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants