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

dub tries to fetch dependencies for the configuration that user is not currently building #2290

Closed
p-mitana opened this issue Jul 1, 2022 · 1 comment

Comments

@p-mitana
Copy link

p-mitana commented Jul 1, 2022

System information

  • dub version: DUB version 1.29.0, built on May 13 2022
  • OS Platform and distribution: Linux Fedora 36
  • compiler version dmd 2.100

Bug Description

dub seems to fetch dependencies from all configurations instead of those for the configuration that I am currently building.

Best example is current (2022-07-01) botan state. There is a dependency from openssl, but it's included only in one configuration. Despite this fact dub fetches it no matter which config I build.

How to reproduce?

Try to build the latest botan package with config "lite". openssl will be fetched

Expected Behavior

openssl is not fetched, as it is specified as a dependency in a different configuration.

Logs

@Geod24
Copy link
Member

Geod24 commented Jul 27, 2022

Unfortunately a well-known bug, see #1706

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants