Date: Tue, 08 Apr 2008 04:24:00 +0800 From: darcsis@gmail.com (Denise H. G.) To: "Michael Johnson" <ahze@ahze.net> Cc: gnome@freebsd.org, andy.lavr@gmail.com Subject: Re: Error compile /usr/ports/sysutils/gnome-settings-daemon FreeBSD 7-STABLE Message-ID: <86prt1quqn.fsf@pluton.xbsd.name> In-Reply-To: <b2203fed0804071229x52c4c3e1l689c1cf05d59a148@mail.gmail.com> (Michael Johnson's message of "Mon\, 7 Apr 2008 15\:29\:29 -0400") References: <200804072120.41048.andy.lavr@reactor-xg.kiev.ua> <b2203fed0804071229x52c4c3e1l689c1cf05d59a148@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Michael Johnson" <ahze@ahze.net> writes: > 2008/4/7 Andrei V. Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>: > >> >> Hi! >> >> > Fixed, thanks! > downgraded to 2.22.0 ? it seems that the problem was due to a tiny bug (?) in the source file. the patch below would fix the problem. gnome-settings-daemon/files/patch-sound-gsd-sound-manager.c ---------------------------------------------------------------------------- --- plugins/sound/gsd-sound-manager.c 2008-03-27 21:11:17.000000000 +0800 +++ plugins/sound/gsd-sound-manager.c 2008-04-08 03:02:50.000000000 +0800 @@ -27,6 +27,7 @@ #include <stdio.h> #include <unistd.h> #include <string.h> +#include <signal.h> #include <errno.h> #include <locale.h> ---------------------------------------------------------------------------= -- > >> >> >> # uname -a >> FreeBSD datacenter.technica-03.local 7.0-STABLE FreeBSD 7.0-STABLE #0: M= on >> Apr >> 7 14:10:00 EEST 2008 >> root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP-DATACENTER >> i386 >> >> >> >> >> --------------------------------------- >> >> >> >> cc -DHAVE_CONFIG_H -I. -I../.. -I../../gnome-settings-daemon >> -I../../plugins/sounds/libsounds >> -DGNOME_SETTINGS_LOCALEDIR=3D\"/usr/local/share/locale\" -I/usr/local/in= clude >> -D_THREAD_SAFE -DORBIT2=3D1 -D_REENTRANT -I/usr/local/include/gtk-2.0 >> -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 >> -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 >> -I/usr/local/include -I/usr/local/include/glib-2.0 >> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2 >> -I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 >> -I/usr/local/include/gnome-desktop-2.0 -I/usr/local/include/libgnomeui-2= .0 >> -I/usr/local/include/startup-notification-1.0 >> -I/usr/local/include/libart-2.0 -I/usr/local/include/gnome-keyring-1 >> -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libbonoboui-2.0 >> -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gnome-vfs-2= .0 >> -I/usr/local/lib/gnome-vfs-2.0/include -I/usr/local/include/libbonobo-2.0 >> -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libxml2 >> -I/usr/local/include/gail-1.0 -I/usr/local/include/libglade-2.0 >> -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include >> -DORBIT2=3D1 -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/libgnome-2= .0 >> -I/usr/local/include/orbit-2.0 -I/usr/local/include/gconf/2 >> -I/usr/local/include/gnome-vfs-2.0 -I/usr/local/lib/gnome-vfs-2.0/include >> -I/usr/local/include -I/usr/local/include/glib-2.0 >> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libbonobo-2.0 >> -I/usr/local/include/bonobo-activation-2.0 >> -I/usr/local/include/libgnomeui-2.0 -I/usr/local/include/libart-2.0 >> -I/usr/local/include/gnome-keyring-1 -I/usr/local/include/libbonoboui-2.0 >> -I/usr/local/include/libgnomecanvas-2.0 -I/usr/local/include/gtk-2.0 >> -I/usr/local/include/libxml2 -I/usr/local/include/pango-1.0 >> -I/usr/local/include/gail-1.0 -I/usr/local/include/freetype2 >> -I/usr/local/include/atk-1.0 -I/usr/local/lib/gtk-2.0/include >> -I/usr/local/include/cairo -I/usr/local/include -O2 -fno-strict-aliasing >> -pipe -O2 -pipe -march=3Dnative -mtune=3Dnative -mmmx -msse2 -msse3 >> -fno-strict-aliasing -fstack-protector -Wformat -Wformat-security -s >> -march=3Dprescott -MT >> libsound_la-gsd-sound-manager.lo -MD -MP -MF >> .deps/libsound_la-gsd-sound-manager.Tpo -c >> gsd-sound-manager.c -fPIC -DPIC -o .libs/libsound_la-gsd-sound-manager.o >> gsd-sound-manager.c: In function 'stop_child': >> gsd-sound-manager.c:178: error: 'SIGTERM' undeclared (first use in this >> function) >> gsd-sound-manager.c:178: error: (Each undeclared identifier is reported >> only >> once >> gsd-sound-manager.c:178: error: for each function it appears in.) >> gmake[4]: *** [libsound_la-gsd-sound-manager.lo] =D0=9E=D1=88=D0=B8=D0= =B1=D0=BA=D0=B0 1 >> gmake[4]: Leaving directory >> >> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.= 22.1/plugins/sound' >> gmake[3]: *** [all-recursive] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 >> gmake[3]: Leaving directory >> >> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.= 22.1/plugins/sound' >> gmake[2]: *** [all-recursive] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 >> gmake[2]: Leaving directory >> >> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.= 22.1/plugins' >> gmake[1]: *** [all-recursive] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 >> gmake[1]: Leaving directory >> >> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.= 22.1' >> gmake: *** [all] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 >> *** Error code 2 >> >> Stop in /usr/ports/sysutils/gnome-settings-daemon. >> ** Command failed [exit code >> 1]: /usr/bin/script -qa /var/tmp/portupgrade.96950.0 env >> UPGRADE_TOOL=3Dportupgrade UPGRADE_PORT=3Dgnome-settings-daemon-2.22.0 >> UPGRADE_PORT_VER=3D2.22.0 make >> ** Fix the problem and try again. >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> ! sysutils/gnome-settings-daemon (gnome-settings-daemon-2.22.0) >> (compiler error) >> >> >> >> >> -------------------------------------- >> >> >> >> >> -- >> Best regards, Andrei Lavreniyuk (andy.lavr@gmail.com) >> > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 Denise H. G. <darcsis AT gmail DOT com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86prt1quqn.fsf>