Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686788 - =dev-qt/qt-creator-4.8.2 USE=doc - error: unknown type name 'T'
Summary: =dev-qt/qt-creator-4.8.2 USE=doc - error: unknown type name 'T'
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-26 10:30 UTC by Bernd
Modified: 2020-09-09 18:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
qt-creator-4.8.2:20190525-125551.log.bz2 (qt-creator-4.8.2:20190525-125551.log.bz2,117.09 KB, application/x-bzip)
2019-05-26 10:30 UTC, Bernd
Details
emerge-info_qt-creator-4.8.2.txt (emerge-info_qt-creator-4.8.2.txt,14.11 KB, text/plain)
2019-05-26 10:31 UTC, Bernd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2019-05-26 10:30:08 UTC
Created attachment 577826 [details]
qt-creator-4.8.2:20190525-125551.log.bz2

When installing qt-creator-4.8.2 with USE="doc" enabled it fails in src_install with some qdoc related errors:

usr/lib64/qt5/bin/qmake -install qinstall /var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/dist/org.q
t-project.qtcreator.desktop /var/tmp/portage/dev-qt/qt-creator-4.8.2/image/usr/share/applications/org.qt-project.qtcreator.desktop
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/qdoc_wrapper.sh -outputdir /var/tmp/portage/dev-qt/qt
-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/doc/qtcreator /var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensour
ce-src-4.8.2/doc/qtcreator.qdocconf -indexdir /usr/share/qt5-doc -indexdir /var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator
-opensource-src-4.8.2/doc && /var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/qdoc_wrapper.sh -outputd
ir /var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/doc/qtcreator-dev /var/tmp/portage/dev-qt/qt-creat
or-4.8.2/work/qt-creator-opensource-src-4.8.2/doc/api/qtcreator-dev.qdocconf -indexdir /usr/share/qt5-doc -indexdir /var/tmp/portag
e/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/doc
qdoc: warning: "Qt Creator" Cannot locate index file for dependency "qtquickcontrols2"
(qdoc) Could not find the module header in the include path for module "Qt Creator"   (include paths:  QVector() )
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/doc/src/qtquick/qtquick-profiler.qdoc:32: (qdoc) warn
ing: Can't link to 'Qt Quick Scene Graph Renderer'
qdoc: warning: "Qt Creator" Cannot locate index file for dependency "qtwebkit"
(qdoc) Could not find the module header in the include path for module "Qt Creator"   (include paths:  QVector() )
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/src/libs/aggregation/aggregate.cpp:31: (qdoc) warning
: Namespace Aggregation has no \inmodule command; using project name by default: Qt Creator
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/src/libs/aggregation/aggregate.cpp:42: (qdoc) warning
: Cannot find 'Aggregation::Aggregate' specified with '\class' in any header file
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/src/libs/aggregation/aggregate.cpp:101: (qdoc) warnin
g: clang found diagnostics parsing \fn T *Aggregate::component()
    warning: '__cplusplus' macro redefined
    error: unknown type name 'T'
    error: use of undeclared identifier 'Aggregate'
/var/tmp/portage/dev-qt/qt-creator-4.8.2/work/qt-creator-opensource-src-4.8.2/src/libs/aggregation/aggregate.cpp:111: (qdoc) warnin
g: clang found diagnostics parsing \fn QList<T *> Aggregate::components()
    warning: '__cplusplus' macro redefined
    error: no template named 'QList'
    error: use of undeclared identifier 'T'
    error: expected expression
    error: use of undeclared identifier 'Aggregate'
[...]

For full error listing, please see the attached buildlog (compressed due to size).

Building without USE="doc" finishes the build.

I have dev-qt/qdoc-5.12.3 and dev-qt/qt-docs-5.12.3_p201904161302 installed. The latter was built with all but the bluetooth USE flag enabled.
Comment 1 Bernd 2019-05-26 10:31:51 UTC
Created attachment 577828 [details]
emerge-info_qt-creator-4.8.2.txt

output of emerge --info =dev-qt/qt-creator-4.8.2
Comment 2 Andreas Sturmlechner gentoo-dev 2020-09-09 18:11:54 UTC
Obsolete after cleanup of this version.