Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10866

Current DBus headers are broken

    • Icon: Bug Bug
    • Resolution: Expected Behavior
    • Icon: Normal Normal
    • None
    • None
    • Hide
      1. Try to compile the file below with include directories equal to "/usr/include/dbus-1.0/" and linking to "libdbus-1". You can do this using the following command: g++ main-1.cpp -o main -I/usr/include/dbus-1.0/ -lutil -ldbus-1
      1. Get an error for <dbus/dbus-arch-deps.h> not existing
      Show
      1. Try to compile the file below with include directories equal to "/usr/include/dbus-1.0/" and linking to "libdbus-1". You can do this using the following command: g++ main-1.cpp -o main -I/usr/include/dbus-1.0/ -lutil -ldbus-1 1. Get an error for <dbus/dbus-arch-deps.h> not existing

      I was trying to write an application using the low level C API for DBus. The headers for that are provided under "/usr/include/dbus-1.0/dbus/". We seem to be missing an autogenerated header named "dbus-arch-deps.h". This is like a configure header for the dbus API, it provides version numbers and a couple of type definitions. This file should have been generated automatically since it's an ".in" file but this seems to not happen.

      Because this file is missing, the main "dbus/dbus.h" header is basically broken. This isn't just our issue, Ubuntu too doesn't have the header. At first I thought that it might be dbus' fault but it turns out that when doing the default build steps locally:

      1. ./autogen.sh
      2. ./configure.sh
      3. make -j 24

      the file does get generated under the `dbus/` directory of the source code. I recommend we put this at low priority since this probably breaks a really low number of applications if any due to most developers preferring to use GDBus, QTDBus or other abstraction layers

            Unassigned Unassigned
            madman10k madman10k
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: