Bug#952718: marked as done (qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed)
Your message dated Wed, 19 Aug 2020 17:18:40 + with message-id and subject line Bug#952718: fixed in qtcreator 4.12.4-1 has caused the Debian Bug report #952718, regarding qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 952718: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952718 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Subject: qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed Package: qtcreator Version: 4.11.0-2 Severity: normal Dear Maintainer, * What led up to the situation? Install `qtcreator` but not the `libclang-common-8-dev` package Note: Installing `clang` package will install `clang-9` and not `clang-8`. When opening a CMake project in qtcreator that does `#include `, an error is reported by the clang code model in `cstddef`: `cstddef:50:10: fatal error: 'stddef.h' file not found` * What exactly did you do (or not do) that was effective (or ineffective)? When installing the `libclang-common-8-dev` package, the clang code model error goes away and no error is reported anymore. * What outcome did you expect instead? I expect the clang code model to work out of the box with all depends and recommends dependencies of `qtcreator`. As of now, `libclang-common-8-dev` seems required by the clang code model to work correctly, but that package is not a direct or indirect dependency of `qtcreator`. The simplest solution (if it is the right one) is to add `libclang-common-8-dev` as depends or recommends dependency to qtcreator. Or maybe it should be a dependency of `libclang1-8` instead (which qtcreator depends on). -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.8-amdnoflr-20200109 (SMP w/12 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages qtcreator depends on: ii libc6 2.29-10 ii libclang1-81:8.0.1-7 ii libgcc-s1 [libgcc1]10-20200222-1 ii libgcc11:10-20200222-1 ii libkf5syntaxhighlighting5 5.62.0-3 ii libllvm8 1:8.0.1-7 ii libqbscore1.13 1.13.1-2 ii libqt5concurrent5 5.12.5+dfsg-8 ii libqt5core5a [qtbase-abi-5-12-5] 5.12.5+dfsg-8 ii libqt5designer55.12.5-2+b2 ii libqt5designercomponents5 5.12.5-2+b2 ii libqt5gui5 5.12.5+dfsg-8 ii libqt5help55.12.5-2+b2 ii libqt5network5 5.12.5+dfsg-8 ii libqt5printsupport55.12.5+dfsg-8 ii libqt5qml5 [qtdeclarative-abi-5-12-5] 5.12.5-5 ii libqt5quick5 5.12.5-5 ii libqt5quickwidgets55.12.5-5 ii libqt5script5 5.12.5+dfsg-2 ii libqt5serialport5 5.12.5-1 ii libqt5sql5 5.12.5+dfsg-8 ii libqt5sql5-sqlite 5.12.5+dfsg-8 ii libqt5widgets5 5.12.5+dfsg-8 ii libqt5xml5 5.12.5+dfsg-8 ii libstdc++6 10-20200222-1 ii qml-module-qtqml-models2 5.12.5-5 ii qml-module-qtquick-controls5.12.5-1+b1 ii qml-module-qtquick25.12.5-5 ii qtchooser 66-2 ii qtcreator-data 4.11.0-2 Versions of packages qtcreator recommends: ii clang 1:9.0-49 ii clang-tidy 1:9.0-49 ii gdb-minimal [gdb] 9.1-1 ii konsole [x-terminal-emulator] 4:19.08.1-2+b1 ii make 4.2.1-1.2 pn qmlscene pn qt5-doc pn qt5-qmltooling-plugins pn qtbase5-dev-tools pn qtcreator-doc pn qtdeclarative5-dev-tools pn qttools5-dev-tools pn qttranslations5-l10n pn qtxmlpatterns5-dev-tools Versions of packages qtcreator suggests: pn clazy ii cmake 3.16.3-1 ii g++ 4:9.2.1-3.1 ii git
Bug#952718: marked as done (qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed)
Your message dated Fri, 28 Feb 2020 15:11:38 -0300 with message-id and subject line Re: Bug#952718: qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed has caused the Debian Bug report #952718, regarding qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 952718: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=952718 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Subject: qtcreator: Clang code model fail to find stddef.h if libclang-common-8-dev package is not installed Package: qtcreator Version: 4.11.0-2 Severity: normal Dear Maintainer, * What led up to the situation? Install `qtcreator` but not the `libclang-common-8-dev` package Note: Installing `clang` package will install `clang-9` and not `clang-8`. When opening a CMake project in qtcreator that does `#include `, an error is reported by the clang code model in `cstddef`: `cstddef:50:10: fatal error: 'stddef.h' file not found` * What exactly did you do (or not do) that was effective (or ineffective)? When installing the `libclang-common-8-dev` package, the clang code model error goes away and no error is reported anymore. * What outcome did you expect instead? I expect the clang code model to work out of the box with all depends and recommends dependencies of `qtcreator`. As of now, `libclang-common-8-dev` seems required by the clang code model to work correctly, but that package is not a direct or indirect dependency of `qtcreator`. The simplest solution (if it is the right one) is to add `libclang-common-8-dev` as depends or recommends dependency to qtcreator. Or maybe it should be a dependency of `libclang1-8` instead (which qtcreator depends on). -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.4.8-amdnoflr-20200109 (SMP w/12 CPU cores) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages qtcreator depends on: ii libc6 2.29-10 ii libclang1-81:8.0.1-7 ii libgcc-s1 [libgcc1]10-20200222-1 ii libgcc11:10-20200222-1 ii libkf5syntaxhighlighting5 5.62.0-3 ii libllvm8 1:8.0.1-7 ii libqbscore1.13 1.13.1-2 ii libqt5concurrent5 5.12.5+dfsg-8 ii libqt5core5a [qtbase-abi-5-12-5] 5.12.5+dfsg-8 ii libqt5designer55.12.5-2+b2 ii libqt5designercomponents5 5.12.5-2+b2 ii libqt5gui5 5.12.5+dfsg-8 ii libqt5help55.12.5-2+b2 ii libqt5network5 5.12.5+dfsg-8 ii libqt5printsupport55.12.5+dfsg-8 ii libqt5qml5 [qtdeclarative-abi-5-12-5] 5.12.5-5 ii libqt5quick5 5.12.5-5 ii libqt5quickwidgets55.12.5-5 ii libqt5script5 5.12.5+dfsg-2 ii libqt5serialport5 5.12.5-1 ii libqt5sql5 5.12.5+dfsg-8 ii libqt5sql5-sqlite 5.12.5+dfsg-8 ii libqt5widgets5 5.12.5+dfsg-8 ii libqt5xml5 5.12.5+dfsg-8 ii libstdc++6 10-20200222-1 ii qml-module-qtqml-models2 5.12.5-5 ii qml-module-qtquick-controls5.12.5-1+b1 ii qml-module-qtquick25.12.5-5 ii qtchooser 66-2 ii qtcreator-data 4.11.0-2 Versions of packages qtcreator recommends: ii clang 1:9.0-49 ii clang-tidy 1:9.0-49 ii gdb-minimal [gdb] 9.1-1 ii konsole [x-terminal-emulator] 4:19.08.1-2+b1 ii make 4.2.1-1.2 pn qmlscene pn qt5-doc pn qt5-qmltooling-plugins pn qtbase5-dev-tools pn qtcreator-doc pn qtdeclarative5-dev-tools pn qttools5-dev-tools pn qttranslations5-l10n pn qtxmlpatterns5-dev-tools Versions of packages qtcreator suggests: pn claz