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)
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(+)
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(-)