Jump to content
The Dark Mod Forums

conanfile.py: no longer available: zlib/1.2.11


Alberto Salvia Novella
 Share

Recommended Posts

Nope:

$conan install . --build --options platform_name=linux

zlib/1.2.11: WARN: minizip option is deprecated. Please use the new minizip/1.2.11 package

WARN: libcurl/7.61.1@thedarkmod/local: requirement zlib/1.2.11@conan/stable overridden by your conanfile to zlib/1.2.11

ERROR: Failed requirement 'mbedtls/2.13.0@bincrafters/stable' from 'libcurl/7.61.1@thedarkmod/local'

ERROR: Unable to find 'mbedtls/2.13.0@bincrafters/stable' in remotes

Link to comment
Share on other sites

image.png.81e97d4abd16df5c709543c47c0a1201.png

11 minutes ago, Alberto Salvia Novella said:

Nope:

$conan install . --build --options platform_name=linux

zlib/1.2.11: WARN: minizip option is deprecated. Please use the new minizip/1.2.11 package

WARN: libcurl/7.61.1@thedarkmod/local: requirement zlib/1.2.11@conan/stable overridden by your conanfile to zlib/1.2.11

ERROR: Failed requirement 'mbedtls/2.13.0@bincrafters/stable' from 'libcurl/7.61.1@thedarkmod/local'

ERROR: Unable to find 'mbedtls/2.13.0@bincrafters/stable' in remotes

Why no?
It looks like it helped, but other packages are missing too.

Do you have bincrafters remote?
image.png.81e97d4abd16df5c709543c47c0a1201.png
As far as I remember, it is not enabled by default on fresh installation, you need to add it manually.

Link to comment
Share on other sites

  • 4 weeks later...

Well, I should have seen it:

zlib/1.2.11: WARN: minizip option is deprecated. Please use the new minizip/1.2.11 package

But fixing that:

WARN: libcurl/7.61.1@thedarkmod/local: requirement zlib/1.2.11@conan/stable overridden by your conanfile to zlib/1.2.11
ERROR: Failed requirement 'mbedtls/2.13.0@bincrafters/stable' from 'libcurl/7.61.1@thedarkmod/local'

And fixing that:

Failed requirement 'zlib/1.2.11@conan/stable' from 'libcurl/7.61.1@thedarkmod/local'

It seems there are more than a few things broken at conanfile.py. Please let me know when the published file works again, at least for you.

  • Like 1
Link to comment
Share on other sites

I guess it's easier to fork the old zlib recipe.

To be honest, I think badly of conan maintainers who decided to do this change.
Changing/deleting recipes retroactively sucks, it's a strong reason for users to store all recipes as local copies even if they don't change them.

Link to comment
Share on other sites

What I mean is I try to avoid the packaging maintenance as much as possible.

For that I automate the generation of recipes, and favor using the code from upstream.

If I really need a customization I try to suggest it upstream, or I automatically append it to the original recipe.

But I avoid trying to keep local recipes per se, because that would be a recurrent effort to maintain.

Link to comment
Share on other sites

2 hours ago, Alberto Salvia Novella said:

What I mean is I try to avoid the packaging maintenance as much as possible.
For that I automate the generation of recipes, and favor using the code from upstream.
If I really need a customization I try to suggest it upstream, or I automatically append it to the original recipe.
But I avoid trying to keep local recipes per se, because that would be a recurrent effort to maintain.

That would be a good approach if package manager does not alter existing packages.
But as we just found out, it does.

That's what throws me to the opposite approach: fork packages and use local copies.
Local copies don't change by themselves 😥

 

Link to comment
Share on other sites

Try again on the latest trunk.

I changed a few bits, but it still does not build on my Windows machine.
Stuck on msys package not building 😥

You need to enable revisions:

conan config set general.revisions_enabled=True

and to add proper bincrafters in case you did not yet:

conan add remote bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan

 

Link to comment
Share on other sites

58 minutes ago, Alberto Salvia Novella said:

Not working:

WARN: libcurl/7.61.1@thedarkmod/local: requirement zlib/1.2.11@conan/stable overridden by your conanfile to zlib/1.2.11
ERROR: Failed requirement 'mbedtls/2.13.0@bincrafters/stable' from 'libcurl/7.61.1@thedarkmod/local'
ERROR: Permission denied for user: 'None'. [Remote: bincrafters]

I had this error too, but don't remember exactly how I fixed it.

Most likely you have old address of bincrafters in your workspace, which stopped working.
You should do something like:

conan remote remove bincrafters
conan remote add bincrafters https://bincrafters.jfrog.io/artifactory/api/conan/public-conan

 

Link to comment
Share on other sites

7 minutes ago, Alberto Salvia Novella said:

I see, we are using different bincrafters URLs for some reason. Lets try...

Yes, the one you used (and I used) is the old one.
It is mentioned in official conan docs (for old versions).
The docs for new versions don't mention anything it seems 😥
I found some blog article from bincrafters which contains the new address.

Conan made a major change in infrastructure, so both the official repo and bincrafters moved.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • Nort

      While I did find Springheel's brushwork pretty questionable, I guess engine performance must also have come a long way during the recent five years, because I can safely say that the kind of performance issues that he's talking about in this video, just didn't happen to me when I fully opened up my basement with all its unoptimized brushwork. The framerate was capped at a nice 60 FPS no matter how I tried, and with visportals on top of this, and the complexities turned into "func_static":s, an uncapped framerate would just be obscene, at least for graphics cards only a few years old. I no longer have any worries about large areas and vistas - I'll just go nuts. It's gonna be fine.
      · 18 replies
    • irg

      Every day is just like the 4 Non Blondes song. What IS going on?
      · 2 replies
    • Nort

      Map Status Updates
      This status update will be continuously updated (via replies) to contain all the daily progress I make on my map. This will avoid spamming the Status Update list.
      · 5 replies
    • Nort

      I did it! I finally did it! After 48 hours of frustration and confusion, I managed to finally sort out how to attach equipment to NPC:s properly, and write down coherent instructions on how to do it, both in my manual, and in this forum.
      I can finally rest. I can finally eat breakfast.
      · 0 replies
    • Nort

      Spent most of the day learning and writing about AI navigation. It's stuff I already know, but the magic about writing something down as clearly formulated as possible, is that you then see things that much more clearly. You also find what's unclear to you, and then you figure out exactly how things work. I was hoping to get through it all within just a day, but it looks like this will take tomorrow as well, at this rate. There's also plenty of other nonsense I have to get through as well. Everything's a chore.
      · 0 replies
×
×
  • Create New...