Package Details: dbus-cpp 5.0.3-1

Git Clone URL: https://aur.archlinux.org/dbus-cpp.git (read-only, click to copy)
Package Base: dbus-cpp
Description: A header-only dbus-binding leveraging C++-11
Upstream URL: https://gitlab.com/ubports/core/lib-cpp/dbus-cpp
Keywords: C++ cpp dbus library
Licenses: LGPL3
Groups: lib-cpp
Submitter: irtimmer
Maintainer: fungible
Last Packager: fungible
Votes: 36
Popularity: 0.000000
First Submitted: 2017-04-12 21:37 (UTC)
Last Updated: 2022-01-14 07:40 (UTC)

Latest Comments

1 2 3 Next › Last »

simona commented on 2024-07-20 08:07 (UTC)

.cache/yay/dbus-cpp/src/dbus-cpp-5.0.3/include/core/dbus/message.h:90:14: error: ‘int8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
90 | std::int8_t pop_byte();
| ^~
| wint_t

SDSK commented on 2022-01-15 10:55 (UTC)

@fungible Thanks for the quick response and explanation. The problem is solved!

fungible commented on 2022-01-09 20:08 (UTC)

@SDSK The package had lsb-release as a dependency and I had that installed already. I've edited the PKGBUILD so it doesn't need lsb-release. Go ahead and re-download the PKGBUILD and try building again.

SDSK commented on 2022-01-09 08:07 (UTC)

Error

-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:37 (if):
  if given arguments:

    "STREQUAL" "vivid"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!

simona commented on 2020-08-02 12:02 (UTC)

do not compile

z3ntu commented on 2020-05-27 16:39 (UTC)

properties-cpp is a runtime dependency of dbus-cpp, see this patch: https://pastebin.com/raw/6yPyrjZK

vanyasem commented on 2018-12-09 12:27 (UTC)

rebuild process-cpp against newer boost headers

luntik2012 commented on 2018-12-06 09:08 (UTC)

==> Starting build()...
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- 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.68.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system
-- Found LibXml2: /usr/lib/libxml2.so (found version "2.9.8") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.4") 
-- Checking for module 'dbus-1'
--   Found dbus-1, version 1.12.12
-- 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.68.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  
-- Boost version: 1.68.0
-- Found the following Boost libraries:
--   system
-- Boost version: 1.68.0
-- Found the following Boost libraries:
--   system
-- Boost version: 1.68.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
-- Build files have been written to: /mnt/garbage/tmp/yaourt-tmp-nick/aur-dbus-cpp/src/build
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.66.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor_source::file_descriptor_source(boost::iostreams::file_descriptor_source const&)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor::close()'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor::read(char*, long)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor_sink::file_descriptor_sink(int, boost::iostreams::file_descriptor_flags)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor_source::file_descriptor_source(int, boost::iostreams::file_descriptor_flags)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../lib/libprocess-cpp.so: undefined reference to `boost::iostreams::file_descriptor_sink::file_descriptor_sink(boost::iostreams::file_descriptor_sink const&)'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/../../../../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:90: examples/benchmark/benchmark] Error 1
make[1]: *** [CMakeFiles/Makefile2:1178: 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.
==> Restart building dbus-cpp ? [y/N]
==> ---------------------------------
==> ==> ERROR: unable to update

vanyasem commented on 2018-09-10 22:30 (UTC)

rebuild process-cpp against newer boost headers