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

File '***' is invalid

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.14.2, 5.15.0
    • Fix Version/s: None
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Linux
    • Platform/s:
      Linux/X11

      Description

      I'm experiencing a bug when building qt5-base that several others have been able to reproduce. Here is a log of a build which fails. 

      The error goes away after installing `icu`. This issue has been discussed in IRC and some logs can be found in the second reply to this issue on Github.

      Essentially, we tracked down the error to `tools/uic/main.cpp`, and from there to a couple more files (`driver.h` and `uic.h`). Strangely, the error occurs when using some versions of the package manager we use, but not when manually configuring it (either by directly typing in `./configure -foo -bar -baz` or by executing the build script ourselves - it's strange because our package manager merely execs the build script anyways).

      We also noted that Qt has abandoned the ICU project for Qt5, so it's unclear why installing `icu` should reoslve the error.

      Tangentially, we uncovered some issues with how qt5-base is being archived - busybox's `tar` implementation fails to preserve dates (not your problem I assume, as libarchive's `tar` seems fine), but the .zip requires us to execute `find . -type f -exec dos2unix {} +` in order to configure it - is the .zip intended as a Windows source?

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            dilyn DILYN CORNER
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes