Package Details: maptool 1.13.0-1

Git Clone URL: (read-only, click to copy)
Package Base: maptool
Description: An open source virtual tabletop program
Upstream URL:
Keywords: maptool role-playing roleplaying roleplaying-game roleplaying-games rpg tabletop virtual-tabletop vtt
Licenses: AGPL3
Submitter: waltersm
Maintainer: patlefort
Last Packager: patlefort
Votes: 3
Popularity: 0.005616
First Submitted: 2019-03-18 16:15 (UTC)
Last Updated: 2023-05-05 20:42 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

patlefort commented on 2023-05-05 20:46 (UTC)

I resolved my issues by rebuilding everything (gradle7, jdk18-openjdk, jdk19-openjdk) in a clean chroot.

I've updated the dependencies but it is a bit of a pain to build now: You will need to build jdk18-openjdk, then jdk19-openjdk and finally maptool. I've also renamed the executable to MapTool to be consistent with maptool-bin.

patlefort commented on 2023-04-26 22:38 (UTC)

Update: I am also having issues running maptool. With java version 17 to 20, with last stable version of the last commit from their repo, all result in a segfault, tested on multiple machines. I gotta get to the bottom of this.

patlefort commented on 2023-04-26 14:06 (UTC)

It won't build currently with java version 20 so please revert back or keep version 19 for the moment.

patlefort commented on 2023-01-27 04:29 (UTC)

Looks like the server is down at the moment. Maybe retry later.

asakurahao commented on 2023-01-27 03:48 (UTC) (edited on 2023-01-27 03:59 (UTC) by asakurahao)

I'm trying to install the package but it shows the following errors:

Configure project :

Project : => no found

Configuring for MapTool 1.12.2 by RPTools

AppVersion: 1.12.2

OS Detected: linux

Setting Linux installer options

FAILURE: Build failed with an exception.

What went wrong: Could not determine the dependencies of task ':installDist'.

Could not resolve all task dependencies for configuration ':runtimeClasspath'.

Could not resolve com.github.RPTools:maptool-resources:1.6.0.

Could not resolve com.github.RPTools:maptool-resources:1.6.0.

Could not get resource ''. Could not GET ''.

Could not resolve com.github.RPTools:parser:1.8.3.

Could not resolve com.github.RPTools:parser:1.8.3.

Could not get resource ''.

Could not GET ''.

Could not resolve com.github.cwisniew:NoiseLib:1.0.0.

Could not resolve com.github.cwisniew:NoiseLib:1.0.0.

Could not get resource ''. Could not GET ''. Read timed out

Could someone help me to solve these problems?

patlefort commented on 2022-09-30 04:30 (UTC)

It work fine for me on java 18 on any machine I tested, I do not have jre17-openjdk or jdk17-openjdk installed, so the problem must be something else.

sgowie commented on 2022-09-30 03:43 (UTC)

I hit the same issue, with the stack trace starting with :

> Configure project :
Project : => no found
Configuring for MapTool 1.12.1 by RPTools
AppVersion: 1.12.1
OS Detected: linux
Setting Linux installer options

> Task :spotlessJava FAILED
Step 'google-java-format' found problem in 'src/main/java/net/rptools/lib/':
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(
        at com.diffplug.spotless.FormatterFunc.apply(
        at com.diffplug.spotless.FormatterStepImpl$Standard.format(
        at com.diffplug.spotless.FormatterStep$Strict.format(
        at com.diffplug.spotless.Formatter.compute(
        at com.diffplug.spotless.PaddedCell.calculateDirtyState(
        at com.diffplug.spotless.PaddedCell.calculateDirtyState(
        at com.diffplug.gradle.spotless.SpotlessTaskImpl.processInputFile(
        at com.diffplug.gradle.spotless.SpotlessTaskImpl.performAction(
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(
        at org.gradle.internal.reflect.JavaMethod.invoke(
        at org.gradle.api.internal.project.taskfactory.IncrementalInputsTaskAction.doExecute(

and ends with:

        at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(
        at jdk.compiler/com.sun.source.util.TreeScanner.visitClass(
        at jdk.compiler/$JCClassDecl.accept(
        at jdk.compiler/com.sun.source.util.TreePathScanner.scan(
        at jdk.compiler/com.sun.source.util.TreeScanner.scan(
        at jdk.compiler/com.sun.source.util.TreeScanner.scanAndReduce(
        at jdk.compiler/com.sun.source.util.TreeScanner.visitCompilationUnit(
        at jdk.compiler/$JCCompilationUnit.accept(
        at jdk.compiler/com.sun.source.util.TreePathScanner.scan(
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(
        ... 125 more

So spotlessJava is a dependency of the google-java-fomat step. The only change to the FileUtil in the last 2 years is, but I don't know enough Java to figure out anything more.

I tried to tackle this from another angle. I noticed in July an update to ( referenced the move from OpenJDK 16 to 17. In April, Arch's OpenJDK package updated to 18. So I installed jre17-openjdk and jdk17-openjdk, then set the environment to 17 (sudo archlinux-java set java-17-openjdk), then ran the build with the JAVA_HOME env set (JAVA_HOME=/usr/lib/jvm/java-17-openjdk makepkg).

17 actionable tasks: 10 executed, 7 up-to-date
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "maptool"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: maptool 1.12.1-1 (Thu 29 Sep 2022 09:40:46 PM)

TLDR; Install openjdk17 and build with THAT version of Java.

1 Install JDK17

$ sudo pacman -S jre17-openjdk jdk17-openjdk

2 Set the version of java

$ sudo archlinux-java set java-17-openjdk

3 Build

$ JAVA_HOME=/usr/lib/jvm/java-17-openjdk makepkg

mozzribo commented on 2022-09-21 16:00 (UTC)

I tried it, even removing the package and cleaning everything, but now I can't even install it. It might be on my end, so for now I'll just download MapTool from the website.

patlefort commented on 2022-09-19 23:53 (UTC)

Can you try cleaning and redownloading the sources? I don't see anything about a :spotlessJava task in the sources.

mozzribo commented on 2022-09-19 23:13 (UTC) (edited on 2022-09-19 23:14 (UTC) by mozzribo)

@patlefort, it seems to be the same (only my kernel is older, but that shouldn't create such issues?):

openjdk 18.0.2 2022-07-19
OpenJDK Runtime Environment (build 18.0.2+0)
OpenJDK 64-Bit Server VM (build 18.0.2+0, mixed mode)
Gradle 7.5.1

Build time:   2022-08-06 13:53:45 UTC
Revision:     <unknown>

Kotlin:       1.6.21
Groovy:       3.0.10
Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM:          18.0.2 (Oracle Corporation 18.0.2+0)
OS:           Linux 5.10.141-1-MANJARO amd64

What else could be causing the issue?