Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312567 - kde-base/libkexiv2-4.4.2 fails to compile
Summary: kde-base/libkexiv2-4.4.2 fails to compile
Status: RESOLVED CANTFIX
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: 2010-04-01 09:22 UTC by Markus Wernig
Modified: 2010-04-01 15:52 UTC (History)
0 users

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 Markus Wernig 2010-04-01 09:22:23 UTC
Hi all

Some days ago, when I was doing a revdep-rebuild after an emerge world on my ~x86, kde-base/libkexiv2-4.4.2 failed to compile. This was not a problem then, since everything else worked as usual.
In the meantime and for other reasons (amarok) I decided to drop the kdeprefix USE flag and recompile the whole of KDE. Now the same compile error is still there, and I just cannot find a way around it. 

These are the last lines of emerge output:

[ 82%] Building CXX object libs/libkexiv2/test/CMakeFiles/loadfromba.dir/loadfromba.o
Building CXX object libs/libkexiv2/test/CMakeFiles/printtagslist.dir/printtagslist_automoc.o
[ 86%] Building CXX object libs/libkexiv2/test/CMakeFiles/erasetag.dir/erasetag.o
[ 91%] Building CXX object libs/libkexiv2/test/CMakeFiles/printtagslist.dir/printtagslist.o
Linking CXX executable printtagslist
Linking CXX executable loadfromba
Linking CXX executable erasetag
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::focusOutEvent(QFocusEvent*)'
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::paintEvent(QPaintEvent*)'
collect2: ld returned 1 exit status
make[2]: *** [libs/libkexiv2/test/loadfromba] Error 1
make[1]: *** [libs/libkexiv2/test/CMakeFiles/loadfromba.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::focusOutEvent(QFocusEvent*)'
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::paintEvent(QPaintEvent*)'
collect2: ld returned 1 exit status
make[2]: *** [libs/libkexiv2/test/printtagslist] Error 1
make[1]: *** [libs/libkexiv2/test/CMakeFiles/printtagslist.dir/all] Error 2
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::focusOutEvent(QFocusEvent*)'
../../../lib/libkexiv2.so.8.0.0: undefined reference to `KTextEdit::paintEvent(QPaintEvent*)'
collect2: ld returned 1 exit status
make[2]: *** [libs/libkexiv2/test/erasetag] Error 1
make[1]: *** [libs/libkexiv2/test/CMakeFiles/erasetag.dir/all] Error 2
make: *** [all] Error 2

Here is emerge --info =kde-base/libkexiv2-4.4.2    
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33 i686)
=================================================================                      
                        System Settings                                                
=================================================================                      
System uname: Linux-2.6.33-i686-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 01 Apr 2010 05:15:01 +0000                                          
app-shells/bash:     4.1_p2-r1                                                              
dev-java/java-config: 1.3.7-r1, 2.1.10                                                      
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.5-r1, 3.1.2-r1                                
dev-python/pycrypto: 2.0.1-r8                                                               
dev-util/cmake:      2.8.1                                                                  
sys-apps/baselayout: 2.0.1                                                                  
sys-apps/openrc:     0.6.1-r1                                                               
sys-apps/sandbox:    2.2                                                                    
sys-devel/autoconf:  2.13, 2.65                                                             
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                      
sys-devel/binutils:  2.20.1                                                                 
sys-devel/gcc:       3.3.6-r1, 4.1.2, 4.3.4, 4.4.3                                          
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/shutdown /usr/share/X11/xkb /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"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 3dnow 3dnowext X a52 aac acl acpi alsa arts avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddax cddb cdparanoia cdr cli consolekit cracklib crypt css cups cxx dbus device-mapper dga dirac dns dri dts dv dvb dvd dvdnav dvdr dvdread dxr3 emboss encode esd exif faac faad fam ffmpeg firefox flac fortran ftp gdbm gdu ggi gif gimp gmp gnome gnutls gphoto2 gpm gstreamer gtk gtkhtml gzip h323 hal hdmi http iconv imagemagick imap imlib ipv6 java jce jpeg jpeg2k kde kdrive kontact lame laptop lcms ldap libnotify lirc lzo mad matroska mdnsresponder-compat mikmod mime mmap mmx mmxext mng modplug modules mozilla mp3 mp4 mpeg mplayer mudflap mysql ncurses network nls nptl nptlonly nsplugin nss obex ogg opencore-amr openct opengl openmp openssl osdmenu oss pam pango pcmcia pcre pcsc pcsc-lite pda pdf perl php pipechan plasma png pnm policykit ppds pppd pvr python qt3 qt3support qt4 radio raw rdesktop readline reflection rss sasl scanner sdl secure-delete semantic-desktop session sip smartcard smp sockets spell spl sql sqlite sse sse2 ssl ssse3 startup-notification svg svga sysfs tcpd theora threads tiff timidity toolame tremor truetype twolame unicode usb v4l v4l2 vcd vidix vnc vorbis wav wavpack webkit wifi win32codecs wmf x264 x86 xanim xattr xcb xcomposite xine xinerama xml xorg xpm xscreensaver xulrunner xv xvid zeroconf 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" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev synaptics vmmouse void alps" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" LIRC_DEVICES="mceusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa vga fbdev vmware nv v4l nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Has anybody seen this before?

Kind regards

Markus
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2010-04-01 15:52:40 UTC
Removal of kdeprefix can be done only ONE way.
Unmerging all kde stuff and emerging it again.
So first uninstall all kde stuff and start with fresh start :]

Please reopen this bug if you already did that or if my advice above won't help.

Cheers