Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649280 - games-arcade/performous-1.1 : /.../image.cc:183:35: error: cannot convert bool to boolean for argument 2 to int jpeg_read_header(j_decompress_ptr, boolean)
Summary: games-arcade/performous-1.1 : /.../image.cc:183:35: error: cannot convert boo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 22:06 UTC by Toralf Förster
Modified: 2019-04-11 18:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2018-03-01 22:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.88 KB, text/plain)
2018-03-01 22:06 UTC, Toralf Förster
Details
environment (environment,144.85 KB, text/plain)
2018-03-01 22:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.65 KB, application/x-bzip)
2018-03-01 22:06 UTC, Toralf Förster
Details
games-arcade:performous-1.1:20180301-183430.log (games-arcade:performous-1.1:20180301-183430.log,177.46 KB, text/plain)
2018-03-01 22:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.03 KB, application/x-bzip)
2018-03-01 22:06 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,40.22 KB, application/x-bzip)
2018-03-01 22:07 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 2018-03-01 22:06:41 UTC
/var/tmp/portage/games-arcade/performous-1.1/work/performous-1.1/common/image.cc: In function ‘void loadJPEG(Bitmap&, const boost::filesystem::path&)’:
/var/tmp/portage/games-arcade/performous-1.1/work/performous-1.1/common/image.cc:183:35: 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) throw std::runtime_error
                                   ^
make[2]: *** [game/CMakeFiles/performous.dir/build.make:1554: game/CMakeFiles/performous.dir/__/common/image.cc.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20180224-093310

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpv games-arcade/performous
[ebuild  N    ] games-arcade/performous-1.1  USE="-midi -songs -tools -webcam"
Comment 1 Toralf Förster gentoo-dev 2018-03-01 22:06:44 UTC
Created attachment 521762 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-03-01 22:06:47 UTC
Created attachment 521764 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-03-01 22:06:50 UTC
Created attachment 521766 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-03-01 22:06:53 UTC
Created attachment 521768 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-03-01 22:06:56 UTC
Created attachment 521770 [details]
games-arcade:performous-1.1:20180301-183430.log
Comment 6 Toralf Förster gentoo-dev 2018-03-01 22:06:59 UTC
Created attachment 521772 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-03-01 22:07:02 UTC
Created attachment 521774 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2018-10-14 17:43:00 UTC
...not sure why this was assigned to Soap, but keeping him in CC.
Comment 9 Larry the Git Cow gentoo-dev 2019-04-11 18:58:37 UTC
The bug has been closed via the following commit(s):

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

commit cb0cf745e7d4eabbc169d4901811cc7cdd267f5f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-04-11 18:57:39 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-04-11 18:58:19 +0000

    games-arcade/performous: Fix building with media-libs/jpeg
    
    Closes: https://bugs.gentoo.org/649280
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: David Seifert <soap@gentoo.org>

 games-arcade/performous/files/performous-1.1-jpeg-9c.patch | 11 +++++++++++
 games-arcade/performous/performous-1.1-r1.ebuild           |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)