GNOME Bugzilla – Bug 331413
2.13.90 fails to build due to libxklavier
Last modified: 2006-04-11 21:57:08 UTC
JHBuild of 2.13.91 on fresh Ubuntu Breezy fails with errors in libxklavier. All other modules (except those that depend on libxklavier) build fine. Upgrading to libxklavier2.1 fixes these problems and the whole desktop builds. Note that 2.1 was a bugfix upgrade to fix gcc4 compiler errors (which is what I was getting) Errors: make if test "xno" = "xyes" ; then \ doxygen Doxyfile; \ fi; make all-recursive make[1]: Entering directory `/home/john/cvs/tarball-gnome2/libxklavier-2.0' Making all in libxklavier make[2]: Entering directory `/home/john/cvs/tarball-gnome2/libxklavier-2.0/libxklavier' if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier.lo -MD -MP -MF ".deps/xklavier.Tpo" -c -o xklavier.lo xklavier.c; \ then mv -f ".deps/xklavier.Tpo" ".deps/xklavier.Plo"; else rm -f ".deps/xklavier.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier.lo -MD -MP -MF .deps/xklavier.Tpo -c xklavier.c -fPIC -DPIC -o .libs/xklavier.o if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_evt.lo -MD -MP -MF ".deps/xklavier_evt.Tpo" -c -o xklavier_evt.lo xklavier_evt.c; \ then mv -f ".deps/xklavier_evt.Tpo" ".deps/xklavier_evt.Plo"; else rm -f ".deps/xklavier_evt.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_evt.lo -MD -MP -MF .deps/xklavier_evt.Tpo -c xklavier_evt.c -fPIC -DPIC -o .libs/xklavier_evt.o if /bin/sh ../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_config.lo -MD -MP -MF ".deps/xklavier_config.Tpo" -c -o xklavier_config.lo xklavier_config.c; \ then mv -f ".deps/xklavier_config.Tpo" ".deps/xklavier_config.Plo"; else rm -f ".deps/xklavier_config.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Werror -DDATA_DIR=\"/opt/tarball-gnome2/share/libxklavier\" -I. -I/opt/tarball-gnome2/include -I/opt/tarball-gnome2/include/libxml2 -I -I.. -DXKB_HEADERS_PRESENT=1 -DENABLE_XKB_SUPPORT=1 -DENABLE_XMM_SUPPORT=1 -g -O2 -MT xklavier_config.lo -MD -MP -MF .deps/xklavier_config.Tpo -c xklavier_config.c -fPIC -DPIC -o .libs/xklavier_config.o cc1: warnings being treated as errors xklavier_config.c: In function '_XklNodeGetXmlLangAttr': xklavier_config.c:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xklavier_config.c:32: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness xklavier_config.c:32: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [SNIP - LOTS MORE] xklavier_config.c:523: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness xklavier_config.c:523: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness xklavier_config.c:523: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness xklavier_config.c:523: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness make[2]: *** [xklavier_config.lo] Error 1 make[2]: Leaving directory `/home/john/cvs/tarball-gnome2/libxklavier-2.0/libxklavier' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/john/cvs/tarball-gnome2/libxklavier-2.0' make: *** [all] Error 2 Fix: To build with libxklavier2.1 replace the libxklavier tarball in the gnome-2.13.91.modules file with the following <tarball id="libxklavier" supports-non-srcdir-builds="no" version="2.1"> <source href="http://internap.dl.sourceforge.net/sourceforge/gswitchit/libxklavier-2.1.tar.gz" md5sum="6a44ea49f958d7c9ad319edeea338798" size="452356"/> </tarball>
Problem in tarball module set => assign to Elijah
This is a libxklavier bug for not uploading tarballs to gnome ftp as required for being in the desktop module set. See http://mail.gnome.org/archives/release-team/2006-February/thread.html for more details. Thanks for letting me know that there was a newer tarball release, though. I'll leave this open until there's a resolution on that thread.
Okay, we uploaded libxklavier 2.2 to gnome ftp and it'll be an external dependency for gnome 2.16. The gnome-2.14.0 and gnome-2.14.1 modulesets use this version, so I'm considering this fixed. :)