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

Bug 652690

Summary: games-rpg/eternal-lands-1.9.3-r2 : quest_log.cpp:87:74: error: call of overloaded abs(Uint32) is ambiguous
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Richard Freeman <rich0>
Status: RESOLVED FIXED    
Severity: normal CC: ansla80, chris.murtagh1, games, jklawiter, waebbl-gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/12014
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-rpg:eternal-lands-1.9.3-r2:20180406-035957.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-06 17:06:49 UTC
                            ^~~~~~~~
quest_log.cpp: In member function ‘bool Quest_Title_Request::is_too_old() const’:
quest_log.cpp:87:74: error: call of overloaded ‘abs(Uint32)’ is ambiguous
 l is_too_old(void) const { return (abs(SDL_GetTicks() - request_time) > 5000); }
                                                                     ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/cstdlib:75:0,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_20180402-130354

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

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)
  [3]   jython2.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-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv games-rpg/eternal-lands
[ebuild  N    ] games-rpg/eternal-lands-1.9.3-r2  USE="-debug -doc"
Comment 1 Toralf Förster gentoo-dev 2018-04-06 17:06:52 UTC
Created attachment 526712 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-06 17:06:55 UTC
Created attachment 526714 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-06 17:06:58 UTC
Created attachment 526716 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-06 17:07:01 UTC
Created attachment 526718 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-06 17:07:04 UTC
Created attachment 526720 [details]
games-rpg:eternal-lands-1.9.3-r2:20180406-035957.log
Comment 6 Toralf Förster gentoo-dev 2018-04-06 17:07:07 UTC
Created attachment 526722 [details]
temp.tbz2
Comment 7 Jakub Klawiter 2018-12-24 13:41:16 UTC
1.9.3 is very old, current version is 1.9.5

https://github.com/raduprv/Eternal-Lands/blob/stable_snap_build/CHANGES
Comment 8 Larry the Git Cow gentoo-dev 2019-05-23 02:29:14 UTC
The bug has been closed via the following commit(s):

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

commit 4db23dbb1a7127733ef0a4849824f133c58b8506
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2019-05-16 03:41:49 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2019-05-23 02:27:36 +0000

    games-rpg/eternal-lands: bump version to 1.9.5.3
    
    No longer depends on games-rpg/eternal-lands-data.
    Provide a launcher that downloads game data into $HOME on the first
    start. It will make auto updates easier and not violating Gentoo
    policies.
    
    Closes: https://bugs.gentoo.org/548926
    Closes: https://bugs.gentoo.org/652690
    Closes: https://bugs.gentoo.org/672238
    Closes: https://github.com/gentoo/gentoo/pull/12014
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-rpg/eternal-lands/Manifest                   |  1 +
 .../eternal-lands/eternal-lands-1.9.5.3.ebuild     | 76 ++++++++++++++++++
 games-rpg/eternal-lands/files/el-wrapper           | 53 +++++++++++++
 .../files/eternal-lands-1.9.5.3-build.patch        | 70 +++++++++++++++++
 .../files/eternal-lands-1.9.5.3-minizip.patch      | 90 ++++++++++++++++++++++
 5 files changed, 290 insertions(+)