Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652930 - games-action/lugaru-20151204-r1 : /.../OpenGL_Windows.cpp:842:29: error: invalid conversion from int to boolean [-fpermissive]
Summary: games-action/lugaru-20151204-r1 : /.../OpenGL_Windows.cpp:842:29: error: inva...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-10 16:14 UTC by Toralf Förster
Modified: 2019-04-11 17:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.79 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.47 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
environment (environment,115.67 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.50 KB, application/x-bzip)
2018-04-10 16:14 UTC, Toralf Förster
Details
games-action:lugaru-20151204-r1:20180410-131618.log (games-action:lugaru-20151204-r1:20180410-131618.log,21.19 KB, text/plain)
2018-04-10 16:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.46 KB, application/x-bzip)
2018-04-10 16:14 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.17 KB, application/x-bzip)
2018-04-10 16:14 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-04-10 16:14:33 UTC
/usr/bin/x86_64-pc-linux-gnu-g++ -DBinIO_STDINT_HEADER="<stdint.h>" -DPLATFORM_LINUX=1 -DPLATFORM_UNIX=1 -DUSE_OPENAL=1 -DUSE_SDL=1 -I/usr/include/AL -I/usr/include/SDL -I/var/tmp/portage/games-action/lugaru-20151204-r1/work/lugaru-20151204/Source   -DNDEBUG -O2 -pipe -march=native -O0 --std=c++11   -o CMakeFiles/lugaru.dir/Source/OpenGL_Windows.cpp.o -c /var/tmp/portage/games-action/lugaru-20151204-r1/work/lugaru-20151204/Source/OpenGL_Windows.cpp
/var/tmp/portage/games-action/lugaru-20151204-r1/work/lugaru-20151204/Source/OpenGL_Windows.cpp: In function ‘bool load_jpg(const char*, TGAImageRec&)’:
/var/tmp/portage/games-action/lugaru-20151204-r1/work/lugaru-20151204/Source/OpenGL_Windows.cpp:842:29: error: invalid conversion from ‘int’ to ‘boolean’ [-fpermissive]
     cinfo.quantize_colors = 0;
                             ^
make[2]: *** [CMakeFiles/lugaru.dir/build.make:378: CMakeFiles/lugaru.dir/Source/OpenGL_Windows.cpp.o] Error 1

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

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

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

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)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-8]
2)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8  system-vm
  [2]   icedtea-bin-8 

emerge -qpv games-action/lugaru
[ebuild  N    ] games-action/lugaru-20151204-r1 

!!! The following installed packages are masked:
- media-gfx/scantailor-0.9.12.2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas Sturmlechner <asturm@gentoo.org> (10 Apr 2018)
# Depends on dead Qt4. Switch to media-gfx/scantailor-advanced instead.
# Masked for removal in 30 days. Bug #633386

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-04-10 16:14:37 UTC
Created attachment 527092 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-10 16:14:42 UTC
Created attachment 527094 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-10 16:14:45 UTC
Created attachment 527096 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-10 16:14:49 UTC
Created attachment 527098 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-10 16:14:52 UTC
Created attachment 527100 [details]
games-action:lugaru-20151204-r1:20180410-131618.log
Comment 6 Toralf Förster gentoo-dev 2018-04-10 16:14:55 UTC
Created attachment 527102 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-10 16:14:58 UTC
Created attachment 527104 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-04-11 17:22:12 UTC
The bug has been closed via the following commit(s):

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

commit e1b400a259946c52aac5ca9971c8df06c8519fb9
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-04-11 17:11:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-04-11 17:21:50 +0000

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

 games-action/lugaru/files/lugaru-20151204-jpeg-9c.patch | 13 +++++++++++++
 games-action/lugaru/lugaru-20151204-r1.ebuild           |  5 +++--
 2 files changed, 16 insertions(+), 2 deletions(-)