Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package] poco/*: dependency "https://github.com/conan-io/conan-center-index/blob/master/recipes/sqlite3/all/conandata.yml" not available in conan-center-index #26480

Open
schwaerz opened this issue Jan 29, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@schwaerz
Copy link

Description

I wanted to rebuild poco/1.12.4 from source. It was complaining about a missing dependency: sqlite3/3.45.0.

I checked the conanfile for poco, there is a hard-coded reference to that dependency if the sqlite support should be enabled: https://github.com/conan-io/conan-center-index/blob/master/recipes/poco/all/conanfile.py#L161

In sqlite conandata.yml, however, it is not available: https://github.com/conan-io/conan-center-index/blob/master/recipes/sqlite3/all/conandata.yml

Supposedly, this will be an easy fix. I'll give it a shot.

Package and Environment Details

  • Package Name/Version: poco/1.12.4
  • Operating System+version: Linux Ubuntu 22.04
  • Compiler+version: GCC 8
  • Docker image: ubuntu20.04 + gcc8 (custom)
  • Conan version: conan 2.11.0
  • Python version: Python 3.8.x

Conan profile

Profile host:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
os.distro=Ubuntu
os.distro.version=20.04
[options]
enable_data_postgresql=False
[buildenv]
CC=/usr/bin/gcc-8
CXX=/usr/bin/g++-8

Profile build:

[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
os.distro=Ubuntu
os.distro.version=20.04
[buildenv]
CC=/usr/bin/gcc-8
CXX=/usr/bin/g++-8

Steps to reproduce

conan install -r poco/1.12.4 --build=missing --profile:all=ubuntu20.0_gcc8_release

Logs

Click to expand log
2025-01-29 11:29:36,334 INFO ---- build poco/1.12.4#b14e8a5d84932bf65a28c1191437e294 ----
WARN: legacy: Unscoped option definition is ambiguous.
Use '&:enable_data_postgresql=False' to refer to the current package.
Use '*:enable_data_postgresql=False' or other pattern if the intent was to apply to dependencies
======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
os.distro=Ubuntu
os.distro.version=20.04
[options]
enable_data_postgresql=False
[buildenv]
CC=/usr/bin/gcc-8
CXX=/usr/bin/g++-8
Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=17
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
os.distro=Ubuntu
os.distro.version=20.04
[buildenv]
CC=/usr/bin/gcc-8
CXX=/usr/bin/g++-8
======== Computing dependency graph ========
poco/1.12.4: Not found in local cache, looking in remotes...
poco/1.12.4: Checking remote: conan-des-conan-center-dev-local
poco/1.12.4: Downloaded recipe revision b14e8a5d84932bf65a28c1191437e294
pcre2/10.42: Not found in local cache, looking in remotes...
pcre2/10.42: Checking remote: conan-des-conan-center-dev-local
pcre2/10.42: Downloaded recipe revision ddd9438c3a5c164dc599282e46b19794
expat/2.6.4: Not found in local cache, looking in remotes...
expat/2.6.4: Checking remote: conan-des-conan-center-dev-local
expat/2.6.4: Downloaded recipe revision 487364a89fcecffb2076cc178ac76f9a
sqlite3/3.45.0: Not found in local cache, looking in remotes...
sqlite3/3.45.0: Checking remote: conan-des-conan-center-dev-local
Graph root
    cli
Requirements
    bzip2/1.0.8#290d4c40649aea36daa5eb488c7e3274 - Cache
    expat/2.6.4#487364a89fcecffb2076cc178ac76f9a - Downloaded (conan-des-conan-center-dev-local)
    pcre2/10.42#ddd9438c3a5c164dc599282e46b19794 - Downloaded (conan-des-conan-center-dev-local)
    poco/1.12.4#b14e8a5d84932bf65a28c1191437e294 - Downloaded (conan-des-conan-center-dev-local)
    zlib/1.3.1#fc5066c3318155d728e3d251be90ca4e - Cache
Resolved version ranges
    expat/[>=2.6.2 <3]: expat/2.6.4
    zlib/[>=1.2.11 <2]: zlib/1.3.1
ERROR: Package 'sqlite3/3.45.0' not resolved: Unable to find 'sqlite3/3.45.0' in remotes.
Traceback (most recent call last):
  File "scripts/pdm.py", line 54, in <module>
    main(sys.argv[1:])
  File "scripts/pdm.py", line 50, in main
    subprocess.check_call([pdm] + args)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/builds/ifx/innersource/conan/conan-center-index/.pdm/bin/pdm', 'create-all', 'ubuntu20.04_gcc8_release']' returned non-zero exit status 1.
@schwaerz schwaerz added the bug Something isn't working label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant