Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 751349

Summary: dev-util/qdevicemonitor-1.0.1-r2 fails to compile: /usr/include/qt5/QtGui/qtgui-config.h:26:9: fatal error: 'QT_NO_IMAGEFORMAT_JPEG' macro redefined [-Wmacro-redefined]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexander Lopatin <alopatindev>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/24074
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-10-26 16:21:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/qdevicemonitor-1.0.1-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-26 16:21:48 UTC
Created attachment 668639 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-26 16:21:50 UTC
Possible context of error(s):

/usr/include/qt5/QtGui/qtgui-config.h:26: error: "QT_NO_IMAGEFORMAT_JPEG" redefined
Comment 3 Larry the Git Cow gentoo-dev 2022-02-13 10:39:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d26d683b83dac850c0c09707b61c50f88d688c9

commit 8d26d683b83dac850c0c09707b61c50f88d688c9
Author:     Alexander Lopatin <alopatindev@gmail.com>
AuthorDate: 2022-02-04 00:26:58 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-02-13 10:39:50 +0000

    dev-util/qdevicemonitor: disable warnings as errors
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.2
    Closes: https://bugs.gentoo.org/751349
    Closes: https://bugs.gentoo.org/831575
    Signed-off-by: Alexander Lopatin <alopatindev@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/24074
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 ...emonitor-1.0.1-disable-warnings-as-errors.patch | 31 ++++++++++++++++++++++
 .../qdevicemonitor/qdevicemonitor-1.0.1-r2.ebuild  |  3 ++-
 2 files changed, 33 insertions(+), 1 deletion(-)