Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141781 - kde-base/kdelibs-3.5.3-r4 with USE="kdehiddenvisibility" problem
Summary: kde-base/kdelibs-3.5.3-r4 with USE="kdehiddenvisibility" problem
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 142569 142625 142713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-26 04:25 UTC by Krzysztof Pawlik (RETIRED)
Modified: 2007-02-02 15:07 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 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-26 04:25:53 UTC
>>> Emerging (2 of 4) kde-base/kdm-3.5.3-r2 to /
>>> Unpacking source...
>>> Unpacking parts of kdebase-3.5.3.tar.bz2 to /var/tmp/portage/kdm-3.5.3-r2/work
>>> Unpacking kdebase-3.5-patchset-02.tar.bz2 to /var/tmp/portage/kdm-3.5.3-r2/work
 * Applying kdm-3.5.3-return_val_check.diff ...                                                                                            [ ok ]
 * Applying kdebase-3.5.0_beta2-noimake.patch ...                                                                                          [ ok ]
 * Applying post-3.5.0-kdebase-kdm.diff ...                                                                                                [ ok ]
 * Applying kdm-3.5.3-strict-aliasing.patch ...                                                                                            [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kdm-3.5.3-r2/work/kdm-3.5.3 ...
 * Forcing automake 1.9 when using autoconf 2.60
*** automake (GNU automake) 1.9.6 found.
*** Creating acinclude.m4
*** Creating list of subdirectories
*** Creating Makefile.am
*** Creating configure.files
*** Creating configure.in
*** Creating aclocal.m4
*** Creating configure
*** Creating config.h template
*** Creating Makefile templates
*** Postprocessing Makefile templates
*** Creating date/time stamp
*** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
 * 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/kdm-3.5.3-r2 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  kdm-3.5.3-r2.ebuild, line 51:   Called kde-meta_src_compile 'myconf' 'configure'
  kde-meta.eclass, line 410:   Called kde_src_compile 'myconf' 'configure'
  kde.eclass, line 264:   Called die

!!! kdelibs without hidden visibility
!!! If you need support, post the topmost build error, and the call stack if relevant.

But:

nelchael ~ # emerge -pv kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/kdelibs-3.5.3-r4  USE="alsa cups kdeenablefinal kdehiddenvisibility ssl xinerama -acl -arts -debug -doc -fam -jpeg2k -kerberos -legacyssl -openexr -spell -tiff -zeroconf" 0 kB

Total size of downloads: 0 kB
nelchael ~ #

And I've got kdehiddenvisibility enabled in make.conf (global).
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-26 04:31:37 UTC
Then for some reasons you built kdelibs actually without it, the check doesn't, for me, lie. Look at kdemacros.h header.

If you built kdelibs with <GCC-4.1, you wouldn't have got hidden visibility.
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-26 04:37:12 UTC
Notice:

>>> Emerging (2 of 4) kde-base/kdm-3.5.3-r2

1 of 4 was kdelibs.

nelchael@nelchael ~$ emerge --info
Portage 2.1.1_pre3-r5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc2-ck1 i686)
=================================================================
System uname: 2.6.18-rc2-ck1 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.1
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:  [Not Present]
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: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
BROWSER="mozilla"
CATALINA_HOME="/usr/share/tomcat-5.5"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="1024M"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLORTERM="rxvt-xpm"
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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DESKTOP_SESSION="default"
DESKTOP_STARTUP_ID="nelchael;1153913640;811218;6363_TIME2862405482"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
DM_CONTROL="/var/run/xdmctl"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache cvs distlocks java-strict metadata-transfer sandbox sfperms sign"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://ftp.heanet.ie/pub/gentoo/ http://distfiles.gentoo.org"
GREP_COLOR="34"
GS_LIB="/home/nelchael/.fonts"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/nelchael/.gtkrc-2.0:/home/nelchael/.kde/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/nelchael/.gtkrc:/home/nelchael/.kde/share/config/gtkrc"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HISTFILESIZE="1500"
HISTSIZE="1500"
HOME="/home/nelchael"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info"
INPUT_DEVICES="keyboard mouse synaptics"
INSTALL_MASK="/usr/share/gtk-doc/"
JAVACC_HOME="/usr/share/javacc/"
KDEDIRS="/usr"
KDE_FULL_SESSION="true"
KDE_MULTIHEAD="false"
KERNEL="linux"
LC_CTYPE="pl_PL"
LESS="-R -M -x4"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="nelchael"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/opt/sun-jdk-1.4.2.12/man:/etc/java-config/system-vm/man/:/usr/qt/3/doc/man"
MOZILLA_NEWTYPE="tab"
MRXVT_TABTITLE="Terminal"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PASSWD=""
PATH="/usr/lib/ccache/bin:/home/nelchael/bin:/home/nelchael/indianiec/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/opt/sun-jdk-1.4.2.12/bin:/opt/sun-jdk-1.4.2.12/jre/bin:/opt/sun-jdk-1.4.2.12/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/sbin:/usr/sbin"
PGUSER="nelchael"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_GPG_KEY="0xBC555551"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/nelchael/overlays/nelchael /home/nelchael/overlays/java/migrated-java-experimental-overlay /home/nelchael/overlays/java/java-experimental-overlay"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/home/nelchael"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.3/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
RPMDIR="/usr/portage/rpm"
SESSION_MANAGER="local/nelchael:/tmp/.ICE-unix/6370"
SHELL="/bin/bash"
SHLVL="2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="rxvt"
USE="x86 X alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cairo cli crypt cups dlloader dri emboss firefox foomaticdb fortran gdbm gstreamer gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ libwww mad mikmod mmx mmxext mp3 mpeg musepack ncurses nls nptl nsplugin offensive ogg opengl pam pcre pdflib png pppd qt qt4 quicktime readline reflection session spl sse sse2 ssl svg syslog truetype truetype-fonts type1-fonts udev vorbis xinerama xml xml2 xorg xscreensaver xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_i810"
USER="nelchael"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_NO="-gpm -gtk -qt3 -arts -oss -gnome -motif -gif -sdl -samba -postgres -mysql -spell -encode -java -apache2 -tcpd -tetex -tiff -lcms -mng -curl -tcltk -xmms -esd -python -perl -expat -gd -eds"
USE_ORDER="env:pkg:conf:defaults"
USE_PROCESSOR="mmx sse mmxext sse2"
USE_YES="X dri alsa nptl bash-completion bzip2 cups svg qt4 kdeenablefinal kdehiddenvisibility offensive ipv6 kde xml xml2 xinerama syslog musepack xscreensaver firefox nsplugin cairo"
VIDEO_CARDS="i810"
VMHANDLE="sun-jdk-1.4"
WINDOWID="46137347"
XARGS="xargs -r"
XCURSOR_THEME="default"
XDG_CONFIG_DIRS="/usr/kde/3.5/etc/xdg"
XDG_DATA_DIRS="/usr/kde/3.5/share:/usr/share"
XDM_MANAGED="/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,rsvd,method=classic"
_="/usr/bin/emerge"
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-26 04:45:50 UTC
flame@enterprise ~ $ grep VISIBILITY /usr/kde/3.5/include/kdemacros.h
#define __KDE_HAVE_GCC_VISIBILITY "1"

if your shows /* #undef */ it means it couldn't build with hidden visibility there. Is not like I can fix your system, the check does only make sure that you _can_ build with it.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-26 05:03:01 UTC
nelchael@nelchael ~$ grep VISIBILITY /usr/kde/3.5/include/kdemacros.h
/* #undef __KDE_HAVE_GCC_VISIBILITY */
#ifdef __KDE_HAVE_GCC_VISIBILITY
nelchael@nelchael ~$ emerge -pv gcc kdelibs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-devel/gcc-4.1.1  USE="nls -bootstrap -build -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k% -mudflap -multislot -nocxx -objc -objc++ -objc-gc -vanilla" 0 kB
[ebuild   R   ] kde-base/kdelibs-3.5.3-r4  USE="alsa cups kdeenablefinal kdehiddenvisibility ssl xinerama -acl -arts -debug -doc -fam -jpeg2k -kerberos -legacyssl -openexr -spell -tiff -zeroconf" 0 kB

Total size of downloads: 0 kB
nelchael@nelchael ~$

Ok, so kdelibs doesn't like kdehiddenvisibility anymore? From ./configure of kdelibs:

./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-distribution=Gentoo --disable-libfam --enable-dnotify --with-libart --with-libidn --without-utempter --without-acl --with-ssl --with-alsa --without-arts --without-gssapi --without-tiff --without-jasper --without-openexr --enable-cups --disable-dnssd --without-hspell --without-aspell --with-rgbfile=/usr/share/X11/rgb.txt --disable-fast-malloc --with-x --enable-mitshm --with-xinerama --with-qt-dir=/usr/qt/3 --enable-mt --with-qt-libraries=/usr/qt/3/lib --disable-dependency-tracking --disable-debug --without-debug --enable-final --without-arts --enable-gcc-hidden-visibility --prefix=/usr/kde/3.5 --mandir=/usr/kde/3.5/share/man --infodir=/usr/kde/3.5/share/info --datadir=/usr/kde/3.5/share --sysconfdir=/usr/kde/3.5/etc --build=i686-pc-linux-gnu

It's enabled: --enable-gcc-hidden-visibility

More:

checking whether i686-pc-linux-gnu-g++ supports -fvisibility=hidden... yes
checking if Qt is patched for -fvisibility... no

So why kdelibs ends without hidden visibility?
Comment 5 Michiel de Bruijne 2006-07-26 09:48:35 UTC
I have the same problem, I have emerged kdelibs with USE-flag kdehiddenvisibility, but if I to kdebase-kioslaves-3.5.3, I get; 

*** Finished
    Don't forget to run ./configure
    If you haven't done so in a while, run ./configure --help
 * You asked to enable hidden visibility, but your kdelibs was
 * built without its support. Please rebuild kdelibs with the
 * kdehiddenvisibility useflag enabled.


grep VISIBILITY /usr/kde/3.5/include/kdemacros.h
/* #undef __KDE_HAVE_GCC_VISIBILITY */
#ifdef __KDE_HAVE_GCC_VISIBILITY



emerge --info
Portage 2.1.1_pre3-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 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="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
LINGUAS="en"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm arts artswrappersuid asf avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cddb cdinstall cli connectionstatus crypt css cups dbus dlloader dri dts dvd dvdr emboss encode exif ffmpeg firefox flac font-server foomaticdb gdbm gif gphoto2 gpm hal history imagemagick imlib irc isdnlog java javascript jingle jpeg kde kdeenablefinal kdehiddenvisibility kdexdeltas kdgraphics libg++ libwww logitech-mouse mad mikmod mmx mng motif mp3 mpeg musicbrainz ncurses network nls nocd nptl nptlonly nsplugin nvidia nxclient ogg opengl pam pcre pdf pdflib png ppds pppd python qt qt3 quicktime rdesktop readline real reflection samba scanner sdl sensord session speex spell spl sse ssl statistics svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd visualization vnc vorbis win32codecs xft xine xml xorg xv xvid xvmc zeroconf zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-26 11:01:29 UTC
Because you didn't follow the instructions I put on the blog at the time, and the configure suggests the problem. Rebuild Qt with GCC 4.1 too.
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-07-26 11:38:31 UTC
(In reply to comment #6)
> Because you didn't follow the instructions I put on the blog at the time, and
> the configure suggests the problem. Rebuild Qt with GCC 4.1 too.

I'm compiling it now :)

FYI: blogs are *NOT* oficial documentation.
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-07-26 11:54:02 UTC
And as far as kdehiddenvisibility is concerned, the support is EXPERIMENTAL and not supported if something goes wrong.

This whole stuff is something I do because *I* want to do a *favour* to people, I'm *not* required to even provide the choice of using kdehiddenvisibility. I did spend time testing this out and ensuring it could have used by normal users. I *did* write about it on my blog because being still EXPERIMENTAL, I don't want clueless users on enabling it.

The extra check I added to kde.eclass that make it fail if support is not built is a *favour* to users to avoid having broken stuff because of kdelibs being turned down from hidden visibility and other stuff trying to use it.

So to get ti right: *you have to look at whatever documentation is there if you want to use experimental stuff, or you're on your damn own*.
Comment 9 Michiel de Bruijne 2006-07-26 14:57:02 UTC
Hi Diego,

I'm sorry I posted a comment on this bug while it's experimental. I have read your blog(s) in the past and followed the instructions to the letter. I have rebuild my entire system with GCC 4.1 when it came in ~. I have also rebuild qt and kdelibs after that as described in your blog before enabling USE="kdehiddenvisibility". The strange thing is I never had any problems with it, for example I successfully upgraded from 3.5.2 to 3.5.3 with USE="kdehiddenvisibility" and installed a lot of packages that use this flag as well. Since a few days I have this problem, just to be sure I reemerged qt and kdelibs again, but the problem still exist. I know it's experimental stuff, but if you have the time/mood to investigate this then I'm at your service if you want me to do some testing.

Thanks for your work btw, your insomnia might not be good for you, but it sure gets a lot of work done for Gentoo, Xine and the other OSS-project you are involved with.
Comment 10 Panard 2006-07-27 04:49:51 UTC
Got the same problem.
The visibility patch is applied to qt :
 * Applying qt-3.3.6-visibility.patch ..
But, it doesn't seem that qt is building with visibility=hidden.
Perhaps we have to emerge qt with CFLAG="-fvsibility=hidden" ?
Comment 11 Christian Lemke 2006-07-27 08:10:15 UTC
No!
I still emerged first qt-3.3.6-r1 and then kdelibs-3.5.3-r4 and then it worked without problems.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-08-02 12:26:58 UTC
*** Bug 142569 has been marked as a duplicate of this bug. ***
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-08-03 04:33:17 UTC
*** Bug 142625 has been marked as a duplicate of this bug. ***
Comment 14 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-08-03 17:19:12 UTC
*** Bug 142713 has been marked as a duplicate of this bug. ***
Comment 15 Danny van Dyk (RETIRED) gentoo-dev 2006-08-06 10:14:43 UTC
My nothing apart from "system" has ever seen gcc < 4.1.1 and it still fails for
me on ppc on a fresh install.
Comment 16 Petteri Räty (RETIRED) gentoo-dev 2006-08-12 05:04:35 UTC
I used to have this problem but for me compiling qt with 4.1 was enough to solve the problem so I propose we change the error message in kde.eclass to the following:

eerror "You asked to enable hidden visibility, but your kdelibs was"
eerror "built without its support. Please rebuild kdelibs with the"
eerror "kdehiddenvisibility useflag enabled. If you have built kdelibs"
eerror "with kdehiddenvisibility then you most likely haven't built qt"
eerror "with gcc >=4.1, which is needed to enable the hidden visibility patch"
eerror "there."
die "kdelibs and possibly qt built without hidden visibility"
Comment 17 Markus Baumeister 2006-09-11 18:29:02 UTC
Insufficient error message continues to bite unsuspecting users.

If you want us to read your blog, than say so in big bold letters in the error message. Otherwise I would suggest to use the message provided in #16 .
Comment 18 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-12 01:29:55 UTC
You are using a flag marked as experimental. You are supposed to read and prepare yourself before breaking your system.