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

    • duzenko

      The final solution for low-end GPUs:
      r_skibSubviews 1 r_skipInteractions 1 r_shadows 0 r_ambientMinLevel 0.6 tdm_lg_interleave  0
      If you don't get 60 fps after this then either your CPU is really slow or it's a map bug
      EDIT. tdm_lg_interleave is probably not required since r_skibSubviews supersedes it.
      · 15 replies
    • jaxa

      What's the console command to show the player coordinates (for beta testing)? I think it used to be using getviewpos like this but it seems to have been improved since? @AluminumHaste
      · 5 replies
    • thebigh

      'tis nearly time
      · 0 replies
    • Acolytesix  »  Wellingtoncrab

      Yeah ok, let's do this  
      · 0 replies
    • jaxa

      I should be able to beta test some missions. Built a new 5700G + GTX 970 system.
      · 7 replies
×
×
  • Create New...