Skip to contentSkip to conversation

vsomeip: add recipe

PATCH Superseded Yi Zhao 3 participants 5 messages Jul 27, 2023

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH v2 1/1 vsomeip: add recipe

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
a shared library for SOME/IP (libvsomeip3.so)
a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

---
V2 Change: fix build with nodistro

 .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 +
 ...e-configuration-files-to-etc-vsomeip.patch |    28 +
 .../0003-Do-not-build-external-gtest.patch    |    68 +
 .../vsomeip/0004-Support-boost-1.76.patch     | 14220 ++++++++++++++++
 ...upport-so-that-vsomeip3-will-compile.patch | 14216 +++++++++++++++
 .../vsomeip/0006-Support-boost-1.82.patch     |    32 +
 ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 +
 ...8-Do-not-specify-PIE-flag-explicitly.patch |    41 +
 .../vsomeip/vsomeip_3.1.20.3.bb               |    72 +
 9 files changed, 29003 insertions(+)
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-build-external-gtest.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Support-boost-1.76.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Add-boost-1.78-support-so-that-vsomeip3-will-compile.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Support-boost-1.82.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0007-Do-general-cleanup-of-warnings-that-gcc-12.1.1-fired.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip/0008-Do-not-specify-PIE-flag-explicitly.patch
 create mode 100644 meta-networking/recipes-protocols/vsomeip/vsomeip_3.1.20.3.bb
meta-networking/recipes-protocols/vsomeip/vsomeip/0001-Fix-pkgconfig-dir-for-multilib.patch new file +28 -0
new file mode 100644
index 000000000..f8b50947e
@@ -0,0 +1,28 @@
+From 72a0489833311525b6e91c560dad772431b31214 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Wed, 2 Mar 2022 14:51:13 +0800
+Subject: [PATCH] Fix pkgconfig dir for multilib
+
+Upstream-Status: Pending
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 65148a5c..3b9d0248 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -580,7 +580,7 @@ endif()
+ # create pkg-config file
+ if(NOT WIN32)
+         configure_file(vsomeip3.pc.in ${PROJECT_BINARY_DIR}/vsomeip3.pc @ONLY)
+-        install(FILES ${PROJECT_BINARY_DIR}/vsomeip3.pc DESTINATION lib/pkgconfig)
++        install(FILES ${PROJECT_BINARY_DIR}/vsomeip3.pc DESTINATION ${INSTALL_LIB_DIR}/pkgconfig)
+ endif()
+ 
+ ##############################################################################
+-- 
+2.25.1
+
meta-networking/recipes-protocols/vsomeip/vsomeip/0002-Install-example-configuration-files-to-etc-vsomeip.patch new file +28 -0
new file mode 100644
index 000000000..87fc18846
@@ -0,0 +1,28 @@
+From eaefba5ed36396176f09dd2084b07c6d19497863 Mon Sep 17 00:00:00 2001
+From: Yi Zhao <[email protected]>
+Date: Wed, 9 Mar 2022 11:48:44 +0800
+Subject: [PATCH] Install example configuration files to /etc/vsomeip
+
+Upstream-Status: Inappropriate [configuration]
+
+Signed-off-by: Yi Zhao <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3b9d0248..4f8b66b8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -479,7 +479,7 @@ install(FILES ${PROJECT_BINARY_DIR}/vsomeip.pc DESTINATION lib/pkgconfig)
+ endif ()
+ 
+ install (
+-  FILES ${EXAMPLE_CONFIG_FILES} DESTINATION etc/vsomeip COMPONENT config
++  FILES ${EXAMPLE_CONFIG_FILES} DESTINATION ${DEFAULT_CONFIGURATION_FOLDER} COMPONENT config
+ )
+ 
+ # Add all targets to the build-tree export set
+-- 
+2.25.1
+
meta-networking/recipes-protocols/vsomeip/vsomeip/0003-Do-not-build-external-gtest.patch new file +68 -0

68 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0004-Support-boost-1.76.patch new file +14220 -0

2,876 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0005-Add-boost-1.78-support-so-that-vsomeip3-will-compile.patch new file +14216 -0

14,216 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0006-Support-boost-1.82.patch new file +32 -0
new file mode 100644
index 000000000..34a02584c

Lines of this file are not shown. View the raw message.

meta-networking/recipes-protocols/vsomeip/vsomeip/0007-Do-general-cleanup-of-warnings-that-gcc-12.1.1-fired.patch new file +298 -0

298 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip/0008-Do-not-specify-PIE-flag-explicitly.patch new file +41 -0

41 lines not on this page · raw message

meta-networking/recipes-protocols/vsomeip/vsomeip_3.1.20.3.bb new file +72 -0

72 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.25.1

Part of the diff is not shown here. View the raw message.

#1 lore raw
Quoted 12 lines · Yi Zhao

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
  a shared library for SOME/IP (libvsomeip3.so)
  a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
  a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
  a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

Quoted 13 lines

---
V2 Change: fix build with nodistro .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 + ...e-configuration-files-to-etc-vsomeip.patch |    28 + .../0003-Do-not-build-external-gtest.patch    |    68 + .../vsomeip/0004-Support-boost-1.76.patch     | 14220
++++++++++++++++
 ...upport-so-that-vsomeip3-will-compile.patch | 14216
+++++++++++++++
 .../vsomeip/0006-Support-boost-1.82.patch     |    32 + ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 + ...8-Do-not-specify-PIE-flag-explicitly.patch |    41 + .../vsomeip/vsomeip_3.1.20.3.bb               |    72 +

Is there some reason why you are adding this recipe for an older version and then adding big backport patches instead of just taking a newer version?

Thanks,

Anuj

author
#2 lore raw
Quoted 26 lines · Anuj
Quoted 14 lines · Yi Zhao

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
  a shared library for SOME/IP (libvsomeip3.so)
  a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
  a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
  a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

---
V2 Change: fix build with nodistro

Quoted 11 lines
  .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 +
  ...e-configuration-files-to-etc-vsomeip.patch |    28 +
  .../0003-Do-not-build-external-gtest.patch    |    68 +
  .../vsomeip/0004-Support-boost-1.76.patch     | 14220
++++++++++++++++
  ...upport-so-that-vsomeip3-will-compile.patch | 14216
+++++++++++++++
  .../vsomeip/0006-Support-boost-1.82.patch     |    32 +
  ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 +
  ...8-Do-not-specify-PIE-flag-explicitly.patch |    41 +
  .../vsomeip/vsomeip_3.1.20.3.bb               |    72 +
Quoted 3 lines

Is there some reason why you are adding this recipe for an older version and then adding big backport patches instead of just taking a newer version?

We found some regressions in the new release. So we decided to add this old stable version and plan to upgrade it after the upstream fix.

Thanks,

Yi

Quoted 4 lines

Thanks,

Anuj

#3 lore raw
Quoted 29 lines · Yi Zhao
Quoted 26 lines · Anuj
Quoted 25 lines · Yi Zhao

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
a shared library for SOME/IP (libvsomeip3.so)
a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

---
V2 Change: fix build with nodistro

  .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 +
  ...e-configuration-files-to-etc-vsomeip.patch |    28 +
  .../0003-Do-not-build-external-gtest.patch    |    68 +
  .../vsomeip/0004-Support-boost-1.76.patch     | 14220
++++++++++++++++
  ...upport-so-that-vsomeip3-will-compile.patch | 14216
+++++++++++++++
  .../vsomeip/0006-Support-boost-1.82.patch     |    32 +
  ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 +
  ...8-Do-not-specify-PIE-flag-explicitly.patch |    41 +
  .../vsomeip/vsomeip_3.1.20.3.bb               |    72 +
Quoted 7 lines
Quoted 3 lines

Is there some reason why you are adding this recipe for an older version and then adding big backport patches instead of just taking a newer version?

We found some regressions in the new release. So we decided to add this old stable version and plan to upgrade it after the upstream fix.

What is tentative timeline. I am inclined to wait for upstream fix and then get latest version

Quoted 20 lines

Thanks,

Yi

Quoted 4 lines

Thanks,

Anuj

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104047): https://lists.openembedded.org/g/openembedded-devel/message/104047
Mute This Topic: https://lists.openembedded.org/mt/100384151/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#4 lore raw
Quoted 29 lines · Khem Raj
Quoted 28 lines · Yi Zhao
Quoted 26 lines · Anuj
Quoted 25 lines · Yi Zhao

The vsomeip stack implements the http://some-ip.com/ (Scalable service-Oriented MiddlewarE over IP (SOME/IP)) protocol. The stack consists out of:
a shared library for SOME/IP (libvsomeip3.so)
a shared library for SOME/IP's configuration module (libvsomeip3-cfg.so)
a shared library for SOME/IP's service discovery (libvsomeip3-sd.so)
a shared library for SOME/IP's E2E protection module (libvsomeip3-e2e.so)

---
V2 Change: fix build with nodistro

   .../0001-Fix-pkgconfig-dir-for-multilib.patch |    28 +
   ...e-configuration-files-to-etc-vsomeip.patch |    28 +
   .../0003-Do-not-build-external-gtest.patch    |    68 +
   .../vsomeip/0004-Support-boost-1.76.patch     | 14220
++++++++++++++++
   ...upport-so-that-vsomeip3-will-compile.patch | 14216
+++++++++++++++
   .../vsomeip/0006-Support-boost-1.82.patch     |    32 +
   ...up-of-warnings-that-gcc-12.1.1-fired.patch |   298 +
   ...8-Do-not-specify-PIE-flag-explicitly.patch |    41 +
   .../vsomeip/vsomeip_3.1.20.3.bb               |    72 +
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines

Is there some reason why you are adding this recipe for an older version and then adding big backport patches instead of just taking a newer version?

We found some regressions in the new release. So we decided to add this old stable version and plan to upgrade it after the upstream fix.

What is tentative timeline. I am inclined to wait for upstream fix and then get latest version

While I can't find a release schedule, I suppose it's in the next few months.

//Yi

Quoted 18 lines
Quoted 18 lines

Thanks,

Yi

Quoted 3 lines

Thanks,

Anuj

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#104047): https://lists.openembedded.org/g/openembedded-devel/message/104047
Mute This Topic: https://lists.openembedded.org/mt/100384151/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-