gettext problem (was Re: desktop-file-utils port problem)

Andrey Chernov ache at freebsd.org
Thu Mar 22 15:36:08 UTC 2007


On Thu, Mar 22, 2007 at 10:19:53AM -0400, Joe Marcus Clarke wrote:
> >Yes, adding --disable-threads to gettext completely fix the crash!
>
> Can you report this to Ade?

As you can see, first my reply about --disable-threads and all next CC'ed
already :)

> >(update-desktop-database itself remains still linked with pthread, comes
> >from libicui18n)
> 
> This may be problematic, too, unless glib's pkg-config file includes 
> PTHREAD_LIBS.

I don't rebuild everything after making libintl not pthreaded, but 
glib-2.0 is pthreaded too because of libicui18n, don't know is it right:
/usr/local/lib/libglib-2.0.so.0:
        libicui18n.so.36 => /usr/local/lib/libicui18n.so.36 (0x28393000)
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x28176000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x284c4000)
        libicuuc.so.36 => /usr/local/lib/libicuuc.so.36 (0x285b4000)
        libicudata.so.36 => /usr/local/lib/libicudata.so.36 (0x286c6000)
        libpthread.so.2 => /lib/libpthread.so.2 (0x2817f000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x29076000)
        libm.so.4 => /lib/libm.so.4 (0x281af000)

> I don't know how international update-desktop-database really is.  
Running
> with the verbose flag is not something people typically do.

It is.
There is references to gettext inside update-desktop-database.c code, f.e.
those _(...) (gettext(...) calls) and _N(...) (gettext_noop(...) calls)
Defines are in glib-2.0/glib/gi18n.h
There is no own gettext translation installed because it tends to use
glib's one.

-- 
http://ache.pp.ru/


More information about the freebsd-gnome mailing list