Created attachment 412840 [details] Output of emerge --info '=kde-apps/konsole-4.14.3-r1::gentoo' Due to -fvisibility=hidden konsole fails to build. A glance at the sources reveals, that the symbols which cause "undefined references" have no visibility attributes, thus taking the visibility of -fvisibility=hidden and therefore fail to link. Just appending -fvisibility=default to CXXFLAGS works around this issue. A cleaner solution would be to add KDE_EXPORT to the symbols in a patch.
Can you reproduce with a newer version, such as 15.08.1? 4.x is no longer maintained upstream.
(In reply to Michael Palimaka (kensington) from comment #1) > Can you reproduce with a newer version, such as 15.08.1? 4.x is no longer > maintained upstream. This version depends on the kde5 libs, which I yet don't want to use.
Unable to reproduce the issue with konsole-4.14.3-r1. What gcc version do you have? Or rather, which one (4.8.5::gentoo or 4.9.3::gentoo) do you have enabled as default.
Build log would be in order.
Created attachment 413066 [details] build.log As you can see, I use gcc 4.9.3 I guess the error origins from CMake which seems to set -fvisibility=hidden. At least I worked around the issue by modifying the CXXFLAGS with cmake-gui.
I'm having trouble reproducing too (-fvisibility=hidden appears in my log and appears to work OK).
(In reply to Michael Palimaka (kensington) from comment #6) > I'm having trouble reproducing too (-fvisibility=hidden appears in my log > and appears to work OK). Hm, maybe this helps: dev-util/cmake: 3.2.2 kde-base/kdelibs: 4.14.12 BTW: I have problems with a lot of KDE packages, all complaining about invisible symbols. It may be a problem with kde-base/kdelibs, which itself compiles fine, but maybe installs faulty cmake modules?
*RANT ALARM* finally I've been so tired of virtually EVERY KDE package to fail due to undefined reference to XXX I reverted all package.masks to simply kde-apps/*:5 kde-plasma/* kde-frameworks/* it just goes on... undefined reference to XXX what the hell is so wrong with that KDE packages in Gentoo???? I use mainly the console (ssh-session) and just would like to have a few KDE progs, but meanwhile it is just pure frustrating! How can it be only on my system?
I don't know what to suggest. I have no idea what could be causing this.
(In reply to Michael Palimaka (kensington) from comment #9) > I don't know what to suggest. I have no idea what could be causing this. It was just a rant because of my rage. I'll unmerge now all kde-base-packages and all not explicitely installed kde-apps. Let's see if this cause a clean emerge. But I suspect the KDE cmake modules as cause of the problems.
(In reply to Heiko Schäfer from comment #10) > (In reply to Michael Palimaka (kensington) from comment #9) > > I don't know what to suggest. I have no idea what could be causing this. > > It was just a rant because of my rage. I'll unmerge now all > kde-base-packages and all not explicitely installed kde-apps. > > Let's see if this cause a clean emerge. > > But I suspect the KDE cmake modules as cause of the problems. No chance. KDE is entirely unusable now :-(
Downgrading to cmake 2.8.12.2 didn't solve it too. Sorry, but that is a real drawback for Gentoo.
> PORTAGE_TMPDIR="/media/nfstmp" Just a shoot in the dark: You could try it with a local tmp dir.
(In reply to Johannes Huber from comment #13) > > PORTAGE_TMPDIR="/media/nfstmp" > > Just a shoot in the dark: You could try it with a local tmp dir.