help: Unresolvable dependencies to package openssl

mw mingwu at gmail.com
Thu Mar 9 00:52:04 UTC 2023


Hi,

In my dub.json, I have:

```
             "dependencies": {
                     "apache-thrift": "==0.16.0",
                     ...
             }

             "subConfigurations": {
                     "apache-thrift": "use_openssl_1_1",
                     "pyd": "python39"
             },

```

But:

     $ dub build
     Unresolvable dependencies to package openssl:
       apache-thrift 0.16.0 depends on openssl ~>2.0.3
       apache-thrift 0.16.0 depends on openssl ~>1.1.6
       app ~master depends on openssl ~>2.0.3


Why the subConfigurations: "use_openssl_1_1":

https://github.com/apache/thrift/blob/master/dub.json#L26

         {
           "name": "use_openssl_1_1",
           "versions": ["use_openssl_1_1_x"],
           "dependencies": {
             "openssl": {
               "version": "~>2.0.3"
             }
           }
         }

did not pick up the 2.0.3? but report conflict instead?

Thanks.




More information about the Digitalmars-d-learn mailing list