Skip to content

ERROR: Conanfile not found at /tmp/myautotest/autocheck/[*]@github/thejohnfreeman #16

@jhgorse

Description

@jhgorse

WSL ubuntu on Windows 10.

[root:/tmp/myautotest] # conan install autocheck/1.0.0@github/thejohnfreeman
ERROR: Conanfile not found at /tmp/myautotest/autocheck/1.0.0@github/thejohnfreeman
[root:/tmp/myautotest] 1 # conan install autocheck/[*]@github/thejohnfreeman
ERROR: Conanfile not found at /tmp/myautotest/autocheck/[*]@github/thejohnfreeman
[root:/tmp/myautotest] 1 # conan search autocheck
conancenter
  ERROR: Recipe 'autocheck' not found
redirectory
  autocheck
    autocheck/1.0.0@github/thejohnfreeman
[root:/tmp/myautotest] # conan search -r redirectory autocheck
redirectory
  autocheck
    autocheck/1.0.0@github/thejohnfreeman

So git clone manually.

conan install autocheck

Next test_requires in the conanfile.py conflicts with new Conan test_requires so the list needs renamed. Try test_requires_list. Here is the error output you would see otherwise:

======== Computing dependency graph ========
ERROR: conanfile.py (autocheck/1.0.0): Error in requirements() method, line 35
        for req in self.test_requires:
        TypeError: 'TestRequirements' object is not iterable

Now we are missing a cupcake.

Requirements
    catch2/3.3.2#99b3464731b1ad237007c24291481c2a:96438105cb542059596be5ff639e510c5c525967#d2e10039f62fb698737aecda6b5bd02f - Download (conancenter)
    cupcake/0.4.1@github/thejohnfreeman#0:efa83b160a55b033c4ea706ddb980cd708e3ba1b - Missing
    gtest/1.13.0#8a0bc5b3e159ed45de97260c2bff65b5:2ccd6652789906cdc03dfd327ec8c127706c87fa#3badccc8c1e2af8cf47ef7c571e856e8 - Download (conancenter)

======== Installing packages ========
ERROR: Missing binary: cupcake/0.4.1@github/thejohnfreeman:efa83b160a55b033c4ea706ddb980cd708e3ba1b

cupcake/0.4.1@github/thejohnfreeman: WARN: Can't find a 'cupcake/0.4.1@github/thejohnfreeman' package binary 'efa83b160a55b033c4ea706ddb980cd708e3ba1b' for the configuration:
[settings]
build_type=Release

ERROR: Missing prebuilt package for 'cupcake/0.4.1@github/thejohnfreeman'. You can try:
    - List all available packages using 'conan list cupcake/0.4.1@github/thejohnfreeman:* -r=remote'
    - Explain missing binaries: replace 'conan install ...' with 'conan graph explain ...'
    - Try to build locally from sources using the '--build=cupcake/0.4.1@github/thejohnfreeman' argument

More Info at 'https://docs.conan.io/2/knowledge/faq.html#error-missing-prebuilt-package'

Fix with --build missing.
conan install autocheck/ --build missing

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions