generic-poky/meta/recipes-core/dbus
Hongxu Jia 3f4fb3936e dbus: support large-file for stat64
While starting dbus-daemon on a 32-bit linux host and it invokes
fstat to load /etc/dbus-1/system.conf through NFS. If system.conf
was created with a large indoe number on 64-bit host. The above
fstat invoking failed. Here is the log of strace:
............
$ ls -i /etc/dbus-1/system.conf
53778558109 /etc/dbus-1/system.conf

$ strace /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
|open("/etc/dbus-1/system.conf", O_RDONLY) = 4
|fstat64(4, {st_mode=S_IFREG|0644, st_size=3340, ...}) = 0
|close(4) = 0
|close(3) = 0
|write(2, "Failed to start message bus: Fai"..., 109Failed to start message bus:
Failed to stat "/etc/dbus-1/system.conf": Value too large for defined data type
|) = 109
|exit_group(1) = ?
|+++ exited with 1 +++
............

In this situation, we should support large-file for stat64. Add marco
AC_SYS_LARGEFILE to do the detection at configure time. It can be disabled
by configuring with the `--disable-largefile' option.

[YOCTO: #8863]

(From OE-Core rev: 33a7a9b3efafc35ed1409fdfa8ab8f544f1babc3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-01-11 23:26:31 +00:00
..
dbus dbus: support large-file for stat64 2016-01-11 23:26:31 +00:00
dbus-glib dbus-glib: Upgrade to 0.102 2014-12-03 12:23:57 +00:00
dbus-glib.inc meta: more removals of redunant FILES_${PN}-dbg 2015-12-16 11:56:30 +00:00
dbus-glib_0.104.bb dbus-glib: 0.102 -> 0.104 2015-04-21 07:20:23 +01:00
dbus-test_1.8.20.bb package_regex.inc: split entries with odd-even versioning into their own recipes 2015-12-08 10:20:51 +00:00
dbus_1.8.20.bb dbus: support large-file for stat64 2016-01-11 23:26:31 +00:00