Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64539

[5.10.0 beta4] Shadow build fails on macOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 5.10.0 RC
    • 5.10.0 Beta 4
    • Build System
    • OS X 10.11 (Xcode 8.2.1)
    • macOS
    • 0dc025bf9f0ba3760ae8a02356900f5f63e75047

    Description

      Shadow build fails on macOS.

      Steps to reproduce:

      1. Download 5.10.0 beta4 source package
      2. Create an empty directory from where you call 'configure' with parameters:
      ../src-5.10/configure -confirm-license -xplatform macx-clang -sdk macosx -device-option QMAKE_APPLE_DEVICE_ARCHS=x86_64 -release -debug-and-release -nomake tests -nomake examples -verbose -skip qtwebengine -skip qtwebsockets -skip qtwebchannel -skip qtwebview -commercial -prefix /Users/qt/RTA/shadow/qtbase
      1. run 'make -j4'

      Expected result:

      The build succeeds

      Actual result:

      The build fails with:

      09:13:16 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -include.pch/debug/QtCore_debug/c++_x86_64 -pipe -stdlib=libc++ -g -std=c++1z -fapplication-extension  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.10 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -fPIC -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DPCRE2_CODE_UNIT_WIDTH=16 -I/Users/qt/RTA/src-5.10/qtbase/src/corelib -I. -Iglobal -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/harfbuzz/src -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/md5 -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/md4 -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/sha3 -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/double-conversion/include -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/double-conversion/include/double-conversion -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/forkfd -I/Users/qt/RTA/src-5.10/qtbase/include -I../../include -I/Users/qt/RTA/src-5.10/qtbase/include/QtCore -I../../include/QtCore -I/Users/qt/RTA/src-5.10/qtbase/include/QtCore/5.10.0 -I/Users/qt/RTA/src-5.10/qtbase/include/QtCore/5.10.0/QtCore -I../../include/QtCore/5.10.0 -I../../include/QtCore/5.10.0/QtCore -I.moc/debug -I/Users/qt/RTA/src-5.10/qtbase/src/3rdparty/pcre2/src -I/Users/qt/RTA/src-5.10/qtbase/mkspecs/macx-clang -o .obj/debug/qurlidna.o /Users/qt/RTA/src-5.10/qtbase/src/corelib/io/qurlidna.cpp
      09:13:16 make[4]: *** No rule to make target `../../../../src-5.10/qtbase/src/corelib/global/qconfig.h', needed by `../../lib/QtCore.framework/Versions/5/Headers/qconfig.h'.  Stop.
      09:13:16 make[4]: *** Waiting for unfinished jobs....
      09:13:16 make[3]: *** [release-all] Error 2
      09:13:16 make[3]: *** Waiting for unfinished jobs....

      and later:

      09:13:57 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -stdlib=libc++ -headerpad_max_install_names -fapplication-extension -arch x86_64 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.10 -Wl,-rpath,@executable_path/Frameworks -Wl,-rpath,@loader_path/Frameworks -single_module -dynamiclib -compatibility_version 5.10 -current_version 5.10.0 -install_name @rpath/QtCore.framework/Versions/5/QtCore_debug -o QtCore_debug .obj/debug/qstring_compat.o .obj/debug/qabstractanimation.o .obj/debug/qvariantanimation.o .obj/debug/qpropertyanimation.o .obj/debug/qanimationgroup.o .obj/debug/qsequentialanimationgroup.o .obj/debug/qparallelanimationgroup.o .obj/debug/qpauseanimation.o .obj/debug/qglobal.o .obj/debug/qlibraryinfo.o .obj/debug/qmalloc.o .obj/debug/qnumeric.o .obj/debug/qfloat16.o .obj/debug/qoperatingsystemversion.o .obj/debug/qlogging.o .obj/debug/qrandom.o .obj/debug/qhooks.o .obj/debug/qoperatingsystemversion_darwin.o .obj/debug/qversiontagging.o .obj/debug/qatomic.o .obj/debug/qexception.o .obj/debug/qresultstore.o .obj/debug/qfutureinterface.o .obj/debug/qfuturewatcher.o .obj/debug/qmutex.o .obj/debug/qreadwritelock.o .obj/debug/qrunnable.o .obj/debug/qmutexpool.o .obj/debug/qsemaphore.o .obj/debug/qthread.o .obj/debug/qthreadpool.o .obj/debug/qthreadstorage.o .obj/debug/qthread_unix.o .obj/debug/qwaitcondition_unix.o .obj/debug/qarraydata.o .obj/debug/qbitarray.o .obj/debug/qbytearray.o .obj/debug/qbytearraylist.o .obj/debug/qbytearraymatcher.o .obj/debug/qcollator.o .obj/debug/qcryptographichash.o .obj/debug/qdatetime.o .obj/debug/qeasingcurve.o .obj/debug/qfreelist.o .obj/debug/qhash.o .obj/debug/qline.o .obj/debug/qlinkedlist.o .obj/debug/qlist.o .obj/debug/qlocale.o .obj/debug/qlocale_tools.o .obj/debug/qpoint.o .obj/debug/qmap.o .obj/debug/qmargins.o .obj/debug/qmessageauthenticationcode.o .obj/debug/qcontiguouscache.o .obj/debug/qrect.o .obj/debug/qregexp.o .obj/debug/qrefcount.o .obj/debug/qringbuffer.o .obj/debug/qshareddata.o .obj/debug/qsharedpointer.o .obj/debug/qsimd.o .obj/debug/qsize.o .obj/debug/qstring.o .obj/debug/qstringbuilder.o .obj/debug/qstringlist.o .obj/debug/qstringview.o .obj/debug/qtextboundaryfinder.o .obj/debug/qtimeline.o .obj/debug/qunicodetools.o .obj/debug/qvsnprintf.o .obj/debug/qversionnumber.o .obj/debug/qlocale_mac.o .obj/debug/qcollator_macx.o .obj/debug/qtimezone.o .obj/debug/qtimezoneprivate.o .obj/debug/qtimezoneprivate_mac.o .obj/debug/qdatetimeparser.o .obj/debug/qregularexpression.o .obj/debug/qcommandlineoption.o .obj/debug/qcommandlineparser.o .obj/debug/harfbuzz-buffer.o .obj/debug/harfbuzz-gdef.o .obj/debug/harfbuzz-gsub.o .obj/debug/harfbuzz-gpos.o .obj/debug/harfbuzz-impl.o .obj/debug/harfbuzz-open.o .obj/debug/harfbuzz-stream.o .obj/debug/harfbuzz-shaper-all.o .obj/debug/qharfbuzz.o .obj/debug/bignum.o .obj/debug/bignum-dtoa.o .obj/debug/cached-powers.o .obj/debug/diy-fp.o .obj/debug/double-conversion.o .obj/debug/fast-dtoa.o .obj/debug/fixed-dtoa.o .obj/debug/strtod.o .obj/debug/qabstractfileengine.o .obj/debug/qbuffer.o .obj/debug/qdatastream.o .obj/debug/qdataurl.o .obj/debug/qtldurl.o .obj/debug/qdebug.o .obj/debug/qdir.o .obj/debug/qdiriterator.o .obj/debug/qfile.o .obj/debug/qfiledevice.o .obj/debug/qfileinfo.o .obj/debug/qipaddress.o .obj/debug/qiodevice.o .obj/debug/qlockfile.o .obj/debug/qnoncontiguousbytedevice.o .obj/debug/qstorageinfo.o .obj/debug/qtextstream.o .obj/debug/qtemporarydir.o .obj/debug/qtemporaryfile.o .obj/debug/qresource.o .obj/debug/qresource_iterator.o .obj/debug/qsavefile.o .obj/debug/qstandardpaths.o .obj/debug/qurl.o .obj/debug/qurlidna.o .obj/debug/qurlquery.o .obj/debug/qurlrecode.o .obj/debug/qsettings.o .obj/debug/qfsfileengine.o .obj/debug/qfsfileengine_iterator.o .obj/debug/qfilesystemwatcher.o .obj/debug/qfilesystemwatcher_polling.o .obj/debug/qfilesystementry.o .obj/debug/qfilesystemengine.o .obj/debug/qfileselector.o .obj/debug/qloggingcategory.o .obj/debug/qloggingregistry.o .obj/debug/qprocess.o .obj/debug/qprocess_unix.o .obj/debug/qfsfileengine_unix.o .obj/debug/qfilesystemengine_unix.o .obj/debug/qlockfile_unix.o .obj/debug/qfilesystemiterator_unix.o .obj/debug/forkfd_qt.o .obj/debug/qsettings_mac.o .obj/debug/qstorageinfo_mac.o .obj/debug/qfilesystemwatcher_kqueue.o .obj/debug/qabstractitemmodel.o .obj/debug/qabstractproxymodel.o .obj/debug/qitemselectionmodel.o .obj/debug/qidentityproxymodel.o .obj/debug/qsortfilterproxymodel.o .obj/debug/qstringlistmodel.o .obj/debug/qjson.o .obj/debug/qjsondocument.o .obj/debug/qjsonobject.o .obj/debug/qjsonarray.o .obj/debug/qjsonvalue.o .obj/debug/qjsonwriter.o .obj/debug/qjsonparser.o .obj/debug/qfactoryinterface.o .obj/debug/qpluginloader.o .obj/debug/qfactoryloader.o .obj/debug/quuid.o .obj/debug/qlibrary.o .obj/debug/qelfparser_p.o .obj/debug/qmachparser.o .obj/debug/qlibrary_unix.o .obj/debug/qabstracteventdispatcher.o .obj/debug/qabstractnativeeventfilter.o .obj/debug/qbasictimer.o .obj/debug/qdeadlinetimer.o .obj/debug/qelapsedtimer.o .obj/debug/qeventloop.o .obj/debug/qcoreapplication.o .obj/debug/qcoreevent.o .obj/debug/qmetaobject.o .obj/debug/qmetatype.o .obj/debug/qmetaobjectbuilder.o .obj/debug/qmimedata.o .obj/debug/qobject.o .obj/debug/qobjectcleanuphandler.o .obj/debug/qsignalmapper.o .obj/debug/qsocketnotifier.o .obj/debug/qtimer.o .obj/debug/qtranslator.o .obj/debug/qvariant.o .obj/debug/qcoreglobaldata.o .obj/debug/qsharedmemory.o .obj/debug/qsystemsemaphore.o .obj/debug/qpointer.o .obj/debug/qmath.o .obj/debug/qsystemerror.o .obj/debug/qcfsocketnotifier.o .obj/debug/qcoreapplication_mac.o .obj/debug/qcore_mac.o .obj/debug/qcore_foundation.o .obj/debug/qelapsedtimer_mac.o .obj/debug/qcore_unix.o .obj/debug/qeventdispatcher_unix.o .obj/debug/qtimerinfo_unix.o .obj/debug/qsharedmemory_posix.o .obj/debug/qsharedmemory_systemv.o .obj/debug/qsharedmemory_unix.o .obj/debug/qsystemsemaphore_posix.o .obj/debug/qsystemsemaphore_systemv.o .obj/debug/qsystemsemaphore_unix.o .obj/debug/qisciicodec.o .obj/debug/qlatincodec.o .obj/debug/qsimplecodec.o .obj/debug/qtextcodec.o .obj/debug/qtsciicodec.o .obj/debug/qutfcodec.o .obj/debug/qgb18030codec.o .obj/debug/qjpunicode.o .obj/debug/qeucjpcodec.o .obj/debug/qjiscodec.o .obj/debug/qsjiscodec.o .obj/debug/qeuckrcodec.o .obj/debug/qbig5codec.o .obj/debug/qstatemachine.o .obj/debug/qabstractstate.o .obj/debug/qstate.o .obj/debug/qfinalstate.o .obj/debug/qhistorystate.o .obj/debug/qabstracttransition.o .obj/debug/qsignaltransition.o .obj/debug/qeventtransition.o .obj/debug/qmimedatabase.o .obj/debug/qmimetype.o .obj/debug/qmimemagicrulematcher.o .obj/debug/qmimetypeparser.o .obj/debug/qmimemagicrule.o .obj/debug/qmimeglobpattern.o .obj/debug/qmimeprovider.o .obj/debug/qxmlstream.o .obj/debug/qxmlutils.o .obj/debug/qprocess_darwin.o .obj/debug/qstandardpaths_mac.o .obj/debug/qfilesystemwatcher_fsevents.o .obj/debug/qcore_mac_objc.o .obj/debug/qeventdispatcher_cf.o .obj/debug/qfloat16tables.o .obj/debug/qrc_mimetypes.o .obj/debug/moc_qfilesystemwatcher_fsevents_p.o .obj/debug/moc_qfilesystemwatcher_kqueue_p.o .obj/debug/moc_qmimetype.o -framework DiskArbitration -framework IOKit -lm -framework Foundation -framework CoreServices -framework AppKit -framework ApplicationServices -framework CoreFoundation -lz -L/Users/qt/RTA/shadow/qtbase/lib -lqtpcre2_debug
      09:13:58 mv -f QtCore_debug ../../lib/QtCore.framework/Versions/5/QtCore_debug
      09:13:58 ln -s Versions/Current/QtCore_debug ../../lib/QtCore.framework/QtCore_debug
      09:13:58 make[2]: *** [sub-corelib-make_first] Error 2
      09:13:58 make[1]: *** [sub-src-make_first] Error 2
      09:13:58 make: *** [module-qtbase-make_first] Error 2

      Please find the whole build log attached to this bug report.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alexandru.croitor Alexandru Croitor
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes