Skip to content

[meta-oe] Introduce recipe for sdbus-c++ library and its tools#137

Closed
sangelovic wants to merge 1 commit intoopenembedded:masterfrom
Kistler-Group:feature/add-sdbus-c++-recipe
Closed

[meta-oe] Introduce recipe for sdbus-c++ library and its tools#137
sangelovic wants to merge 1 commit intoopenembedded:masterfrom
Kistler-Group:feature/add-sdbus-c++-recipe

Conversation

@sangelovic
Copy link
Copy Markdown
Contributor

@sangelovic sangelovic commented Jun 12, 2019

sdbus-c++ is a high-level C++ D-Bus library written on top of systemd D-Bus implementation originally as a modern, robust replacement for dbus-c++.

There are two main recipes and one helper recipe:

  • Recipe for sdbus-c++ itself. It detects whether systemd feature is turned on. If so, it depends on systemd and links against libsystemd. Otherwise it builds libsystemd as part of building sdbus-c++. (Building of libsystemd for sdbus-c++ is performed by helper sdbus-c++-libsystemd recipe.) The recipe also supports ptest.
  • Recipe for sdbus-c++ native tools, namely sdbus-c++ code generator to generate C++ adaptor and proxy binding classes.

The recipes have been tested on yocto master.

@sangelovic sangelovic changed the title Introduce recipe for sdbus-c++ library and its tools [meta-oe] Introduce recipe for sdbus-c++ library and its tools Jun 12, 2019
@sangelovic
Copy link
Copy Markdown
Contributor Author

Hello, thanks for comments, and sorry for coming back to this after longer time. I was busy, but now is the time. I addressed your comments and at the same time bumped library version from v0.7.1 to v0.7.2 which contains an important fix. So the recipes are renamed. Please re-review... Thanks a lot!

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 9, 2019

Hello, thanks for comments, and sorry for coming back to this after longer time. I was busy, but now is the time. I addressed your comments and at the same time bumped library version from v0.7.1 to v0.7.2 which contains an important fix. So the recipes are renamed. Please re-review... Thanks a lot!

thanks for reworking on it. Can you squash all the commits into a single commit and upload again please

@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from 9e9b5ba to 10b89cf Compare July 9, 2019 18:52
@sangelovic
Copy link
Copy Markdown
Contributor Author

thanks for reworking on it. Can you squash all the commits into a single commit and upload again please

Done.

inherit cmake pkgconfig systemd ptest python3native

DEPENDS += "expat ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'meson-native ninja-native git-native gperf-native gettext-native util-linux glibc libcap', d)}"
RDEPENDS_${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'libsystemd', 'glibc libcap', d)}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think hardcoding dependency on 'glibc' is not right. Did you mean something else here ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

In this case sdbus-c++ build-depends and runtime-depends on librt library, which is AFAIK part of glibc. Do you have different suggestion in this regard?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Librt is provided by c library and is not Glibc specific secondly dependency on Glibc are automatically added and are not required to be explicitly added

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

So can I just remove glibc from DEPENDS and RDEPENDS?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

librt is provided by c library, but isn't glibc an implementation of c library for Linuxes?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

glibc is one of many, there is musl, there uclibc and maybe more. in OE we actively support musl and glibc, so hardcoding a libc dependency is not preferred unless its absolutely required then also we use COMPATIBLE_HOST variable to control the recipes for targets

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

OK, glibc was removed.


inherit cmake pkgconfig systemd ptest python3native

DEPENDS += "expat ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', 'meson-native ninja-native git-native gperf-native gettext-native util-linux glibc libcap', d)}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think hardcoding dependency on 'glibc' is not right. Did you mean something else here ?
and I dont understand why these dependencies are conditional on systemd. They should be added
in general.

Copy link
Copy Markdown
Contributor Author

@sangelovic sangelovic Jul 10, 2019

Choose a reason for hiding this comment

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

Things are conditional because of flexibility. sdbus-c++ has two modes of building. One is when entire systemd ecosystem is available in the system. Then libsystemd shared library, the library with lower level D-Bus C implementation which sdbus-c++ depends on, is available, and will be used. But sdbus-c++ provides flexibility to be used as a self-contained lib on non-systemd systems (where there is no libsystemd shared library) as well. In that case, sdbus-c++ build builds just the small needed part of entire systemd and incorporates it as part of sdbus-c++ lib, making sdbus-c++ independent of systemd. Hence this conditional logic in the recipe which checks whether systemd feature is on or off. The user of yocto doesn't care, they build sdbus-c++ into their OS and it works perfectly whether or not systemd ecosystem is present.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Regarding glibc, see previous comment.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

When sdbus-c++ needs to build that sd-bus part of systemd, which is in libsystemd, it needs all those additional deps, like meson-native ninja-native libpcap etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Okay and to be clear these dependencies are not needed when building without systemd

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay and to be clear these dependencies are not needed when building without systemd

Yes, when building sdbus-c++ in a system where systemd feature is turned on (systemd is present), these dependencies are not selected, instead simply systemd dependency is selected.

SECTION = "libs"

LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://${WORKDIR}/sdbus-cpp-${PV}/COPYING;md5=1803fa9c2c3ce8cb06b4861d75310742"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You dont need ${WORKDIR}/sdbus-cpp-${PV}/ here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

inherit cmake native

DEPENDS += "expat"
RDEPENDS_${PN} = "expat"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we only need this rdep it if tools are doing dlopen on libexpat, otherwise, shlib tool will automatically pick it up

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

EXTRA_OECMAKE = "-DBUILD_CODE_GEN=ON \
-DBUILD_DOC=ON \
-DBUILD_DOXYGEN_DOC=OFF \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '-DBUILD_LIBSYSTEMD=OFF', '-DBUILD_LIBSYSTEMD=ON', d)} \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use PACKAGECONFIG for this and move all extra build-time and runtime dependencies for libsystemd to PACKAGECONFIG.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. Can you please review whether I've done that properly?


# Allow CMake to use git on the host machine
OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"
# Ninja is the default CMake generator in Yocto now, so let's set Unix Makefiles explicitly
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please say why, are the generated Makefiles incompatible with Ninja?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

When building the recipe with Ninja, I get: ninja: error: 'libsystemd-v242/src/LibsystemdBuildProject-build/libsystemd.a', needed by 'libsdbus-c++.so.0.7.2', missing and no known rule to make it.

sdbus-c++ uses ExternalProject feature of CMake and builds libsystemd using that. This is where it doesn't work with Ninja out of the box.

@sangelovic
Copy link
Copy Markdown
Contributor Author

I addressed all your comments, please check... Is it OK now?

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 22, 2019

please squash all into single commit and push again

@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from f70a3fd to f9de9cb Compare July 22, 2019 09:56
@sangelovic
Copy link
Copy Markdown
Contributor Author

please squash all into single commit and push again

Done.

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 23, 2019

@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Jul 23, 2019 via email

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 23, 2019

CMake Error at /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-stamp/LibsystemdBuildProject-configure--impl.cmake:19 (message):
  Command failed (1):

   '/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native/usr/bin/meson' '--buildtype=plain' '-Dstatic-libsystemd=pic' '/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject' '/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build'

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 23, 2019

The Meson build system
Version: 0.50.1
Source dir: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject
Build dir: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build
Build type: cross build
Project name: systemd
Project version: 242
Appending CFLAGS from environment: ' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native=   -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot'
Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now'
Appending CFLAGS from environment: ' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native=   -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot'
Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now'

meson.build:3:0: ERROR: Could not invoke sanity test executable: [Errno 8] Exec format error: '/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-private/sanitycheckc.exe'.

A full log can be found at /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-logs/meson-log.txt

@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Jul 23, 2019 via email

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jul 23, 2019

Build started at 2019-07-23T06:32:58.982388
Main binary: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native/usr/bin/nativepython3
Python system: Linux
The Meson build system
Version: 0.50.1
Source dir: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject
Build dir: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build
Build type: cross build
Project name: systemd
Project version: 242
Appending CFLAGS from environment: ' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native=   -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot'
Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now'
Appending CFLAGS from environment: ' -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0=/usr/src/debug/sdbus-c++/0.7.2-r0                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot=                      -fdebug-prefix-map=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot-native=   -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security  --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot'
Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now'
Sanity testing C compiler: aarch64-yoe-linux-musl-clang -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot
Is cross compiler: False.
Sanity check compiler command line: aarch64-yoe-linux-musl-clang -mcpu=cortex-a53+crc --rtlib=compiler-rt --stdlib=libc++ -mlittle-endian -Wno-error=unused-command-line-argument -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/recipe-sysroot /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-private/sanitycheckc.c -o /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-private/sanitycheckc.exe
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-private/sanitycheckc.exe

meson.build:3:0: ERROR: Could not invoke sanity test executable: [Errno 8] Exec format error: '/mnt/a/yoe/build/tmp/work/aarch64-yoe-linux-musl/sdbus-c++/0.7.2-r0/build/libsystemd-v242/src/LibsystemdBuildProject-build/meson-private/sanitycheckc.exe'.

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Aug 14, 2019

do you plan to submit a new version with fixes

@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Aug 14, 2019 via email

@kraj kraj added the feedback waiting response from submitter label Aug 14, 2019
@sangelovic sangelovic changed the title [meta-oe] Introduce recipe for sdbus-c++ library and its tools WIP: [meta-oe] Introduce recipe for sdbus-c++ library and its tools Oct 11, 2019
@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from 52eb608 to d8d8252 Compare October 13, 2019 16:19
@sangelovic
Copy link
Copy Markdown
Contributor Author

Hi Khem, I finally got time to address sdbus-c++ recipe review comments and ARM build error. I have significantly refactored the recipe. Now systemd library is built by a specific auxiliary recipe of its own - sdbus-c++-libsystemd (version of libsystemd is 242, because that's current stable version for sdbus-c++, but I'll check 243 very soon). sdbus-c++ will just depend on it, in case systemd feature is off. I've also addressed review comments of Stefan Herbrechtsmeier.

Hopefully we are getting to final accepted state of sdbus-c++ recipes.

Please could you re-review?

@sangelovic sangelovic changed the title WIP: [meta-oe] Introduce recipe for sdbus-c++ library and its tools [meta-oe] Introduce recipe for sdbus-c++ library and its tools Oct 13, 2019
@sangelovic sangelovic requested a review from kraj October 13, 2019 16:45
@kraj
Copy link
Copy Markdown
Contributor

kraj commented Oct 17, 2019

@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Oct 18, 2019 via email

@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Oct 18, 2019 via email

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Oct 22, 2019

this is mostly because its using TCLIBC = "musl" so you might want to set that in local.conf

Copy link
Copy Markdown
Contributor

@kraj kraj left a comment

Choose a reason for hiding this comment

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

Please test with TCLIBC = "musl"

@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from d8d8252 to 17f235e Compare November 2, 2019 11:29
@sangelovic
Copy link
Copy Markdown
Contributor Author

I've provided patches for MUSL. Please re-review...

@sangelovic sangelovic requested a review from kraj November 10, 2019 16:57
@kraj
Copy link
Copy Markdown
Contributor

kraj commented Nov 10, 2019

@sangelovic Please squash all the patches into a single patch and send the pull

@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from d06a3d1 to c5644ee Compare November 10, 2019 17:20
@sangelovic
Copy link
Copy Markdown
Contributor Author

sangelovic commented Nov 10, 2019

@kraj Done.

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Nov 10, 2019

I have cherry-picked it for master-next, in future add your sign-offs to commits, and commit msg guidelines are here [1]

[1] https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Nov 10, 2019

fails to build with clang/libc++/musl

http://errors.yoctoproject.org/Errors/Details/275653/

Copy link
Copy Markdown
Contributor

@kraj kraj left a comment

Choose a reason for hiding this comment

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

I think this needs a bit more love, almost there :)

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Nov 12, 2019

@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from c5644ee to 84f705c Compare January 5, 2020 22:02
sdbus-c++ is a high-level, expressive, easy-to-use C++ D-Bus client library written on top of systemd D-Bus client C library.

Signed-off-by: Stanislav Angelovic <angelovic.s@gmail.com>
@sangelovic sangelovic force-pushed the feature/add-sdbus-c++-recipe branch from 84f705c to 64b9e69 Compare January 5, 2020 22:17
@sangelovic
Copy link
Copy Markdown
Contributor Author

Hi @kraj . Thanks for having patience with me :) I fixed the clang issues. I've also updated the commit message, I hope it's along the guidelines now. Please could you re-test? I hope this could finally make it...

@sangelovic
Copy link
Copy Markdown
Contributor Author

Regarding the fetch errors, I have no idea what the issue was. Perhaps just that github was down? Because the project path and the commit hash is valid...

@kraj
Copy link
Copy Markdown
Contributor

kraj commented Jan 7, 2020

merged with b2baaae

@kraj kraj closed this Jan 7, 2020
halstead pushed a commit that referenced this pull request Mar 16, 2026
Fixes build with 32 bit machines.

- Fix build on 32-bit with 64-bit time_t by @cgzones in #136
- Misc by @cgzones in #137
- Add terminating newline also for TLS connections by @Googulator in #139
- Add RFC5425 length field by @derobert in #140
- Correct examples for ExcludeSyslogFacility and ExcludeSyslogLevel by @ngraziano in #141

Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feedback waiting response from submitter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants