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] openscenegraph/3.6.5 : broken libtiff dependency due to libjpeg #15221

Open
jmaillard01 opened this issue Jan 11, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@jmaillard01
Copy link

Description

openscenegraph/3.6.5 depends on libjeg/9d AND libtiff/4.3.0

but libtiff/4.3.0 depends on libjeg/9e

conan install for a recipe that requires openscenegraph/3.6.5 will fail because there is no libtiff/4.3.0 with libjeg/9d in its requirements

this is solved by invoking --build=libtiff but it would be nice to update the openscenegraph requirements to include libjeg/9e instead of libjeg/9d

Thank you !

Package and Environment Details

  • Package Name/Version: openscenegraph/3.6.5
  • Operating System+version: Windows 10
  • Compiler+version: Visual Studio 16
  • Docker image: na
  • Conan version: Conan version 1.56.0
  • Python version: Python 3.11.0

Conan profile

[settings]
os=Windows
arch=x86_64
compiler=Visual Studio
compiler.version=16
build_type=Debug
arch_build=x86_64
os_build=Windows
[options]
[build_requires]
[env]

Steps to reproduce

conan install -r conancenter ..
CMakeLists.txt
conanfile.txt

Logs

Click to expand log
$ conan install -r conancenter ..
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Debug
compiler=Visual Studio
compiler.runtime=MDd
compiler.version=16
os=Windows
os_build=Windows
[options]
[build_requires]
[env]

WARN: freetype/2.12.1: requirement libpng/1.6.39 overridden by openscenegraph/3.6.5 to libpng/1.6.37
WARN: freetype/2.12.1: requirement zlib/1.2.13 overridden by openscenegraph/3.6.5 to zlib/1.2.12
WARN: libpng/1.6.37: requirement zlib/1.2.13 overridden by freetype/2.12.1 to zlib/1.2.12
libtiff/4.3.0: Retrieving from server 'conancenter'
libtiff/4.3.0: Trying with 'conancenter'...
Downloading conanmanifest.txt completed [0.19k]
Downloading conanfile.py completed [7.52k]
Downloading conan_export.tgz completed [0.32k]
Decompressing conan_export.tgz completed [0.00k]
libtiff/4.3.0: Downloaded recipe revision 0de479b37b38540ff9429f0f5a14f6bf
WARN: libtiff/4.3.0: requirement zlib/1.2.13 overridden by openscenegraph/3.6.5 to zlib/1.2.12
WARN: libtiff/4.3.0: requirement libjpeg/9e overridden by openscenegraph/3.6.5 to libjpeg/9d
conanfile.txt: Installing package
Requirements
    brotli/1.0.9 from 'conancenter' - Cache
    bzip2/1.0.8 from 'conancenter' - Cache
    freetype/2.12.1 from 'conancenter' - Cache
    getopt-for-visual-studio/20200201 from 'conancenter' - Cache
    giflib/5.2.1 from 'conancenter' - Cache
    jbig/20160605 from 'conancenter' - Cache
    libdeflate/1.15 from 'conancenter' - Cache
    libjpeg/9d from 'conancenter' - Cache
    libpng/1.6.37 from 'conancenter' - Cache
    libtiff/4.3.0 from 'conancenter' - Downloaded
    libwebp/1.2.4 from 'conancenter' - Cache
    opengl/system from 'conancenter' - Cache
    openscenegraph/3.6.5 from 'conancenter' - Cache
    xz_utils/5.2.5 from 'conancenter' - Cache
    zlib/1.2.12 from 'conancenter' - Cache
    zstd/1.5.2 from 'conancenter' - Cache
Packages
    brotli/1.0.9:06a7a5848f39a2b1d31f3ee2414a17d463f68a34 - Cache
    bzip2/1.0.8:589a23dff5fdb23a7fb851223eb766480ead0a9a - Cache
    freetype/2.12.1:c69bad48274e7fc45c887cddc32aa0459f0a81e0 - Cache
    getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    giflib/5.2.1:e58497c742fa3202b3c86dba0a9591e9314d5d65 - Cache
    jbig/20160605:a05a9ef21a91686b7138c926ec52aaeb70439310 - Cache
    libdeflate/1.15:d057732059ea44a47760900cb5e4855d2bea8714 - Cache
    libjpeg/9d:d057732059ea44a47760900cb5e4855d2bea8714 - Cache
    libpng/1.6.37:8b1ef0ec9599374db4689199730c00a0d5f4de36 - Cache
    libtiff/4.3.0:e2e95cb5797e0ea720de15db3e7a049a3772be97 - Missing
    libwebp/1.2.4:092f77d3b4b4678d81fbffc1fccc9642b870175e - Cache
    opengl/system:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache
    openscenegraph/3.6.5:a7572a544bc8e2021677eed5a2b10cfbbfe5c078 - Cache
    xz_utils/5.2.5:d057732059ea44a47760900cb5e4855d2bea8714 - Cache
    zlib/1.2.12:d057732059ea44a47760900cb5e4855d2bea8714 - Cache
    zstd/1.5.2:1967f444568571a94da80e35a521699f1a90cb74 - Cache

Installing (downloading, building) binaries...
ERROR: Missing binary: libtiff/4.3.0:e2e95cb5797e0ea720de15db3e7a049a3772be97

libtiff/4.3.0: WARN: Can't find a 'libtiff/4.3.0' package for the specified settings, options and dependencies:
- Settings: arch=x86_64, build_type=Debug, compiler=Visual Studio, compiler.runtime=MDd, compiler.version=16, os=Windows
- Options: cxx=True, jbig=True, jpeg=libjpeg, libdeflate=True, lzma=True, shared=False, webp=True, zlib=True, zstd=True, jbig:build_executables=True, jbig:shared=False, libdeflate:shared=False, libjpeg:shared=False, libwebp:near_lossless=True, libwebp:shared=False, libwebp:swap_16bit_csp=False, libwebp:with_simd=True, xz_utils:shared=False, zlib:shared=False, zstd:shared=False, zstd:threading=True
- Dependencies: zlib/1.2.12, libdeflate/1.15, xz_utils/5.2.5, libjpeg/9d, jbig/20160605, zstd/1.5.2, libwebp/1.2.4
- Requirements: jbig/20160605.Y.Z, libdeflate/1.Y.Z, libjpeg/9d, libwebp/1.Y.Z, xz_utils/5.Y.Z, zlib/1.Y.Z, zstd/1.Y.Z
- Package ID: e2e95cb5797e0ea720de15db3e7a049a3772be97

ERROR: Missing prebuilt package for 'libtiff/4.3.0'
Use 'conan search libtiff/4.3.0@ --table=table.html -r=remote' and open the table.html file to see available packages
Or try to build locally from sources with '--build=libtiff'

More Info at 'https://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
@jmaillard01 jmaillard01 added the bug Something isn't working label Jan 11, 2023
jmaillard01 added a commit to jmaillard01/conan-center-index that referenced this issue Jan 23, 2023
(conan-io#15221) update libjpeg dependency to libjpeg/9e to be compatible with existing libtiff/4.3.0 dependency which itself depends on libjpeg/9e (and not libjpeg/9d)
@jmaillard01 jmaillard01 mentioned this issue Jan 23, 2023
2 tasks
jmaillard01 added a commit to jmaillard01/conan-center-index that referenced this issue Jan 23, 2023
(conan-io#15221) fix conan v2 migration linter errors
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
1 participant