Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654564 - games-strategy/freecol fails to run
Summary: games-strategy/freecol fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-05-13
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: games.eclass
  Show dependency tree
 
Reported: 2018-05-01 20:55 UTC by Pacho Ramos
Modified: 2019-04-13 21:19 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2018-05-01 20:55:11 UTC
I get:
Exception in thread "main" java.lang.ClassCastException: java.io.File cannot be cast to java.lang.Class
	at org.apache.commons.cli.OptionBuilder.withType(OptionBuilder.java:298)
	at net.sf.freecol.FreeCol.handleArgs(FreeCol.java:593)
	at net.sf.freecol.FreeCol.main(FreeCol.java:248)
Comment 1 Larry the Git Cow gentoo-dev 2019-04-13 08:04:51 UTC
The bug has been referenced in the following commit(s):

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

commit d612f19db4c03938a5434459adf9870437bdc8f9
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-04-13 08:04:19 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-04-13 08:04:47 +0000

    package.mask: Last rite games-strategy/freecol
    
    Bug: https://bugs.gentoo.org/654564
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2019-04-13 21:18:40 UTC
The bug has been closed via the following commit(s):

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

commit 122bf2097ea89b489863b49d84fbc38ee0061731
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-04-13 21:15:07 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-04-13 21:16:43 +0000

    games-strategy/freecol: Fix commons-cli issue, simplify build, EAPI 7
    
    Thanks to Debian for the commons-cli patch.
    
    Closes: https://bugs.gentoo.org/654564
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-strategy/freecol/files/commons-cli-1.3.patch | 22 ++++++
 .../freecol/files/freecol-0.11.6-gentoo.patch      | 37 ++++------
 games-strategy/freecol/freecol-0.11.6-r1.ebuild    | 63 +++++++++++++++++
 games-strategy/freecol/freecol-0.11.6.ebuild       | 79 ----------------------
 4 files changed, 99 insertions(+), 102 deletions(-)