Ticket #1049 (closed task: fixed)

Opened 2 years ago

Last modified 6 months ago

D-Bus 1.10.18

Reported by: kb0iic Owned by: clfs-commits@…
Priority: major Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Change History

comment:4 Changed 2 years ago by kb0iic

Those who wish to use consolekit will most likely want this. A big discussion was at the lfs-dev or lfs-support mailing list about it at one time:

--with-console-auth-dir=/run/console

    This specifies the location of the ConsoleKit auth directory.

comment:5 Changed 2 years ago by kb0iic

  • Description modified (diff)
  • Summary changed from D-Bus 1.9.20 to D-Bus 1.10.0

comment:6 Changed 2 years ago by kb0iic

New since I had 1.9 in my builds:

 http://lists.freedesktop.org/archives/systemd-devel/2015-May/032280.html

--enable-user-session

comment:7 Changed 2 years ago by kb0iic

I've used:

./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib/dbus-1.0 --localstatedir=/var --docdir=/usr/share/doc/dbus-1.10.0 --enable-user-session --with-console-auth-dir=/run/console

Result:

                    D-Bus 1.10.0
                  ==============

	prefix:                   /usr
	exec_prefix:              ${prefix}
        libdir:                   /usr/lib
        libexecdir:               /usr/lib/dbus-1.0
        bindir:                   /usr/bin
        sysconfdir:               /etc
        localstatedir:            /var
	datadir:                  /usr/share
	source code location:	  .
	compiler:		  gcc
	cflags:		           -Wall -Wextra -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused-label -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pointer-sign -Wno-type-limits -fno-common -fno-strict-aliasing -g -O2
	cppflags:		  
	cxxflags:		  -g -O2
	64-bit int:		  long
	32-bit int:		  int
	16-bit int:		  short
        Doxygen:                  no
        xmlto:                    no
        ducktype:                 no
        yelp-build:               no

        Rebuilding generated files: yes
        gcc coverage profiling:   no
        Building embedded tests:  no
        Building modular tests:   auto
            - with GLib:          no
        Installing tests:         no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building bus stats API:   yes
        Building SELinux support: no
        Building AppArmor support: no
        Building inotify support: yes
        Building kqueue support:  no
        Building systemd support: yes
        Building X11 code:        no
        Building Doxygen docs:    no
        Building Ducktype docs:   no
        Building XML docs:        no
        Building launchd support: no
        Init scripts style:       none
        Abstract socket names:    yes
        System bus socket:        /var/run/dbus/system_bus_socket
        System bus address:       unix:path=/var/run/dbus/system_bus_socket
        System bus PID file:      /var/run/dbus/pid
        Session bus listens on:   unix:tmpdir=/tmp
        Session clients connect to: autolaunch:
        Console auth dir:         /run/console
        Console owner file:       no
        Console owner file path:  
	System bus user:          messagebus
	Session bus services dir: /usr/share/dbus-1/services
        'make check' socket dir:  /tmp

Does this look correct?

comment:8 Changed 2 years ago by kb0iic

  • Description modified (diff)
  • Summary changed from D-Bus 1.10.0 to D-Bus 1.10.2

comment:9 Changed 2 years ago by kb0iic

Watch out for D-Bus and /usr/var /var issue in the thread:  http://news.gmane.org/gmane.comp.freedesktop.dbus

comment:10 Changed 2 years ago by kb0iic

Multilib 32bit:

CC="gcc ${BUILD32}" USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
    --libexecdir=/usr/lib/dbus-1.0 --localstatedir=/var \
    --docdir=/usr/share/doc/dbus-1.10.2 --enable-user-session \
    --with-console-auth-dir=/run/console

32bit results:

                    D-Bus 1.10.2
                  ==============

        prefix:                   /usr
        exec_prefix:              ${prefix}
        libdir:                   /usr/lib
        libexecdir:               /usr/lib/dbus-1.0
        bindir:                   /usr/bin
        sysconfdir:               /etc
        localstatedir:            /var
        datadir:                  /usr/share
        source code location:     .
        compiler:                 gcc -m32
        cflags:                    -Wall -Wextra -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused-label -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pointer-sign -Wno-type-limits -fno-common -fno-strict-aliasing -g -O2
        cppflags:                 
        cxxflags:                 -g -O2
        64-bit int:               long long
        32-bit int:               int
        16-bit int:               short
        Doxygen:                  no
        xmlto:                    no
        ducktype:                 no
        yelp-build:               no

        Rebuilding generated files: yes
        gcc coverage profiling:   no
        Building embedded tests:  no
        Building modular tests:   auto
            - with GLib:          no
        Installing tests:         no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building bus stats API:   yes
        Building SELinux support: no
        Building AppArmor support: no
        Building inotify support: yes
        Building kqueue support:  no
        Building systemd support: yes
        Building X11 code:        no
        Building Doxygen docs:    no
        Building Ducktype docs:   no
        Building XML docs:        no
        Building launchd support: no
        Init scripts style:       none
        Abstract socket names:    yes
        System bus socket:        /var/run/dbus/system_bus_socket
        System bus address:       unix:path=/var/run/dbus/system_bus_socket
        System bus PID file:      /var/run/dbus/pid
        Session bus listens on:   unix:tmpdir=/tmp
        Session clients connect to: autolaunch:
        Console auth dir:         /run/console
        Console owner file:       no
        Console owner file path:  
        System bus user:          messagebus
        Session bus services dir: /usr/share/dbus-1/services
        'make check' socket dir:  /tmp

Multilib 64bit:

CC="gcc ${BUILD64}" USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64 \
    --libexecdir=/usr/lib64/dbus-1.0 --localstatedir=/var \
    --docdir=/usr/share/doc/dbus-1.10.2 --enable-user-session \
    --with-console-auth-dir=/run/console

64bit results:

                    D-Bus 1.10.2
                  ==============

        prefix:                   /usr
        exec_prefix:              ${prefix}
        libdir:                   /usr/lib64
        libexecdir:               /usr/lib64/dbus-1.0
        bindir:                   /usr/bin
        sysconfdir:               /etc
        localstatedir:            /var
        datadir:                  /usr/share
        source code location:     .
        compiler:                 gcc -m64
        cflags:                    -Wall -Wextra -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused-label -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pointer-sign -Wno-type-limits -fno-common -fno-strict-aliasing -g -O2
        cppflags:                 
        cxxflags:                 -g -O2
        64-bit int:               long
        32-bit int:               int
        16-bit int:               short
        Doxygen:                  no
        xmlto:                    no
        ducktype:                 no
        yelp-build:               no

        Rebuilding generated files: yes
        gcc coverage profiling:   no
        Building embedded tests:  no
        Building modular tests:   auto
            - with GLib:          no
        Installing tests:         no
        Building verbose mode:    no
        Building assertions:      no
        Building checks:          yes
        Building bus stats API:   yes
        Building SELinux support: no
        Building AppArmor support: no
        Building inotify support: yes
        Building kqueue support:  no
        Building systemd support: yes
        Building X11 code:        no
        Building Doxygen docs:    no
        Building Ducktype docs:   no
        Building XML docs:        no
        Building launchd support: no
        Init scripts style:       none
        Abstract socket names:    yes
        System bus socket:        /var/run/dbus/system_bus_socket
        System bus address:       unix:path=/var/run/dbus/system_bus_socket
        System bus PID file:      /var/run/dbus/pid
        Session bus listens on:   unix:tmpdir=/tmp
        Session clients connect to: autolaunch:
        Console auth dir:         /run/console
        Console owner file:       no
        Console owner file path:  
        System bus user:          messagebus
        Session bus services dir: /usr/share/dbus-1/services
        'make check' socket dir:  /tmp

comment:11 Changed 2 years ago by kb0iic

For multilib do we only need?:

ln -sv /etc/machine-id /var/lib/dbus

Is machine-id ever going to need to be in /var/lib64/dbus?

ln -sv /etc/machine-id /var/lib64/dbus

comment:12 Changed 2 years ago by kb0iic

Okay a bit of testing, dbus-uuidgen definitely reads/writes default to /var/lib/dbus so no issues there.

comment:13 Changed 6 months ago by kb0iic

  • Description modified (diff)
  • Summary changed from D-Bus 1.10.2 to D-Bus 1.10.18

comment:14 Changed 6 months ago by kb0iic

Updated version in book at commit d75d0835709e0018a181045f369befc01f62ee2e

comment:15 Changed 6 months ago by kb0iic

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.