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

Bug 610972

Summary: games-strategy/s25rttr-0.8.1-r2 : /.../SDL.cpp:178:10: error: cannot convert ‘bool’ to ‘Sound*’ in return
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-strategy:s25rttr-0.8.1-r2:20170226-060244.log

Description Toralf Förster gentoo-dev 2017-02-26 09:38:40 UTC
cd /var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1_build/driver/audio/SDL/src && /usr/bin/x86_64-pc-linux-gnu-g++  -DaudioSDL_EXPORTS -I/var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1/driver/audio/SDL/src/../../../src -I/var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1/libendian/src   -DNDEBUG -Werror=terminate -O2 -pipe -march=native -I/var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1_build -I/usr/include/SDL -I/usr/include/SDL   -Wall -pedantic -fno-strict-aliasing -fPIC -o CMakeFiles/audioSDL.dir/SDL.cpp.o -c /var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp
/var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp: In member function ‘virtual Sound* AudioSDL::LoadEffect(unsigned int, unsigned char*, long unsigned int)’:
/var/tmp/portage/games-strategy/s25rttr-0.8.1-r2/work/s25rttr-0.8.1/driver/audio/SDL/src/SDL.cpp:178:10: error: cannot convert ‘bool’ to ‘Sound*’ in return
   return false;
          ^~~~~

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

  This is an unstable amd64 chroot image (named desktop_20170218-203252) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-02-26 09:38:43 UTC
Created attachment 465242 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-26 09:38:46 UTC
Created attachment 465244 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-02-26 09:38:49 UTC
Created attachment 465246 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-02-26 09:38:52 UTC
Created attachment 465248 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-02-26 09:38:55 UTC
Created attachment 465250 [details]
games-strategy:s25rttr-0.8.1-r2:20170226-060244.log
Comment 6 Peter Levine 2017-07-22 23:34:11 UTC
PR: https://github.com/gentoo/gentoo/pull/5177
Comment 7 David Seifert gentoo-dev 2017-07-30 09:12:45 UTC
commit 5b992a86ad44740a6a3509c8a6fd10d7c33db97b
Author: Peter Levine <plevine457@gmail.com>
Date:   Sat Jul 22 19:20:47 2017 -0400

    games-strategy/s25rttr: Fix building with GCC-6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=610972