Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72809 - emacs warning: Symbol `_XmStrings' has different size in shared object, consider re-linking
Summary: emacs warning: Symbol `_XmStrings' has different size in shared object, cons...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-29 06:00 UTC by catkfr
Modified: 2010-09-22 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description catkfr 2004-11-29 06:00:03 UTC
Every time I launch emacs from a terminal, I get the following warning:

# emacs -nw .bashrc
emacs: Symbol `_XmStrings' has different size in shared object, consider re-linking

If I run in X, I get an additional warning:
# emacs .bashrc
emacs: Symbol `_XmStrings' has different size in shared object, consider re-linking
Warning: Cannot convert string "#000000" to type Boolean

I have had this issue on two machines for a while. I have tried remerging emacs but this hasn't solved the issue.

Here are the relevant use flags:
 # etcat -u emacs
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]

 U I [ Found these USE variables in : app-editors/emacs-21.3-r3 ]
 + + X       : Adds support for X11
 + + nls     : unknown
 + + motif   : Adds motif support (x11-libs/openmotif x11-libs/lesstif)
 - - leim    : Adds input methods support to Emacs
 + + gnome   : Adds GNOME support
 - - Xaw3d   : Adds support of the 3d athena widget set
 + + lesstif : Use lesstif over openmotif in cases where a program supports both
 - - debug   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too


Reproducible: Always
Steps to Reproduce:
1. launch emacs
2. one or two lines of warning are printed
3. emacs works fine

Actual Results:  
See details

Expected Results:  
no warnings

# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r4 i686)
=================================================================
System uname: 2.6.9-gentoo-r4 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz
Gentoo Base System version 1.6.6
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa artworkextra avi berkdb bitmap-fonts cdparanoia cdr crypt cups
dedicated divx4linux dvd dvdread encode f77 fam flac foomaticdb fortran gdbm gif
gnome gphoto2 gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ithreads
java joystick jpeg junit kde ldap lesstif libg++ libwww mad matroska mikmod mime
motif mozilla mpeg nas ncurses network nls offensive oggvorbis opengl pam pdflib
perl png pwdb python qt quicktime readline rtc samba sdl slang spell sse ssl svg
svga tcltk tcpd theora tiff truetype wmf x86 xine xml xml2 xmms xv xvid zlib"
Comment 1 catkfr 2004-12-01 03:46:42 UTC
It turns out that the second warning (pasted below) only appears in gnome. I'm running gnome 2.8 (latest ~x86 version). I don't have the warning in xfce.
Warning: Cannot convert string "#000000" to type Boolean

The other warning appears everywhere, console, xterms...
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2004-12-02 14:38:41 UTC
not a bugzilla bug
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-06 23:14:38 UTC
What happens if you recompile lesstif?
Also, if recompiling lesstiff doesn't solve anything,
does setting USE="motif -lesstif", or USE="-motif -lesstif"
make any difference? 
Comment 4 catkfr 2004-12-07 06:33:56 UTC
Thanks, recompiling lesstif solved it!
I still can't use the buffer menu (Ctrl+left click) to switch between buffers but I got rid of the warning.
Comment 5 A.J. Aranyosi 2005-04-13 09:26:26 UTC
Rebuilding lesstif didn't work for me, nor did rebuilding emacs after rebuilding lesstif.  Building emacs without motif or lesstif support worked fine, though.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-04-13 10:33:17 UTC
Are you using unstable (~x86)? ~x86 uses different motif setup,
and you might need to run motif-config to switch actual motif library
to link. I haven't sorted out what is needed for emacs ebuild to cope
with this new method of motif setup.
Comment 7 DEMAINE Benoît-Pierre, aka DoubleHP 2010-09-22 11:08:57 UTC
The error <<has different size in shared object, consider re-linking>> can be fixed by remergint the package owning the file. See bug 338347 . The issue is not in the app, but in portage 2.2, or in revdep-rebuild.