Comments (5)
Thanks for your report.
A couple of quick questions:
- How large is really the package? 10mb is nothing, those are very common packages in Conan, shouldn't be a problem. We have seen in the past some issues under some special infra (google cdn) for packages >1 Gb
- What happens if you try to download that package in a Linux machine, does it works well?
- One possible issue is that such package has some special files in it, like symlinks, not supported in Windows, and then it might indeed fail under windows. Can you try downloading the
conan_package.tgz
from the server manually and unzipping it with other tools?
from conan.
Hi,
thanks for your quick response!
How large is really the package? 10mb is nothing, those are very common packages in Conan, shouldn't be a problem. We have seen in the past some issues under some special infra (google cdn) for packages >1 Gb
The package is 11mb in size. I called it a large file because of this line: (big_file)
What happens if you try to download that package in a Linux machine, does it works well?
Yes, on a Linux machine it works without an issue. The difference is that on Linux, after using conan download two new directories are created in the .conan/p directory: linux3b28e86b22ffd and linux7f4334d1b9228. In Windows only linux3b28e86b22ffd is created but it still expects linux7f4334d1b9228 which causes the error.
Also the contents of the linux7f4334d1b9228 directory are different, it contains the actual package whereas linux3b28e86b22ffd contains a debian package.
One possible issue is that such package has some special files in it, like symlinks, not supported in Windows, and then it might indeed fail under windows. Can you try downloading the conan_package.tgz from the server manually and unzipping it with other tools?
This might actually be the issue. When I unzip the package in windows, I get indeed errors on which I can skip or cancel the unzipping.
Does conan cancel the unzip operation in this case?
from conan.
Yes, on a Linux machine it works without an issue. The difference is that on Linux, after using conan download two new directories are created in the .conan/p directory: linux3b28e86b22ffd and linux7f4334d1b9228. In Windows only linux3b28e86b22ffd is created but it still expects linux7f4334d1b9228 which causes the error.
Yes, this is expected, there are 2 folders involved:
- One folder containing the "recipe" part (subfolders e=export, containing the recipe, es=export_sources containing exported sources, etc)
- Another folder (one per different package binary with different package_id) containing the actual artifacts, (subfolder b=build if built from source locally, subfolder p=package with the artifacts), like include headers and compiled static or shared libraries. This folder is also obtained by unzipping the
conan_package.tgz
If the unzipping of conan_package.tgz
fails, Conan will try to remove the second folder, to not leave a trailing package in a bad state. This is the reason why if it fails you will only see the first folder but not the second one.
from conan.
Thank you for the explanation!
from conan.
Thanks to you for the feedback!
I have been thinking about this, just in case it would be possible some workaround, but it doesn't seem possible to do anything from Conan side.
Maybe it might be possible to enable symlinks (developer mode) in Windows?
from conan.
Related Issues (20)
- [question] Is IMPORTED_LOCATION missing for conan_package_library_targets? HOT 4
- [bug] yasm/1.3.0 doesn't compile with MSVC in release HOT 4
- [question] How to support conanfile.py in a subdirectory, using Bazel HOT 2
- [bug] generated BUILD.bazel file does not import dll when shared=True for some packages
- [question] Access Resource file in cmake module HOT 2
- [bug] Conan install/graph explain don't find package because they don't filter based on settings/options before selecting package candidate HOT 1
- [question] Header library automatic downstream header propagation HOT 4
- [bug] `conan.tools.files.copy()` fails silently. HOT 3
- [question] tool_requires ignores option settings? HOT 5
- [question] Propagating bin dirs for hybrid package HOT 7
- [suggestion] Allow specifying commit hash when installing config from git repository with `conan config install` HOT 3
- [bug] `self.source_folder` varies whether building with `conan create .` or `conan build .`. HOT 2
- [question] Artifactory compatibility between Conan 1 and Conan 2? HOT 6
- [question] alternative solution to Conan 1 alias? HOT 4
- Server side atomic uploads for concurrent uploads
- [question] compatibility strategy for Conan 1 between "Visual Studio" and "msvc"? HOT 3
- [question] How to properly capture SCM in complex scenarios? HOT 1
- [bug] __pycache__ presence violates cached package integrity HOT 10
- [feature] Manifold workspace HOT 6
- [question] Best practices to use Conan in large projects HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conan.