Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91590 - kicker-3.4.0 compilation error in qpixmap.h
Summary: kicker-3.4.0 compilation error in qpixmap.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-05 10:18 UTC by Grzegorz Dubicki
Modified: 2005-06-24 07:43 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 Grzegorz Dubicki 2005-05-05 10:18:42 UTC
cant emerge kde-base/kicker-3.4.0 due to compilation error.


Reproducible: Always
Steps to Reproduce:
1. emerge -v =kde-base/kicker-3.4.0
Actual Results:  
(...) 
/usr/qt/3/bin/moc ./quickbrowser_mnu.h -o quickbrowser_mnu.moc 
/usr/qt/3/bin/moc ./service_mnu.h -o service_mnu.moc 
/usr/qt/3/bin/moc ./addextension_mnu.h -o addextension_mnu.moc 
/usr/qt/3/bin/moc ./addcontainer_mnu.h -o addcontainer_mnu.moc 
/usr/qt/3/bin/moc ./browser_dlg.h -o browser_dlg.moc 
/usr/qt/3/bin/moc ./removeapplet_mnu.h -o removeapplet_mnu.moc 
/usr/qt/3/bin/moc ./removeextension_mnu.h -o removeextension_mnu.moc 
/usr/qt/3/bin/moc ./removecontainer_mnu.h -o removecontainer_mnu.moc 
/usr/qt/3/bin/moc ./addspecialbutton_mnu.h -o addspecialbutton_mnu.moc 
/usr/qt/3/bin/moc ./removespecialbutton_mnu.h -o removespecialbutton_mnu.moc 
/usr/qt/3/bin/moc ./removebutton_mnu.h -o removebutton_mnu.moc 
/usr/qt/3/bin/moc ./hidebutton.h -o hidebutton.moc 
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../extensions/childpanel -I./../core 
-I./../buttons -I./../share -I../../libkonq -I../../kdmlib -I../../kicker/core 
-I../../kicker/share -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG 
-O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common -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  -c -o addbutton_mnu.lo `test -f 'addbutton_mnu.cpp' || 
echo './'`addbutton_mnu.cpp 
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ 
-DHAVE_CONFIG_H -I. -I. -I../.. -I./../extensions/childpanel -I./../core 
-I./../buttons -I./../share -I../../libkonq -I../../kdmlib -I../../kicker/core 
-I../../kicker/share -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG 
-O2 -march=athlon-xp -Os -pipe -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common -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  -c -o addapplet_mnu.lo `test -f 'addapplet_mnu.cpp' || 
echo './'`addapplet_mnu.cpp 
In file included from /usr/kde/3.4/include/kiconloader.h:16, 
                 from addapplet_mnu.cpp:24: 
/usr/qt/3/include/qpixmap.h: In member function `QPixmap::Optimization 
QPixmap::optimization() const': 
/usr/qt/3/include/qpixmap.h:226: error: `QPixmap::Optimization 
QPixmap::QPixmapData::optim' is inaccessible 
/usr/qt/3/include/qpixmap.h:309: error: within this context 
make[3]: *** [addapplet_mnu.lo] Błąd 1 
make[3]: *** Czekam na niezakończone zadania.... 
make[3]: Leaving directory 
`/var/tmp/portage/kicker-3.4.0/work/kicker-3.4.0/kicker/ui' 
make[2]: *** [all-recursive] Błąd 1 
make[2]: Leaving directory 
`/var/tmp/portage/kicker-3.4.0/work/kicker-3.4.0/kicker' 
make[1]: *** [all-recursive] Błąd 1 
make[1]: Leaving directory `/var/tmp/portage/kicker-3.4.0/work/kicker-3.4.0' 
make: *** [all] Błąd 2 
 
!!! ERROR: kde-base/kicker-3.4.0 failed. 
!!! Function kde_src_compile, Line 166, Exitcode 2 
!!! died running emake, kde_src_compile:make 
!!! If you need support, post the topmost build error, NOT this status 
message. 
 
(sorry for posting with polish locale.. "Błąd"=error, "Czekam na niezakończone 
zadania"=waiting for unfinished tasks) 

Expected Results:  
kicker should emerge cleanly. 

my `emerge info`: 
 
root@nanami /home/adastra # emerge info 
________________________________________________________________________________ 
 
cfg-update 1.7.1 : Building checksum index... (takes a few seconds)  done! 
________________________________________________________________________________ 
 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, 
glibc-2.3.5-r0, 2.6.12-rc2-nitro1 i686) 
================================================================= 
System uname: 2.6.12-rc2-nitro1 i686 AMD Athlon(tm) XP 1800+ 
Gentoo Base System version 1.6.11 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 11:17:02)] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 
sys-devel/binutils:  2.15.92.0.2-r8 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -Os -pipe" 
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-march=athlon-xp -Os -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo http:/gentoo.prz.rzeszow.pl 
http://gentoo.zie.pg.gda.pl http://scr.gentoo.pl" 
LANG="pl_PL" 
LC_ALL="pl_PL" 
LINGUAS="pl en" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 3dnow 3dnowext X Xaw3d a52 aac aalib acl acpi alsa amarok apache2 apm 
artworkextra asm async atm audiofile avi bash-completion bdf berkdb bindist 
bitmap-fonts bootsplash boundschecking bzip2 bzlib cairo cap caps ccache cdda 
cddb cdio cdparanoia cdr cdrom chroot codecs crypt cscope css ctype cups curl 
dga dio divx4linux dlloader dmx doc dpms dts dvd dvdread edl emboss emul-linux 
encode escreen etwin evms2 exif extraicons extramodules extras faad fam fbcon 
ffmpeg flac font-server foomaticdb ftp gd gif glitz glut gnustep gpm gtk gtk2 
hal iconv imagemagick imap imlib jabber java javascript jce jikes jp2 jpeg 
jpeg2k kadu-modules kde libcaca libg++ libwww live lm_sensors lzo lzw lzw-tiff 
mad mail matroska mcal memlimit mikmod mime mmx mmx2 mmxext mng monkey mono 
motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 
mpeg mpi mplayer mpm-prefork mpm-threadpool mpm-worker mythtv mzscheme ncurses 
neXt net netbeans nethack network nextaw nfsv4 nls no-old-linux no24bpp 
no_wxgtk1 nocd nowin nptl nptlonly nvidia offensive ogg oggvorbis openal 
openexr opengl openntpd openssh pam pcntl pcre pdflib perl pic pie png posix 
postgres povray ppds python qt quicktime rdesktop readline real rtc samba 
sblive sdl server session shared sharedmem simplexml slang slp sndfile snmp 
sockets source speex spell sse ssl stream svg symlink sysfs sysvipc szip tcltk 
tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts 
unicode usb userlocales utf8 vcd vdesktop videos vidix vim vim-pager 
vim-with-x vorbis wmf wxwindows xanim xine xml xml2 xmms xosd xpm xprint 
xrandr xscreensaver xv xvid xvmc zeroconf zlib linguas_pl linguas_en 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-11 05:43:37 UTC
This seems related to compiling with -fvisibility=hidden -fvisibility-inlines-hidden, and should be solved by using a newer version of gcc-3.4 (or by using gcc-3.3, which doesn't support visibility)

Visibility support will be removed altogether shortly (bug 86898), but this is an unrelated fact...
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2005-06-24 07:43:55 UTC
See above noted bug report and a recompile should work better now.