QT4.6.1 und KDE 4.3.5 kompiliert nicht "-fvisibility=hidden" error.

grisu

Active Member
Hallo zusammen,

ich hab die Tage endlich mal meine FreeBSD maschine wieder aufgesetzt und wollte aus dem frisch aktualisierten Ports (18.2.2010) den KDE 4 komplett installieren.

nach einem
Code:
portinstall kde4
baut er fleißig einige Stunden lang das QT4.6.1 und allhand andere Abhänigkeiten. Wenn er jedoch am ersten KDE Paket ankommt, in dem fall kdelibs4 (in Version 4.3.5), liefert die configure phase folgenden fehler
Code:
....
-- Found Perl: /usr/bin/perl
-- Building kdelibs...
-- Phonon Version: 4.3.1
-- Found Phonon: /usr/local/lib/qt4/libphonon.so
-- Found Phonon Includes: /usr/local/include/qt4/KDE;/usr/local/include/qt4
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
CMake Error at cmake/modules/FindKDE4Internal.cmake:1104 (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):
  CMakeLists.txt:35 (find_package)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.

und damit ist schluss. Das C(XX)Flag zu setzten bringt auch nichts denn dann baut QT nicht mehr vollständig durch. Wie kann ich das Problem beheben, dass ich da wieder einen aktuellen KDE zum laufen bekomme?

System ist ein FreeBSD 8.0 i386
Die Ports sind auf dem stand vom 18.2.2010.
 
Nach dem ausschalten von CCACHE auf den QT paketen und alles was damit in Verbindung steht neu gebaut. Damit lief es dann.
 
Hallo, ich habe ein Problem mit dem Bauen von textproc/soprano, dass ich auf das gleiche Problem zurückführen konnte. Ich habe jetzt alles mit qt im Namen, alles was davon abhängt und alles wovon es abhängt ohne ccache neu gebaut und es funktioniert immer noch nicht. x11/kdelibs4 bringt den gleichen Fehler und textproc/soprano hat immer noch Linkfehler:

Code:
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
CMake Error at 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):
  CMakeLists.txt:36 (find_package)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop in /usr/ports/x11/kdelibs4.

shell returned 1

Hier mal der Link-Fehler von soprano:
Code:
Linking CXX executable sopranod
cd /usr/obj/mobileKamikaze.norad/amd64/usr/ports/textproc/soprano/work/soprano-2.4.4/server && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/sopranod.dir/link.txt --verbose=1
/usr/local/bin/distcc  c++  -O2 -pipe -march=nocona -fno-strict-aliasing -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden   CMakeFiles/sopranod.dir/sopranod.cpp.o CMakeFiles/sopranod.dir/sopranodcore.cpp.o CMakeFiles/sopranod.dir/lockfile.cpp.o  -o sopranod  ../soprano/libsoprano.so.4.3.0 libsopranoserver.so.1.2.0 ../index/libsopranoindex.so.1.1.0 /usr/local/lib/qt4/libQtNetwork.so /usr/local/lib/qt4/libQtDBus.so ../soprano/libsoprano.so.4.3.0 /usr/local/lib/qt4/libQtCore.so -pthread /usr/local/lib/libclucene.so -Wl,-rpath,/usr/obj/mobileKamikaze.norad/amd64/usr/ports/textproc/soprano/work/soprano-2.4.4/soprano:/usr/obj/mobileKamikaze.norad/amd64/usr/ports/textproc/soprano/work/soprano-2.4.4/server:/usr/obj/mobileKamikaze.norad/amd64/usr/ports/textproc/soprano/work/soprano-2.4.4/index:/usr/local/lib/qt4:/usr/local/lib: 
CMakeFiles/sopranod.dir/sopranod.cpp.o(.text+0x33): In function `usage()':
: undefined reference to `Soprano::versionString()'
CMakeFiles/sopranod.dir/sopranodcore.cpp.o(.gnu.linkonce.r._ZTV12SopranodCore+0xb0): undefined reference to `Soprano::Error::ErrorCache::lastError() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ErrorCache::ErrorCache()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::insert(QString const&, Soprano::Node const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::line() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::~BindingSet()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::toParserError() const'
libsopranoserver.so.1.2.0: undefined reference to `typeinfo for Soprano::Error::ErrorCache'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::Locator(int, int, int, QString const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Query::queryLanguageFromString(QString const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::Error(QString const&, int)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ErrorCache::setError(Soprano::Error::Error const&) const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::operator=(Soprano::Error::Error const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::~Error()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::fileName() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::BindingSet()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::operator[](int) const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::message() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::~Locator()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ParserError::locator() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ErrorCache::~ErrorCache()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ParserError::ParserError(Soprano::Error::Locator const&, QString const&, int)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::code() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::operator=(Soprano::Error::Locator const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::bindingNames() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::Error()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ErrorCache::setError(QString const&, int) const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::count() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::column() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::operator=(Soprano::BindingSet const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::operator[](QString) const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::Locator()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ParserError::~ParserError()'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::isParserError() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Error::Error(Soprano::Error::Error const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::Locator::byte() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ErrorCache::clearError() const'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::Error::ParserError::ParserError(Soprano::Error::Error const&)'
libsopranoserver.so.1.2.0: undefined reference to `Soprano::BindingSet::BindingSet(Soprano::BindingSet const&)'
distcc[34689] ERROR: compile (null) on localhost failed
*** Error code 1

Stop in /usr/obj/mobileKamikaze.norad/amd64/usr/ports/textproc/soprano/work/soprano-2.4.4.
*** Error code 1
 
Ich habe jetzt auch alle BUILD_DEPENDS von dem ganzen QT-Kram ohne ccache neu gebaut - keine Veränderung.
 
Back
Top