Conan: [bug] Conflict if dependency overriden and both in requirements and build_requirements

Created on 11 Dec 2020  路  3Comments  路  Source: conan-io/conan

Environment Details (include every applicable attribute)

  • Operating System+version: Macos Catalina
  • Compiler+version: apple-clang 12
  • Conan version: 1.32.0
  • Python version: 3.9.0

Steps to reproduce (Include if Applicable)

git clone [email protected]:SpaceIm/conan-gdal.git
cd conan-gdal
git checkout fb6683fac5cc34ac7d6b194fd3fedf1aeda0f9ed
conan create . gdal/3.2.0@ \
-b missing \
-o gdal:threadsafe=True \
-o gdal:with_zlib=True \
-o gdal:with_zstd=True \
-o gdal:with_pg=True \
-o gdal:with_cfitsio=True \
-o gdal:with_pcraster=True \
-o gdal:with_png=True \
-o gdal:with_dds=False \
-o gdal:with_gta=True \
-o gdal:with_pcidsk=True \
-o gdal:with_jpeg=libjpeg \
-o gdal:with_charls=True \
-o gdal:with_gif=True \
-o gdal:with_mongocxx=False \
-o gdal:with_hdf4=True \
-o gdal:with_hdf5=False \
-o gdal:with_kea=True \
-o gdal:with_jasper=True \
-o gdal:with_openjpeg=True \
-o gdal:with_gnm=True \
-o gdal:with_mysql=mariadb-connector-c \
-o gdal:with_xerces=True \
-o gdal:with_expat=True \
-o gdal:with_libkml=True \
-o gdal:with_odbc=True \
-o gdal:with_curl=True \
-o gdal:with_xml2=True \
-o gdal:with_sqlite3=True \
-o gdal:with_pcre=True \
-o gdal:with_webp=True \
-o gdal:with_geos=True \
-o gdal:with_qhull=True \
-o gdal:with_freexl=True \
-o gdal:without_pam=False \
-o gdal:with_podofo=True \
-o gdal:with_cryptopp=True \
-o gdal:with_crypto=True \
-o gdal:without_lerc=False \
-o gdal:with_exr=True \
-o gdal:with_heif=True

Logs (Executed commands with output) (Include/Attach if Applicable)

Click to expand log

Exporting package recipe
gdal/3.2.0 exports: File 'conandata.yml' found. Exporting it...
gdal/3.2.0 exports: Copied 1 '.yml' file: conandata.yml
gdal/3.2.0 exports_sources: Copied 17 '.patch' files
gdal/3.2.0: A new conanfile.py version was exported
gdal/3.2.0: Folder: /Users/spaceim/.conan/data/gdal/3.2.0/_/_/export
gdal/3.2.0: Exported revision: b6ad0bdcf74331ec142dfa02168bc1b7
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=apple-clang
compiler.libcxx=libc++
compiler.version=12.0
os=Macos
os_build=Macos
[options]
gdal:threadsafe=True
gdal:with_cfitsio=True
gdal:with_charls=True
gdal:with_crypto=True
gdal:with_cryptopp=True
gdal:with_curl=True
gdal:with_dds=False
gdal:with_expat=True
gdal:with_exr=True
gdal:with_freexl=True
gdal:with_geos=True
gdal:with_gif=True
gdal:with_gnm=True
gdal:with_gta=True
gdal:with_hdf4=True
gdal:with_hdf5=False
gdal:with_heif=True
gdal:with_jasper=True
gdal:with_jpeg=libjpeg
gdal:with_kea=True
gdal:with_libkml=True
gdal:with_mongocxx=False
gdal:with_mysql=mariadb-connector-c
gdal:with_odbc=True
gdal:with_openjpeg=True
gdal:with_pcidsk=True
gdal:with_pcraster=True
gdal:with_pcre=True
gdal:with_pg=True
gdal:with_png=True
gdal:with_podofo=True
gdal:with_qhull=True
gdal:with_sqlite3=True
gdal:with_webp=True
gdal:with_xerces=True
gdal:with_xml2=True
gdal:with_zlib=True
gdal:with_zstd=True
gdal:without_lerc=False
gdal:without_pam=False
[build_requires]
[env]

json-c/0.15: Not found in local cache, looking in remotes...
json-c/0.15: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.33k]
Downloading conanfile.py completed [2.99k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
json-c/0.15: Downloaded recipe revision 0
libgeotiff/1.6.0: Not found in local cache, looking in remotes...
libgeotiff/1.6.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.32k]
Downloading conanfile.py completed [2.53k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libgeotiff/1.6.0: Downloaded recipe revision 0
WARN: libgeotiff/1.6.0: requirement proj/7.0.0 overridden by gdal/3.2.0 to proj/7.2.0
libtiff/4.1.0: Not found in local cache, looking in remotes...
libtiff/4.1.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.35k]
Downloading conanfile.py completed [5.68k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libtiff/4.1.0: Downloaded recipe revision 0
zlib/1.2.11: Not found in local cache, looking in remotes...
zlib/1.2.11: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.49k]
Downloading conanfile.py completed [8.48k]
Downloading conan_export.tgz completed [0.35k]
Decompressing conan_export.tgz completed [0.00k]
zlib/1.2.11: Downloaded recipe revision 0
xz_utils/5.2.5: Not found in local cache, looking in remotes...
xz_utils/5.2.5: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [6.88k]
Downloading conan_export.tgz completed [0.23k]
Decompressing conan_export.tgz completed [0.00k]
xz_utils/5.2.5: Downloaded recipe revision 0
libjpeg/9d: Not found in local cache, looking in remotes...
libjpeg/9d: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.25k]
Downloading conanfile.py completed [5.71k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
libjpeg/9d: Downloaded recipe revision 0
jbig/20160605: Not found in local cache, looking in remotes...
jbig/20160605: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.33k]
Downloading conanfile.py completed [2.38k]
Downloading conan_export.tgz completed [0.35k]
Decompressing conan_export.tgz completed [0.00k]
jbig/20160605: Downloaded recipe revision 0
zstd/1.4.5: Not found in local cache, looking in remotes...
zstd/1.4.5: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.25k]
Downloading conanfile.py completed [2.79k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
zstd/1.4.5: Downloaded recipe revision 0
libwebp/1.1.0: Not found in local cache, looking in remotes...
libwebp/1.1.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.25k]
Downloading conanfile.py completed [5.97k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libwebp/1.1.0: Downloaded recipe revision 0
proj/7.2.0: Not found in local cache, looking in remotes...
proj/7.2.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.84k]
Downloading conanfile.py completed [6.39k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
proj/7.2.0: Downloaded recipe revision 0
WARN: proj/7.2.0: requirement sqlite3/3.33.0 overridden by libgeotiff/1.6.0 to sqlite3/3.34.0
WARN: proj/7.2.0: requirement libcurl/7.73.0 overridden by libgeotiff/1.6.0 to libcurl/7.74.0
sqlite3/3.34.0: Not found in local cache, looking in remotes...
sqlite3/3.34.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [7.02k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
sqlite3/3.34.0: Downloaded recipe revision 0
libcurl/7.74.0: Not found in local cache, looking in remotes...
libcurl/7.74.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.44k]
Downloading conanfile.py completed [27.03k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libcurl/7.74.0: Downloaded recipe revision 0
flatbuffers/1.12.0: Not found in local cache, looking in remotes...
flatbuffers/1.12.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.25k]
Downloading conanfile.py completed [6.26k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
flatbuffers/1.12.0: Downloaded recipe revision 0
libiconv/1.16: Not found in local cache, looking in remotes...
libiconv/1.16: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.19k]
Downloading conanfile.py completed [5.61k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libiconv/1.16: Downloaded recipe revision 0
libpq/13.1: Not found in local cache, looking in remotes...
libpq/13.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [13.29k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
libpq/13.1: Downloaded recipe revision 0
cfitsio/3.490: Not found in local cache, looking in remotes...
cfitsio/3.490: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.40k]
Downloading conanfile.py completed [4.02k]
Downloading conan_export.tgz completed [0.33k]
Decompressing conan_export.tgz completed [0.00k]
cfitsio/3.490: Downloaded recipe revision 0
libpng/1.6.37: Not found in local cache, looking in remotes...
libpng/1.6.37: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [4.58k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libpng/1.6.37: Downloaded recipe revision 0
libgta/1.2.1: Not found in local cache, looking in remotes...
libgta/1.2.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [2.49k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libgta/1.2.1: Downloaded recipe revision 0
charls/2.1.0: Not found in local cache, looking in remotes...
charls/2.1.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.51k]
Downloading conanfile.py completed [2.51k]
Downloading conan_export.tgz completed [0.36k]
Decompressing conan_export.tgz completed [0.00k]
charls/2.1.0: Downloaded recipe revision 0
giflib/5.2.1: Not found in local cache, looking in remotes...
giflib/5.2.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [2.15k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
giflib/5.2.1: Downloaded recipe revision 0
hdf4/4.2.15: Not found in local cache, looking in remotes...
hdf4/4.2.15: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [6.73k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
hdf4/4.2.15: Downloaded recipe revision 0
kealib/1.4.13: Not found in local cache, looking in remotes...
kealib/1.4.13: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.33k]
Downloading conanfile.py completed [2.53k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
kealib/1.4.13: Downloaded recipe revision 0
hdf5/1.12.0: Not found in local cache, looking in remotes...
hdf5/1.12.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.89k]
Downloading conanfile.py completed [7.54k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
hdf5/1.12.0: Downloaded recipe revision 0
jasper/2.0.22: Not found in local cache, looking in remotes...
jasper/2.0.22: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.25k]
Downloading conanfile.py completed [3.67k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
jasper/2.0.22: Downloaded recipe revision 0
openjpeg/2.3.1: Not found in local cache, looking in remotes...
openjpeg/2.3.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [5.30k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
openjpeg/2.3.1: Downloaded recipe revision 0
mariadb-connector-c/3.1.11: Not found in local cache, looking in remotes...
mariadb-connector-c/3.1.11: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.45k]
Downloading conanfile.py completed [5.85k]
Downloading conan_export.tgz completed [0.37k]
Decompressing conan_export.tgz completed [0.00k]
mariadb-connector-c/3.1.11: Downloaded recipe revision 0
WARN: mariadb-connector-c/3.1.11: requirement libcurl/7.73.0 overridden by gdal/3.2.0 to libcurl/7.74.0
WARN: mariadb-connector-c/3.1.11: requirement openssl/1.1.1h overridden by gdal/3.2.0 to openssl/1.1.1i
openssl/1.1.1i: Not found in local cache, looking in remotes...
openssl/1.1.1i: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [35.64k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
openssl/1.1.1i: Downloaded recipe revision 0
xerces-c/3.2.3: Not found in local cache, looking in remotes...
xerces-c/3.2.3: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [3.59k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
xerces-c/3.2.3: Downloaded recipe revision 0
expat/2.2.10: Not found in local cache, looking in remotes...
expat/2.2.10: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [2.86k]
Downloading conan_export.tgz completed [0.26k]
Decompressing conan_export.tgz completed [0.00k]
expat/2.2.10: Downloaded recipe revision 0
libkml/1.3.0: Not found in local cache, looking in remotes...
libkml/1.3.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.43k]
Downloading conanfile.py completed [3.88k]
Downloading conan_export.tgz completed [0.34k]
Decompressing conan_export.tgz completed [0.00k]
libkml/1.3.0: Downloaded recipe revision 0
WARN: libkml/1.3.0: requirement expat/2.2.9 overridden by gdal/3.2.0 to expat/2.2.10
boost/1.73.0: Not found in local cache, looking in remotes...
boost/1.73.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [1.46k]
Downloading conanfile.py completed [40.98k]
Downloading conan_export.tgz completed [0.36k]
Decompressing conan_export.tgz completed [0.00k]
boost/1.73.0: Downloaded recipe revision 0
bzip2/1.0.8: Not found in local cache, looking in remotes...
bzip2/1.0.8: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [2.07k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
bzip2/1.0.8: Downloaded recipe revision 0
minizip/1.2.11: Not found in local cache, looking in remotes...
minizip/1.2.11: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.23k]
Downloading conanfile.py completed [2.52k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
minizip/1.2.11: Downloaded recipe revision 0
uriparser/0.9.4: Not found in local cache, looking in remotes...
uriparser/0.9.4: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.33k]
Downloading conanfile.py completed [3.08k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
uriparser/0.9.4: Downloaded recipe revision 0
odbc/2.3.7: Not found in local cache, looking in remotes...
odbc/2.3.7: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.18k]
Downloading conanfile.py completed [4.31k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
odbc/2.3.7: Downloaded recipe revision 0
libxml2/2.9.10: Not found in local cache, looking in remotes...
libxml2/2.9.10: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [10.96k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libxml2/2.9.10: Downloaded recipe revision 0
pcre/8.44: Not found in local cache, looking in remotes...
pcre/8.44: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [7.79k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
pcre/8.44: Downloaded recipe revision 0
geos/3.8.1: Not found in local cache, looking in remotes...
geos/3.8.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.32k]
Downloading conanfile.py completed [3.60k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
geos/3.8.1: Downloaded recipe revision 0
qhull/8.0.1: Not found in local cache, looking in remotes...
qhull/8.0.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.39k]
Downloading conanfile.py completed [4.32k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
qhull/8.0.1: Downloaded recipe revision 0
freexl/1.0.6: Not found in local cache, looking in remotes...
freexl/1.0.6: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.33k]
Downloading conanfile.py completed [3.58k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
freexl/1.0.6: Downloaded recipe revision 0
podofo/0.9.6: Not found in local cache, looking in remotes...
podofo/0.9.6: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [2.61k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
podofo/0.9.6: Downloaded recipe revision 0
WARN: podofo/0.9.6: requirement openssl/1.1.1h overridden by gdal/3.2.0 to openssl/1.1.1i
freetype/2.10.4: Not found in local cache, looking in remotes...
freetype/2.10.4: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [6.61k]
Downloading conan_export.tgz completed [0.28k]
Decompressing conan_export.tgz completed [0.00k]
freetype/2.10.4: Downloaded recipe revision 0
brotli/1.0.9: Not found in local cache, looking in remotes...
brotli/1.0.9: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.32k]
Downloading conanfile.py completed [3.60k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
brotli/1.0.9: Downloaded recipe revision 0
fontconfig/2.13.92: Not found in local cache, looking in remotes...
fontconfig/2.13.92: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [4.72k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
fontconfig/2.13.92: Downloaded recipe revision 0
libgettext/0.20.1: Not found in local cache, looking in remotes...
libgettext/0.20.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.41k]
Downloading conanfile.py completed [5.62k]
Downloading conan_export.tgz completed [0.38k]
Decompressing conan_export.tgz completed [0.00k]
libgettext/0.20.1: Downloaded recipe revision 0
libgettext/0.20.1: WARN: Recipe 'libgettext/0.20.1' is deprecated in favor of 'gettext'. Please, consider changing your requirements.
libunistring/0.9.10: Not found in local cache, looking in remotes...
libunistring/0.9.10: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [2.68k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libunistring/0.9.10: Downloaded recipe revision 0
libidn/1.36: Not found in local cache, looking in remotes...
libidn/1.36: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [5.20k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
libidn/1.36: Downloaded recipe revision 0
cryptopp/8.2.0: Not found in local cache, looking in remotes...
cryptopp/8.2.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [4.49k]
Downloading conan_export.tgz completed [0.38k]
Decompressing conan_export.tgz completed [0.00k]
cryptopp/8.2.0: Downloaded recipe revision 0
openexr/2.5.3: Not found in local cache, looking in remotes...
openexr/2.5.3: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [5.17k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
openexr/2.5.3: Downloaded recipe revision 0
libheif/1.9.1: Not found in local cache, looking in remotes...
libheif/1.9.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [3.47k]
Downloading conan_export.tgz completed [0.31k]
Decompressing conan_export.tgz completed [0.00k]
libheif/1.9.1: Downloaded recipe revision 0
libde265/1.0.8: Not found in local cache, looking in remotes...
libde265/1.0.8: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [3.11k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libde265/1.0.8: Downloaded recipe revision 0
b2/4.2.0: Not found in local cache, looking in remotes...
b2/4.2.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [4.12k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
b2/4.2.0: Downloaded recipe revision 0
libtool/2.4.6: Not found in local cache, looking in remotes...
libtool/2.4.6: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.28k]
Downloading conanfile.py completed [8.11k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
libtool/2.4.6: Downloaded recipe revision 0
automake/1.16.2: Not found in local cache, looking in remotes...
automake/1.16.2: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [1.38k]
Downloading conanfile.py completed [5.17k]
Downloading conan_export.tgz completed [0.37k]
Decompressing conan_export.tgz completed [0.00k]
automake/1.16.2: Downloaded recipe revision 0
autoconf/2.69: Not found in local cache, looking in remotes...
autoconf/2.69: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.46k]
Downloading conanfile.py completed [4.69k]
Downloading conan_export.tgz completed [0.35k]
Decompressing conan_export.tgz completed [0.00k]
autoconf/2.69: Downloaded recipe revision 0
m4/1.4.18: Not found in local cache, looking in remotes...
m4/1.4.18: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.94k]
Downloading conanfile.py completed [4.92k]
Downloading conan_export.tgz completed [0.45k]
Decompressing conan_export.tgz completed [0.00k]
m4/1.4.18: Downloaded recipe revision 0
pkgconf/1.7.3: Not found in local cache, looking in remotes...
pkgconf/1.7.3: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.28k]
Downloading conanfile.py completed [4.13k]
Downloading conan_export.tgz completed [0.33k]
Decompressing conan_export.tgz completed [0.00k]
pkgconf/1.7.3: Downloaded recipe revision 0
meson/0.55.1: Not found in local cache, looking in remotes...
meson/0.55.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.10k]
Downloading conanfile.py completed [1.92k]
Downloading conan_export.tgz completed [0.24k]
Decompressing conan_export.tgz completed [0.00k]
meson/0.55.1: Downloaded recipe revision 0
ninja/1.10.1: Not found in local cache, looking in remotes...
ninja/1.10.1: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.51k]
Downloading conanfile.py completed [1.55k]
Downloading conan_export.tgz completed [0.30k]
Decompressing conan_export.tgz completed [0.00k]
ninja/1.10.1: Downloaded recipe revision 0
sqlite3/3.33.0: Not found in local cache, looking in remotes...
sqlite3/3.33.0: Trying with 'conan-center'...
Downloading conanmanifest.txt completed [0.17k]
Downloading conanfile.py completed [7.02k]
Downloading conan_export.tgz completed [0.25k]
Decompressing conan_export.tgz completed [0.00k]
sqlite3/3.33.0: Downloaded recipe revision 0
ERROR: Conflict in proj/7.2.0:
    'proj/7.2.0' requires 'sqlite3/3.33.0' while 'gdal/3.2.0' requires 'sqlite3/3.34.0'.
    To fix this conflict you need to override the package 'sqlite3' in your root package.

ERROR: Conflict in proj/7.2.0:
    'proj/7.2.0' requires 'sqlite3/3.33.0' while 'gdal/3.2.0' requires 'sqlite3/3.34.0'.
    To fix this conflict you need to override the package 'sqlite3' in your root package.

This error shouldn't happen, gdal is the root package here (and when gdal:with_sqlite3=True, it requires sqlite3/3.34.0).

Funnily, the error message is different when the same command is run again, proj conflicts with itself ^^:

ERROR: Conflict in proj/7.2.0:
    'proj/7.2.0' requires 'sqlite3/3.33.0' while 'proj/7.2.0' requires 'sqlite3/3.34.0'.
    To fix this conflict you need to override the package 'sqlite3' in your root package.

I believe that it comes from proj recipe itself: sqlite3 is both a requirement (proj lib depends on sqlite3 lib) and a build requirement (proj build system calls sqlite3 executable during configuration).
I guess that with 2 profiles it works, but here I don't cross compile, requirement graph shouldn't care of build_requirement graph.

high triaging bug

All 3 comments

the same situation happens in a recipe which has both self.build_requires("cmake/3.19.1") and self.requires("openssl/1.1.1i")

conans.errors.ConanException: Conflict in cmake/3.19.1:
    'cmake/3.19.1' requires 'openssl/1.1.1h' while 'qt/6.0.0@bincrafters/testing' requires 'openssl/1.1.1i'.
    To fix this conflict you need to override the package 'openssl' in your root package.

adding self.requires("openssl/1.1.1i", override=True) gives the interesting error message ConanException: Duplicated requirement openssl/1.1.1i != openssl/1.1.1i

Bump. I have got the same issue. Any resolutions possible?

sorry for the lack of response, thanks for reporting. Also thanks @ericLemanissier for providing an easier reproducible scenario. I have assigned @memsharded so that this gets triaged and assigned asap.

Was this page helpful?
0 / 5 - 0 ratings