/var/tmp/portage/media-gfx/maim-5.5.1/work/maim-5.5.1/src/image.cpp: In member function ‘void ARGBImage::writeJPEG(std::ostream&, int)’: /var/tmp/portage/media-gfx/maim-5.5.1/work/maim-5.5.1/src/image.cpp:190:74: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘3’ to ‘void jpeg_set_quality(j_compress_ptr, int, boolean)’ jpeg_set_quality (&cinfo, (int)((float)quality-1.f)*(100.f/9.f), true); ^ /var/tmp/portage/media-gfx/maim-5.5.1/work/maim-5.5.1/src/image.cpp:191:37: error: cannot convert ‘bool’ to ‘boolean’ for argument ‘2’ to ‘void jpeg_start_compress(j_compress_ptr, boolean)’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-hardened_20180519-101508 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv media-gfx/maim [ebuild N ] media-gfx/maim-5.5.1 USE="unicode" !!! The following installed packages are masked: - kde-frameworks/kdelibs-env-4.14.3::gentoo (masked by: package.mask) /usr/portage/profiles/package.mask: # Andreas Sturmlechner <asturm@gentoo.org> (24 May 2018) # Depends on dead Qt4. Masked for removal in 30 days. Bug #629018 For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
Created attachment 533208 [details] emerge-info.txt
Created attachment 533210 [details] emerge-history.txt
Created attachment 533212 [details] environment
Created attachment 533214 [details] etc.portage.tbz2
Created attachment 533216 [details] logs.tbz2
Created attachment 533218 [details] media-gfx:maim-5.5.1:20180525-191212.log
Created attachment 533220 [details] temp.tbz2
are you still able to reproduce? In my case it compiles ok
got at the unstable amd64 chroot image 17.0_libressl_20181006-210858 this : /.../image.cpp:190:74: error: cannot convert bool to boolean
Created attachment 549922 [details] emerge-info.txt
Created attachment 549924 [details] emerge-history.txt
Created attachment 549926 [details] environment
Created attachment 549928 [details] etc.portage.tbz2
Created attachment 549930 [details] logs.tbz2
Created attachment 549932 [details] media-gfx:maim-5.5.1:20181008-145554.log
Created attachment 549934 [details] temp.tbz2
I'm going to guess this is because of using the original jpeg library instead of libjpeg-turbo.
(In reply to Michał Górny from comment #17) > I'm going to guess this is because of using the original jpeg library > instead of libjpeg-turbo. FWIW jpeg is forced by https://github.com/toralf/tinderbox/blob/master/bin/setup_img.sh#L526 iun every 6th image
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92d976e1989d6a319bad89b4c83d0507a80be435 commit 92d976e1989d6a319bad89b4c83d0507a80be435 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-04-11 10:36:50 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-04-11 10:38:40 +0000 media-gfx/maim: Fix building with libjpeg Bug: https://bugs.gentoo.org/656520 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org> media-gfx/maim/files/maim-5.5.1-libjpeg-9c.patch | 16 ++++++++++++++++ media-gfx/maim/maim-5.5.1.ebuild | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-)
@Toralf, could you please give this another try (on a libjpeg image obviously), I can get upstream to cut a new release with the patch.
(In reply to David Seifert from comment #20) > @Toralf, could you please give this another try (on a libjpeg image > obviously), I can get upstream to cut a new release with the patch. works: tinderbox@mr-fox ~ $ qlop -u -l -f /home/tinderbox/run/17.1-desktop-plasma_abi32+64_20190410-101928/var/log/emerge.log media-gfx/maim Thu Apr 11 18:47:07 2019 >>> media-gfx/maim-5.5.1 tinderbox@mr-fox ~ $ qlop -u -l -f /home/tinderbox/run/17.1-desktop-plasma_abi32+64_20190410-101928/var/log/emerge.log media-libs/jpeg Wed Apr 10 15:34:10 2019 >>> media-libs/jpeg-9c Thu Apr 11 06:59:54 2019 >>> media-libs/jpeg-6b-r12
Thanks for testing, fixed.