Source: libcommons-validator-java Version: 1:1.9.0-1 Severity: normal Tags: ftbfs Usertags: default-java25
Dear Maintainers, The package libcommons-validator-java ftbfs with default Java 25. The relevant part of the build log: --------------- [INFO] Running org.apache.commons.validator.LocaleTest [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 s - in org.apache.commons.validator.LocaleTest [INFO] [INFO] Results: [INFO] [ERROR] Failures: [ERROR] GenericTypeValidatorTest.testFRLocale:115->localeTest:78 Expecting date result to be an instance of Date for locale: fr ==> expected: <true> but was: <false> [ERROR] BigDecimalValidatorTest.testBigDecimalValidatorMethods:126 validate(A) locale ==> expected: <12345> but was: <12.345> [ERROR] BigDecimalValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] BigDecimalValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234.5> but was: <null> [ERROR] BigIntegerValidatorTest.testBigIntegerValidatorMethods:121 validate(A) locale ==> expected: <12345> but was: <null> [ERROR] BigIntegerValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] BigIntegerValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234> but was: <null> [ERROR] ByteValidatorTest.testByteValidatorMethods:131 validate(A) locale ==> expected: <123> but was: <null> [ERROR] ByteValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] ByteValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <123> but was: <null> [ERROR] CalendarValidatorTest.testDateTimeStyle:245 validate(A) default ==> expected: <true> but was: <false> [ERROR] CalendarValidatorTest.testFormat:264 default ==> expected: <31/12/05> but was: <12/31/05> [ERROR] CurrencyValidatorTest.testIntegerValid:84 Default locale ==> expected: <1234.00> but was: <null> [ERROR] CurrencyValidatorTest.testValid:168 Default locale ==> expected: <1234.56> but was: <null> [ERROR] DateValidatorTest.testDateValidatorMethods:141 validate(A) locale ==> expected: <Sat Dec 31 00:00:00 UTC 2005> but was: <null> [ERROR] DoubleValidatorTest.testDoubleValidatorMethods:120 validate(A) locale ==> expected: <12345.0> but was: <12.345> [ERROR] DoubleValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] DoubleValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234.5> but was: <null> [ERROR] FloatValidatorTest.testFloatValidatorMethods:150 validate(A) locale ==> expected: <12345.0> but was: <12.345> [ERROR] FloatValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] FloatValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234.5> but was: <null> [ERROR] IntegerValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] IntegerValidatorTest.testIntegerValidatorMethods:128 validate(A) locale ==> expected: <12345> but was: <null> [ERROR] IntegerValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234> but was: <null> [ERROR] LongValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] LongValidatorTest.testLongValidatorMethods:131 validate(A) locale ==> expected: <12345> but was: <null> [ERROR] LongValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234> but was: <null> [ERROR] ShortValidatorTest>AbstractNumberValidatorTest.testFormat:90 DE Locale, DE Format ==> expected: <1.234,5> but was: <1,234.5> [ERROR] ShortValidatorTest.testShortValidatorMethods:122 validate(A) locale ==> expected: <12345> but was: <null> [ERROR] ShortValidatorTest>AbstractNumberValidatorTest.testValidateLocale:196 DE Locale, DE Format ==> expected: <1234> but was: <null> [ERROR] TimeValidatorTest.testFormat:190 Format default ==> expected: <4:49 PM> but was: <16:49> [ERROR] TimeValidatorTest.testLocaleValid:215 validate() 0 value=[23:59] failed ==> expected: not <null> [ERROR] TimeValidatorTest.testTimeZone:263 default result ==> expected: not <null> [ERROR] Errors: [ERROR] CalendarValidatorTest.testCalendarValidatorMethods:115 NullPointer Cannot invo... [INFO] [ERROR] Tests run: 573, Failures: 33, Errors: 1, Skipped: 1 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.053 s [INFO] Finished at: 2025-06-11T20:24:28Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.3:test (default-test) on project commons-validator: There are test failures. [ERROR] [ERROR] Please refer to /<<PKGBUILDDIR>>/target/surefire-reports for the individual test results. [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream. [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 dh_auto_test: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode test returned exit code 1 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------- -- System Information: Debian Release: trixie/sid APT prefers plucky-updates APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.14.0-22-generic (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled