Opened 15 years ago

Last modified 15 years ago

#20116 closed defect

kdelibs4 won't link — at Version 1

Reported by: mike4004@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: kdelibs4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello I tried to install amarok and get an error at linking kdelibs4....hope some one could help me.

--->  Building kdelibs4
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && make all " returned error 2
Command output: ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(textbuilder.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*)       has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(formbuilderextra.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(resourcebuilder.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*)       has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::detach_helper()       has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::append(QString const&)has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(ui4.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QString::~QString()has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/jseventmapper.o
ld warning: QList<QString>::free(QListData::Data*)       has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::detach_helper()       has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QList<QString>::~QList() has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QColor qvariant_cast<QColor>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/qobject_binding.o
ld warning: QBrush qvariant_cast<QBrush>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/pen.o
ld warning: QStringList qvariant_cast<QStringList>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/variant_binding.o
ld warning: QFont qvariant_cast<QFont>(QVariant const&)has different visibility (default) in /usr/lib/libQtUiTools.a(properties.o) and (hidden) in CMakeFiles/kjsembed.dir/font.o
Undefined symbols:
  "QBoxLayout::stretch(int) const", referenced from:
      __ZNK10QBoxLayout7stretchEi$non_lazy_ptr in libQtUiTools.a(formbuilderextra.o)
  "QBoxLayout::setStretch(int, int)", referenced from:
      __ZN10QBoxLayout10setStretchEii$non_lazy_ptr in libQtUiTools.a(formbuilderextra.o)
  "QString::compare_helper(QChar const*, int, QChar const*, int, Qt::CaseSensitivity)", referenced from:
      QStringRef::compare(QString const&, Qt::CaseSensitivity) constin libQtUiTools.a(abstractformbuilder.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/libkjsembed.4.2.0.dylib] Error 1
make[1]: *** [kjsembed/kjsembed/CMakeFiles/kjsembed.dir/all] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: kdebase4-runtime kdelibs4 kdepimlibs4 akonadi boost boost-jam gmake gpgme gnupg libgpg-error pth libical openldap db44 qimageblitz libmp4v2 mysql5-devel taglib-devel
Error: Status 1 encountered during processing.

Change History (1)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: kdelibs4 added
Note: See TracTickets for help on using tickets.