Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 564922 - dev-qt/qtquickcontrols-5.4.2 fails with "error: ‘QT_NO_QWARNING_MACRO’ was not declared in this scope"
Summary: dev-qt/qtquickcontrols-5.4.2 fails with "error: ‘QT_NO_QWARNING_MACRO’ was no...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-5.5.1-stable
  Show dependency tree
 
Reported: 2015-11-05 07:40 UTC by Peter Levine
Modified: 2016-01-14 18:13 UTC (History)
1 user (show)

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


Attachments
Switches QT_NO_QWARNING_MACRO with QT_NO_QDEBUG_MACRO (qtquickcontrols-5.4.2_no_QT_NO_QWARNING_MACRO.patch,444 bytes, patch)
2015-11-05 07:41 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Levine 2015-11-05 07:40:13 UTC
QT_NO_QDEBUG_MACRO should be used in place of QT_NO_QWARNING_MACRO

Reproducible: Always

Steps to Reproduce:
1.  Compile dev-qt/qtquickcontrols-5.4.2
Actual Results:  
Fails with:

qquickgridlayoutengine_p.h:97:26: error: ‘QT_NO_QWARNING_MACRO’ was not declared in this scope


Expected Results:  
Build and install.
Comment 1 Peter Levine 2015-11-05 07:41:57 UTC
Created attachment 416102 [details, diff]
Switches QT_NO_QWARNING_MACRO with QT_NO_QDEBUG_MACRO

From http://codereview.qt-project.org/#/c/103059/
Comment 2 Peter Levine 2015-11-05 17:09:35 UTC
Sorry.  Disregard.  qtquickcontrols-5.5.1 wasn't properly keyword unmasked on my end.  qtquickcontrols-5.4.2 was being pulled in with a qt 5.5.1 merge.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2015-11-05 17:16:32 UTC
It's a valid bug. The ebuild deps need to be adjusted.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2016-01-14 18:13:34 UTC
Thanks, revbumped to ensure the mismatch cannot happen again.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844510ef9d96dcfcdaef70ddc21e484a1cbe97a2