conan-center-index: [package] boost/1.75.0: slow no-op

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: boost/1.75.0
  • Operating System+version: Manjaro
  • Compiler+version: Clang 11
  • Conan version: conan 1.32.1
  • Python version: Python 3.9.1

Conan profile

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=clang
compiler.version=11
compiler.libcxx=libstdc++
build_type=Release
[options]
[build_requires]
[env]
CC=/usr/bin/clang
CXX=/usr/bin/clang++
LD=ld.lld

Steps to reproduce (Include if Applicable)

Boost 1.75.0 introduced a several seconds delay when checking if the package is already installed.

In the logs you can see that it stops for ~6 seconds after the line: boost/1.75.0: Library layout suffix: ''

On Windows 10 it happens after the line: boost/1.75.0: Disabled magic autolinking (smart and magic decisions)

Logs (Include/Attach if Applicable)

Click to expand log
[16:21:46] Installing (downloading, building) binaries...
[16:21:46] brotli/1.0.9: Already installed!
[16:21:46] bzip2/1.0.8: Already installed!
[16:21:46] generic_serialization/master@enhex/stable: Already installed!
[16:21:46] glad/0.1.34: Already installed!
[16:21:46] libiconv/1.16: Already installed!
[16:21:46] libiconv/1.16: Appending PATH environment var: /home/desktop/.conan/data/libiconv/1.16/_/_/package/2ffa9ae5fcbd719c06fb12a94eee2561d60590e5/bin
[16:21:46] opengl/system: Already installed!
[16:21:46] rang/master@enhex/stable: Already installed!
[16:21:46] strong_type/master@enhex/stable: Already installed!
[16:21:46] xorg/system: Already installed!
[16:21:47] zlib/1.2.11: Already installed!
[16:21:47] boost/1.75.0: Already installed!
[16:21:47] boost/1.75.0: Library layout suffix: ''
[16:21:53] freetype/2.10.4: Already installed!
[16:21:53] glfw/3.3.2: Already installed!
[16:21:53] Deco/master@enhex/stable: Already installed!
[16:21:53] nanovg/master@enhex/stable: Already installed!

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

Yeah, sometimes it takes more time as expected, depending on CD system overload… Especially boost is a huge library with many versions supported, and for 3 platforms with different compilers… Pre-building takes time.

If you are in a hurry, make a local copy of the recipes repo and install it from local filesystem, should work the same way.

Thanks for the tip, @Enhex, that was helpful. I made the PR, which will resolve the issue.

@Enhex @madduci @TheStormN it would be great, if you could test my patch on your machine, but I think everything should work great.