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

Bug 479774

Summary: =x11-libs/fltk-1.3.2 with media-libs/jpeg-9-r1 - Fl_JPEG_Image.cxx:158:29: error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
Product: Gentoo Linux Reporter: Rada <radab>
Component: [OLD] LibraryAssignee: Desktop Misc. Team <desktop-misc>
Severity: normal CC: gabemarcano
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 479818    
Attachments: build.log

Description Rada 2013-08-05 01:56:02 UTC
JPEG-9 changed some things from JPEG-8c. The patch to fix the emerge of FLTK is available at

Reproducible: Always
Comment 1 Kobboi 2013-08-07 17:12:32 UTC
Hitting the same issue, fix works for me.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:39:17 UTC
jpeg-9 is known to be broken, if you can still reproduce the bug with jpeg-9-r1, reopen the bug with complete build.log

*** This bug has been marked as a duplicate of bug 479808 ***
Comment 3 Kobboi 2013-08-09 09:31:39 UTC
Created attachment 355468 [details]

Still there with media-libs/jpeg-9-r1 (never had 9 on my system actually)
Comment 4 Rada 2013-08-09 15:18:00 UTC
Yes, fltk-1.3.2 still fails to build with jpeg-9-r1.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 10:15:11 UTC
And jpeg-9a? Same?
Comment 6 Gabriel Marcano 2014-08-19 15:22:13 UTC
Created attachment 383128 [details, diff]

Yes, fltk fails to compile against jpeg-9a. It seems that the line numbers in fltk have changed a small amount from the ones in the fltk bug report in the opening description. I'm attaching my own version of the patch (identical, just with the fixed line numbers). This one allowed for fltk-1.3.2_p10088 to compile against jpeg-9a. It also doesn't cause any problems when compiling against libjpeg-turbo-1.3.1.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2014-08-21 11:25:45 UTC
patch applied to portage in 1.3.2_p10000'ish