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

Bug#979577: marked as done (qtcreator: Clang Code Model no longer finds 'stddef.h' since version 4.14.0-2)



Your message dated Fri, 15 Jan 2021 19:34:52 +0000
with message-id <E1l0Us0-00067M-6h@fasolo.debian.org>
and subject line Bug#979577: fixed in qtcreator 4.14.0-3
has caused the Debian Bug report #979577,
regarding qtcreator: Clang Code Model no longer finds 'stddef.h' since version 4.14.0-2
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 owner@bugs.debian.org
immediately.)


-- 
979577: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979577
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qtcreator
Version: 4.14.0-2
Severity: normal
X-Debbugs-Cc: m.weghorn@posteo.de

Dear Maintainer,

since version 4.14.0-2, Qt Creator's Clang Code Model is unable to find the
'stddef.h' header. It still works OK with version 4.14.0-1.

Sample steps to reproduce:

* create a simple C++ project with a source file that
  (directly or indirectly) includes 'stddef.h',
  e.g. via "File" -> "New File or Project" -> "Plain C++ Application"
  (or use files from sample project at the end)
* open the source file 'main.cpp'
* if not present yet, add an '#include <iostream>' or '#include stddef.h'

Result:

A warning shows up:

> Warning: The code model could not parse an included file, which might lead to
incorrect code completion and highlighting, for example.
>
> wchar.h:35:10: error: 'stddef.h' file not found
> [...]

and the Code Model does not work properly.

It works again as expected when downgrading to qtcreator 4.14.0-1.


Files for sample project to reproduce the issue:

main.cpp:

        #include <iostream>

        using namespace std;

        int main()
        {
            cout << "Hello World!" << endl;
            return 0;
        }

CMakeLists.txt:

        cmake_minimum_required(VERSION 3.5)

        project(testp-project LANGUAGES CXX)

        set(CMAKE_CXX_STANDARD 11)
        set(CMAKE_CXX_STANDARD_REQUIRED ON)

        add_executable(testp-project main.cpp)



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qtcreator depends on:
ii  clang-11                               1:11.0.1-2
ii  libc6                                  2.31-9
ii  libclang1-11                           1:11.0.1-2
ii  libdw1                                 0.182-3
ii  libelf1                                0.182-3
ii  libgcc-s1                              10.2.1-3
ii  libkf5syntaxhighlighting5              5.77.0-2
ii  libqt5concurrent5                      5.15.2+dfsg-2
ii  libqt5core5a [qtbase-abi-5-15-2]       5.15.2+dfsg-2
ii  libqt5designer5                        5.15.2-3
ii  libqt5designercomponents5              5.15.2-3
ii  libqt5gui5                             5.15.2+dfsg-2
ii  libqt5help5                            5.15.2-3
ii  libqt5network5                         5.15.2+dfsg-2
ii  libqt5printsupport5                    5.15.2+dfsg-2
ii  libqt5qml5 [qtdeclarative-abi-5-15-2]  5.15.2+dfsg-2
ii  libqt5quick5                           5.15.2+dfsg-2
ii  libqt5quickwidgets5                    5.15.2+dfsg-2
ii  libqt5serialport5                      5.15.2-2
ii  libqt5sql5                             5.15.2+dfsg-2
ii  libqt5sql5-sqlite                      5.15.2+dfsg-2
ii  libqt5svg5                             5.15.2-2
ii  libqt5widgets5                         5.15.2+dfsg-2
ii  libqt5xml5                             5.15.2+dfsg-2
ii  libstdc++6                             10.2.1-3
ii  libyaml-cpp0.6                         0.6.3-9
ii  libzstd1                               1.4.8+dfsg-1
ii  qml-module-qtqml-models2               5.15.2+dfsg-2
ii  qml-module-qtquick-controls            5.15.2-2
ii  qml-module-qtquick2                    5.15.2+dfsg-2
ii  qtchooser                              66-2
ii  qtcreator-data                         4.14.0-2

Versions of packages qtcreator recommends:
ii  clang-tidy                            1:11.0-51+nmu1
ii  gdb-minimal [gdb]                     10.1-1.7
ii  gnome-terminal [x-terminal-emulator]  3.38.1-2
ii  konsole [x-terminal-emulator]         4:20.12.1-1
ii  make                                  4.3-4
ii  qmlscene                              5.15.2+dfsg-2
ii  qt5-doc                               5.15.2-2
ii  qt5-qmltooling-plugins                5.15.2+dfsg-2
ii  qtbase5-dev-tools                     5.15.2+dfsg-2
ii  qtcreator-doc                         4.14.0-2
ii  qtdeclarative5-dev-tools              5.15.2+dfsg-2
ii  qttools5-dev-tools                    5.15.2-3
ii  qttranslations5-l10n                  5.15.1-2
ii  qtxmlpatterns5-dev-tools              5.15.2-2

Versions of packages qtcreator suggests:
pn  clazy       <none>
ii  cmake       3.18.4-1+b1
ii  g++         4:10.2.0-1
ii  git         1:2.30.0-1
ii  meson       0.56.1-1
pn  subversion  <none>
pn  valgrind    <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: qtcreator
Source-Version: 4.14.0-3
Done: Pino Toscano <pino@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtcreator, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 979577@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pino Toscano <pino@debian.org> (supplier of updated qtcreator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 15 Jan 2021 20:20:31 +0100
Source: qtcreator
Architecture: source
Version: 4.14.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Pino Toscano <pino@debian.org>
Closes: 979577
Changes:
 qtcreator (4.14.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Bump the debhelper compatibility to 13:
     - switch the debhelper-compat build dependency to 13
     - stop passing --fail-missing to dh_missing, as it is the default now
   * Drop debian/README.source, as it does not provide useful information.
   * Include /usr/share/dpkg/architecture.mk instead of manually querying
     dpkg-architecture for DEB_HOST_MULTIARCH.
   * Update watch file:
     - bump to v4, no changes required
     - drop repack and compress options, as the original tarball is fine
   * Add Repository, and Repository-Browse to debian/upstream/metadata.
   * Add the configuration for the CI on salsa.
   * Backport upstream commit 86348d562214a27574ddbd65825414ae7e731438 to fix
     the paths to Clang include & library directories; patch
     upstream_cmake-build-Fix-fallback-LLVM-Clang-paths.patch. (Closes: #979577)
   * Backport upstream commit c81baf1a9cc938a283f6c52c8fd10bab84183391 to set
     installation paths using the GNUInstallDirs module of CMake; patch
     upstream_cmake-build-Use-GNUInstallDirs-for-installation-path.patch
     - remove the majority of debian_paths.diff, leaving only the change to the
       documentation path
   * Require the same version of the clang-N used for the build: this is because
     creator hardcodes the clang version and its include path, so we should not
     let an older clang than the build one be usable.
   * Backport upstream commit c650c9473db32fc2197a32017b0ef3406cf75280 to not
     install KSyntaxHighlighting files from the embedded copy; patch
     upstream_cmake-build-Don-t-install-highlighting-files-when-us.patch
     - drop their removal from rules
   * Lazy-evaluate the list of dist/changes-* (for dh_installdocs).
Checksums-Sha1:
 4d2f6e1e17819f256685a34d64aca293331aa6a1 2970 qtcreator_4.14.0-3.dsc
 26d3e475e57c5e0fb3f47f3356d1e926e4b4f1e1 27688 qtcreator_4.14.0-3.debian.tar.xz
 28160e771fb10818ec20c657dba6c4ed795c0a69 14653 qtcreator_4.14.0-3_source.buildinfo
Checksums-Sha256:
 b20e843479f064afc8e6e4d370c237b33829507dd933e3dda47e0bbfe3322264 2970 qtcreator_4.14.0-3.dsc
 2758afbc5c67ab3048c6b5abff02a389fcbb7797083f3c220f379c01335e363c 27688 qtcreator_4.14.0-3.debian.tar.xz
 9f384ae6a13d8500afb1d89a0781591130cc99843d364e2fdbd451c269dbd645 14653 qtcreator_4.14.0-3_source.buildinfo
Files:
 7372a00da90987598051a2e8ca4fe764 2970 devel optional qtcreator_4.14.0-3.dsc
 64ae369e3b74d5bdbc1f0f4b79de349e 27688 devel optional qtcreator_4.14.0-3.debian.tar.xz
 aaac4a138d6ea48630841f3e6f74d620 14653 devel optional qtcreator_4.14.0-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXyqfuC+mweEHcAcHLRkciEOxP00FAmAB6z0ACgkQLRkciEOx
P00gxg/+Ms17QkvERJAct0Vi2k6hXPk9SsolUmDP99C5Jg4y7XWolWq1hm8TO2+W
0jy/y4NbQD0sjxqzg5TZd0ly93E2Nm+z9jblXw6iTXQDEvzk4OmT/Sq3EnuBK9Rn
FEcCF8GyZlYyXD3Hl/9Wg8kjani7TkJyDwt0EJRJD1F/m0j/uCaK63VYTKYGhBdK
hkaG+94WtHUGLjPqRbGI9ynex/Q18mneTpRSs36JH7xF6MRsZHPjyTZuEiQxyjIr
4JFkdxIFCrL0Cunsre78XMIqxqrLss/8lLFHNYy0UgvWcpIaoqo0ggeqM9QyF2RC
S59TDP8gOnd0/HIAX2PtbiNS/a4kTVnjh/vtbO83SVdmtafTBpTa/vCvS+ELlB5L
gUFQVLLdSc4vmDHSJ1vTJ8SASuooaDKNazx0qd+2+c3ic7V72axdfxFXwNoQX3Xs
a5IUFSr6tMwgl71FluQi6mOf6kOs0I/GtgJAriomD/epNnew7Ow3btxt3uKnnfyv
W+oKDWSX3Qx+TaAi7l5IbEkgtvEeS5lCjMuloDUfY6cyFRAdqwuaexKmau9oatXB
kuvkiZ3mNA8RmwBBIlSayvbpM8SnxBV+KOkdT6eaZxtxMPfhcIiJVoszdlsRc/Mw
GYxCeOCACNA06XQOkI01U/ZIoYFVjAjiTXWC08dq6McuogYxaRE=
=F+xN
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: