Package Details: dbus-cpp 5.0.0-3

Git Clone URL: https://aur.archlinux.org/dbus-cpp.git (read-only)
Package Base: dbus-cpp
Description: A header-only dbus-binding leveraging C++-11
Upstream URL: https://code.launchpad.net/dbus-cpp
Licenses: LGPL3
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 41
Popularity: 4.096620
First Submitted: 2017-04-12 21:37
Last Updated: 2018-03-17 12:43

Latest Comments

RemoteAdmin commented on 2018-03-16 08:35

Please update the pkgrel in the PKGBUILD too ;)

aa13q commented on 2018-03-15 19:30

Hello, Iwan! I've prepared a patch to build anbox with boost 1.66:

https://gist.github.com/a-andreyev/392bb7dc461fc8040c169568a591e3fd

details: https://github.com/anbox/anbox/issues/637#issuecomment-373361974

electricprism commented on 2018-03-05 17:04

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor::write(char const*, long)'

collect2: error: ld returned 1 exit status

make[2]: *** [examples/benchmark/CMakeFiles/benchmark.dir/build.make:101: examples/benchmark/benchmark] Error 1

make[1]: *** [CMakeFiles/Makefile2:1173: examples/benchmark/CMakeFiles/benchmark.dir/all] Error 2

Reinstalling process-cpp fixed the problem, thanks.

Tharbad commented on 2018-02-18 13:45

@mcku: I had to reinstall process-cpp. Thanks

mcku commented on 2018-02-17 09:34

@Tharbad please install process-cpp package.

Tharbad commented on 2018-02-10 21:18

Getting: ==> Starting build()... -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- dbus-cpp 5.0.0 -- Boost version: 1.66.0 -- Found the following Boost libraries: -- filesystem -- program_options -- system -- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.7") -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'dbus-1' -- Found dbus-1, version 1.12.4 -- Checking for module 'process-cpp' -- Found process-cpp, version 3.0.0 -- Could NOT find Lcov (missing: LCOV_EXECUTABLE GENHTML_EXECUTABLE) -- Could NOT find gcovr (missing: GCOVR_EXECUTABLE) -- pdebuild NOT found, pre-push is going to FAIL -- Installing session and system bus config files to share/dbus-cpp -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE<br> -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- Boost version: 1.66.0 -- Found the following Boost libraries: -- system -- Cannot enable coverage targets because neither lcov nor gcovr are found. -- Configuring done CMake Warning (dev) at cmake/PrePush.cmake:82 (add_dependencies): Policy CMP0046 is not set: Error on non-existent dependency in add_dependencies. Run "cmake --help-policy CMP0046" for policy details. Use the cmake_policy command to set the policy and suppress this warning.

The dependency target "android-build" of target "pre-push" does not exist. Call Stack (most recent call first): CMakeLists.txt:60 (include) This warning is for project developers. Use -Wno-dev to suppress it.

-- Generating done Scanning dependencies of target dbus-cpp [ 4%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/fixture.cpp.o [ 8%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/bus.cpp.o [ 12%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/dbus.cpp.o [ 16%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/error.cpp.o [ 20%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/match_rule.cpp.o [ 24%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/message.cpp.o [ 28%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/service.cpp.o [ 32%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/service_watcher.cpp.o [ 36%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/asio/executor.cpp.o [ 40%] Building CXX object src/core/dbus/CMakeFiles/dbus-cpp.dir/types/object_path.cpp.o [ 44%] Linking CXX shared library libdbus-cpp.so [ 44%] Built target dbus-cpp Scanning dependencies of target benchmark [ 48%] Building CXX object examples/benchmark/CMakeFiles/benchmark.dir/main.cpp.o [ 52%] Linking CXX executable benchmark /usr/bin/ld: warning: libboost_iostreams.so.1.63.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference to boost::iostreams::file_descriptor_source::file_descriptor_source(boost::iostreams::file_descriptor_source const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference toboost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference to boost::iostreams::file_descriptor::close()' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference toboost::iostreams::file_descriptor::read(char, long)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference to boost::iostreams::file_descriptor_sink::file_descriptor_sink(int, boost::iostreams::file_descriptor_flags)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference toboost::iostreams::file_descriptor_source::file_descriptor_source(int, boost::iostreams::file_descriptor_flags)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference to boost::iostreams::file_descriptor_sink::file_descriptor_sink(boost::iostreams::file_descriptor_sink const&)' /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib/libprocess-cpp.so: undefined reference toboost::iostreams::file_descriptor::write(char const, long)' collect2: error: ld returned 1 exit status make[2]: [examples/benchmark/CMakeFiles/benchmark.dir/build.make:101: examples/benchmark/benchmark] Error 1 make[1]: [CMakeFiles/Makefile2:1173: examples/benchmark/CMakeFiles/benchmark.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build dbus-cpp.

ilikenwf commented on 2018-01-28 08:46

Please update to 5.0.0+16.10.20160809

PythonNut commented on 2017-10-24 04:29

Can confirm that the build does not succeed.

Linux volvox 4.13.9-1-zen #1 ZEN SMP PREEMPT Sat Oct 21 18:02:38 UTC 2017 x86_64 GNU/Linux

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 7.2.0 (GCC)

Anonymous comment on 2017-05-20 18:20

-- Generating done
-- Build files have been written to: /user/.cache/pacaur/dbus-cpp/src/build
[ 44%] Built target dbus-cpp
[ 52%] Built target benchmark
[ 60%] Built target geoclue
[ 68%] Built target ofono
[ 72%] Linking CXX executable upower
CMakeFiles/upower.dir/main.cpp.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status
make[2]: *** [examples/upower/CMakeFiles/upower.dir/build.make:101: examples/upower/upower] Error 1
make[1]: *** [CMakeFiles/Makefile2:1338: examples/upower/CMakeFiles/upower.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().