Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1051

Build failure with libc++ 3.9.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7.0
    • Component/s: General
    • Labels:
      None
    • Commits:
      5c1183aa377ae8de487d5541360369ebd2ee0f6b

      Description

      Building 1.6.1 fails with libc++:

      In file included from /wrkdirs/usr/ports/devel/qbs/work/qbs-src-1.6.1/src/lib/corelib/api/internaljobs.cpp:39:
      In file included from /wrkdirs/usr/ports/devel/qbs/work/qbs-src-1.6.1/src/lib/corelib/buildgraph/executor.h:45:
      /usr/include/c++/v1/queue:400:5: error: static_assert failed ""
          static_assert((is_same<_Tp, value_type>::value), "" );
          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /wrkdirs/usr/ports/devel/qbs/work/qbs-src-1.6.1/src/lib/corelib/buildgraph/executor.h:156:12: note: in instantiation of template class
            'std::__1::priority_queue<qbs::Internal::Artifact *, std::__1::vector<qbs::Internal::BuildGraphNode *,
            std::__1::allocator<qbs::Internal::BuildGraphNode *> >, qbs::Internal::Executor::ComparePriority>' requested here
          Leaves m_leaves;
                 ^
      

      This is caused by this libc++ commit.

        Attachments

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

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            rakuco Raphael Kubo da Costa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes