Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724470 - games-simulation/simutrans-0.120.2.2 : gui/simwin.cc: error: narrowing conversion of magic_none from int to unsigned int [-Wnarrow
Summary: games-simulation/simutrans-0.120.2.2 : gui/simwin.cc: error: narrowing conver...
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: 2020-05-21 16:49 UTC by Toralf Förster
Modified: 2020-10-23 17:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.97 KB, text/plain)
2020-05-21 16:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,226.44 KB, text/plain)
2020-05-21 16:49 UTC, Toralf Förster
Details
environment (environment,91.19 KB, text/plain)
2020-05-21 16:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.94 KB, application/x-bzip)
2020-05-21 16:49 UTC, Toralf Förster
Details
games-simulation:simutrans-0.120.2.2:20200521-163214.log (games-simulation:simutrans-0.120.2.2:20200521-163214.log,851.30 KB, text/plain)
2020-05-21 16:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.81 KB, application/x-bzip)
2020-05-21 16:49 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 2020-05-21 16:49:41 UTC
      |  ^~~~~~~~~~~~~~
gui/simwin.cc: In function void rdwr_all_win(loadsave_t*):
gui/simwin.cc:503:11: error: narrowing conversion of magic_none from int to unsigned int [-Wnarrowing]
  503 |      case magic_none: return;
      |           ^~~~~~~~~~
gui/simwin.cc: In function int top_win(int, bool):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl-20200516-184510

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.1 *
  [2]   rust-1.43.1
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 21 May 2020 04:05:35 PM UTC
/var/db/repos/libressl	Sun 10 May 2020 08:35:26 PM UTC

emerge -qpvO games-simulation/simutrans
[ebuild  N    ] games-simulation/simutrans-0.120.2.2
Comment 1 Toralf Förster gentoo-dev 2020-05-21 16:49:44 UTC
Created attachment 640758 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-21 16:49:47 UTC
Created attachment 640760 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-21 16:49:50 UTC
Created attachment 640762 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-21 16:49:53 UTC
Created attachment 640764 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-21 16:49:56 UTC
Created attachment 640766 [details]
games-simulation:simutrans-0.120.2.2:20200521-163214.log
Comment 6 Toralf Förster gentoo-dev 2020-05-21 16:49:59 UTC
Created attachment 640768 [details]
logs.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-10-23 17:13:49 UTC
The bug has been closed via the following commit(s):

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

commit 3cd3ac0da3b0b26ee001e014ccec1aa45d131ef6
Author:     Ronny Gutbrod <gentoo@tastytea.de>
AuthorDate: 2020-04-11 20:56:14 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-10-23 17:07:02 +0000

    games-simulation/simutrans: Version bump 0.122.0.
    
    Also add a Desktop Entry and all the maintained paksets (scenario data) via
    use-flags.
    
    Closes: https://bugs.gentoo.org/668504
    Closes: https://bugs.gentoo.org/636324
    Closes: https://bugs.gentoo.org/664634
    Closes: https://bugs.gentoo.org/724470
    Closes: https://bugs.gentoo.org/739360
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 games-simulation/simutrans/Manifest                |   8 ++
 .../files/simutrans-0.122.0-Fix-Makefile.patch     |  21 ++++
 games-simulation/simutrans/files/simutrans.desktop |   9 ++
 games-simulation/simutrans/metadata.xml            |  14 ++-
 .../simutrans/simutrans-0.122.0.ebuild             | 106 +++++++++++++++++++++
 5 files changed, 156 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit fb75467bcf4b8c308ebbc5b9121a6f42d43680d3
Author:     Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
AuthorDate: 2020-10-23 14:50:59 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-10-23 17:08:15 +0000

    games-simulation/simutrans: Delete old ebuild.
    
    It doesn't compile since 2018.
    
    Bug: https://bugs.gentoo.org/664634
    Bug: https://bugs.gentoo.org/724470
    Bug: https://bugs.gentoo.org/739360
    
    Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
    Closes: https://github.com/gentoo/gentoo/pull/15314
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 games-simulation/simutrans/Manifest                |  3 -
 .../files/simutrans-0.120.2.2-Makefile.patch       | 89 ----------------------
 .../simutrans/simutrans-0.120.2.2.ebuild           | 71 -----------------
 3 files changed, 163 deletions(-)