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

Unable to build QtWebengine for MacOS. /bin/sh: Argument list too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.15.1
    • 5.14.2, 5.15.0 Beta4
    • Build System, WebEngine
    • None
    • MacOS 10.14.6 Xcode 10, MacOS 10.15.4 XCode 11
    • macOS
    • 54257fed0dd142b9b5128ff130cdc1325fad764a (qt/qtwebengine/5.15)

    Description

      Since 5.14.2 I'm unable to build QtWebengine for MacOS. It worked fine for 5.14.1. 

      I didn't find any workaround for this issue and decided to create a bug.

      Error occurs during linking QtWebEngineCore

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar cq -S release/libqtwebenginecoreapi.a .obj/qtwebenginecoreglobal.o .obj/qwebengineclientcertificatestore.o .obj/qwebenginecookiestore.o .obj/qwebenginefindtextresult.o .obj/qwebenginehttprequest.o .obj/qwebenginemessagepumpscheduler.o .obj/qwebenginenotification.o .obj/qwebenginequotarequest.o .obj/qwebengineregisterprotocolhandlerrequest.o .obj/qwebengineurlrequestinfo.o .obj/qwebengineurlrequestjob.o .obj/qwebengineurlscheme.o .obj/qwebengineurlschemehandler.o .obj/moc_qwebenginecookiestore.o .obj/moc_qwebenginemessagepumpscheduler_p.o .obj/moc_qwebenginequotarequest.o .obj/moc_qwebengineregisterprotocolhandlerrequest.o .obj/moc_qwebengineurlrequestinterceptor.o .obj/moc_qwebengineurlrequestjob.o .obj/moc_qwebengineurlscheme.o .obj/moc_qwebengineurlschemehandler.o
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib -s -no_warning_for_no_symbols release/libqtwebenginecoreapi.a
      ( test -e Makefile.core_module || /Volumes/Transcend/conan/qt/5.15.0-beta4/openmedia/default/build/6628ad2548ea226cc6e4255d0ad1bffc51ae63e2/qt5/qtbase/bin/qmake -o Makefile.core_module /Volumes/Transcend/conan/qt/5.15.0-beta4/openmedia/default/build/6628ad2548ea226cc6e4255d0ad1bffc51ae63e2/qt5/qtwebengine/src/core/core_module.pro ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.core_module 
      rm -f QtWebEngineCore QtWebEngineCore.framework/QtWebEngineCore ../../lib/QtWebEngineCore.framework/QtWebEngineCore
      make[4]: /bin/sh: Argument list too long
      

      Configure parameters:

      configure -top-level -opensource -confirm-license -nomake examples -nomake tests -qt-libpng -no-icu -qt-pcre -qt-webp -qt-freetype -qt-harfbuzz -prefix /Volumes/Transcend/conan/qt/5.15.0-beta4/openmedia/default/package/6628ad2548ea226cc6e4255d0ad1bffc51ae63e2 -release -system-zlib -system-libjpeg -openssl-runtime ZLIB_PREFIX=/Volumes/Transcend/conan/zlib/1.2.11_v3/openmedia/default/package/b5345360b98e4848990ea758c12f538a0376d973 ZLIB_LIBS=-lz OPENSSL_PREFIX=/Volumes/Transcend/conan/openssl/1.1.1f/openmedia/default/package/1c424f68569c15f95389985f8e5325840fef0209 OPENSSL_LIBS=-lssl -lcrypto -L/Volumes/Transcend/conan/zlib/1.2.11_v3/openmedia/default/package/b5345360b98e4848990ea758c12f538a0376d973/lib -lz LIBJPEG_PREFIX=/Volumes/Transcend/conan/jpeg/9c_v3/openmedia/default/package/7b965648514cfb0076ef0c1f86953be71b6bd20c LIBJPEG_LIBS=-ljpeg -silent -I /Volumes/Transcend/conan/openssl/1.1.1f/openmedia/default/package/1c424f68569c15f95389985f8e5325840fef0209/include -I /Volumes/Transcend/conan/jpeg/9c_v3/openmedia/default/package/7b965648514cfb0076ef0c1f86953be71b6bd20c/include -I /Volumes/Transcend/conan/zlib/1.2.11_v3/openmedia/default/package/b5345360b98e4848990ea758c12f538a0376d973/include
      

      Config and build logs attached

      Attachments

        1. config.log
          235 kB
        2. conan_run.log
          6.55 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            michal Michal Klocek
            mabean Max Bespalov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes