[yocto] qtwebengine: Raspberry PI2 branch jehtro error: cannot convert 'bool' to 'boolean'

Cleiton Bueno cleitonrbueno at gmail.com
Mon Nov 23 17:32:34 PST 2015


Error compiling Yocto Poky (jethro) with metal-qt5 (jethro).



|
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:
In static member function 'static bool gfx::JPEGCodec::Encode(const
unsigned char*, gfx::JPEGCodec::ColorFormat, int, int, int, int,
std::vector<unsigned char>*)':
|
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:264:38:
error: invalid conversion from 'int' to 'boolean' [-fpermissive]
|    jpeg_set_quality(&cinfo, quality, 1);  // quality here is 0-100
|                                       ^
|
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:276:32:
error: invalid conversion from 'int' to 'boolean' [-fpermissive]
|    jpeg_start_compress(&cinfo, 1);
|                                 ^
|
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:362:10:
error: cannot convert 'bool' to 'boolean' in return
|    return false;
|           ^
|
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/3rdparty/chromium/ui/gfx/codec/jpeg_codec.cc:490:36:
error: cannot convert 'bool' to 'boolean' for argument '2' to 'int
jpeg_read_header(j_decompress_ptr, boolean)'
|    if (jpeg_read_header(&cinfo, true) != JPEG_HEADER_OK)
|                                     ^
| ninja: build stopped: subcommand failed.
| make[3]: *** [invoke_ninja] Error 1
| make[3]: Leaving directory
`/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/core'
| make[2]: *** [sub-gyp_run-pro-make_first] Error 2
| make[2]: Leaving directory
`/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src/core'
| make[1]: *** [sub-core-make_first] Error 2
| make[1]: Leaving directory
`/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/git/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at
/media/cleiton/DATA/yocto/poky-jethro/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.5.1+gitAUTOINC+qtwebengine_146ebe26dc-r0/temp/log.do_compile.13331)
ERROR: Task 570
(/media/cleiton/DATA/yocto/poky-jethro/../meta-qt5/recipes-qt/qt5/
qtwebengine_git.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5619 tasks of which 5608 didn't need to be
rerun and 1 failed.
No currently running tasks (5619 of 5628)

Summary: 1 task failed:
  /media/cleiton/DATA/yocto/poky-jethro/../meta-qt5/recipes-qt/qt5/
qtwebengine_git.bb, do_compile



I will have to create patches to change from 1 to TRUE and true to TRUE?

Best regards,


-- 

*Att,Cleiton Bueno*

Blog <http://www.cleitonbueno.com> | Linkedin
<http://br.linkedin.com/in/cleitonbueno>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151123/746f661a/attachment.html>


More information about the yocto mailing list