conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
920 stars 1.66k forks source link

[package] doxygen/1.8.20: Missing prebuild package from conancenter #6435

Open krotitom-embedded opened 2 years ago

krotitom-embedded commented 2 years ago

Package and Environment Details (include every applicable attribute)

Conan profile (output of conan profile show default or conan profile show <profile> if custom profile is in use)

Configuration for profile default:

[settings]
os=Windows
os_build=Windows
arch=x86_64
arch_build=x86_64
compiler=Visual Studio
compiler.version=15
build_type=Release
[options]
[conf]
[build_requires]
[env]

Steps to reproduce (Include if Applicable)

Run conan install . with conanfile.py with build_requires = ("doxygen/1.8.20") on Windows with Visual studio 2017

Logs (Include/Attach if Applicable)

Click to expand log ``` conan install . --install-folder tst Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=15 os=Windows os_build=Windows [options] [build_requires] [env] m4/1.4.18: Not found in local cache, looking in remotes... m4/1.4.18: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.94k] Downloading conanfile.py completed [4.96k] Downloading conan_export.tgz completed [0.45k] Decompressing conan_export.tgz completed [0.00k] m4/1.4.18: Downloaded recipe revision 0 doxygen/1.8.20: Not found in local cache, looking in remotes... doxygen/1.8.20: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.52k] Downloading conanfile.py completed [4.16k] Downloading conan_export.tgz completed [0.31k] Decompressing conan_export.tgz completed [0.00k] doxygen/1.8.20: Downloaded recipe revision 0 xapian-core/1.4.18: Not found in local cache, looking in remotes... xapian-core/1.4.18: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.35k] Downloading conanfile.py completed [7.25k] Downloading conan_export.tgz completed [0.31k] Decompressing conan_export.tgz completed [0.00k] xapian-core/1.4.18: Downloaded recipe revision 0 zlib/1.2.11: Not found in local cache, looking in remotes... zlib/1.2.11: Trying with 'conancenter'... Downloading conanmanifest.txt completed [0.35k] Downloading conanfile.py completed [5.94k] Downloading conan_export.tgz completed [0.34k] Decompressing conan_export.tgz completed [0.00k] zlib/1.2.11: Downloaded recipe revision 0 doxygen/1.8.20: Compatible package ID 68ef3b853de6b165f8f476aeb9fd9b19931b5f0f equal to the default package ID conanfile.py (my_package/1.2.3): Installing package Requirements Packages Build requirements doxygen/1.8.20 from 'conancenter' - Downloaded m4/1.4.18 from 'conancenter' - Downloaded xapian-core/1.4.18 from 'conancenter' - Downloaded zlib/1.2.11 from 'conancenter' - Downloaded Build requirements packages doxygen/1.8.20:68ef3b853de6b165f8f476aeb9fd9b19931b5f0f - Missing m4/1.4.18:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Download xapian-core/1.4.18:606fdb601e335c2001bdf31d478826b644747077 - Download zlib/1.2.11:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download Installing (downloading, building) binaries... ERROR: Missing binary: doxygen/1.8.20:68ef3b853de6b165f8f476aeb9fd9b19931b5f0f doxygen/1.8.20: WARN: Can't find a 'doxygen/1.8.20' package for the specified settings, options and dependencies: - Settings: arch=x86_64, build_type=Release, compiler=Visual Studio, compiler.runtime=MD, compiler.version=15, os=Windows - Options: enable_parse=True, enable_search=True, xapian-core:shared=False, zlib:minizip=deprecated, zlib:shared=False - Dependencies: xapian-core/1.4.18, zlib/1.2.11 - Requirements: xapian-core/1.Y.Z, zlib/1.Y.Z - Package ID: 68ef3b853de6b165f8f476aeb9fd9b19931b5f0f ERROR: Missing prebuilt package for 'doxygen/1.8.20' Try to build from sources with '--build=doxygen' Use 'conan search --table table.html' Or read 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package' ```

My issue

The problem I have is that with conan-center this succeeds. conan remote add_ref doxygen/1.8.20 conan-center this is workaround for now, but since the conan-center is going to get depricated it cannot be maintained long term.

Thank you for taking a look at this

madebr commented 2 years ago

I can reproduce with all versions of doxygen. It looks like #5243 's artifacts did not make it to conan-center.

The "easiest" way to trigger a rebuild is modifying the recipe and open a pr. Another way is ask infrastructure people to trigger a behind-the-scene rebuild: @jgsogo @danimtb

krotitom-embedded commented 2 years ago

Thank you for response, I've open PR, please let me know if it's in the expected way

jgsogo commented 2 years ago

I've triggered a rebuild and only the packages for Apple M1 were missing: https://c3i.jfrog.io/c3i/misc/summary.html?json=https://c3i.jfrog.io/c3i/misc/logs/TapaholesList/234/summary.json

@krotitom-embedded , can you please check again? Thanks!

Edit - Sorry for the delay, but from time to time we take some holidays 😄

krotitom-embedded commented 2 years ago

Thank you for response @jgsogo ! Hope you had a good holidays.

When I try to build conan package as described in the bug description, I still get same error

conanfile.py (my_package/1.2.3): Installing package
Requirements
Packages
Build requirements
    doxygen/1.8.20 from 'conancenter' - Cache
    m4/1.4.18 from 'conancenter' - Cache
    xapian-core/1.4.18 from 'conancenter' - Cache
    zlib/1.2.11 from 'conancenter' - Cache
Build requirements packages
    doxygen/1.8.20:68ef3b853de6b165f8f476aeb9fd9b19931b5f0f - Missing
    m4/1.4.18:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Download
    xapian-core/1.4.18:606fdb601e335c2001bdf31d478826b644747077 - Download
    zlib/1.2.11:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download

Installing (downloading, building) binaries...
ERROR: Missing binary: doxygen/1.8.20:68ef3b853de6b165f8f476aeb9fd9b19931b5f0f

doxygen/1.8.20: WARN: Can't find a 'doxygen/1.8.20' package for the specified settings, options and dependencies:
- Settings: arch=x86_64, build_type=Release, compiler=Visual Studio, compiler.runtime=MD, compiler.version=15, os=Windows
- Options: enable_parse=True, enable_search=True, xapian-core:shared=False, zlib:minizip=deprecated, zlib:shared=False
- Dependencies: xapian-core/1.4.18, zlib/1.2.11
- Requirements: xapian-core/1.Y.Z, zlib/1.Y.Z
- Package ID: 68ef3b853de6b165f8f476aeb9fd9b19931b5f0f

ERROR: Missing prebuilt package for 'doxygen/1.8.20'
Try to build from sources with '--build=doxygen'
Use 'conan search <reference> --table table.html'
Or read 'http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package'
jgsogo commented 2 years ago

Hi, @krotitom-embedded

I cannot reproduce your issue. If I take your profile:

pr1.txt

[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
os_build=Windows
[options]
[build_requires]
[env]

and run

conan install doxygen/1.8.20@ --profile=pr1.txt

it works.


Nevertheless, I can see that the packageID here is doxygen/1.8.20:af74eba1fd834b4277eb8324067eb80a847d1406 - Download while yours is 68ef3b853de6b165f8f476aeb9fd9b19931b5f0f. Did you modify Conan configuration? There are some parameters that will affect the way Conan computes packageID... you can list configuration with conan config get.

krotitom-embedded commented 2 years ago

Hi @jgsogo, I tried to run with your command and I get the same error.

Here is my conan config


[log]
run_to_output = True        # environment CONAN_LOG_RUN_TO_OUTPUT
run_to_file = False         # environment CONAN_LOG_RUN_TO_FILE
level = critical            # environment CONAN_LOGGING_LEVEL
# trace_file =              # environment CONAN_TRACE_FILE
print_run_commands = False  # environment CONAN_PRINT_RUN_COMMANDS

[general]
default_profile = default
compression_level = 9                 # environment CONAN_COMPRESSION_LEVEL
sysrequires_sudo = True               # environment CONAN_SYSREQUIRES_SUDO
request_timeout = 60                  # environment CONAN_REQUEST_TIMEOUT (seconds)
default_package_id_mode = semver_direct_mode # environment CONAN_DEFAULT_PACKAGE_ID_MODE
# retry = 2                             # environment CONAN_RETRY
# retry_wait = 5                        # environment CONAN_RETRY_WAIT (seconds)
# sysrequires_mode = enabled          # environment CONAN_SYSREQUIRES_MODE (allowed modes enabled/verify/disabled)
# vs_installation_preference = Enterprise, Professional, Community, BuildTools # environment CONAN_VS_INSTALLATION_PREFERENCE
# verbose_traceback = False           # environment CONAN_VERBOSE_TRACEBACK
# error_on_override = False           # environment CONAN_ERROR_ON_OVERRIDE
# bash_path = ""                      # environment CONAN_BASH_PATH (only windows)
# read_only_cache = True              # environment CONAN_READ_ONLY_CACHE
# cache_no_locks = True               # environment CONAN_CACHE_NO_LOCKS
# user_home_short = your_path         # environment CONAN_USER_HOME_SHORT
# use_always_short_paths = False      # environment CONAN_USE_ALWAYS_SHORT_PATHS
# skip_vs_projects_upgrade = False    # environment CONAN_SKIP_VS_PROJECTS_UPGRADE
# non_interactive = False             # environment CONAN_NON_INTERACTIVE
# skip_broken_symlinks_check = False  # environment CONAN_SKIP_BROKEN_SYMLINKS_CHECK

# conan_make_program = make           # environment CONAN_MAKE_PROGRAM (overrides the make program used in AutoToolsBuildEnvironment.make)
# conan_cmake_program = cmake         # environment CONAN_CMAKE_PROGRAM (overrides the make program used in CMake.cmake_program)

# cmake_generator                     # environment CONAN_CMAKE_GENERATOR
# cmake generator platform            # environment CONAN_CMAKE_GENERATOR_PLATFORM
# http://www.vtk.org/Wiki/CMake_Cross_Compiling
# cmake_toolchain_file                # environment CONAN_CMAKE_TOOLCHAIN_FILE
# cmake_system_name                   # environment CONAN_CMAKE_SYSTEM_NAME
# cmake_system_version                # environment CONAN_CMAKE_SYSTEM_VERSION
# cmake_system_processor              # environment CONAN_CMAKE_SYSTEM_PROCESSOR
# cmake_find_root_path                # environment CONAN_CMAKE_FIND_ROOT_PATH
# cmake_find_root_path_mode_program   # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_PROGRAM
# cmake_find_root_path_mode_library   # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
# cmake_find_root_path_mode_include   # environment CONAN_CMAKE_FIND_ROOT_PATH_MODE_INCLUDE

# msbuild_verbosity = minimal         # environment CONAN_MSBUILD_VERBOSITY

# cpu_count = 1             # environment CONAN_CPU_COUNT

# Change the default location for building test packages to a temporary folder
# which is deleted after the test.
# temp_test_folder = True             # environment CONAN_TEMP_TEST_FOLDER

# cacert_path                         # environment CONAN_CACERT_PATH
# scm_to_conandata                    # environment CONAN_SCM_TO_CONANDATA

# config_install_interval = 1h
# required_conan_version = >=1.26

# keep_python_files = False           # environment CONAN_KEEP_PYTHON_FILES

[storage]
# This is the default path, but you can write your own. It must be an absolute path or a
# path beginning with "~" (if the environment var CONAN_USER_HOME is specified, this directory, even
# with "~/", will be relative to the conan user home, not to the system user home)
path = ./data

[proxies]
# Empty (or missing) section will try to use system proxies.
# As documented in https://requests.readthedocs.io/en/master/user/advanced/#proxies - but see below
# for proxies to specific hosts
# http = http://user:pass@10.10.1.10:3128/
# http = http://10.10.1.10:3128
# https = http://10.10.1.10:1080
# To specify a proxy for a specific host or hosts, use multiple lines each specifying host = proxy-spec
# http =
#   hostname.to.be.proxied.com = http://user:pass@10.10.1.10:3128
# You can skip the proxy for the matching (fnmatch) urls (comma-separated)
# no_proxy_match = *bintray.com*, https://myserver.*

[hooks]    # environment CONAN_HOOKS
attribute_checker

Here are also my conan remote list if it could be helpful

conancenter: https://center.conan.io [Verify SSL: True]
conan-center: https://conan.bintray.com [Verify SSL: True]
gitlab: https://gitlab.sds.eu.sony.com/api/v4/packages/conan [Verify SSL: True]
gitlab-ro: http://gitlab.sds.eu.sony.com/api/v4/packages/conan [Verify SSL: True]