Opened 9 years ago

Closed 8 years ago

#1049 closed task (fixed)

D-Bus 1.10.18

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

Description (last modified by William Harrington)

Change History (12)

comment:4 by William Harrington, 9 years ago

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 by William Harrington, 9 years ago

Description: modified (diff)
Summary: D-Bus 1.9.20D-Bus 1.10.0

comment:6 by William Harrington, 9 years ago

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 by William Harrington, 9 years ago

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 by William Harrington, 9 years ago

Description: modified (diff)
Summary: D-Bus 1.10.0D-Bus 1.10.2

comment:9 by William Harrington, 9 years ago

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

comment:10 by William Harrington, 9 years ago

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 by William Harrington, 9 years ago

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 by William Harrington, 9 years ago

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

comment:13 by William Harrington, 8 years ago

Description: modified (diff)
Summary: D-Bus 1.10.2D-Bus 1.10.18

comment:14 by William Harrington, 8 years ago

Updated version in book at commit d75d0835709e0018a181045f369befc01f62ee2e

comment:15 by William Harrington, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.