[MacPorts] #58354: kdelibs4 failed to build on Mojave

MacPorts noreply at macports.org
Fri Apr 19 16:51:18 UTC 2019


#58354: kdelibs4 failed to build on Mojave
----------------------+--------------------
 Reporter:  AlainT    |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  kdelibs4  |       Port:  2.5.4
----------------------+--------------------
 port version 2.5.4 Mojave 10.14.4 iMac Late 2013 I5 2.9
 {{{
 ...
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kdecore
 && /usr/bin/clang++  -DCOMPILING_TESTS
 -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=139 -DKDE_DEPRECATED_WARNINGS
 -DMAKE_KDECORE_LIB -DNO_DISPLAY -DQT_NO_CAST_FROM_ASCII
 -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -DQT_USE_FAST_CONCATENATION
 -DQT_USE_FAST_OPERATOR_PLUS -D_REENTRANT
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kdecore
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/interfaces
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kdecore/network
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kdecore/date
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kdecore/compression
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/auth
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kjs
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build/kjs
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/compression
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/config
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/date
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/io
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/jobs
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/kernel
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/network
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/services
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/sycoca
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/text
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/util
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/sonnet
 -I/opt/local/libexec/qt4/include/QtCrypto
 -I/opt/local/libexec/qt4/include/QtXmlPatterns
 -I/opt/local/libexec/qt4/include/QtXml
 -I/opt/local/libexec/qt4/include/QtWebKit
 -I/opt/local/libexec/qt4/include/QtUiTools
 -I/opt/local/libexec/qt4/include/QtTest
 -I/opt/local/libexec/qt4/include/QtSvg
 -I/opt/local/libexec/qt4/include/QtSql
 -I/opt/local/libexec/qt4/include/QtScriptTools
 -I/opt/local/libexec/qt4/include/QtScript
 -I/opt/local/libexec/qt4/include/QtOpenGL
 -I/opt/local/libexec/qt4/include/QtNetwork
 -I/opt/local/libexec/qt4/include/QtMultimedia
 -I/opt/local/libexec/qt4/include/QtHelp
 -I/opt/local/libexec/qt4/include/QtDesigner
 -I/opt/local/libexec/qt4/include/QtDeclarative
 -I/opt/local/libexec/qt4/include/QtDBus
 -I/opt/local/libexec/qt4/include/Qt3Support
 -I/opt/local/libexec/qt4/include/QtGui
 -I/opt/local/libexec/qt4/include/QtCore -I/opt/local/libexec/qt4/include
 -I/opt/local/libexec/qt4/share/mkspecs/default  -pipe -Os -stdlib=libc++
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -fno-common -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -isysroot
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
 -mmacosx-version-min=10.14 -fPIC   -D__APPLE_KDE__
 -DBUNDLE_INSTALL_DIR="\"/Applications/MacPorts/KDE4\"" -o
 CMakeFiles/kdecore.dir/localization/kuitsemantics.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/kuitsemantics.cpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_kde.cpp:2441:59:
 error: ordered comparison between pointer and zero ('const void *' and
 'int')
     if ((timeFormat().contains(QString::fromLatin1("%I")) > 0) ||
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_kde.cpp:2442:59:
 error: ordered comparison between pointer and zero ('const void *' and
 'int')
         (timeFormat().contains(QString::fromLatin1("%l")) > 0)) {
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_kde.cpp:25:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_p.h:24:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale.h:25:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocalizedstring.h:27:
 In file included from /opt/local/libexec/qt4/include/QtCore/QStringList:1:
 In file included from
 /opt/local/libexec/qt4/include/QtCore/qstringlist.h:46:
 In file included from
 /opt/local/libexec/qt4/include/QtCore/qdatastream.h:46:
 In file included from
 /opt/local/libexec/qt4/include/QtCore/qiodevice.h:46:
 In file included from /opt/local/libexec/qt4/include/QtCore/qobject.h:50:
 /opt/local/libexec/qt4/include/QtCore/qlist.h:381:22: warning: source of
 this 'memcpy' call is a pointer to dynamic class 'KDayPeriod'; vtable
 pointer will be copied [-Wdynamic-class-memaccess]
     else ::memcpy(n, &t, sizeof(T));
          ~~~~~~~~    ^
 /opt/local/libexec/qt4/include/QtCore/qlist.h:512:13: note: in
 instantiation of member function 'QList<KDayPeriod>::node_construct'
 requested here
             node_construct(n, t);
             ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_kde.cpp:583:26:
 note: in instantiation of member function 'QList<KDayPeriod>::append'
 requested here
             m_dayPeriods.append(KDayPeriod(period[0], period[1],
 period[2], period[3],
                          ^
 /opt/local/libexec/qt4/include/QtCore/qlist.h:381:22: note: explicitly
 cast the pointer to silence this warning
     else ::memcpy(n, &t, sizeof(T));
                      ^
                      (void*)
 /opt/local/libexec/qt4/include/QtCore/qlist.h:381:22: warning: source of
 this 'memcpy' call is a pointer to dynamic class 'KCatalog'; vtable
 pointer will be copied [-Wdynamic-class-memaccess]
     else ::memcpy(n, &t, sizeof(T));
          ~~~~~~~~    ^
 /opt/local/libexec/qt4/include/QtCore/qlist.h:512:13: note: in
 instantiation of member function 'QList<KCatalog>::node_construct'
 requested here
             node_construct(n, t);
             ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdecore/localization/klocale_kde.cpp:850:29:
 note: in instantiation of member function 'QList<KCatalog>::append'
 requested here
                 newCatalogs.append(KCatalog(name.name, lang));
                             ^
 /opt/local/libexec/qt4/include/QtCore/qlist.h:381:22: note: explicitly
 cast the pointer to silence this warning
     else ::memcpy(n, &t, sizeof(T));
                      ^
                      (void*)
 2 warnings and 2 errors generated.
 make[2]: *** [kdecore/CMakeFiles/kdecore.dir/localization/klocale_kde.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build'
 make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/build"
 && /usr/bin/make -j4 -w all VERBOSE=ON
 Exit code: 2
 Error: Failed to build kdelibs4: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port kdelibs4 failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/58354>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list