Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44465 closed defect (fixed)

libgnome fails to build on yosemite

Reported by: platipodium (Carsten Lemmen) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libgnome

Description

On Darwin 14.0.0 (Mac OSX 10.10 Yosemite) libgnome does not build

:info:build   GEN      libgnometypebuiltins.h
:info:build   CC       gnome-program.lo
:info:build   CC       gnome-i18n.lo
:info:build   CC       gnome-init.lo
:info:build gnome-i18n.c:58:10: error: unknown type name 'GStaticRecMutex'
:info:build   static GStaticRecMutex lang_list_lock = G_STATIC_REC_MUTEX_INIT;
:info:build          ^
:info:build gnome-i18n.c:58:43: error: use of undeclared identifier 'G_STATIC_REC_MUTEX_INIT'
:info:build   static GStaticRecMutex lang_list_lock = G_STATIC_REC_MUTEX_INIT;
:info:build                                           ^
:info:build gnome-i18n.c:63:3: error: implicit declaration of function 'g_static_rec_mutex_lock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   g_static_rec_mutex_lock (&lang_list_lock);
:info:build   ^
:info:build gnome-i18n.c:63:3: note: did you mean 'g_rec_mutex_lock'?
:info:build /opt/local/include/glib-2.0/glib/gthread.h:195:17: note: 'g_rec_mutex_lock' declared here
:info:build void            g_rec_mutex_lock                (GRecMutex      *rec_mutex);
:info:build                 ^
:info:build gnome-i18n.c:74:3: error: implicit declaration of function 'g_static_rec_mutex_unlock' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
:info:build   g_static_rec_mutex_unlock (&lang_list_lock);
:info:build   ^
:info:build gnome-i18n.c:74:3: note: did you mean 'g_static_rec_mutex_lock'?
:info:build gnome-i18n.c:63:3: note: 'g_static_rec_mutex_lock' declared here
:info:build   g_static_rec_mutex_lock (&lang_list_lock);
:info:build   ^
:info:build 4 errors generated.

Change History (4)

comment:1 Changed 10 years ago by dbevans (David B. Evans)

This strikes me as not being Yosemite specific but a duplicate of #43589 which was fixed today in r122755.

Please update your ports tree, retest and let me know if this fixed your problem as well. Thanks.

comment:2 in reply to:  1 Changed 10 years ago by platipodium (Carsten Lemmen)

Replying to devans@…:

This strikes me as not being Yosemite specific but a duplicate of #43589 which was fixed today in r122755.

Please update your ports tree, retest and let me know if this fixed your problem as well. Thanks.

Works for me after port update. Thanks.

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

comment:4 Changed 10 years ago by dbevans (David B. Evans)

Keywords: yosemite removed
Version: 2.3.99
Note: See TracTickets for help on using tickets.