Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614498 - games-strategy/maxr-0.2.8 : menuitems.cpp:1043:39: error: narrowing conversion of ‘-1’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } [-Wnarrowing]
Summary: games-strategy/maxr-0.2.8 : menuitems.cpp:1043:39: error: narrowing conversio...
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: Pending removal: 2018-04-17
Keywords: PMASKED
Depends on: 599386
Blocks:
  Show dependency tree
 
Reported: 2017-04-02 09:40 UTC by Toralf Förster
Modified: 2018-03-26 21:25 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.73 KB, text/plain)
2017-04-02 09:40 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,6.81 KB, application/x-bzip)
2017-04-02 09:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,409.11 KB, text/plain)
2017-04-02 09:40 UTC, Toralf Förster
Details
environment (environment,96.71 KB, text/plain)
2017-04-02 09:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.93 KB, application/x-bzip)
2017-04-02 09:40 UTC, Toralf Förster
Details
games-strategy:maxr-0.2.8:20170402-065031.log (games-strategy:maxr-0.2.8:20170402-065031.log,37.82 KB, text/plain)
2017-04-02 09:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.94 KB, application/x-bzip)
2017-04-02 09:40 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 2017-04-02 09:40:24 UTC
                                        ~~~^~~~~~~~~~~~~
menuitems.cpp: In member function ‘virtual void cMenuCheckButton::draw()’:
menuitems.cpp:1043:39: error: narrowing conversion of ‘-1’ from ‘int’ to ‘Uint16 {aka short unsigned int}’ inside { } [-Wnarrowing]
  SDL_Rect textDest = { -1, -1, -1, -1 };
                                       ^

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

  This is an unstable amd64 chroot image (named desktop-abi32+64_20170324-193625) at a hardened host acting as a tinderbox.

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
2)	IcedTea JDK 3.3.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   icedtea-bin-8 
  [3]   jamvm
Comment 1 Toralf Förster gentoo-dev 2017-04-02 09:40:27 UTC
Created attachment 468952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-04-02 09:40:30 UTC
Created attachment 468954 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-04-02 09:40:33 UTC
Created attachment 468956 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-04-02 09:40:36 UTC
Created attachment 468958 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-04-02 09:40:40 UTC
Created attachment 468960 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-04-02 09:40:43 UTC
Created attachment 468962 [details]
games-strategy:maxr-0.2.8:20170402-065031.log
Comment 7 Toralf Förster gentoo-dev 2017-04-02 09:40:46 UTC
Created attachment 468964 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-02-28 16:00:42 UTC
it still fails to build
Comment 9 Thomas Coquelin 2018-03-18 15:38:19 UTC
Hello,
I updated #599386 with a patch that works for me.
Can you check before removing maxr ?
Thx,
Thomas.
Comment 10 Pacho Ramos gentoo-dev 2018-03-18 16:09:58 UTC
do you want to proxy maintain this?
https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
Comment 11 Thomas Coquelin 2018-03-18 17:39:39 UTC
Sure, I'll follow the doc and fill a PR with this patch
Comment 12 Pacho Ramos gentoo-dev 2018-03-18 18:21:23 UTC
Thanks, I CC proxy-maint here too

Please note that ebuild attached in bug 599386 is still using games.eclass, you will need to drop its usage (and bump to eapi6 if possible) as now games are handled as all the other packages
Comment 13 Thomas Coquelin 2018-03-19 12:24:39 UTC
PR is open: https://github.com/gentoo/gentoo/pull/7502
I fixed all issues reported by repoman, including games.eclass
Comment 14 Larry the Git Cow gentoo-dev 2018-03-26 21:25:11 UTC
The bug has been closed via the following commit(s):

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

commit 88b69511505b96a18155ff7652ab5f22f6380167
Author:     OursDesCavernes <totocoq@yahoo.fr>
AuthorDate: 2018-03-18 23:40:19 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2018-03-26 21:25:00 +0000

    games-strategy/maxr: Bump verion 0.2.9
    
    Closes: https://bugs.gentoo.org/614498
    Closes: https://bugs.gentoo.org/599386
    
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/7502

 games-strategy/maxr/Manifest          |  1 +
 games-strategy/maxr/maxr-0.2.9.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)