FS#18361 - [qt] Compiled without -fvisibility=hidden

Attached to Project: Arch Linux
Opened by Omar Campagne (elric) - Tuesday, 16 February 2010, 18:02 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 26 February 2010, 05:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Andrea Scarpino (BaSh)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: If I try to build KPackagekit *0.5.4*, I am welcome with
the following error from cmake/qt. I am following the steps at kde-apps [1]
I know AUR is unsupported but this seems to be a qt build issue.

-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
CMake Error at /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:1170 (message):
Qt compiled without support for -fvisibility=hidden. This will break
plugins and linking of some applications. Please fix your Qt installation.
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindKDE4.cmake:95 (FIND_PACKAGE)
CMakeLists.txt:5 (find_package)

However, this has not appeared on any other build I've done so far.

Additional info:
* package version(s) 4.6.2-1 and 4.6.1 (AFAIK)
* cmake 2.8.0-1
* Arch stable Kde SC 4.4
* Extract from AUR's kpackagekit 0.5.0.3
depends=('libpackagekit-qt>=0.5.4' 'kdelibs>=4.3.3')
makedepends=('cmake' 'automoc4')
KPackagekit 0.5.4 still depends on "old" 4.3.3, but
on libpackagekit-qt 0.5.5 (installed).

Steps to reproduce:
Build Kpackagekit 0.5.4.
[1] http://www.kde-apps.org/content/show.php/KPackageKit?content=84745
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 26 February 2010, 05:48 GMT
Reason for closing:  Upstream
Comment by Pierre Schmitz (Pierre) - Tuesday, 16 February 2010, 18:18 GMT
Did you ask the KPackageKit developers why this is broken? This is a default upstream compile option and we wont change it just for an application that is not even in our repos. Looks more like a kpackage bug to me; maybe its not yet ported to Qt 4.6 or KDE 4.4. (afaik hidden-visibility is on)
Comment by Omar Campagne (elric) - Wednesday, 17 February 2010, 10:07 GMT
Thanks for the reply. I do fully understand you wouldn't change compile options
for one AUR app, yet I still reported as the error seemed to be a non-Kpackagekit
issue, but a qt one (judging from the error message, and taking into account I'm a
USER :)

Anyway, as KPakagekit doesn't have a proper mailing list, I filed a bug at bugzilla.

https://bugs.kde.org/show_bug.cgi?id=227335

Thanks for your time and indications.

Loading...