Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 647038 - [qt overlay] dev-qt/qtwebengine-5.10.0 fails at prepare phase
Summary: [qt overlay] dev-qt/qtwebengine-5.10.0 fails at prepare phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-08 18:47 UTC by Eugene Shalygin
Modified: 2018-02-09 17:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Shalygin 2018-02-08 18:47:14 UTC
>>> Preparing source in /var/portage/tmp/portage/dev-qt/qtwebengine-5.10.0/work/qtwebengine-everywhere-src-5.10.0 ...
 * Applying qtwebengine-5.9.4-jpeg-9-2.patch ...
1 out of 4 hunks FAILED -- saving rejects to file src/3rdparty/chromium/third_party/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp.rej
 [ !! ]
Comment 1 Larry the Git Cow gentoo-dev 2018-02-09 10:46:18 UTC
The bug has been closed via the following commit(s):

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

commit a76d2f0a50951a6fbef8c77f4aaaa49ab523e04d
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2018-02-09 10:45:53 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2018-02-09 10:46:07 +0000

    dev-qt/qtwebengine: rebase jpeg-9 patch for qt-5.10
    
    Closes: https://bugs.gentoo.org/647038
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../files/qtwebengine-5.10.0-jpeg-9.patch          | 45 ++++++++++++++++++++++
 dev-qt/qtwebengine/qtwebengine-5.10.0.ebuild       |  2 +-
 dev-qt/qtwebengine/qtwebengine-5.10.9999.ebuild    |  2 +-
 dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild    |  2 +-
 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild       |  2 +-
 5 files changed, 49 insertions(+), 4 deletions(-)
Comment 2 Eugene Shalygin 2018-02-09 17:18:58 UTC
Could you please test before commiting?

../../3rdparty/chromium/third_party/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp: In member function ‘bool CCodec_JpegDecoder::InitDecode()’:
../../3rdparty/chromium/third_party/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:234:38: error: ‘TUE’ was not declared in this scope
   int ret = jpeg_read_header(&cinfo, TUE);
                                      ^~~
../../3rdparty/chromium/third_party/pdfium/core/fxcodec/codec/fx_codec_jpeg.cpp:234:38: note: suggested alternative: ‘TRUE’
   int ret = jpeg_read_header(&cinfo, TUE);
                                      ^~~
                                      TRUE
Comment 3 Davide Pesavento gentoo-dev 2018-02-09 17:28:27 UTC
Already fixed in the next commit

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