[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#939825: qtcreator: clang-format plugin broken



On Mon, Sep 9, 2019 at 2:37 PM Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@gmail.com> wrote:
>
> I'm terribly sorry, mixed clang with clazy, but the analysis still holds, you don't have clang installed
Ah, i was wondering what clazy had to do with anything.

Yes, i do, that is the main compiler i'm using.

$ dpkg -l | grep clang
ii  clang-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
C, C++ and Objective-C compiler
ii  clang-7
1:7.0.1-9+b1                                            amd64
C, C++ and Objective-C compiler
ii  clang-8
1:8.0.1-3+b1                                            amd64
C, C++ and Objective-C compiler
ii  clang-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
C, C++ and Objective-C compiler
ii  clang-format-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
Tool to format C/C++/Obj-C code
ii  clang-format-7
1:7.0.1-9+b1                                            amd64
Tool to format C/C++/Obj-C code
ii  clang-format-8
1:8.0.1-3+b1                                            amd64
Tool to format C/C++/Obj-C code
ii  clang-format-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
Tool to format C/C++/Obj-C code
ii  clang-tidy-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
clang-based C++ linter tool
ii  clang-tidy-7
1:7.0.1-9+b1                                            amd64
clang-based C++ linter tool
ii  clang-tidy-8
1:8.0.1-3+b1                                            amd64
clang-based C++ linter tool
ii  clang-tidy-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
clang-based C++ linter tool
ii  clang-tools-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
clang-based tools for C/C++ developments
ii  clang-tools-7
1:7.0.1-9+b1                                            amd64
clang-based tools for C/C++ developments
ii  clang-tools-8
1:8.0.1-3+b1                                            amd64
clang-based tools for C/C++ developments
ii  clang-tools-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
clang-based tools for C/C++ developments
ii  libclang-7-dev
1:7.0.1-9+b1                                            amd64
Clang library - Development package
ii  libclang-common-10-dev
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
Clang library - Common development package
ii  libclang-common-7-dev
1:7.0.1-9+b1                                            amd64
Clang library - Common development package
ii  libclang-common-8-dev
1:8.0.1-3+b1                                            amd64
Clang library - Common development package
ii  libclang-common-9-dev
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
Clang library - Common development package
ii  libclang-cpp1-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee all
transitional package
ii  libclang-cpp1-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64
C++ interface to the Clang library
ii  libclang-cpp10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64
C++ interface to the Clang library
ii  libclang1-10
1:10~svn370967-1~exp1+0~20190904200827.2719~1.gbpc222ee amd64        C
interface to the Clang library
ii  libclang1-7
1:7.0.1-9+b1                                            amd64        C
interface to the Clang library
ii  libclang1-8
1:8.0.1-3+b1                                            amd64        C
interface to the Clang library
ii  libclang1-9
1:9~svn366059-1~exp1+0~20190715121055.2623~1.gbp7d3830  amd64        C
interface to the Clang library

I don't have clang package, because that one is counter-productive,
since it only pulls in whatever latest is considered to be the default,
and sets up clang symlinks; all of that i do manually (pointing to the
ToT version.)

Note that it complains about the build-time dependencies.
Is libFormat correctly specified as compile-time dependency of qtcreator?

Roman

> El lun., 9 sep. 2019 08:35, Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com> escribió:
>>
>> severity 939825 normal
>> tag 939825 moreinfo
>> thanks
>>
>> Hi Roman!
>>
>> El lun., 9 sep. 2019 07:15, Roman Lebedev <lebedev.ri@gmail.com> escribió:
>>>
>>> Package: qtcreator
>>> Version: 4.10.0-1
>>> Severity: important
>>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>>
>>> Dear maintainer, after update to qtcreator 4.10.0-1,
>>> on the first start, qtcreator is complaining that ClangFormat plugin
>>> has errors and can not be loaded: "Plugin initialization failed: Disabling
>>> ClangFormat plugin as it is not built against a suitable version of Clang's
>>> libFormat. For more information, see the Qt Creator README at
>>> https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/README.md";
>>
>>
>> Clazy is currently involved in a llvm transition. Do you have it installed? See below.
>
>
> I meant clang here, sorry.
>
>>> clang-format is a really important piece of modern workflow, so i set
>>> priority to important.
>>
>>
>>
>> You can still run it by hand, so lowering to normal.
>>
>>> Roman.
>>>
>>> - -- System Information:
>>> Debian Release: bullseye/sid
>>>   APT prefers unstable
>>>   APT policy: (990, 'unstable'), (500, 'unstable-debug'), (1, 'experimental-debug'), (1, 'experimental')
>>> Architecture: amd64 (x86_64)
>>
>>
>>
>> [snip]
>>
>>> Versions of packages qtcreator recommends:
>>> pn  clang                          <none>
>>
>>
>> No clang and...
>>
>>> Versions of packages qtcreator suggests:
>>> pn  clazy       <none>
>>
>>
>> No clazy either.
>>
>> Please check your system.


Reply to: