Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2017 01:18:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216649] databases/sqlitestudio: fails to build with clang 4.0
Message-ID:  <bug-216649-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216649

            Bug ID: 216649
           Summary: databases/sqlitestudio: fails to build with clang 4.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: yuri@rawbw.com
            Blocks: 216008
             Flags: maintainer-feedback?(yuri@rawbw.com)
                CC: yuri@rawbw.com

In file included from common/utils_sql.cpp:1:
In file included from coreSQLiteStudio/common/utils_sql.h:5:
In file included from coreSQLiteStudio/parser/token.h:4:
In file included from coreSQLiteStudio/common/utils.h:4:
In file included from coreSQLiteStudio/coreSQLiteStudio_global.h:4:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:77:
In file included from /usr/local/include/qt5/QtCore/qcompilerdetection.h:93=
6:
In file included from /usr/include/c++/v1/utility:198:
In file included from /usr/include/c++/v1/__tuple:16:
/usr/include/c++/v1/type_traits:4301:23: error: calling 'operator()' with
incomplete return type 'QVariant'
_LIBCPP_INVOKE_RETURN(_VSTD::forward<_Fp>(__f)(_VSTD::forward<_Args>(__args=
)...))
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~~~
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^
/usr/include/c++/v1/type_traits:4198:23: note: expanded from macro
'_LIBCPP_INVOKE_RETURN'
    noexcept(noexcept(__VA_ARGS__)) -> decltype(__VA_ARGS__) \
                      ^~~~~~~~~~~
/usr/include/c++/v1/type_traits:4318:9: note: in instantiation of exception
specification for '__invoke<std::__1::function<QVariant (const QList<QVaria=
nt>
&, Db *, bool &)> &, const QList<QVariant> &, Db *, bool &>' requested here
        _VSTD::__invoke(_VSTD::declval<_Fp>(), _VSTD::declval<_Args>()...));
        ^
/usr/include/c++/v1/__config:390:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
              ^
/usr/include/c++/v1/functional:1591:33: note: in instantiation of template
class 'std::__1::__invokable_r<void, std::__1::function<QVariant (const
QList<QVariant> &, Db *, bool &)> &, const QList<QVariant> &, Db *, bool &>'
requested here
                                __invokable<_Fp&, _ArgTypes...>::value>
                                ^
/usr/include/c++/v1/functional:1616:9: note: in instantiation of default
argument for '__callable<std::__1::function<QVariant (const QList<QVariant>=
 &,
Db *, bool &)> >' required here
        __callable<_Fp>::value && !is_same<_Fp, function>::value
        ^~~~~~~~~~~~~~~
/usr/include/c++/v1/functional:1618:5: note: in instantiation of default
argument for 'function<std::__1::function<QVariant (const QList<QVariant> &=
, Db
*, bool &)> >' required here
    function(_Fp);
    ^~~~~~~~~~~~~
/usr/include/c++/v1/functional:1578:28: note: while substituting deduced
template arguments into function template 'function' [with _Fp =3D
std::__1::function<QVariant (const QList<QVariant> &, Db *, bool &)>, $1 =
=3D (no
value)]
class _LIBCPP_TEMPLATE_VIS function<_Rp(_ArgTypes...)>
                           ^
/usr/include/c++/v1/functional:1670:9: note: 'operator()' declared here
    _Rp operator()(_ArgTypes...) const;
        ^
/usr/local/include/qt5/QtCore/qmetatype.h:1887:1: note: forward declaration=
 of
'QVariant'
QT_FOR_EACH_STATIC_CORE_CLASS(QT_FORWARD_DECLARE_STATIC_TYPES_ITER)
^
/usr/local/include/qt5/QtCore/qmetatype.h:109:21: note: expanded from macro
'QT_FOR_EACH_STATIC_CORE_CLASS'
    F(QVariant, 41, QVariant) \
                    ^

build log:
http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_=
16h09m05s/logs/errors/sqlitestudio-3.1.1.log
libc++ first bad: https://github.com/llvm-mirror/libcxx/commit/8d5cbd7ce2e9


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in bas=
e to
4.0.0
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216649-13>