Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260189 - app-office/abiword-2.6 breaks with >=gnome-extra/gucharmap-2.24.3
Summary: app-office/abiword-2.6 breaks with >=gnome-extra/gucharmap-2.24.3
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL: http://bugzilla.abiword.com/show_bug....
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2009-02-24 22:26 UTC by Sumit Khanna
Modified: 2010-10-07 07:04 UTC (History)
1 user (show)

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


Attachments
revdep-rebuild log file (revdep-rebuild.log.gz,58.76 KB, application/x-gzip)
2009-02-26 04:03 UTC, Sumit Khanna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sumit Khanna 2009-02-24 22:26:42 UTC
I get to the linking stage and get the following:

x86_64-pc-linux-gnu-g++ -o abiword-dynamic                                      \
                 -O3 -march=nocona -fPIC -Wall -pedantic -D_POSIX_SOURCE -D_BSD_SOURCE -pipe -DNDEBUG -I/usr/include/libxml2  -I/usr/include/fribidi -I/usr/include/wv -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2    -I/usr/include/freetype2   -I/usr/include/freetype2 -I/usr/include/libpng12    -DHAVE_THREADS=1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -DABISIZEOF_LONG_INT=8 -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2   -DWITH_GSF_INPUT_HTTP=1 -I/usr/include/libgoffice-0.4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DENABLE_SPELL -DPACKAGE_NAME=\"abiword\" -DPACKAGE_TARNAME=\"abiword\" -DPACKAGE_VERSION=\"2.6.6\" -DPACKAGE_STRING=\"abiword\ 2.6.6\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"abiword\" -DVERSION=\"2.6.6\" -DABIWORD_SERIES=\"2.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG_INT=8 -DEMBEDDED_TARGET_GENERIC=1 -DEMBEDDED_TARGET_HILDON=2 -DEMBEDDED_TARGET_POKY=3 -DENABLE_STATUSBAR=1 -DENABLE_PRINT=1 -DHAVE_PANGOFT2=1 -DWITH_ENCHANT=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DCHECKED_ENDIANNESS=1 -DHAVE_LIBXML2=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DABI_SCANDIR_SELECT_QUALIFIER=const -DHAVE_VALGRIND_MEMCHECK_H=1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2   -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/libgnomeprintui-2.2 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0 -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12   -I/usr/include/freetype2   -I/usr/include/libgoffice-0.4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/libglade-2.0 -I/usr/include/libgnomeprint-2.2 -I/usr/include/libart-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libbonobo-2.0 -I/usr/include/libxml2 -I/usr/include/bonobo-activation-2.0   -DWITH_GNOMEVFS=1 -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12   -DWITH_GNOMEUI=1 -DSUPPORTS_UT_IDLE=1   -DABI_BUILD_VERSION=\"2.6.6\" -DABIWORD_DATADIR="\"/usr/share/abiword-2.6\"" -I'../../../../src/af/util/xp' -I'../../../../src/af/tf/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../src/af/xap/xp' -I'../../../../src/af/util/unix' -I'../../../../src/af/ev/unix' -I'../../../../src/af/gr/unix' -I'../../../../src/af/xap/unix' -I'../../../../src/wp/ap/xp' -I'../../../../src/wp/impexp/xp' -I'../../../../src/wp/ap/unix' -I'../../../../src/wp/ap/xp/ToolbarIcons' -I'../../../../src/pkg/linux/apkg' -I'../../../../src/other/spell/xp' -I'../../../../src/text/ptbl/xp' -I'../../../../src/text/fmt/xp' -I'../../../../src/text/fmt/unix'  -I../../../../../abiword-plugins        \
                -DPACKAGE_NAME="\"abiword\""    \
                ./UnixMain.cpp                  \
                -lpangoxft-1.0 -lXft -lXrender -lX11 -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0     -lSM -lICE -lX11  -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0    -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lfreetype -lz    -pthread -lgnomevfs-2 -lgconf-2 -lgsf-gnome-1 -lgsf-1 -lbonobo-2 -lxml2 -lbonobo-activation -lgmodule-2.0 -lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0   -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -lfontconfig -lgconf-2 -lgthread-2.0 -lrt -lgmodule-2.0 -lgobject-2.0 -lglib-2.0   -Wl,--export-dynamic -lenchant -lgmodule-2.0 -lglib-2.0   -lxml2 -lz -lm  -lfribidi -L/usr/lib -lwv -lwmf -lwmflite -lfreetype -lX11 -ljpeg -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 -lpng -lz -lm   -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0   -lglib-2.0    -lpng12 -lz -lpopt -lXft -lXrender -lfreetype -lz -lX11 -lfontconfig   -lfreetype -lz -pthread -lgthread-2.0 -lrt -lglib-2.0   -lgoffice-0 -lgsf-1 -lglade-2.0 -lgnomeprint-2-2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lfreetype -lz -lfontconfig -lart_lgpl_2 -lxml2 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0            \
                -L/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src/wp/main/unix -labiword-2.6
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgucharmap.so.6, needed by /usr/lib/libabiword-2.6.so, not found (try using -rpath or -rpath-link)
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_charmap_get_chartable'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_charmap_new'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_charmap_get_type'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_chapters_get_type'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_block_chapters_new'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_charmap_set_font'
/usr/lib/libabiword-2.6.so: undefined reference to `gucharmap_table_get_active_character'
collect2: ld returned 1 exit status
make[4]: *** [abiword-dynamic] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src/wp/main/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src/wp/main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src/wp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src'
make: *** [all-recursive] Error 1
 *
 * ERROR: app-office/abiword-2.6.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3054:  Called gnome2_src_compile
 *             environment, line 2357:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/abiword-2.6.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/abiword-2.6.6/temp/environment'.
 *

>>> Failed to emerge app-office/abiword-2.6.6, Log file:

>>>  '/var/tmp/portage/app-office/abiword-2.6.6/temp/build.log'

 * Messages for package app-office/abiword-2.6.6:

 *
 * ERROR: app-office/abiword-2.6.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3054:  Called gnome2_src_compile
 *             environment, line 2357:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/abiword-2.6.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/abiword-2.6.6/temp/environment'.
 *


----------

This happens on both emerge -uDN world and on a revdep-rebuild. Here is my gucharmap version:

# epm -qa | grep guchar
gucharmap-2.24.3

Reproducible: Always




 # emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.2.4, glibc-2.9_p20081201-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-x86_64-Intel-R-_Pentium-R-_D_CPU_2.80GHz-with-glibc2.2.5
Timestamp of tree: Tue, 24 Feb 2009 09:20:05 +0000
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/sumit"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 audiofile avahi berkdb bluetooth branding browserplugin bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode evo exif fam ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ipv6 isdnlog java jpeg kde ldap libcaca libnotify lirc log4j mad matroska midi mikmod mmx mono mp3 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rtc samba sdl seamonkey session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff tracker truetype unicode usb vcd vorbis wmf xinerama xml xorg xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="logitech" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-02-24 23:13:43 UTC
Either slotted or abiword should be patched.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-25 00:23:53 UTC
Hi,

first no need to generate twice the bug spam,
then, gucharmap is not slottable,
finally, please report this issue upstream and paste the link here.
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-25 19:50:49 UTC
there is something wrong with your system, I just rebuilt abiword-2.6.6 due to the gucharmap 2.24 update on my own main system and it built just fine. Please run revdep-rebuild or emerge @preserved-rebuild if you have a recent enough portage with preserved-libs feature enabled.
Comment 4 Rafał Mużyło 2009-02-25 22:31:44 UTC
I wouldn't be so sure about that -
seeing that 2.6.6 svn release tag is r25497
and r25702 note is: "port to gucharmap-2. closes bug #11493",
this time the reporter may be right, especially that
there is no gucharmap_chapters_get_type in gucharmap-2.
Comment 5 Sumit Khanna 2009-02-26 04:03:42 UTC
Created attachment 183215 [details]
revdep-rebuild log file

Gzipped standard out from revdep-rebuild (after deleting the cache). It tires to emerge abiword first and still fails.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-26 07:19:17 UTC
Hum actually this might be a problem with libtool pulling the libabiword that is installed on your system:

  -L/var/tmp/portage/app-office/abiword-2.6.6/work/abiword-2.6.6/src/wp/main/unix -labiword-2.6
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libgucharmap.so.6, needed by /usr/lib/libabiword-2.6.so, not found (try using -rpath or -rpath-link)

libtool-1 is known to generate Makefiles that can go wrong like this like in evolution-2.24 but it might also be a bug in Makefile.am. I didn't see the problem because I'm using --as-needed and abiword doesn't really link to gucharmap it seems.

A workaround for now would be to remove abiword and reinstall it.
Comment 7 Sumit Khanna 2009-02-26 15:00:06 UTC
I tried:

emerge -C abiword && emerge abiword

and it emerged successfully. :)
Comment 8 Liviu Voina 2009-05-02 03:58:40 UTC
I am emerging gnome that stopped at:

if [ -f "C/gucharmap.xml" ]; then d="../"; else d="/var/tmp/portage/gnome-extra/gucharmap-2.24.3/work/gucharmap-2.24.3/help/"; fi; \
        (cd bg/ && \
          `which xml2po` -e -p \
            "${d}bg/bg.po" \
            "${d}C/gucharmap.xml" > gucharmap.xml.tmp && \
            cp gucharmap.xml.tmp gucharmap.xml && rm -f gucharmap.xml.tmp)
Traceback (most recent call last):
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2
make[2]: *** [bg/gucharmap.xml] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/gucharmap-2.24.3/work/gucharmap-2.24.3/help'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/gucharmap-2.24.3/work/gucharmap-2.24.3'
make: *** [all] Error 2
 *
 * ERROR: gnome-extra/gucharmap-2.24.3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 1276:  Called gnome2_src_compile
 *             environment, line 1038:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-extra/gucharmap-2.24.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gucharmap-2.24.3/temp/environment'.
 *

>>> Failed to emerge gnome-extra/gucharmap-2.24.3, Log file:

>>>  '/var/tmp/portage/gnome-extra/gucharmap-2.24.3/temp/build.log'

 * Messages for package gnome-extra/gucharmap-2.24.3:

 *
 * ERROR: gnome-extra/gucharmap-2.24.3 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 1276:  Called gnome2_src_compile
 *             environment, line 1038:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/gnome-extra/gucharmap-2.24.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/gnome-extra/gucharmap-2.24.3/temp/environment'.
 *

Tried after revdep-rebuild. Please advice.
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-02 10:30:13 UTC
  File "/usr/bin/xml2po", line 35, in <module>
    import libxml2
ImportError: No module named libxml2

-> you failed at upgrading your python installation. Please run python-updater and open another bug if you still have issues.
Comment 10 Liviu Voina 2009-05-02 15:22:20 UTC
Unfortunately I have done this before I was filling the bug.

(In reply to comment #9)
>   File "/usr/bin/xml2po", line 35, in <module>
>     import libxml2
> ImportError: No module named libxml2
> -> you failed at upgrading your python installation. Please run python-updater
> and open another bug if you still have issues.

Comment 11 Liviu Voina 2009-05-02 22:15:14 UTC
(In reply to comment #10)

I have installed with no issues the older version of it:

gnome-extra/gucharmap-2.22.3




> Unfortunately I have done this before I was filling the bug.
> (In reply to comment #9)
> >   File "/usr/bin/xml2po", line 35, in <module>
> >     import libxml2
> > ImportError: No module named libxml2
> > -> you failed at upgrading your python installation. Please run python-updater
> > and open another bug if you still have issues.

Comment 12 Liviu Voina 2009-05-03 22:56:39 UTC
I have fixed. I used "python-updater -i" and then ran into http://forums.gentoo.org/viewtopic-t-712898-highlight-.html

135 packges were emrged and now I have installed gnome-extra/gucharmap-2.24.3.


(In reply to comment #11)
> (In reply to comment #10)
> I have installed with no issues the older version of it:
> gnome-extra/gucharmap-2.22.3
> > Unfortunately I have done this before I was filling the bug.
> > (In reply to comment #9)
> > >   File "/usr/bin/xml2po", line 35, in <module>
> > >     import libxml2
> > > ImportError: No module named libxml2
> > > -> you failed at upgrading your python installation. Please run python-updater
> > > and open another bug if you still have issues.

Comment 13 Hopeless 2010-03-17 18:43:45 UTC
I was about to file a new bug, but I believe what I've just encountered is similar enough to this one.

During the configure stage, abiword fails to find gucharmap, printing;
"checking for GUCHARMAP... no"

With a bit of digging around in the configure script, I found it's using pkg-config to check for "gucharmap >= 1.4", which fails because current gucharmap installs a "gucharmap-2"  pkg-config file.

This is with the currently stable abiword 2.6.8 and gucharmap 2.26.3.1

If I symlink /usr/lib/pkgconfig/gucharmap-2.pc to /usr/lib/pkgconfig/gucharmap.pc, abiword finds it but then fails to compile, unsurprisingly.

I know that would be no fix, and this is really an upstream problem, however it implies gucharmap is currently broken in abiword, and the only reason compile failures arent seen over it is because abiword never enables it, regardless of whether or not --enable-gucharmap is passed.
Comment 14 Pacho Ramos gentoo-dev 2010-09-03 15:22:23 UTC
Please test with abiword-2.8.6 as it has fixed build system and looks to compile fine for me against gucharmap 2.30.2
Comment 15 Pacho Ramos gentoo-dev 2010-10-07 07:04:27 UTC
(In reply to comment #14)
> Please test with abiword-2.8.6 as it has fixed build system and looks to
> compile fine for me against gucharmap 2.30.2
>