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

WebEngine build is using the install directory during build

    XMLWordPrintable

    Details

    • Commits:
      Change-Id: I425f26fcb4b611c255dd744cb9b4eafe16015d6f

      Description

      I had successfully managed to build Qt 5.4.0 but Qt 5.4.1 ends up with build errors in QtWebengine:

      ...
      [8/8862] COPY gen/repack/qtwebengine_locales/tr.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/tr.pak
      [9/8862] COPY gen/repack/qtwebengine_locales/th.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/th.pak
      [10/8862] COPY gen/repack/qtwebengine_locales/te.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/te.pak
      FAILED: ln -f gen/repack/qtwebengine_locales/ar.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/ar.pak 2>/dev/null || (rm -rf /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/ar.pak && cp -af gen/repack/qtwebengine_locales/ar.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/ar.pak)
      rm: cannot remove `/usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/ar.pak': Permission denied
      FAILED: ln -f gen/repack/qtwebengine_locales/vi.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/vi.pak 2>/dev/null || (rm -rf /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/vi.pak && cp -af gen/repack/qtwebengine_locales/vi.pak /usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/vi.pak)
      rm: cannot remove `/usr/lib/trolltech/qt5-desktop-linux/translations/qtwebengine_locales/vi.pak': Permission denied
      ...
      

      It seems like webengine during the build uses the install directory and if there aren't enough permission then it fails. It's common to build it as a user and install it with sudo as root.

        Attachments

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

          Activity

            People

            • Assignee:
              pvarga Peter Varga
              Reporter:
              qtcomsupport Qt Support
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes