Skip to content
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

add Open62541 recipe v1.0.3 and v1.1.3 #3786

Merged
merged 82 commits into from
Dec 14, 2020

Conversation

saukijan
Copy link
Contributor

@saukijan saukijan commented Dec 3, 2020

Description

as @prince-chrismc recommended in his comment, I am refactoring my work from PR #1687 with the work @syoliver did in PR #1856 to hopefully bring the best of both worlds and finally release the definative Open62541 recipe.

This PR:

  • uses pro-mdnsd/0.8.4 as a conan dependency instead of git sub-module.
  • uses a slightly reduced option set (not all Open62541 are used in this recipe) to improve package usability and stability.
  • uses UA-Nodeset git sub-module as it is required for Non-minimal setups (conan option namespace_zero is not set to MINIMAL).

I could create a separate conan package for this, however UA-Nodeset project contains meta information for OPC UA standard (xml files that describe various data models) and I personally do not think that this sort of package would be relevant for conan-center-index, though I am interested to hear the thoughts of conan-io community on this topic.

Questions to conan-io communtiy:

  1. Would you prefer @syoliver way of writing a test_package for both client and server symbols, or a more simplified test_package?
  2. Would a separate UA-Nodeset package containing only meta information be a relevant addition to conan-center-index repository?

To Do:

  • Test standard options for v1.0.3
  • Test standard options for v1.1.3
  • Test all option variations for v1.0.3
  • Test all option variations for v1.1.3
  • Update official documentation PR #3659

Specify library name and version: open62641/1.0.3 and open62641/1.1.3

  • I've read the guidelines for contributing.
  • I've followed the PEP8 style guides for Python code in the recipes.
  • I've used the latest Conan client version.
  • I've tried at least one configuration locally with the
    conan-center hook activated.

Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
…figs

Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
…options

Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
Signed-off-by: Dovydas Girdvainis <dovydas.girdvainis@hahn-schickard.de>
@conan-center-bot
Copy link
Collaborator

Some configurations of 'open62541/1.1.3' failed in build 23 (e7a7306cfb839e86b4ea510ff703df92d54a3785):

@saukijan
Copy link
Contributor Author

saukijan commented Dec 7, 2020

Option testing report

I finished testing both v1.0.3 and v1.1.3 packages with all of the options enabled (I ran separate tests for each encryption, multi-threading and pub sub option with other options set to True) and it works on my Linux debian 9 machine with GCC 8 compiler. Of course, I can not guaranty that each option permutation with various operating systems and compilers will work since I did not set up any automation to test all of these variables nor did I test all of it by hand for obvious reasons.

From my point of view if all options work on the same time, there is no reason why they should not work on there own, since all of the options that require something else are already handle during the configuration, but again no guaranty...

Regarding Clang 9 support

I tried my hardest to get rid of error: unused parameter both with -Qunused-arguments and -Wno-unused-command-line-argument but it does not seem to work, if anyone knows how to disable this check without disabling -Werror as well let me know and I will patch it in!

Edit 2020.12.10

It seems that I have mixed up the reports between 1.0.3 and 1.1.3. -Wno-unused-command-line-argument works for v1.1.3 releases due to a different flag handling mehcanism

Regarding Cpp compatibility support for 1.0.3

I removed it due to the fact that I would have to patch quite a bit of source files to get rid of Error: Jump to case label. from -fpermissive. I have patched it in the past as well as did a PR for this issue with open62541, but someone keeps adding code with goto calls everywhere...

@conan-center-bot
Copy link
Collaborator

Some configurations of 'open62541/1.1.3' failed in build 24 (0ef82e483e7fd21c6566cdbac797b4fdf95a7b0c):

@conan-center-bot
Copy link
Collaborator

Some configurations of 'open62541/1.1.3' failed in build 25 (f38dd369617aa9ba4a88880081e5671d39943577):

@conan-center-bot
Copy link
Collaborator

All green in build 26 (8b2a79cda42515b5de6cfb335db1cee55180ee42)! 😊

Copy link
Contributor

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some comments about some <= signs, not sure if they should be < according to the messages in the ConanInvalidConfiguration errors. 🤔

recipes/open62541/all/conanfile.py Outdated Show resolved Hide resolved
recipes/open62541/all/conanfile.py Outdated Show resolved Hide resolved
recipes/open62541/all/conanfile.py Outdated Show resolved Hide resolved
@conan-center-bot
Copy link
Collaborator

Some configurations of 'open62541/1.0.3' failed in build 27 (8718bc1f2433e6c7e9469f79c569349821121544):

@conan-center-bot
Copy link
Collaborator

All green in build 28 (c15446ecc7f2c07387c03e681b7ab92d81fe6c28)! 😊

@jgsogo jgsogo requested a review from SSE4 December 11, 2020 07:49
@SSE4 SSE4 requested a review from uilianries December 13, 2020 17:45
@conan-center-bot conan-center-bot merged commit b011e7b into conan-io:master Dec 14, 2020
cacay added a commit to cacay/conan-center-index that referenced this pull request Dec 15, 2020
* master: (73 commits)
  (conan-io#3878) opengl: support FreeBSD
  (conan-io#3882) [system-cci] Fix hooks
  (conan-io#3881) [szip] Fix hooks
  (conan-io#3880) [tcl] Fix hooks
  (conan-io#3866) xorg: add freebsd packages
  (conan-io#3825) Adds baikal-p7 5.6
  (conan-io#3758) minimal recipe for pciutils/3.7.0
  (conan-io#3211) added recipe for extra-cmake-modules
  (conan-io#3870) tl: fix compiler version check again
  (conan-io#3865) bump eigen/3.3.9
  (conan-io#3864) add functionalplus/0.2.13-p0
  bump fmt/7.1.3 (conan-io#3694)
  (conan-io#3858) fix: zulu-openjdk package info
  (conan-io#3836) gmp: bump + enable building static libraries on MSVC
  (conan-io#3812) Add logr v0.1.0
  (conan-io#3786) add Open62541 recipe v1.0.3 and v1.1.3
  (conan-io#3696) openh264: refactor + add 2.1.1 release
  (conan-io#3607) add botan/2.17.2
  (conan-io#3854) Add PEGTL 3.0.0
  (conan-io#3859) bump spdlog/1.8.2
  ...
@prince-chrismc prince-chrismc mentioned this pull request Apr 25, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants