Bug 1931430 - qt-creator code model problem -> "Warning: The code model could not parse an include file" cstddef:50:10: error: 'stddef.h' file not found
Summary: qt-creator code model problem -> "Warning: The code model could not parse an...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: qt-creator
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-22 12:20 UTC by Onuralp SEZER
Modified: 2022-06-08 06:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-08 06:32:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Onuralp SEZER 2021-02-22 12:20:43 UTC
Description of problem:

I create QML project with "cmake/gcc" when I click on "cpp" It shows this errors;

cstddef:50:10: error: 'stddef.h' file not found
main.cpp:1:1: note: in file included from /home/thunderbirdtr/qt_projects/img_gallery_fullscreen/main.cpp:1:
main.cpp:1:10: note: in file included from /home/thunderbirdtr/qt_projects/img_gallery_fullscreen/main.cpp:1:
QGuiApplication:1:10: note: in file included from /usr/include/qt5/QtGui/QGuiApplication:1:
qguiapplication.h:43:10: note: in file included from /usr/include/qt5/QtGui/qguiapplication.h:43:
qtguiglobal.h:43:10: note: in file included from /usr/include/qt5/QtGui/qtguiglobal.h:43:
qglobal.h:46:12: note: in file included from /usr/include/qt5/QtCore/qglobal.h:46:

But we have stddef.hi in -> "gcc" package 

rpm -ql gcc |grep stddef
...
/usr/lib/gcc/x86_64-redhat-linux/11/include/stddef.h
...

I also changed to same project in to "clang" mode and still same result, there was a upstream bug but looks fixed as well. 


Version-Release number of selected component (if applicable):
qt-creator-4.14.0-4.fc34.x86_64

How reproducible:

* Create a new QML project and It will come up on "cpp" files.



Actual results:
cstddef:50:10: error: 'stddef.h' file not found

Expected results:
No error

Additional info:
Upstream bug : https://bugreports.qt.io/browse/QTCREATORBUG-25147

This problem doesn't happen "fedora 33/qt-creator 4.13.2" <- It is only started with 4.14 release version.

Comment 1 Fedora Update System 2021-02-25 18:44:04 UTC
FEDORA-2021-dedfc5fa0f has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dedfc5fa0f

Comment 2 Fedora Update System 2021-02-25 23:45:46 UTC
FEDORA-2021-dedfc5fa0f has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-dedfc5fa0f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-dedfc5fa0f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Onuralp SEZER 2021-03-18 16:52:21 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2021-f39460a57d  

This version fixed for me.

Comment 4 Ben Cotton 2022-05-12 16:58:39 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 5 Ben Cotton 2022-06-08 06:32:13 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.