Re: gnome2 build error (evolution-data-server-2.32.1_4)

From: David Chisnall <theraven_at_FreeBSD.org>
Date: Wed, 18 Sep 2013 15:33:32 +0100
This looks like the namespace pollution that was caused by iconv.h including stdbool.h, which I have already fixed.

David

On 18 Sep 2013, at 14:57, Ricardo Campos Passanezi <riccp_at_ige.unicamp.br> wrote:

> Hello, I was trying to install gnome2 port but it ends up with an error
> in evolution-data-server. Any clues?
> 
> 
> 
> ===>  Building for evolution-data-server-2.32.1_4
> gmake[7]: Entering directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1'
> gmake  all-recursive
> gmake[8]: Entering directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1'
> Making all in libedataserver
> gmake[9]: Entering directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/libedataserver'
>  CC     libedataserver_1_2_la-e-account-list.lo
>  CC     libedataserver_1_2_la-e-account.lo
>  CC     libedataserver_1_2_la-e-categories.lo
>  CC     libedataserver_1_2_la-e-flag.lo
>  CC     libedataserver_1_2_la-e-iterator.lo
>  CC     libedataserver_1_2_la-e-list.lo
>  CC     libedataserver_1_2_la-e-list-iterator.lo
>  CC     libedataserver_1_2_la-e-memory.lo
> e-flag.c:43:15: warning: 'g_cond_new' is deprecated [-Wdeprecated-declarations]
>        flag->cond = g_cond_new ();
>                     ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:277:17: note: 'g_cond_new' declared here
> GCond *         g_cond_new              (void);
>                ^
> e-flag.c:44:16: warning: 'g_mutex_new' is deprecated [-Wdeprecated-declarations]
>        flag->mutex = g_mutex_new ();
>                      ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:273:17: note: 'g_mutex_new' declared here
> GMutex *        g_mutex_new             (void);
>                ^
> e-flag.c:161:8: warning: 'g_cond_timed_wait' is deprecated [-Wdeprecated-declarations]
>                if (!g_cond_timed_wait (flag->cond, flag->mutex, abs_time))
>                     ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:281:17: note: 'g_cond_timed_wait' declared here
> gboolean        g_cond_timed_wait       (GCond          *cond,
>                ^
> e-flag.c:182:2: warning: 'g_cond_free' is deprecated [-Wdeprecated-declarations]
>        g_cond_free (flag->cond);
>        ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:279:17: note: 'g_cond_free' declared here
> void            g_cond_free             (GCond  *cond);
>                ^
> e-flag.c:183:2: warning: 'g_mutex_free' is deprecated [-Wdeprecated-declarations]
>        g_mutex_free (flag->mutex);
>        ^
> /usr/local/include/glib-2.0/glib/deprecated/gthread.h:275:17: note: 'g_mutex_free' declared here
> void            g_mutex_free            (GMutex *mutex);
>                ^
> 5 warnings generated.
> e-account.c:214:11: error: cannot combine with previous 'type-name' declaration specifier
>        gboolean bool;
>                 ^
> /usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
> #define bool    _Bool
>                ^
> e-account.c:214:2: warning: declaration does not declare anything [-Wmissing-declarations]
>        gboolean bool;
>        ^~~~~~~~~~~~~
> e-account.c:218:8: error: expected identifier or '('
>                bool = (!strcmp ((gchar *)buf, "true") || !strcmp ((gchar *)buf, "yes"));
>                     ^
> e-account.c:221:7: error: expected expression
>                if (bool != *val) {
>                    ^
> /usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
> #define bool    _Bool
>                ^
> e-account.c:222:11: error: expected expression
>                        *val = bool;
>                               ^
> /usr/include/stdbool.h:37:14: note: expanded from macro 'bool'
> #define bool    _Bool
>                ^
> e-categories.c:529:2: warning: 'g_atexit' is deprecated [-Wdeprecated-declarations]
>        g_atexit (finalize_categories);
>        ^
> /usr/local/include/glib-2.0/glib/gutils.h:253:6: note: 'g_atexit' declared here
> void    g_atexit                (GVoidFunc    func);
>        ^
> 1 warning and 4 errors generated.
> gmake[9]: *** [libedataserver_1_2_la-e-account.lo] Error 1
> gmake[9]: *** Waiting for unfinished jobs....
> 1 warning generated.
> gmake[9]: Leaving directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1/libedataserver'
> gmake[8]: *** [all-recursive] Error 1
> gmake[8]: Leaving directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1'
> gmake[7]: *** [all] Error 2
> gmake[7]: Leaving directory `/usr/obj/usr/ports/databases/evolution-data-server/work/evolution-data-server-2.32.1'
> ===> Compilation failed unexpectedly.
> Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
> the maintainer.
> *** Error code 1
> 
> Stop.
> make[6]: stopped in /usr/ports/databases/evolution-data-server
> *** Error code 1
> 
> Stop.
> make[5]: stopped in /usr/ports/databases/evolution-data-server
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/ports/devel/bug-buddy
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/ports/x11-toolkits/py-gnome-desktop
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/ports/games/gnome-games
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/ports/x11/gnome2
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/ports/x11/gnome2
> 
> 
> 
> -- 
> Ricardo Campos Passanezi - Supervisor de Seção
> Chave PGP e GPG Pública em: http://www.ige.unicamp.br/~riccp
> Instituto de Geociências - http://www.ige.unicamp.br - UNICAMP
> Tel: (19) 3521 4560
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Wed Sep 18 2013 - 12:33:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC