Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648200 - [qt overlay] dev-qt/qtwebengine-5.10.1 w/ media-libs/jpeg: SkJpegEncoder.cpp:89:35: error: ‘JCS_EXT_RGBA’ was not declared in this scope
Summary: [qt overlay] dev-qt/qtwebengine-5.10.1 w/ media-libs/jpeg: SkJpegEncoder.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-20 00:20 UTC by Andreas Sturmlechner
Modified: 2018-05-12 14:27 UTC (History)
0 users

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


Attachments
build.log.gz (dev-qt:qtwebengine-5.10.1:20180219-234911.log.gz,181.29 KB, application/gzip)
2018-02-20 00:20 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2018-02-20 00:20:00 UTC
Created attachment 520262 [details]
build.log.gz

Unfortunately, qtwebengine-5.10.1 has a new issue with media-libs/jpeg, this time not related to jpeg-9 in particular.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-02-20 00:23:12 UTC
Similar to the issue LibreOffice recently had fixed (also JCS_EXT_RGBA):

https://bugs.documentfoundation.org/show_bug.cgi?id=115416
https://cgit.freedesktop.org/libreoffice/core/commit/?id=5184506ffddca982f22eede24cffad64ff3576e3
Comment 2 Andreas Sturmlechner gentoo-dev 2018-02-21 18:38:15 UTC
So maybe starting with 5.10 this will have to depend on media-libs/libjpeg-turbo:= just as the chromium ebuild already does...
Comment 3 Larry the Git Cow gentoo-dev 2018-03-17 02:49:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/qt.git/commit/?id=b4ff3cdc3edb8c2a42bbac54cf0870375253f715

commit b4ff3cdc3edb8c2a42bbac54cf0870375253f715
Author:     Jimi Huotari <chiitoo@gentoo.org>
AuthorDate: 2018-03-17 02:38:50 +0000
Commit:     Jimi Huotari <chiitoo@gentoo.org>
CommitDate: 2018-03-17 02:41:25 +0000

    dev-qt/qtwebengine: adjust 'jpeg' dependency on >=5.10
    
    Depend on 'media-libs/libjpeg-turbo' instead of 'virtual/jpeg', since
    'media-libs/jpeg' causes issues such as build failures.  Also remove
    the use of the patch specific to jpeg-9, which is no longer
    needed after this change.
    
    Bug: https://bugs.gentoo.org/648200
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-qt/qtwebengine/qtwebengine-5.10.1.ebuild       | 4 +---
 dev-qt/qtwebengine/qtwebengine-5.11.0_beta2.ebuild | 4 +---
 dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild    | 3 +--
 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild       | 4 +---
 4 files changed, 4 insertions(+), 11 deletions(-)}
Comment 4 Andreas Sturmlechner gentoo-dev 2018-05-12 14:27:21 UTC
>=Qt-5.10.1 depends on media-libs/libjpeg-turbo:= exclusively.