Skip to content

Conan-based CI builds are failing #800

@kyllingstad

Description

@kyllingstad

The error message currently issued from master builds is:

ERROR: Traceback (most recent call last):
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/cli/cli.py", line 297, in main
    cli.run(args)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/cli/cli.py", line 194, in run
    command.run(self._conan_api, args[0][1:])
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/cli/command.py", line 197, in run
    info = self._method(conan_api, parser, *args)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/cli/commands/create.py", line 55, in create
    remotes=remotes)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/api/subapi/export.py", line 50, in export
    name, version, user, channel, graph_lock=lockfile, remotes=remotes)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/internal/api/export.py", line 89, in cmd_export
    cache.assign_rrev(recipe_layout)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/internal/cache/cache.py", line 297, in assign_rrev
    self._db.create_recipe(new_path_relative, ref)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/internal/cache/db/cache_database.py", line 78, in create_recipe
    self._recipes.create(path, ref)
  File "/opt/pyenv/versions/3.7.13/lib/python3.7/site-packages/conan/internal/cache/db/recipes_table.py", line 49, in create
    [str(ref), ref.revision, path, ref.timestamp, lru])
sqlite3.OperationalError: table recipes has 4 columns but 5 values were supplied

ERROR: table recipes has 4 columns but 5 values were supplied

Further up in the log, I noticed this message:

WARN: deprecated: ********************************************************************************
WARN: deprecated: Python 3.7 is end-of-life since June 2023. Conan future versions will drop support for it, please upgrade Python
WARN: deprecated: ********************************************************************************

Since we are – or I should say were – using official Conan CI Docker images, I went to their repo to see what was going on, and it turns out that:

⛔ This repository is now deprecated. The Docker recipes and images provided by this repository are no longer used by ConanCenterIndex CI. Users are encouraged to explore alternative solutions for their Docker image needs.

So it looks like we need to base our CI builds on some other images.

Issue #798 and the build failures in #797 could possibly also be related to this.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions