[BUG] Fails to run and build in MacOS
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- flutter, macos
- Domain
- build-system, desktop
Research direction
Start by reviewing the dependency constraints involved in the reported flutter build macos --release failure, especially hive_generator, flutter_test, and bloc_test. Update the incompatible constraint as indicated by the resolver, then rerun flutter build macos --release and confirm that dependency resolution and the release build succeed.
Written by the indexing model from the issue text.
Description
OS: macOS 14.1.2 23B92 arm64
Fails to build:
$ flutter build macos --release
Resolving dependencies... (9.9s)
Note: matcher is pinned to version 0.12.16 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Note: test_api is pinned to version 0.6.1 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.
Because no versions of hive_generator match >1.1.3 <2.0.0 and hive_generator >=1.0.1 <1.1.1 depends on analyzer ^1.0.0, hive_generator >=1.0.1 <1.1.1-∞ or >1.1.3 <2.0.0 requires analyzer ^1.0.0.
And because hive_generator >=1.1.1 <1.1.2 depends on analyzer >=1.0.0 <3.0.0, hive_generator >=1.0.1 <1.1.2-∞ or >1.1.3 <2.0.0 requires analyzer >=1.0.0 <3.0.0.
(1) So, because hive_generator >=1.1.2 <1.1.3 depends on analyzer >=1.0.0 <4.0.0 and hive_generator 1.1.3 depends on analyzer >=1.0.0 <5.0.0, hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0.
Because test >=1.16.6 <1.16.7 depends on test_api 0.2.20 and test >=1.16.7 <1.17.0 depends on test_api 0.3.0, test >=1.16.6 <1.17.0 requires test_api 0.2.20 or 0.3.0.
(2) So, because test >=1.17.0 <1.17.6 depends on test_api 0.4.0, test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0.
Because test >=1.17.10 <1.17.11 depends on test_api 0.4.2 and test >=1.17.11 <1.18.0 depends on test_api 0.4.3, test >=1.17.10 <1.18.0 requires test_api 0.4.2 or 0.4.3.
And because test >=1.18.0 <1.18.1 depends on test_api 0.4.4 and test >=1.18.1 <1.19.0 depends on test_api 0.4.5, test >=1.17.10 <1.19.0 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5.
And because test >=1.19.0 <1.19.3 depends on test_api 0.4.6 and test >=1.19.3 <1.19.4 depends on test_api 0.4.7, test >=1.17.10 <1.19.4 requires test_api 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
And because test >=1.16.6 <1.17.6 requires test_api 0.2.20 or 0.3.0 or 0.4.0 (2), test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7.
And because test >=1.24.4 depends on analyzer >=5.12.0 <7.0.0 and test >=1.24.3 <1.24.4 depends on test_api 0.6.0, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.24.3 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
And because test >=1.24.0 <1.24.3 depends on matcher >=0.12.15 <0.12.16 and test >=1.22.2 <1.24.0 depends on test_api 0.4.18, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.22.2 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.18 or 0.6.0 or
analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.22.1 <1.22.2 depends on test_api 0.4.17 and test >=1.21.7 <1.22.0 depends on test_api 0.4.15, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.7 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.15 or
0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.21.6 <1.21.7 depends on test_api 0.4.14 and test >=1.21.5 <1.21.6 depends on test_api 0.4.13, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.5 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.13 or
0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.21.4 <1.21.5 depends on test_api 0.4.12 and test >=1.21.3 <1.21.4 depends on test_api 0.4.11, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.21.3 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.11 or
0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.21.2 <1.21.3 depends on test_api 0.4.10 and test >=1.20.0 <1.21.2 depends on test_api 0.4.9, test >=1.16.6 <1.17.6-∞ or >=1.17.10 <1.19.4-∞ or >=1.20.0 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.9 or
0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.19.4 <1.20.0 depends on test_api 0.4.8 and test >=1.17.6 <1.17.10 depends on test_api 0.4.1, test >=1.16.6 <1.22.0-∞ or >=1.22.1 requires test_api 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or 0.4.12 or
0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test >=1.16.0-nullsafety.19 <1.16.6 depends on test_api 0.2.19 and no versions of test match >1.22.0 <1.22.1, test >=1.16.0-nullsafety.19 <1.22.0-∞ or >1.22.0 requires test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or
0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0 or matcher >=0.12.15 <0.12.16.
And because test 1.22.0 depends on test_api 0.4.16 and every version of flutter_test from sdk depends on matcher 0.12.16, if test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9
or 0.4.10 or 0.4.11 or 0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0 or analyzer >=5.12.0 <7.0.0.
And because hive_generator ^1.0.1 requires analyzer >=1.0.0 <5.0.0 (1), if hive_generator ^1.0.1 and test >=1.16.0-nullsafety.19 and flutter_test from sdk then test_api 0.2.19 or 0.2.20 or 0.3.0 or 0.4.0 or 0.4.1 or 0.4.2 or 0.4.3 or 0.4.4 or 0.4.5 or 0.4.6 or 0.4.7 or 0.4.8 or 0.4.9 or 0.4.10 or 0.4.11 or
0.4.12 or 0.4.13 or 0.4.14 or 0.4.15 or 0.4.16 or 0.4.17 or 0.4.18 or 0.6.0.
And because every version of flutter_test from sdk depends on test_api 0.6.1, one of hive_generator ^1.0.1 or test >=1.16.0-nullsafety.19 or flutter_test from sdk must be false.
And because ccxgui depends on bloc_test ^8.1.0 which depends on test ^1.16.0, hive_generator ^1.0.1 is incompatible with flutter_test from sdk.
So, because ccxgui depends on both flutter_test from sdk and hive_generator ^1.1.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Try upgrading your constraint on hive_generator: flutter pub add dev:hive_generator:^2.0.1
- Dominant language
- Dart
- Stars
- 30
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CCExtractor/ccextractorfluttergui
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
Difficulty 4/5 3-5 days Newbie friendliness 20/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
CCExtractor/ccextractorfluttergui#62 · 3 comments ·
-
[BUG] No scroll bar Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
CCExtractor/ccextractorfluttergui#61 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
CCExtractor/ccextractorfluttergui#57 · 3 comments ·
All issues in CCExtractor/ccextractorfluttergui
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
code quality good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Suwayomi/Suwayomi-Tsumiru#479 ·
-
Build Failure: agora_rtc_engine compiled against android-31 while dependencies require android-34+ Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
conceptadev/noir#95 ·