community icon indicating copy to clipboard operation
community copied to clipboard

[boost_property_map] Package was installed, but library files are missing

Open Thibaulltt opened this issue 6 years ago • 4 comments
trafficstars

Package and Environment Details

  • Package Name/Version: boost_property_map/1.69
  • Operating System+version: Arch Linux 5.0.4
  • Compiler+version: no compiler used (error is before compiling, when installing a package)
  • Conan version: conan 1.12.3
  • Python version: Python 3.7.2

Conan profile

Configuration for profile default:

[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++11
build_type=Release
[options]
[build_requires]
[env]

Steps to reproduce

Add boost_property_map to a conanfile.txt from the following remote URL : https://api.bintray.com/conan/bincrafters/public-conan. Install the recipes using conan install . --build=missing, and notice that the boost_property_map recipe "result" doesn't actually contain the header files, or the lib directory to include when compiling a project requiring this library.

For example, the boost_filesystem recipe, when installed and built, creates the following directories : ~/.conan/data/boost_filesystem/1.69/bincrafters/stable/package/<hex word>/filesystem/, which contain an include folder, and a lib folder.

The boost_property_map recipe doesn't actually create the include and lib folders, it just contains 2 files : conaninfo.txt and conanmanifest.txt.

Logs

No logs (the conan install command exits normally, the folder(s) is(are) just not on the filesystem)

Thibaulltt avatar Mar 25 '19 17:03 Thibaulltt

@solvingj Are there any updates on this ? Do you need some more information about my specific configuration perhaps ?

Thibaulltt avatar Apr 09 '19 09:04 Thibaulltt

I can confirm this bug. I've used Arch Linux and I'm able to reproduce the same behavior. I'll take look ASAP.

uilianries avatar Apr 10 '19 16:04 uilianries

Hi @Thibaulltt !

Our friend @grafikrobot answered this issue:

For groups the headers are not in the package itself. They are in the cycle package instead.

Which means when you build boost_property_map it will available in:

~/.conan/data/boost_cycle_group_d/1.69.0/bincrafters/testing/package//property_map/include/

If it’s a not-header-only lib, then the libs are built in the cycle group package and copied into the actual package.

For example, boost_system will provide libraries and headers in:

~/.conan/data/boost_system/1.69.0/bincrafters/testing/package//

Regards!

uilianries avatar Apr 10 '19 18:04 uilianries

Thank you very much !

Is there any way to tell (before installing) if a package on bincrafters is part of a group like boost_property_map or a standalone package like boost_system ?

Thibaulltt avatar Apr 11 '19 08:04 Thibaulltt