Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2008 15:50:28 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Denise H. G." <darcsis@gmail.com>
Cc:        gnome@freebsd.org, andy.lavr@gmail.com
Subject:   Re: Error compile /usr/ports/sysutils/gnome-settings-daemon FreeBSD 7-STABLE
Message-ID:  <op.t89c1qtb9aq2h7@mezz.mezzweb.com>
In-Reply-To: <86prt1quqn.fsf@pluton.xbsd.name>
References:  <200804072120.41048.andy.lavr@reactor-xg.kiev.ua> <b2203fed0804071229x52c4c3e1l689c1cf05d59a148@mail.gmail.com> <86prt1quqn.fsf@pluton.xbsd.name>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 07 Apr 2008 15:24:00 -0500, Denise H. G. <darcsis@gmail.com> wrote:

> "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 ?

No, it's still 2.22.1.

> it seems that the problem was due to a tiny bug (?) in the source file.
>
> the patch below would fix the problem.

It's what ahze has done.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/gnome-settings-daemon/files/patch-plugins_sound_gst-sound-manager.c

Cheers,
Mezz

> 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:  
>>> Mon
>>> 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=\"/usr/local/share/locale\"  
>>> -I/usr/local/include
>>> -D_THREAD_SAFE -DORBIT2=1 -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=1 -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=native -mtune=native -mmmx -msse2 -msse3
>>> -fno-strict-aliasing -fstack-protector -Wformat -Wformat-security -s
>>> -march=prescott -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] Ошибка 1
>>> gmake[4]: Leaving directory
>>>
>>> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.22.1/plugins/sound'
>>> gmake[3]: *** [all-recursive] Ошибка 1
>>> gmake[3]: Leaving directory
>>>
>>> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.22.1/plugins/sound'
>>> gmake[2]: *** [all-recursive] Ошибка 1
>>> gmake[2]: Leaving directory
>>>
>>> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.22.1/plugins'
>>> gmake[1]: *** [all-recursive] Ошибка 1
>>> gmake[1]: Leaving directory
>>>
>>> `/usr/ports/sysutils/gnome-settings-daemon/work/gnome-settings-daemon-2.22.1'
>>> gmake: *** [all] Ошибка 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=portupgrade UPGRADE_PORT=gnome-settings-daemon-2.22.0
>>> UPGRADE_PORT_VER=2.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)


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.t89c1qtb9aq2h7>