[bug] Recent conan release breaks gsl-lite package from conan-center
See original GitHub issueEnvironment Details (include every applicable attribute)
- Operating System+version: Ubuntu 18.04 (WSL1 on Windows 10 1809)
- Compiler+version: gcc 8
- Conan version: 1.34.0
- Python version: 3.6.9
Steps to reproduce (Include if Applicable)
In an empty folder, create a conanfile.txt with the following
[requires]
gsl-lite/0.34.0
Then run conan install. This works fine on Conan 1.30.2. On Conan 1.34.0 it fails with:
ERROR: .../.conan/data/gsl-lite/0.34.0/_/_/export/conanfile.py: Recipe 'description' must be a string.
Sure enough, the description in the package is a tuple of strings:
description = ("A single-file header-only version of ISO C++ ",
"Guideline Support Library (GSL) for C++98, C++11 and later")
This seems to be due to this PR: https://github.com/conan-io/conan/pull/8143
The restriction seems well justified, but this breaks packages on conan-center, which I depend on and have been using for a long time. Is there a way to either except tuple-of-string descriptions, or roll back the change until the packages on conan-center have a chance to update?
I also filed an issue with Conan Center to work around the issue on their end: https://github.com/conan-io/conan-center-index/issues/4726
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
[package] <gsl-lite>/<0.37.0>: pkg-config generator ... - GitHub
The description in the gsl-lite recipe is a tuple which seems to break the pkg-config generator when it attempts to parse it.
Read more >gsl-lite C/C++ Package - JFrog ConanCenter - Conan.io
A single-file header-only version of ISO C++ Guideline Support Library (GSL) for C++98\, C++11 and later. GSL. MIT. License. 0.40.0. Version. 29,336.
Read more >Why is conan broken so often on my system? - Reddit
Yeah, Conan seems to break every few months, and then it's time to update its package, read some new obscure error messages, then...
Read more >Untitled
Bug net terraria ios, Welttour 2 kapitel 4 test, Przypisy w pracy dyplomowej ustawy, Cara format galaxy tab 3, Arthur and george tv,...
Read more >wiki-pages-nodenames.txt
... Advanced Chemistry Abdication Awk AgoraNomic Anglican Communion Arne Kaijser Archipelago Ann Arbor Arthur Conan Doyle Author Andrey Markov Anders Jonas ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @parkertomatoes
I have just tried and it is working now, the recipe description is a string now:
are you sure you have updated to last changes from ConanCenter?
Btw, this doesn’t seem a bug in Conan, see (https://github.com/conan-io/conan/pull/8143#issuecomment-787524810), but basically, the
descriptionfield is a string, as documented in https://docs.conan.io/en/latest/reference/conanfile/attributes.html#description. Any other type is a recipe bug, and can raise or produce any undefined behavior.@memsharded I can confirm, it’s a cache/outdated package problem, not a Conan bug.