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

    • nbohr1more

      Anyone have any luck with light.setShader( string ) ? It seems to make whichever light you apply it to full-bright on the initial invoke?
      · 0 replies
    • thebigh

      I'm starting to think we need another mapping contest.
      · 9 replies
    • kano

      Don't you hate it when there's a quality discussion on a forum somewhere online about something, but then two disagreeing users derail and transform it into a back-and-forth poo slinging competition at one another?
      · 9 replies
    • Diego

      Oh look the status updates are back! 
      · 2 replies
    • JackFarmer

      After watching the first three and a half episodes of "The Sandman" last night, I realize once again that overly imaginative narratives are not for me. Also, the main actor looks like he has a toothache.
      Which makes me wonder, is there a Dark Mod mission with a medieval dentist?
      · 4 replies
×
×
  • Create New...