Bug#1057518: libgoby-java: FTBFS with default Java 21

2024-01-03 Thread Vladimir Petko
Hi,

The issue is caused by the outdated version of the byte-buddy. Upgrading it
to 1.14 should solve the issue.
The issue can be worked around by adding -Dnet.bytebuddy.experimental=true
to the argLine in maven-surefire-plugin.

 Best Regards,
  Vladimir.


On Wed, Dec 27, 2023 at 1:55 PM Vladimir Petko 
wrote:

> Hi,
>
> I apologise for the late reply. The issue is most likely caused by an
> attempt to mock a sealed class in libgoby-java sources[1]. I will try to
> prepare a PR to address the issue.
>
> Best Regards,
>  Vladimir.
>
> [1] https://github.com/easymock/easymock/issues/442
>


Bug#1057518: libgoby-java: FTBFS with default Java 21

2023-12-26 Thread Vladimir Petko
Hi,

I apologise for the late reply. The issue is most likely caused by an
attempt to mock a sealed class in libgoby-java sources[1]. I will try to
prepare a PR to address the issue.

Best Regards,
 Vladimir.

[1] https://github.com/easymock/easymock/issues/442


Bug#1057518: libgoby-java: FTBFS with default Java 21

2023-12-05 Thread Vladimir Petko
Source: libgoby-java
Version: 3.3.1+dfsg2-9
Severity: important
Tags: ftbfs
User: debian-j...@lists.debian.org
Usertags: default-java21

Dear Maintainers,

The package libgoby-java ftbfs with default Java 21.
The relevant part of the build log:
---
[ERROR] Tests run: 512, Failures: 8, Errors: 0, Skipped: 46, Time elapsed: 
51.615 s <<< FAILURE! - in TestSuite
[ERROR] testDiscoverSomaticVariation2 on 
testDiscoverSomaticVariation2(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)
  Time elapsed: 0.344 s  <<< FAILURE!
java.lang.IllegalArgumentException: Could not create type
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testDiscoverSomaticVariation2(TestSomaticVariationOutputFormat.java:121)
Caused by: java.lang.IllegalArgumentException: 
org.campagnelab.goby.stats.VCFWriter$$$EasyMock$1 must be defined in the same 
package as org.easymock.internal.ClassProxyFactory
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testDiscoverSomaticVariation2(TestSomaticVariationOutputFormat.java:121)

[ERROR] testDiscoverSomaticVariation3 on 
testDiscoverSomaticVariation3(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)
  Time elapsed: 0.056 s  <<< FAILURE!
java.lang.IllegalArgumentException: Could not create type
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testDiscoverSomaticVariation3(TestSomaticVariationOutputFormat.java:218)
Caused by: java.lang.IllegalArgumentException: 
org.campagnelab.goby.stats.VCFWriter$$$EasyMock$2 must be defined in the same 
package as org.easymock.internal.ClassProxyFactory
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testDiscoverSomaticVariation3(TestSomaticVariationOutputFormat.java:218)

[ERROR] testEstimateSomaticPValue1 on 
testEstimateSomaticPValue1(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)
  Time elapsed: 0.05 s  <<< FAILURE!
java.lang.IllegalArgumentException: Could not create type
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testEstimateSomaticPValue1(TestSomaticVariationOutputFormat.java:35)
Caused by: java.lang.IllegalArgumentException: 
org.campagnelab.goby.stats.VCFWriter$$$EasyMock$3 must be defined in the same 
package as org.easymock.internal.ClassProxyFactory
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testEstimateSomaticPValue1(TestSomaticVariationOutputFormat.java:35)

[ERROR] testEstimateSomaticPValue2 on 
testEstimateSomaticPValue2(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)
  Time elapsed: 0.04 s  <<< FAILURE!
java.lang.IllegalArgumentException: Could not create type
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testEstimateSomaticPValue2(TestSomaticVariationOutputFormat.java:48)
Caused by: java.lang.IllegalArgumentException: 
org.campagnelab.goby.stats.VCFWriter$$$EasyMock$4 must be defined in the same 
package as org.easymock.internal.ClassProxyFactory
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testEstimateSomaticPValue2(TestSomaticVariationOutputFormat.java:48)

[ERROR] testEstimateSomaticPValue3 on 
testEstimateSomaticPValue3(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)(org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat)
  Time elapsed: 0.035 s  <<< FAILURE!
java.lang.IllegalArgumentException: Could not create type
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.testEstimateSomaticPValue3(TestSomaticVariationOutputFormat.java:61)
Caused by: java.lang.IllegalArgumentException: 
org.campagnelab.goby.stats.VCFWriter$$$EasyMock$5 must be defined in the same 
package as org.easymock.internal.ClassProxyFactory
at 
org.campagnelab.goby.modes.formats.TestSomaticVariationOutputFormat.assertPWithCounts(TestSomaticVariationOutputFormat.java:84)
at