dub
dub copied to clipboard
Dub says "Could not resolve configuration for package" for the wrong package
System information
- dub version: DUB version 1.31.1, built on Mar 12 2023
- OS Platform and distribution: Windows 10
- compiler version LDC 1.32.0
Bug Description
Error Could not resolve configuration for package util.
The actual configuration wrong is in bind, as it does not exists the configuration android for it.
For checking, look at main dub.json (android cfg), you'll see the renderer with config android. Which has
"name": "android",
"dependencies": {
"gles" : {"path": "../../dependencies/gles", "version": "*"},
"bind" : {"path": "../bind", "version": "*", "optional": true}
},
"subConfigurations": {
"bind": "android",
"windowing": "android"
},
The bind package doesn't have a configuration called android, and somehow it fails in another package.
How to reproduce?
Clone https://github.com/MrcSnm/HipremeEngine/tree/123d59c7f5de87cc3227a0a39c2c78907ec6be09
dub -c android
Expected Behavior
"Could not resolve configuration for package bind" instead of util