Package Details: ucanaccess 5.0.1-1

Git Clone URL: https://aur.archlinux.org/ucanaccess.git (read-only, click to copy)
Package Base: ucanaccess
Description: Java JDBC driver implementation that allows to read/write Microsoft Access databases
Upstream URL: https://ucanaccess.sourceforge.net/site.html
Licenses: Apache
Submitter: audeoudh
Maintainer: None
Last Packager: audeoudh
Votes: 1
Popularity: 0.000004
First Submitted: 2022-10-18 09:06 (UTC)
Last Updated: 2022-10-18 09:06 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

eniac commented on 2024-07-27 14:31 (UTC)

There is a new fork at https://github.com/spannm/ucanaccess

audeoudh commented on 2023-03-18 14:44 (UTC)

Hi @fromtheeast710,

As far as I understand the tests logs, it's a problem with mockito, the testing framework, not with ucanaccess itself. And a problem with java-11 only (java-8 is OK).

Did you try to skip the tests and install the package with java-11? Is it working well? If so, we may consider bumping to java-11 and pin a comment about this error.

fromtheeast710 commented on 2023-03-18 10:44 (UTC) (edited on 2023-03-18 10:45 (UTC) by fromtheeast710)

Package failed to build


Results :

Failed tests: 
  ComplexTest.testComplex:51->complex1:105->UcanaccessTestBase.checkQuery:131->UcanaccessTestBase.diffResultSets:241->Assert.assertTrue:52->Assert.assertTrue:41->Assert.fail:86 null
Tests in error: 
  AutoNumberManagerTest.net.ucanaccess.triggers.AutoNumberManagerTest » Mockito ...

Tests run: 666, Failures: 1, Errors: 1, Skipped: 1

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  58.098 s
[INFO] Finished at: 2023-03-18T21:41:12+11:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (unit-test) on project ucanaccess: There are test failures.
[ERROR] 
[ERROR] Please refer to /home/theeast/.cache/yay/ucanaccess/src/UCanAccess-5.0.1-src/target/surefire-reports for the individual test results.
[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 check().
    Aborting...

Also it's weird that it's requiring jre8 to build when my system already have jre11. Thank you for maintaining this package, please fix this.