Package: dbus Version: 0.23.4-1 Severity: important Tags: patch There was a problem autobuilding your package:
Automatic build of dbus_0.23.4-1 on beethoven by sbuild/hurd-i386 1.170.5 [...] ** Using build dependencies supplied by package: Build-Depends: cdbs (>= 0.4.5.1), debhelper (>= 4.1.46), libglib2.0-dev, libexpat-dev, doxygen, docbook-utils, python, libgtk2.0-dev, python2.3-pyrex (>= 0.9.2.1-3), xmlto, python2.3-dev ** Filtered missing central deps that are dependencies of or provide build-deps: libexpat1-dev (>= 1.95.6) [...] The following NEW packages will be installed: docbook-utils docbook-xml docbook-xsl gsfonts jadetex libatk1.0-0 libatk1.0-dev libexpat1-dev libfontconfig1-dev libfreetype6-dev libgcrypt11 libgnutls11 libgpg-error0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgtk2.0-dev libjpeg62 libkpathsea3 liblzo1 libopencdk8 libpango1.0-0 libpango1.0-common libpango1.0-dev libpaper-utils libpaper1 libsgmls-perl libt1-5 libtasn1-2 libtiff4 libwww-ssl0 libxaw7 libxcursor1 libxft-dev libxft2 libxml2 libxml2-utils libxrender-dev libxslt1.1 lynx mime-support python python2.3 python2.3-dev python2.3-pyrex render-dev sgmlspl tetex-base tetex-bin tetex-extra xmlto xsltproc [...] Checking correctness of source dependencies... Toolchain package versions: libc0.3-dev_2.3.2.ds1-22 gnumach-dev_1:20050501-2 hurd-dev_20050513-2 gcc-3.3_1:3.3.6-4 g++-3.3_1:3.3.6-4 binutils_2.15-5 libstdc++5-3.3-dev_1:3.3.6-4 libstdc++5_1:3.3.6-4 ------------------------------------------------------------------------------ dpkg-source: extracting dbus in dbus-0.23.4 dpkg-buildpackage: source package is dbus dpkg-buildpackage: source version is 0.23.4-1 dpkg-buildpackage: host architecture is hurd-i386 [...] debian/rules build [...] cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -g -Wall -O2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-sysdeps.lo -MD -MP -MF .deps/dbus-sysdeps.Tpo -c dbus-sysdeps.c -fPIC -DPIC -o .libs/dbus-sysdeps.o dbus-sysdeps.c: In function `_dbus_read_credentials_unix_socket': dbus-sysdeps.c:865: error: too few arguments to function `dbus_set_error' make[4]: *** [dbus-sysdeps.lo] Error 1 make[4]: Leaving directory `/build/mbanck/dbus-0.23.4/dbus' make[3]: *** [all] Error 2 make[3]: Leaving directory `/build/mbanck/dbus-0.23.4/dbus' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/mbanck/dbus-0.23.4' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/mbanck/dbus-0.23.4' make: *** [debian/stamp-makefile-build] Error 2 ****************************************************************************** Build finished at 20050602-1949 FAILED [dpkg-buildpackage died] This is because that code is guarded by #ifdef HAVE_CMSGCRED, which is not defined on Linux, and dbus_set_error gets called incorrectly there: dbus_set_error (error, DBUS_ERROR_FAILED); Patch attached and filed upstream as #3461. cheers, Michael
--- dbus-0.23.4/dbus/dbus-sysdeps.c.orig 2005-06-02 20:00:58.000000000 +0200 +++ dbus-0.23.4/dbus/dbus-sysdeps.c 2005-06-02 20:01:37.000000000 +0200 @@ -862,8 +862,8 @@ #ifdef HAVE_CMSGCRED if (cmsg->cmsg_len < sizeof (cmsgmem) || cmsg->cmsg_type != SCM_CREDS) { - dbus_set_error (error, DBUS_ERROR_FAILED); - _dbus_verbose ("Message from recvmsg() was not SCM_CREDS\n"); + dbus_set_error (error, DBUS_ERROR_FAILED, + "Message from recvmsg() was not SCM_CREDS"); return FALSE; } #endif