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

make docs in qtwebkit fails due to missing deps

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.0.1
    • WebKit
    • None
    • $ uname -ior
      3.7.6 GenuineIntel GNU/Linux

      $ /usr/lib/qt5/bin/qmake --version
      QMake version 3.0
      Using Qt version 5.0.1 in /usr/lib64

      $ make --version
      GNU Make 3.82
      Built for x86_64-pc-linux-gnu

    Description

      In freshly unpacked and configured qt-webkit, make docs hangs.
      It infinitely repeats the following:

      make[4]: Entering directory `/var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-doc-opensource-src-5.0.1_build/Source'
      /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-doc-opensource-src-5.0.1_build/bin/qmake -o Makefile.api /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-opensource-src-5.0.1/Source/api.pri
      Project MESSAGE: /usr/lib64/qt5/bin/syncqt -module QtWebKit -mkspecsdir /usr/lib64/qt5/mkspecs -outdir /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-doc-opensource-src-5.0.1_build /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-opensource-src-5.0.1/Source
      <srcbase> = /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-opensource-src-5.0.1/Source
      <outbase> = /var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-doc-opensource-src-5.0.1_build
      WARNING: Failure to find: WebCore/generated/InspectorBackendCommands.qrc
      /usr/lib64/qt5/bin/rcc: File does not exist 'WebCore/generated/InspectorBackendCommands.qrc'
      make[4]: Leaving directory `/var/tmp/portage/x11-libs/qt-webkit-doc-5.0.1/work/qtwebkit-doc-opensource-src-5.0.1_build/Source'

      The missing files are generated by Source/WebCore/Makefile.WebCore.DerivedSources

      So, the following sequence helps:

      1. just to create directories for out-of-source build
        make sub-Source-WebCore-WebCore-pro-qch_docs_ordered

      #to generate files
      cd "${QT5_BUILD_DIR}/Source/WebCore"
      make -f Makefile.WebCore.DerivedSources
      cd ../..

      #now we can do make docs

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            eugene.shalygin Eugene Shalygin
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes