Re: dbus selinux error
"Justin Conover" <[email protected]>
| Newsgroups | gmane.comp.gnome.garnome |
|---|---|
| Message-ID | <[email protected]> |
On 3/27/07, Joseph E. Sacco, Ph.D. <[email protected]> wrote: > > Justin, > > I built GARNOME on PowerMac running FC6, and do not see this problem > when building dbus. Hmmm... Why is that? > > I do have both FC6 and rawhide installed. When I compare the errant > include file on these two distros I notice the following > > > $ diff -u /mnt/FC6/usr/include/selinux/avc.h /usr/include/selinux/avc.h > --- /mnt/FC6/usr/include/selinux/avc.h 2007-01-15 10:37:46.000000000-0500 > +++ /usr/include/selinux/avc.h 2007-03-12 20:23:52.000000000 -0400 > @@ -304,11 +304,11 @@ > * -%1 if insufficient memory exists to add the callback. > */ > int avc_add_callback(int (*callback) > - (u_int32_t event, security_id_t ssid, > + (uint32_t event, security_id_t ssid, > security_id_t tsid, security_class_t > tclass, > access_vector_t perms, > access_vector_t * out_retained), > - u_int32_t events, security_id_t ssid, > + uint32_t events, security_id_t ssid, > security_id_t tsid, security_class_t tclass, > access_vector_t perms); > > [hmmm... How did that happen?] > > Suggestion: > * cp /usr/include/selinux/avc.h{,-} > > * edit /usr/include/selinux/avc.h > according to the the patch shown above. > > * try to build dbus > > If that works, file a bug report with bugzilla.redhat.com > > > -Joseph > > ======================================================================= > > > On Tue, 2007-03-27 at 07:28 -0500, Justin Conover wrote: > > Anyone see this before, running rawhide on x64. > > > > make[2]: Entering directory > > `/home/justin/downloads/garnome-2.18.0/freedesktop/dbus' > > [===== NOW BUILDING: dbus-1.0.2 =====] > > [fetch] complete for dbus. > > [checksum] complete for dbus. > > [extract] complete for dbus. > > [patch] complete for dbus. > > [fixup] complete for dbus. > > [configure] complete for dbus. > > ==> Running make in work/main.d/dbus- 1.0.2 > > make[3]: Entering directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2' > > make all-recursive > > make[4]: Entering directory > > `/home/justin/downloads/garnome-2.18.0/freedesktop/dbus/work/main.d/dbus- > 1.0.2' > > Making all in dbus > > make[5]: Entering directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2/dbus' > > make all-am > > make[6]: Entering directory `/home/justin/downloads/garnome- > > 2.18.0/freedesktop/dbus/work/main.d/dbus-1.0.2/dbus' > > make[6]: Nothing to be done for `all-am'. > > make[6]: Leaving directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2/dbus' > > make[5]: Leaving directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2/dbus' > > Making all in bus > > make[5]: Entering directory > > `/home/justin/downloads/garnome-2.18.0/freedesktop/dbus/work/main.d/dbus- > 1.0.2/bus' > > if cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDAEMON_NAME=\"dbus-daemon\" > > -DDBUS_COMPILATION -DDBUS_SYSTEM_CONFIG_FILE= > > \""/home/justin/garnome/etc/dbus-1/system.conf"\" > > -DDBUS_SESSION_CONFIG_FILE= > > \""/home/justin/garnome/etc/dbus-1/session.conf"\" > > -I/home/justin/garnome/include -I/home/justin/garnome/include > > -L/home/justin/garnome/lib -O2 -pipe -Wall -Wchar-subscripts > > -Wmissing-declarations -Wmissing-prototypes -Wnested-externs > > -Wpointer-arith -Wcast-align -Wsign-compare > > -Wdeclaration-after-statement -fno-common -fPIC -MT selinux.o -MD -MP > > -MF ".deps/selinux.Tpo" -c -o selinux.o selinux.c; \ > > then mv -f ".deps/selinux.Tpo" ".deps/selinux.Po"; else rm -f > > ".deps/selinux.Tpo"; exit 1; fi > > In file included from selinux.c:37: > > /usr/include/selinux/avc.h:307: error: expected ')' before 'event' > > /usr/include/selinux/avc.h:311: error: expected ';', ',' or ')' before > > 'uint32_t' > > selinux.c: In function 'bus_selinux_full_init': > > selinux.c:309: warning: implicit declaration of function > > 'avc_add_callback' > > selinux.c:309: warning: nested extern declaration of > > 'avc_add_callback' > > make[5]: *** [selinux.o] Error 1 > > make[5]: Leaving directory `/home/justin/downloads/garnome- > > 2.18.0/freedesktop/dbus/work/main.d/dbus-1.0.2/bus' > > make[4]: *** [all-recursive] Error 1 > > make[4]: Leaving directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2' > > make[3]: *** [all] Error 2 > > make[3]: Leaving directory > > `/home/justin/downloads/garnome-2.18.0 > /freedesktop/dbus/work/main.d/dbus-1.0.2' > > make[2]: *** [build-work/main.d/dbus-1.0.2/Makefile] Error 2 > > make[2]: Leaving directory `/home/justin/downloads/garnome- > > 2.18.0/freedesktop/dbus' > > make[1]: *** [../../freedesktop/dbus/cookies/main.d/install] Error 2 > > make[1]: Leaving directory > > `/home/justin/downloads/garnome-2.18.0/platform/gnome-vfs' > > make: *** [../../platform/gnome-vfs/cookies/main.d/install] Error 2 > > > -- > joseph_sacco [at] comcast [dot] net > > -- > garnome-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/garnome-list That worked! -- garnome-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/garnome-list