bugGNU gettext - Bugs: bug #32351, symbol conflicts, g_*, between...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32351: symbol conflicts, g_*, between glib2 and embedded gnulib-local

Submitter:  Rex Dieter <rdieter>
Submitted:  Fri 04 Feb 2011 02:40:13 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Not a Bug
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Fri 04 Feb 2011 06:07:08 PM UTC, comment #5: 


> an unversioned .so symlink to link against still gets
> installed for that library even if it makes no sense to link
> it, presumably because libtool doesn't support installing only
> the versioned file


Yes. libtool does not distinguish "public" from "private"
libraries.

> it definitely is a bug in gnulib. You cannot assume that
> gettextlib is the only place where that module will end up
> used.


No. The source code of g_hash_table_insert is in
gettext/gnulib-local/lib/glib/ghash.c. This directory
belongs to gettext, not gnulib. No package except the gettext
package uses this source code.

Bruno Haible <haible>
Group administrator
Fri 04 Feb 2011 05:21:00 PM UTC, comment #4: 

Well, maybe it's not a bug in gettext (but an unversioned .so symlink to link against still gets installed for that library even if it makes no sense to link it, presumably because libtool doesn't support installing only the versioned file), but it definitely is a bug in gnulib. You cannot assume that gettextlib is the only place where that module will end up used. If something uses these, maybe indirectly through a library, then through some other library, glib2 is dragged in too, we still have a conflict! Should I refile this on the gnulib tracker?

Kevin Kofler <kevinkofler>
Fri 04 Feb 2011 04:04:43 PM UTC, comment #3: 

Thanks!

looks like blender is the trouble-maker here.

Rex Dieter <rdieter>
Fri 04 Feb 2011 03:53:06 PM UTC, comment #2: 

https://bugzilla.redhat.com/show_bug.cgi?id=650471 contains this:

> Thread 1 (Thread 0x7ffff7fa2740 (LWP 3361)):
> #0  0x0000000000000000 in ?? ()
> #1  0x00000037cd258a4a in g_hash_table_insert () from

/usr/lib64/libgettextlib-0.17.so

> #2  0x00007fffe79d6b7c in gconf_client_get_default () from

/usr/lib64/libgconf-2.so.4

No executable or shared library outside the gettext package is
supposed to link against libgettextlib or libgettextsrc.
You need to find out (using 'ldd') which executable or
library introduced the dependency to libgettextlib or
libgettextsrc, and cut this dependency.

The only libraries provided by gettext for use by other packages
are libintl, libasprintf, and libgettextpo.

Bruno Haible <haible>
Group administrator
Fri 04 Feb 2011 02:51:30 PM UTC, comment #1: 

sent message to gnulib-bugs list for advice,
http://lists.gnu.org/archive/html/bug-gnulib/2011-02/threads.html
(should show up shortly)

Rex Dieter <rdieter>
Fri 04 Feb 2011 02:40:13 PM UTC, original submission:  

Per downstream report,
https://bugzilla.redhat.com/show_bug.cgi?id=650471

We're experiencing crashes due to an apparent symbol conflict between glib2 and gettext's embedded gnulib-local over:
g_hash_table_insert
(there are likely others).

Rex Dieter <rdieter>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kevinkofler (Posted a comment)
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by rdieter (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone Build
    2011-02-04 haible StatusNone Not a Bug
        Assigned toNone haible
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code