conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
945 stars 1.72k forks source link

[package] minizip/1.2.13: Cannot load recipe #25169

Open VicKov1975 opened 1 week ago

VicKov1975 commented 1 week ago

Description

I am getting this error:

*********************************************************
Recipe 'minizip/1.2.13' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: Package 'minizip/1.2.13' not resolved: minizip/1.2.13: Cannot load recipe.
Error loading conanfile at 'C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py': C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py not found!.

This is my conan.py file:

from conan import ConanFile
from conan.tools.build import check_max_cppstd, check_min_cppstd

class MyAppConan(ConanFile):

    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"
    default_options = {
        "qt/*:shared": True, 
    }

    def validate(self):
        check_min_cppstd(self, "17")

    def requirements(self):
        self.requires("qt/6.7.1")
        self.requires("assimp/5.4.2")
        self.requires("minizip/1.2.13")

Package and Environment Details

Conan profile

[settings] arch=x86_64 build_type=Release compiler=msvc compiler.cppstd=17 compiler.runtime=dynamic compiler.version=193 os=Windows

Steps to reproduce

conan install . --output-folder=./build/debug --build=missing --settings=build_type=Debug

Logs

Click to expand log ``` ********************************************************* Recipe 'minizip/1.2.13' seems broken. It is possible that this recipe is not Conan 2.0 ready If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues If it is your recipe, check if it is updated to 2.0 ********************************************************* ERROR: Package 'minizip/1.2.13' not resolved: minizip/1.2.13: Cannot load recipe. Error loading conanfile at 'C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py': C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py not found!. ```
AbrilRBS commented 6 days ago

Hi @VicKov1975 sorry for the delay, thanks for taking the time to report your issue.

I'm trying to reproduce this locally and I've not been able to, the listed version compiles just fine.

You might be using an old version of the minizip recipe. Could you try running your same command, but change it to conan install . --output-folder=./build/debug --build=missing --settings=build_type=Debug -r=conancenter -u This will ensure you have the latest revisions of each recipe.

If this does not work, a full compilation log would be appreciated to be able to further look into this, thanks!

VicKov1975 commented 4 days ago

@AbrilRBS, I tried your command line but I got the same error. Please see log below:

D:\Projects\TestProject>conan install . --output-folder=./build/debug --build=missing --settings=build_type=Debug -r=conancenter -u

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Debug
compiler.version=193
os=Windows

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.runtime_type=Release
compiler.version=193
os=Windows

======== Computing dependency graph ========
qt/6.7.1: Checking remote: conancenter
qt/6.7.1: qt6: requested modules []
zlib/1.3.1: Checking remote: conancenter
openssl/3.3.1: Checking remote: conancenter
nasm/2.16.01: Checking remote: conancenter
strawberryperl/5.32.1.1: Checking remote: conancenter
pcre2/10.42: Checking remote: conancenter
bzip2/1.0.8: Checking remote: conancenter
double-conversion/3.3.0: Checking remote: conancenter
freetype/2.13.2: Checking remote: conancenter
libpng/1.6.43: Checking remote: conancenter
brotli/1.1.0: Checking remote: conancenter
meson/1.3.2: Checking remote: conancenter
ninja/1.12.1: Checking remote: conancenter
pkgconf/2.1.0: Checking remote: conancenter
meson/1.2.2: Checking remote: conancenter
harfbuzz/8.3.0: Checking remote: conancenter
glib/2.78.3: Checking remote: conancenter
libffi/3.4.4: Checking remote: conancenter
msys2/cci.latest: Checking remote: conancenter
automake/1.16.5: Checking remote: conancenter
autoconf/2.71: Checking remote: conancenter
m4/1.4.19: Checking remote: conancenter
libgettext/0.22: Checking remote: conancenter
libiconv/1.17: Checking remote: conancenter
meson/1.5.1: Checking remote: conancenter
pkgconf/2.0.3: Checking remote: conancenter
meson/1.4.0: Checking remote: conancenter
sqlite3/3.46.1: Checking remote: conancenter
libpq/15.4: Checking remote: conancenter
md4c/0.4.8: Checking remote: conancenter
cmake/3.30.1: Checking remote: conancenter
pkgconf/2.2.0: Checking remote: conancenter
assimp/5.4.2: Checking remote: conancenter
minizip/1.2.13: Checking remote: conancenter
Graph root
    conanfile.py: D:\Projects\TestProject\conanfile.py
Requirements
    assimp/5.4.2#782206d362329b98926d22fda854426c - Cache (conancenter)
    brotli/1.1.0#d56d7bb9ca722942aba17369cb5c0519 - Cache (conancenter)
    bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Cache (conancenter)
    double-conversion/3.3.0#33321c201741cc32b51169c6d2d05e60 - Cache (conancenter)
    freetype/2.13.2#7934d59c447d72edcd56025dc60e1aeb - Cache (conancenter)
    glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Cache (conancenter)
    harfbuzz/8.3.0#c83405ed297bad6c9e9587e2a19c686a - Cache (conancenter)
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache (conancenter)
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache (conancenter)
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter)
    libpng/1.6.43#c219d8f01983bac10c404fc613605eef - Cache (conancenter)
    libpq/15.4#a3354d556287c3d091c9f4d578b66ec8 - Cache (conancenter)
    md4c/0.4.8#9b5da52e0c0b803bb0d1a4b9fdfe10b1 - Cache (conancenter)
    openssl/3.3.1#279e86dc2a7dded8c1fe8512e775bdb1 - Cache (conancenter)
    pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Cache (conancenter)
    qt/6.7.1#dc6548387c44448b2b955171e9c7cc21 - Cache (conancenter)
    sqlite3/3.46.1#3af96a6e95bb5a1c183ca6ead71592cc - Cache (conancenter)
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter)
Build requirements
    autoconf/2.71#f9307992909d7fb3df459340f1932809 - Cache (conancenter)
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache (conancenter)
    bzip2/1.0.8#d00dac990f08d991998d624be81a9526 - Cache (conancenter)
    cmake/3.30.1#6d832cf2d46f6ec969ca5ed5b41f91eb - Cache (conancenter)
    glib/2.78.3#0d214f34a22088571a43892d3fd41093 - Cache (conancenter)
    libffi/3.4.4#72cccac6139293b6e97ec9cd676547ff - Cache (conancenter)
    libgettext/0.22#35d2811b2dd27a98f69e4daa86ca2000 - Cache (conancenter)
    libiconv/1.17#73fefc1b696e069df90fd1d18aa63edd - Cache (conancenter)
    m4/1.4.19#b38ced39a01e31fef5435bc634461fd2 - Cache (conancenter)
    meson/1.2.2#29cf77c283f6af08818f6fd8068c37e8 - Cache (conancenter)
    meson/1.3.2#726f715cfedf3f94cc4d30a5d5d9c281 - Cache (conancenter)
    meson/1.4.0#d04d88a761cf81e05206dbbe0f1bfea2 - Cache (conancenter)
    meson/1.5.1#6a2a0af06a61b57f6e6f0fe88491f0e3 - Cache (conancenter)
    msys2/cci.latest#f6bb451a181a3f452024ea43ca744061 - Cache (conancenter)
    nasm/2.16.01#d0aebbd20ccbb6ad9c9c753ab708098c - Cache (conancenter)
    ninja/1.12.1#fd583651bf0c6a901943495d49878803 - Cache (conancenter)
    pcre2/10.42#576680686b88a4dadf6d382d6d6351d9 - Cache (conancenter)
    pkgconf/2.0.3#f996677e96e61e6552d85e83756c328b - Cache (conancenter)
    pkgconf/2.1.0#27f44583701117b571307cf5b5fe5605 - Cache (conancenter)
    pkgconf/2.2.0#6462942a22803086372db44689ba825f - Cache (conancenter)
    strawberryperl/5.32.1.1#707032463aa0620fa17ec0d887f5fe41 - Cache (conancenter)
    zlib/1.3.1#f52e03ae3d251dec704634230cd806a2 - Cache (conancenter)
Resolved version ranges
    cmake/[>=3.21.1 <4]: cmake/3.30.1
    libpng/[>=1.6 <2]: libpng/1.6.43
    meson/[>=1.2.3 <2]: meson/1.5.1
    ninja/[>=1.10.2 <2]: ninja/1.12.1
    ninja/[>=1.12 <2]: ninja/1.12.1
    openssl/[>=1.1 <4]: openssl/3.3.1
    pkgconf/[>=2.2 <3]: pkgconf/2.2.0
    sqlite3/[>=3.45.0 <4]: sqlite3/3.46.1
    zlib/[>=1.2.11 <2]: zlib/1.3.1
*********************************************************
Recipe 'minizip/1.2.13' seems broken.
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: Package 'minizip/1.2.13' not resolved: minizip/1.2.13: Cannot load recipe.
Error loading conanfile at 'C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py': C:\Users\Vic\.conan2\p\minizc1031449123ea\e\conanfile.py not found!.