Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152122 - kde-base/kompare-3.5.5 compile fails
Summary: kde-base/kompare-3.5.5 compile fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 08:09 UTC by Eduard Bachmakov
Modified: 2007-02-04 12:11 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 Eduard Bachmakov 2006-10-20 08:09:41 UTC
/bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kompare/libdialogpages -I../../kompare/libdiff2 -I../../kompare/interfaces -I/usr/kde/3.5/inc
lude -I/usr/qt/3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -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 -O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibilit
y-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o komparesaveoptionsbase.lo komparesaveoptionsbase.cpp
/bin/sh ../../libtool --silent --tag=CXX --mode=link 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 -DN
DEBUG -DNO_DEBUG -O2 -O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -
fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common -o libkomparepart.la -rpath /usr/kde/3.5/l
ib/kde3 -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib    
kompare_part.lo kompareconnectwidget.lo komparesplitter.lo komparelistview.lo kompareprefdlg.lo komparesaveoptionswidget.lo komparesaveoptionsbase.lo kompare_qsplitter.moc.lo  -lkparts -lkio ../libdialogpages/li
bdialogpages.la ../libdiff2/libdiff2.la ../interfaces/libkompareinterface.la 
.libs/kompareconnectwidget.o: In function `KompareConnectWidgetFrame::KompareConnectWidgetFrame(KompareListView*, KompareListView*, ViewSettings*, KompareSplitter*, char const*)':
kompareconnectwidget.cpp:(.text+0x732): undefined reference to `QSplitterHandle::QSplitterHandle(Qt::Orientation, QSplitter*, char const*)'
.libs/kompareconnectwidget.o: In function `KompareConnectWidgetFrame::mousePressEvent(QMouseEvent*)':
kompareconnectwidget.cpp:(.text+0x97d): undefined reference to `QSplitterHandle::mousePressEvent(QMouseEvent*)'
.libs/kompareconnectwidget.o: In function `KompareConnectWidgetFrame::KompareConnectWidgetFrame(KompareListView*, KompareListView*, ViewSettings*, KompareSplitter*, char const*)':
kompareconnectwidget.cpp:(.text+0xc82): undefined reference to `QSplitterHandle::QSplitterHandle(Qt::Orientation, QSplitter*, char const*)'
.libs/komparesplitter.o: In function `KompareSplitter::doMove(bool, int, int, int, bool, int*, int*)':
komparesplitter.cpp:(.text+0x1035): undefined reference to `QSplitterLayoutStruct::getSizer(Qt::Orientation)'
.libs/kompare_qsplitter.moc.o:(.data.rel.ro._ZTV15QSplitterHandle[vtable for QSplitterHandle]+0xf0): undefined reference to `QSplitterHandle::sizeHint() const'
.libs/kompare_qsplitter.moc.o:(.data.rel.ro._ZTV15QSplitterHandle[vtable for QSplitterHandle]+0x11c): undefined reference to `QSplitterHandle::mousePressEvent(QMouseEvent*)'
.libs/kompare_qsplitter.moc.o:(.data.rel.ro._ZTV15QSplitterHandle[vtable for QSplitterHandle]+0x120): undefined reference to `QSplitterHandle::mouseReleaseEvent(QMouseEvent*)'
.libs/kompare_qsplitter.moc.o:(.data.rel.ro._ZTV15QSplitterHandle[vtable for QSplitterHandle]+0x128): undefined reference to `QSplitterHandle::mouseMoveEvent(QMouseEvent*)'
.libs/kompare_qsplitter.moc.o:(.data.rel.ro._ZTV15QSplitterHandle[vtable for QSplitterHandle]+0x148): undefined reference to `QSplitterHandle::paintEvent(QPaintEvent*)'
collect2: ld returned 1 exit status
make[3]: *** [libkomparepart.la] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kompare-3.5.5/work/kompare-3.5.5/kompare/komparepart'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kompare-3.5.5/work/kompare-3.5.5/kompare'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kompare-3.5.5/work/kompare-3.5.5'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kompare-3.5.5 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   Called kde-meta_src_compile
  kde-meta.eclass, line 379:   Called kde_src_compile
  kde.eclass, line 171:   Called kde_src_compile 'all'
  kde.eclass, line 338:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 334:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Eduard Bachmakov 2006-10-20 08:10:48 UTC
Portage 2.1.2_pre3-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 11:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1 # tmp. disabled, same problem
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sabayon /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/pro-audio"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acpi aim alsa arts asf bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cli cracklib crypt dbus directfb dlloader dri dts dvd dvdr dvdread elibc_glibc encode examples exif fbcon ffmpeg firefox flac flash fortran gdbm ggi gif glitz gnutls gpgme gpm hal icq idn imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipod ipv6 isdnlog jabber jack javascript jingle jpeg jpeg2k kde kdehiddenvisibility kernel_linux libcaca libg++ linguas_de mad maildir matroska mbox mime mmx mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ntpl ogg opengl oscar pam pcre pdf perl pertty png pop ppds pppd python qt3 qt4 quicktime readline recode reflection risky sdl session sms sndfile sox speex spell spl sqlite sse ssl stream subversion svg svga symlink tcpd tetex theora tiff tk truetype truetype-fonts type1-fonts udev unicode upnp urandom usb userland_GNU vcd video_cards_nv video_cards_nvidia vorbis win32codecs xine xml xorg xosd xv yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2006-11-12 13:08:04 UTC
I don't have a good answer to this.  I suppose you should try re-emerging qt-3 and then retrying this package (after deleting your portage tmpdir) and seeing if it fails with the same error.
Comment 3 Eduard Bachmakov 2006-11-16 08:36:49 UTC
(In reply to comment #2)
> I don't have a good answer to this.  I suppose you should try re-emerging qt-3
> and then retrying this package (after deleting your portage tmpdir) and seeing
> if it fails with the same error.
> 

it does.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-11-16 08:41:23 UTC
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common"

Does it compile if you remove --as-needed? 

CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx
-fvisibility-inlines-hidden"

Does it compile if you remove -fvisibility-inlines-hidden?
Comment 5 Eduard Bachmakov 2006-11-16 12:00:18 UTC
(In reply to comment #4)
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common"
> 
> Does it compile if you remove --as-needed? 
> 
> CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -msse -mmmx
> -fvisibility-inlines-hidden"
> 
> Does it compile if you remove -fvisibility-inlines-hidden?
> 

I tried it without any LDFLAGS: same error
I tried it without -fvisibility-inlines-hidden: same error
I tried it without both: same error
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2006-11-16 12:09:49 UTC
You tried kompare or qt with this?  I think the problem lies in your emerged Qt.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-11-16 12:15:07 UTC
I'd blame the overlays.
Comment 8 E. Papegaaij 2007-01-31 10:05:49 UTC
I was having the same compile problems (but with kdesdk). Removing the xeffects overlay and recompiling qt-3 solved it for me. It might be related to the risky useflag, which adds some visibility patches to qt.
Comment 9 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-03 13:34:08 UTC
(In reply to comment #8)
> It might be related to the risky
> useflag, which adds some visibility patches to qt.

It is.

You might want to report this upstream at http://bugs.gentoo-xeffects.org. Please don't file any bugs here without replicating them with the vanilla KDE from Portage.

Comment 10 E. Papegaaij 2007-02-04 12:11:08 UTC
Reported upstream under http://bugs.gentoo-xeffects.org/show_bug.cgi?id=82