Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704062 - media-gfx/iscan-3.61.0 : jpeg.cpp:413:41: error: cannot convert bool to boolean
Summary: media-gfx/iscan-3.61.0 : jpeg.cpp:413:41: error: cannot convert bool to boolean
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-28 08:57 UTC by Toralf Förster
Modified: 2020-01-16 14:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2019-12-28 08:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,248.48 KB, text/plain)
2019-12-28 08:57 UTC, Toralf Förster
Details
environment (environment,20.24 KB, text/plain)
2019-12-28 08:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,23.81 KB, application/x-bzip)
2019-12-28 08:57 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.92 KB, application/x-bzip)
2019-12-28 08:57 UTC, Toralf Förster
Details
media-gfx:iscan-3.61.0:20191228-023435.log (media-gfx:iscan-3.61.0:20191228-023435.log,59.72 KB, text/plain)
2019-12-28 08:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.00 KB, application/x-bzip)
2019-12-28 08:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-28 08:57:37 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I/usr/include -DPKGLIBEXECDIR=\"/usr/libexec/utsushi\" -I/usr/include -Wall -Werror -O2 -pipe -march=native -c jpeg.cpp  -fPIC -DPIC -o .libs/libflt_all_la-jpeg.o
jpeg.cpp: In member function 'virtual void utsushi::_flt_::jpeg::compressor::boi(const utsushi::context&)':
jpeg.cpp:413:41: error: cannot convert 'bool' to 'boolean'
  413 |   jpeg_set_quality  (&cinfo_, quality_, true);
      |                                         ^~~~
      |                                         |

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20191223-091554

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:


repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 28 Dec 2019 01:45:35 +0000

emerge -qpvO media-gfx/iscan
[ebuild  N    ] media-gfx/iscan-3.61.0  USE="-graphicsmagick -gui -imagemagick"
Comment 1 Toralf Förster gentoo-dev 2019-12-28 08:57:39 UTC
Created attachment 601470 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-28 08:57:42 UTC
Created attachment 601472 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-28 08:57:45 UTC
Created attachment 601474 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-28 08:57:48 UTC
Created attachment 601476 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-28 08:57:51 UTC
Created attachment 601478 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-28 08:57:54 UTC
Created attachment 601480 [details]
media-gfx:iscan-3.61.0:20191228-023435.log
Comment 7 Toralf Förster gentoo-dev 2019-12-28 08:57:56 UTC
Created attachment 601482 [details]
temp.tbz2
Comment 8 David Seifert gentoo-dev 2019-12-28 10:10:17 UTC
Classic libjpeg-turbo vs libjpeg issues, you need to use the macros and not the boolean literals.
Comment 9 Larry the Git Cow gentoo-dev 2020-01-16 14:57:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4335ff10cb362b8c9e42a8c42d8576582df07bba

commit 4335ff10cb362b8c9e42a8c42d8576582df07bba
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-01-16 14:53:54 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-01-16 14:53:54 +0000

    media-gfx/iscan: Add patch for IJG libjpeg
    
    Closes: https://bugs.gentoo.org/704062
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../iscan/files/iscan-3.61.0-ijg-libjpeg.patch     | 45 ++++++++++++++++++++++
 media-gfx/iscan/iscan-3.61.0.ebuild                |  4 +-
 2 files changed, 48 insertions(+), 1 deletion(-)