Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252571 - xxdiff-3.2-r1 with USE=kde fails to compile
Summary: xxdiff-3.2-r1 with USE=kde fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 280626 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-26 09:08 UTC by Juergen Rose
Modified: 2009-11-12 17:13 UTC (History)
6 users (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 Juergen Rose 2008-12-26 09:08:33 UTC
'emerge -vDN xxdiff' fails with:
root@condor:/root(8)# emerge -vDN xxdiff
...
[ebuild   R   ] dev-util/xxdiff-3.2-r1  USE="kde* python -debug" 0 kB
...
x86_64-pc-linux-gnu-g++ -Wl,-O1  -o ../bin/xxdiff optionsDialog.o searchDialog.o app.o cmdline.o suicideMessageBox.o main.o overview.o copyLabel.o text.o scrollView.o central.o merged.o lineNumbers.o util.o help.o exceptions.o builder.o builderFiles2.o builderFiles3.o builderDirs2.o builderUnmerge.o builderSingle.o diffs.o hordiffImp.o line.o buffer.o resources.o accelUtil.o resParser.o markers.o proginfo.o resParser_lex.o resParser_yacc.o markersWidgetBase.o optionsDialogBase.o searchDialogBase.o moc_optionsDialog.o moc_searchDialog.o moc_app.o moc_diffs.o moc_resources.o moc_copyLabel.o moc_text.o moc_scrollView.o moc_central.o moc_merged.o moc_markers.o moc_markersWidgetBase.o moc_optionsDialogBase.o moc_searchDialogBase.o   -L/usr/qt/3/lib64 -L/usr/X11R6/lib64 -L/usr/kde/3.5/lib -lkdeui -lkio -lqt-mt -lXext -lX11 -lm -lpthread
optionsDialog.o: In function `XxOptionsDialog::editFontText()':
optionsDialog.cpp:(.text+0x14d7): undefined reference to `KFontDialog::getFont(QFont&, bool, QWidget*, bool, QButton::ToggleState*)'
...
moc_merged.o:(.rodata._ZTC14XxMergedWindow0_11KMainWindow[vtable for XxMergedWindow]+0x5b0): undefined reference to `virtual thunk to KMainWindow::virtual_hook(int, void*)'
collect2: ld returned 1 exit status
make: *** [../bin/xxdiff] Error 1


Reproducible: Always




root@condor:/root(9)# emerge --info
Portage 2.1.6.3 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27.8 x86_64)
=================================================================
System uname: Linux-2.6.27.8-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5
Timestamp of tree: Fri, 26 Dec 2008 02:35:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r15, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1
sys-apps/sandbox:    1.3.2
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
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php
5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def
.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
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/science /usr/local/portage/layman/java-overlay /usr/local/portage/layman/zugaina /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amd64 amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam bla
s bluetooth bonobo boo boost branding bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt cups curl cxx daap dbus device-mapper dga dia 
divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvdread dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffm
peg fftw firefox fits flac fltk foomaticdb fortran fpx galago gd gdal gdbm geos gif gimp gimpprint ginac glade glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 gpm graphic
s graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http hvm iconv icq icu id3 ide imagemagick imap innodb ipv6 irda irmc isdnlog ithreads
 jabber java jbig john jpeg jpeg2k kde kde4 kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo lzw mad m
aildir math matroska midi mikmod mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib musicbrainz mysql my
sqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs numarray numeric nvidia obex ocaml octave odbc ogdi ogg ole opengl 
openmp pae pam pcre pda pdf perl plotutils plugins png posix postgres postscript ppds pppd preview-latex proj projectx pstricks python qhull qt3 qt3support qt4 quicktime re
adline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp smp sndfile snmp soup sox speex spell spl sqlite sse sse2 ssl startup-n
otification stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode usb userlocales utempter v4l2 vorbis w
mf wxwindows xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix ds
hare 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" DVB_CARDS="cx8800 cx88xx tda1004x saa713" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pavel Kostenko 2009-01-23 09:57:52 UTC
While executing emerge cfg-update ON:
=======================================
2.6.27-gentoo-r8
gcc version 4.1.2 (Gentoo 4.1.2 p1.1)
======================================
I See error:
==================
moc_merged.o:(.rodata._ZTC14XxMergedWindow0_11KMainWindow[vtable for XxMergedWindow]+0x2d8): undefined reference to `virtual thunk to KMainWindow::virtual_hook(int, void*)'
collect2: ld returned 1 exit status
make: *** [../bin/xxdiff] Error 1
 * 
 * ERROR: dev-util/xxdiff-3.2-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3231:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC) ${CFLAGS}" CXX="$(tc-getCXX) ${CXXFLAGS}" LINK="$(tc-getCXX) ${LDFLAGS}" || die "make failed";
 *  The die message:
 *   make failed
===================================================================
emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.0
Timestamp of tree: Thu, 22 Jan 2009 19:45:02 +0000
distcc 3.0 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.ftp.kg"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j4"
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"
SYNC="rsync://gentoo.ftp.kg/gentoo-portage"
USE="X acl alsa avahi berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd dvdr fortran gd gdbm gnome gpm gtk hal htmlhandbook iconv innodb ipv6 isdnlog jpeg kde kerberos ldap midi mmx mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre pdf perl php png pppd python qt4 readline reflection samba sasl session spl sse sse2 ssl sysfs tcpd unicode x86 xcb xcomposite xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="i810 nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Juergen Rose 2009-01-23 10:30:50 UTC
After setting the kdeprefix USE flag in /etc/make.conf and recompiling the kde-4 stuff the problem disapeared for me.
Comment 3 Pavel Kostenko 2009-01-26 07:23:28 UTC
(In reply to comment #2)
> After setting the kdeprefix USE flag in /etc/make.conf and recompiling the
> kde-4 stuff the problem disapeared for me.
> 

I've set kdeprefix USE flag in /etc/make.conf and made emerge -uDNa world and after an hour everything is ok. I've successfully installed cfg-update and xxdiff-3.2-r1. Thank you for hint :)
Comment 4 Timothy Miller 2009-06-04 18:17:04 UTC
Apparently, using "kdeprefix" is deprecated, so that isn't an appropriate work-around.

 * Messages for package kde-base/kmenuedit-4.2.4:

 * WARNING! You have kdeprefix useflag enabled.
 * This setting is strongly discouraged and might lead to potential troubles
 * with KDE update strategies.
 * You are using this setup at your own risk and kde team does not
 * take responsibilities for dead kittens.


... etc.
Comment 5 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-16 06:29:34 UTC
I can't reproduce this error, can you attach your build.log please?

Also, take into account that dev-util/xxdiff uses kde-base/kdelibs-3.5 (which is about to be deprecated) so you may be fixing kde 3 and kde 4 in the same box.
Comment 6 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-16 06:30:12 UTC
s/fixing/using/g
Comment 7 Víctor Ostorga (RETIRED) gentoo-dev 2009-08-24 15:16:00 UTC
*** Bug 280626 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2009-11-12 17:13:00 UTC
Fixed (by removal of USE kde)