Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142713 - kdehiddenvisibility isn't used although useflag is set
Summary: kdehiddenvisibility isn't used although useflag is set
Status: RESOLVED DUPLICATE of bug 141781
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: 2006-08-03 16:40 UTC by Florian Baur
Modified: 2006-08-03 17:19 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 Florian Baur 2006-08-03 16:40:21 UTC
Trying to emerge any kde-package with USE=kdehiddenvisibility fails with this error:

===
 * You asked to enable hidden visibility, but your kdelibs was
 * built without its support. Please rebuild kdelibs with the
 * kdehiddenvisibility useflag enabled.

!!! ERROR: kde-base/ksysguard-3.5.3-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ksysguard-3.5.3-r1.ebuild, line 23:   Called kde-meta_src_compile
  kde-meta.eclass, line 410:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 323:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 264:   Called die

!!! kdelibs without hidden visibility
===

USE=kdehiddenvisibility is set in make.conf and was used to build kdelibs (also confirmed by "equery u kdelibs"). The reason why the packages complain about kdelibs not being compiled with kdehiddenvisibility was explained by this message that was shown during kdelibs compilation:

===
Your GCC supports symbol visibility, but the patch for Qt supporting visibility
was not included. Therefore, GCC symbol visibility support remains disabled.

For better performance, consider including the Qt visibility supporting patch
located at:

http://bugs.kde.org/show_bug.cgi?id=109386

and recompile all of Qt and KDE. Note, this is entirely optional and
everything will continue to work just fine without it.
===

I think this means that the kdehiddenvisibility useflag does nothing on an unpatched system and kdelibs (as well as every other package) will be compiled without hidden visibility which is why the packages complain about kdelibs missing it. So maybe this patch should go into the portage builds to enable that useflag.

Here's my emerge --info:
===
Portage 2.1.1_pre4-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.12.4
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
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
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftree-vectorize -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftree-vectorize -pipe -fvisibility-inlines-hidden -fno-enforce-eh-specs  -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/  http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/  http://mirror.uni-c.dk/pub/gentoo/  ftp://pandemonium.tiscali.de/pub/gentoo/  http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac acpi alsa apache2 apm asm avi bash-completion bitmap-fonts bzip2 canna cdr cjk cli crypt cups divx4linux dlloader dri dvd dvdr emboss encode ffmpeg firefox flac foomaticdb fortran gif glibc-omitfp gpm gstreamer gtk2 hal icq imlib isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas libg++ libwww logitech-mouse mad matroska mikmod mmx motif mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdflib pic png pppd qt qt3 quicktime readline real reflection sdl session spl sse ssl tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs x264 xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL
===
Comment 1 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-03 17:19:12 UTC

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