Jump to content
The Dark Mod Forums

conanfile.py: no longer available: zlib/1.2.11


Alberto Salvia Novella

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 went one step further and all my package definitions, dependencies and such, are generated procedurally at any given point in time.

I only change a package recipe when it fails to retrieve the new data.

For example:

https://gitlab.com/es20490446e/express-repository/-/blob/master/recipes/ttf-twemoji/PKGBUILD

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

It cannot be that, because the Conan workspace is a temporal blank dir:

```

configureConan () {
    export CONAN_USER_HOME="${buildLibs}..."
    so conan config set general.revisions_enabled=True
    so conan remote add bincrafters https://api.bintray.com/conan/bincrafters/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.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...