pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dbus fails to build



With pkgsrc updated to today (just a few hours ago), dbus fails to build, with errors

dbus-sysdeps-unix.c: In function '_dbus_read_socket_with_unix_fds':
dbus-sysdeps-unix.c:408:19: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration]
   m.msg_control = alloca(m.msg_controllen);
                   ^
dbus-sysdeps-unix.c:408:19: warning: incompatible implicit declaration of built-in function 'alloca'
In file included from /usr/include/stddef.h:37:0,
                 from ../dbus/dbus-memory.h:31,
                 from dbus-internals.h:30,
                 from dbus-sysdeps-unix.c:33:
dbus-sysdeps-unix.c:457:36: error: 'u_char' undeclared (first use in this function)
             int *payload = (int *) CMSG_DATA (cm);
                                    ^
dbus-sysdeps-unix.c:457:36: note: each undeclared identifier is reported only once for each function it appears in
dbus-sysdeps-unix.c:457:36: error: expected expression before ')' token
             int *payload = (int *) CMSG_DATA (cm);
                                    ^
dbus-sysdeps-unix.c: In function '_dbus_write_socket_with_unix_fds_two':
dbus-sysdeps-unix.c:590:23: warning: incompatible implicit declaration of built-in function 'alloca'
       m.msg_control = alloca(m.msg_controllen);
                       ^
In file included from /usr/include/stddef.h:37:0,
                 from ../dbus/dbus-memory.h:31,
                 from dbus-internals.h:30,
                 from dbus-sysdeps-unix.c:33:
dbus-sysdeps-unix.c:597:14: error: 'u_char' undeclared (first use in this function)
       memcpy(CMSG_DATA(cm), fds, n_fds * sizeof(int));
              ^
dbus-sysdeps-unix.c:597:14: error: expected expression before ')' token
       memcpy(CMSG_DATA(cm), fds, n_fds * sizeof(int));
              ^
dbus-sysdeps-unix.c: In function '_dbus_read_credentials_socket':
dbus-sysdeps-unix.c:2125:9: warning: implicit declaration of function 'getpeereid' [-Wimplicit-function-declaration]
     if (getpeereid (client_fd.fd, &euid, &egid) == 0)
         ^
dbus-sysdeps-unix.c:2125:5: warning: nested extern declaration of 'getpeereid' [-Wnested-externs]
     if (getpeereid (client_fd.fd, &euid, &egid) == 0)
     ^
dbus-sysdeps-unix.c:597:14: error: expected expression before ')' token
       memcpy(CMSG_DATA(cm), fds, n_fds * sizeof(int));
              ^
dbus-sysdeps-unix.c: In function '_dbus_read_credentials_socket':
dbus-sysdeps-unix.c:2125:9: warning: implicit declaration of function 'getpeere$
     if (getpeereid (client_fd.fd, &euid, &egid) == 0)
         ^


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index