-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
pcapplusplus: add version v22.11 #14712
pcapplusplus: add version v22.11 #14712
Conversation
This comment has been minimized.
This comment has been minimized.
I detected other pull requests that are modifying pcapplusplus/all recipe: This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there. |
I keep the previous PR for reference, we can close it later |
@prince-chrismc this is the PR with the fix we discussed here: #14159 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Conan team - can you help with this error? Maybe we should rerun it? |
I just restarted it now, let's see, because I can't find more PRs with the same status. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@uilianries I'm not sure what to do... CI failed 3 times with the same error message - any idea how to proceed? |
This comment has been minimized.
This comment has been minimized.
Thank you @prince-chrismc ! I think the PR is ready to review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider https://github.com/conan-io/conan-center-index/tree/master/docs/package_templates/cmake_package/all as template for test_package and test_v1_package.
@@ -0,0 +1,43 @@ | |||
#include <iostream> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file can be removed. Re-use directly from test_package folder.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 4a0959d
Co-authored-by: Uilian Ries <uilianries@gmail.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@uilianries can you help me understand why the test fails? I tried to follow your comments... |
@uilianries @prince-chrismc can you please guide me on why the build is failing? I followed @uilianries PR comments and it started failing... |
@uilianries should I revert to the previous commit that works? Please let me know |
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package") | ||
pcap_file_path = os.path.join(self.source_folder, "1_packet.pcap") | ||
self.run(f"{bin_path} {pcap_file_path}", run_environment=True) | ||
self.run(f"{bin_path} {pcap_file_path}", env="conanrun") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there might have been some confusion, this has not been migrated so the "old" way should still be used AFAIK
I would try with as it previously was using
bin_path = os.path.join(self.cpp.build.bindirs[0], "test_package") | |
pcap_file_path = os.path.join(self.source_folder, "1_packet.pcap") | |
self.run(f"{bin_path} {pcap_file_path}", run_environment=True) | |
self.run(f"{bin_path} {pcap_file_path}", env="conanrun") | |
bin_path = os.path.join("bin", "test_package") | |
pcap_file_path = os.path.join(self.source_folder, "1_packet.pcap") | |
self.run(f"{bin_path} {pcap_file_path}", run_environment=True) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@prince-chrismc @uilianries I'm not sure why it doesn't work, can you please assist? |
Signed-off-by: Uilian Ries <uilianries@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[pcapplusplus] Reduce test package
Conan v1 pipeline ✔️All green in build 17 ( |
Thank you @uilianries for all of your help! Is the PR ready to merge now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Update recipe to PcapPlusPlus v22.11 * Add `test_v1_package` * Fix typo * Add sources for 22.11 * Trigger CI * Address comment in CMakeLists Co-authored-by: Uilian Ries <uilianries@gmail.com> * Remove `test_package.cpp` from `test_v1_package` * Try fixing the bin path * Apply changes suggested by @prince-chrismc * Fix bin folder * Fix test_v1_package bin dir * Revert bin location change * Simplify test package Signed-off-by: Uilian Ries <uilianries@gmail.com> Signed-off-by: Uilian Ries <uilianries@gmail.com> Co-authored-by: Uilian Ries <uilianries@gmail.com>
Specify library name and version: pcapplusplus/22.11