Package Details: tomighty 0.7.2-3

Git Clone URL: https://aur.archlinux.org/tomighty.git (read-only, click to copy)
Package Base: tomighty
Description: Desktop timer for Pomodoro Technique users
Upstream URL: https://tomighty.github.io/
Keywords: pomodoro timer
Licenses: Apache
Submitter: s.pantaleev
Maintainer: None
Last Packager: freswa
Votes: 50
Popularity: 0.000000
First Submitted: 2011-11-18 11:56 (UTC)
Last Updated: 2021-11-17 10:52 (UTC)

Dependencies (6)

Required by (0)

Sources (5)

Latest Comments

1 2 Next › Last »

marcool04 commented on 2025-06-02 12:31 (UTC) (edited on 2025-06-02 12:32 (UTC) by marcool04)

However, fixing that only gets us so far. We then have this error in a test:

src/tomighty/target/surefire-reports/org.tomighty.resources.TrayIconsTest.txt
org.tomighty.resources.TrayIconsTest.testTomato -- Time elapsed: 0.044 s <<< ERROR!
java.lang.ExceptionInInitializerError
    at org.mockito.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
    at org.mockito.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
    at org.mockito.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:217)
    at org.mockito.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
    at org.mockito.cglib.core.KeyFactory.create(KeyFactory.java:117)
    at org.mockito.cglib.core.KeyFactory.create(KeyFactory.java:109)
    at org.mockito.cglib.core.KeyFactory.create(KeyFactory.java:105)
    at org.mockito.cglib.proxy.Enhancer.<clinit>(Enhancer.java:70)
    at org.mockito.internal.creation.jmock.ClassImposterizer.createProxyClass(ClassImposterizer.java:68)
    at org.mockito.internal.creation.jmock.ClassImposterizer.imposterise(ClassImposterizer.java:50)
    at org.mockito.internal.util.MockUtil.createMock(MockUtil.java:54)
    at org.mockito.internal.MockitoCore.mock(MockitoCore.java:45)
    at org.mockito.Mockito.mock(Mockito.java:921)
    at org.mockito.Mockito.mock(Mockito.java:816)
    at org.tomighty.resources.TrayIconsTest.bind(TrayIconsTest.java:43)
    at org.tomighty.InjectedTest.createContainer(InjectedTest.java:29)
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
    at java.base/java.lang.reflect.Method.invoke(Method.java:565)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:316)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:240)
    at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:214)
    at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:155)
    at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
    at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
    at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
    at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @13b6d03
    at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:353)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:329)
    at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:277)
    at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:182)
    at java.base/java.lang.reflect.Method.setAccessible(Method.java:176)
    at org.mockito.cglib.core.ReflectUtils$2.run(ReflectUtils.java:57)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:74)
    at org.mockito.cglib.core.ReflectUtils.<clinit>(ReflectUtils.java:47)

which is beyond my understanding of the build process to debug.

marcool04 commented on 2025-06-02 12:25 (UTC) (edited on 2025-06-02 12:30 (UTC) by marcool04)

Build fails with

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project tomighty: Compilation failure: Compilation failure: 
[ERROR] error: Source option 7 is no longer supported. Use 8 or later.
[ERROR] error: Target option 7 is no longer supported. Use 8 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

This can be fixed by changing 1.7 to 1.8 in your patch.

freswa commented on 2021-11-17 10:52 (UTC)

Should be fixed.

eyolf commented on 2021-11-17 07:16 (UTC) (edited on 2021-11-17 07:17 (UTC) by eyolf)

Getting this:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project tomighty: Compilation failure
[ERROR] Unable to locate the Javac Compiler in:
[ERROR]   /usr/lib/jvm/java-8-openjdk/jre/../lib/tools.jar
[ERROR] Please ensure you are using JDK 1.4 or above and
[ERROR] not a JRE (the com.sun.tools.javac.Main class is required).
[ERROR] In most cases you can change the location of your Java
[ERROR] installation by setting the JAVA_HOME environment variable.

milkii commented on 2019-09-05 22:24 (UTC) (edited on 2019-09-05 22:25 (UTC) by milkii)

Getting this atm:

...
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar (195 kB at 217 kB/s)
[INFO] Compiling 113 source files to /home/milk/.cache/yay/tomighty/src/tomighty/target/classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  10.665 s
[INFO] Finished at: 2019-09-05T22:23:36Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project tomighty: Compilation failure: Compilation failure: 
[ERROR] error: Source option 6 is no longer supported. Use 7 or later.
[ERROR] error: Target option 6 is no longer supported. Use 7 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
==> ERROR: A failure occurred in build().
    Aborting...
Error making: tomighty

j605 commented on 2018-08-29 08:12 (UTC)

Please make the github source url use git+https:// as it provides verification of https as well as help people behind firewalls.

thevtm commented on 2017-08-18 05:27 (UTC)

Working just fine now!

thevtm commented on 2017-08-17 06:37 (UTC)

Hi!! I'm getting an issue with the "tomighty.desktop" validation. ==> Validating source files with sha512sums... tomighty ... Skipped tomighty.sh ... Passed tomighty.desktop ... FAILED tomato.ico ... Passed ==> ERROR: One or more files did not pass the validity check! ==> ERROR: Makepkg was unable to build tomighty. Thank you!

s.pantaleev commented on 2017-03-24 21:43 (UTC)

@skrobul, sure. I have disowned this package. Please feel free to adopt it. Thanks!

skrobul commented on 2017-03-24 12:45 (UTC) (edited on 2017-03-24 12:46 (UTC) by skrobul)

@s.pantaleev - I can take care of this package. Alternatively - feel free to just copy over the patch - https://github.com/skrobul/aur-tomighty/commit/0e23f382b6d882a8a50e93ba46569ebdbb2828f0