-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Conan does not package all the files in the package folder #7789
Comments
Hi @ericriff Is it possible that many of those are actually symlinks and not real files? |
From those 13K files about 600 are symlinks. Does the packager ignores empty folders? Because that one file I named before, which is causing me issues, is an empty folder.
When I pull the package from out server, that path does not exist and the EDIT: Of course |
Yes, I think empty folders are not packaged, only files are packaged. Something similar to what git does with folders. Indeed packaging in the tgz packages that contains symlinks, specially broken symlinks, empty folders, etc is very problematic. We are doing some deeper investigation into the topic in #7760, to learn what could be the best approach. To clarify, the |
Exactly, I created a dummy file inside the empty folder and now it gets packaged, so my symlink is not broken anymore. |
Closing this ticket as outdated. |
I'm creating a rather large package (an SDK generated by YOCTO) and I've noticed that not all the files present in my
package_folder
end up being uploaded.I tested the package building it locally and everything worked fine, but as soon as I pushed it to our server and tried to use that version, I started getting errors about missing files.
If I build the package locally I get 13403 files in my package folder (
$ tree -a path-to-package-folder
). Regardless, theconan manifest
says that the package has 11681 files. That's about 2k files missing!I've tested this on Ubuntu16 + Conan 1.21 and also Ubuntu18 + conan 1.29.
I haven't run a side by side comparation of the missing files, but I know of at least one file that is being ignored by conan:
package/some/folders/etc/ssl/private
.Is this expected behavior? And by this I mean conan not uploading/packaging a 1:1 copy of everything that it is on the package folder.
Thanks!
The text was updated successfully, but these errors were encountered: