Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117642 - app-office/kword emerge failure on mswordimport
Summary: app-office/kword emerge failure on mswordimport
Status: RESOLVED DUPLICATE of bug 69475
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-03 11:35 UTC by Nick "folken" Matthews
Modified: 2006-02-23 08:48 UTC (History)
1 user (show)

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 Nick "folken" Matthews 2006-01-03 11:35:26 UTC
Attemping to merge kword, fails while building mswordimport

I'm currently trying to update my install of kword. This is from an attempt to build app-office/kword-1.4.2-r4. I had previously attempted to install kword-1.4.2-r6, but it was failing as well, on the mswordimport portion of the ebuild. I have updated my system to use gcc-3.4.4 and rebuilt my system with the revdep-rebuild option.


/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libmswordimport.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  mswordimport.lo document.lo conversion.lo texthandler.lo tablehandler.lo graphicshandler.lo ../../../lib/kofficeui/libkofficeui.la ../../../lib/kofficecore/libkofficecore.la ../../../lib/store/libkstore.la -L/usr/lib -lwv2 -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0
.libs/mswordimport.o: In function `MSWordImport::convert(QCString const&, QCString const&)':
mswordimport.cpp:(.text+0x9d9): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
mswordimport.cpp:(.text+0xd99): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status  

At this point, I am once again left at my shell. No notice about the ebuild failing or anything, as usually happens when an ebuild fails to merge.
Comment 1 Nick "folken" Matthews 2006-01-03 11:35:49 UTC
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 AMD Sempron(tm) Processor 2600+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X a52 aac accounting acl acpi alsa apache2 apm arts audiofile bash-completion berkdb bitmap-fonts bootsplash bzip2 cegui chroot cjk crypt cscope cups curl devil devmap dga dnd doc dts dvd dxr3 ecc eds encode enscript erandom esd exif expat fam ffmpeg flac font-server foomaticdb fortran gd gdbm gif glut gmp gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 high-ints idn ieee1394 imagemagick imap imlib intl ipv6 j2ee jack java javadoc jce jikes jpeg junit kde lcms libcaca libg++ libwww lm_sensors logitech-mouse lzw lzw-tiff mad mailbox maildir matrox mbox mikmod mime mmx mmxext mng motif mozilla mp3 mpeg mpeg2 mpeg4 ncurses network nls nptl ogg oggvorbis openal opengl oss pam pcre pdflib perforce perl pg-intdatetime png postgres ppds python qt readline recode ruby samba sdl skey slang speex spell sql sqlite sse sse2 ssl subversion svg svga svgz tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vdesktop vidix vim-pager visualization vorbis win32codecs xine xinerama xml2 xrandr xv xvid xvmc zlib video_cards_matrox userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS 
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-01-03 11:56:16 UTC
(In reply to comment #0)
> I have updated my system to use gcc-3.4.4 and rebuilt my system with
> the revdep-rebuild option.

With which revdep-rebuild option?
Comment 3 Nick "folken" Matthews 2006-01-03 11:57:46 UTC
Last bit of the kword-1.4.2-r6 build (The ebuild status message did appear this time at the end of the failure)


/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libmswordimport.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  mswordimport.lo document.lo conversion.lo texthandler.lo tablehandler.lo graphicshandler.lo ../../../lib/kofficeui/libkofficeui.la ../../../lib/kofficecore/libkofficecore.la ../../../lib/store/libkstore.la -L/usr/lib -lwv2 -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 
.libs/mswordimport.o: In function `MSWordImport::convert(QCString const&, QCString const&)':
mswordimport.cpp:(.text+0x9d9): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
mswordimport.cpp:(.text+0xd99): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status
make[4]: *** [libmswordimport.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/filters/kword/msword'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/filters/kword'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kword-1.4.2-r6/work/kword-1.4.2'
make: *** [all] Error 2

!!! ERROR: app-office/kword-1.4.2-r6 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2    
Comment 4 Nick "folken" Matthews 2006-01-03 12:05:21 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > I have updated my system to use gcc-3.4.4 and rebuilt my system with
> > the revdep-rebuild option.
> 
> With which revdep-rebuild option?
> 

revdep-rebuild --library libstdc++.so.5

I'm going over the steps from the gcc upgrade doc again, to see if there is anything from my upgrade that didn't happen, but haven't found anything yet. 

Comment 5 Nick "folken" Matthews 2006-01-05 09:56:26 UTC
This is what I get for starting a rebuild of the system before the Christmas holidays, and then just trying to emerge world after I get back. 

revdep rebuild was failing earlier because the ebuild from my installed version of kword could not be found. 

I was suprised though, isn't there a copy of the ebuild stored on the system somewhere, that revdep could use to rebuild an older package? I was under the impression that something was stored under /var/db/ or something.
Comment 6 Tama 2006-02-17 00:37:57 UTC
Same problem when running revdep-rebuild:
  Checking dynamic linking consistency...
  broken /usr/lib/kde3/libkwordlatexexport.so (requires  libMagick.so.6)
when compiling i get this error:

/bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libmswordimport.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -R /usr/kde/3.4/lib  mswordimport.lo document.lo conversion.lo texthandler.lo tablehandler.lo graphicshandler.lo ../../../lib/kofficeui/libkofficeui.la ../../../lib/kofficecore/libkofficecore.la ../../../lib/store/libkstore.la -L/usr/lib -lwv2 -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0
.libs/mswordimport.o: In function `MSWordImport::convert(QCString const&, QCString const&)':
mswordimport.cpp:(.text+0x962): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage'
mswordimport.cpp:(.text+0xd25): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: ld returned 1 exit status
make[4]: *** [libmswordimport.la] Error 1
Comment 7 Caleb Tennis (RETIRED) gentoo-dev 2006-02-23 08:46:31 UTC
are you cleaning out your portage tmpdir each time?
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2006-02-23 08:48:54 UTC

*** This bug has been marked as a duplicate of 69475 ***