-
Notifications
You must be signed in to change notification settings - Fork 985
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
[question] Conan 2.0 export -pkg - Exported the binary pacakge but package reference is not found in the environment #14257
Comments
Thanks for your question. I think you are duplicating the copy(self, "bin/CCQueryServer", src="test_make/mtech_1/build/bin", dst="sampleRecipe/bin") That would mean that files are in
Not sure what you mean. If you do Other side hints (probably you know them, and you just simplified the recipe for reporting, but just in case):
|
Hi @memsharded Thank you for the response and the hints. Yes, given recipe file is not my actual recipe file. I have simplified the recipe file for the reporting. I have update the recipe file as but that file is not copying to the given destination folder.
I mean, Can't we find our package in our local directory path like, And could you please explain little bit more about what conan cache path is?
|
Oh, I am sorry, my bad, I didn't realize that you are missing something there: the current directory is the copy(self, "*", src=os.path.join(self.build_folder, "test_make..."), dst=os.path.join(self.package_folder, "sampleRecipe/bin")) Some more notes:
You won't find a |
Thank you very much for your explanation. I'll update copy() in my recipe file and check. |
Hi @memsharded, Thank you very much for the help. My issue was sorted. I am doing conan migration from 1.X to 2.0.X My conan 1.X recipe file has following copy () statement. How do we migrate that |
In the But in many cases, the normal |
Thank you very much @memsharded. |
Hi @memsharded, Could you please look into following query? [https://github.com/conan-io/examples2/issues/109] |
Yes, responded there. It seems that the question in this ticket is solved, can we close this ticket then? Thanks! |
Thank you very much @memsharded . I'll close this ticket. |
What is your question?
I am new to conan and trying to export package.
I have written sample recipe file and try to execute export-pkg command.
Environment Details:
My Sample recipe file as follows,
NOTE: bin/CCQueryServer is in this test_make/mtech_1/build/bin directory and want to copy sampleRecipe/bin.
I have execute
conan install
cmd and then executeconan export-pkg ~/sampleRecipe/
. My conanfile.py is in ~/sampleRecipe/.Received log as follows,
Output:
WARN: No files in this package!
Package 'f4eea5ae5cc643670c079a6b210a9e6d35b061b3'
is not in my environment.Why is that happen? Could someone please explain?
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: