Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78492 - [java-commons-lang] FTBFS

Attached to Project: Community Packages
Opened by Levi Zim (kxxt) - Friday, 12 May 2023, 04:14 GMT
Last edited by Toolybird (Toolybird) - Saturday, 13 May 2023, 01:05 GMT
Task Type Bug Report
Category Packages
Status Waiting on Response
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

check() failed. Upstream has already fixed it in https://github.com/apache/commons-lang/commit/ab96fb0245702e74397f15ad49955d581af5a3d9

I have created a patch for trunk/PKGBUILD and attached it here.

Additional info:
* package version(s) 3.12.0-1

Steps to reproduce:

asp checkout java-commons-lang
cd java-commons-lang/trunk
extra-x86_64-build


errors from check():

[ERROR] Failures:
[ERROR] ThreadUtilsTest.testThreadGroups:236 expected: <1> but was: <3>
[ERROR] MultiLineToStringStyleTest.testCollection:80 expected: <java.lang.Integer@3b67019f[
a=<size=0>
]> but was: <java.lang.Integer@3b67019f[
a=java.util.Collections$EmptyList@348be0a
]>
[ERROR] NoClassNameToStringStyleTest.testCollection:79 expected: <[a=<size=0>]> but was: <[a=java.util.Collections$EmptyList@348be0a]>
[ERROR] RecursiveToStringStyleTest.testObject:75 expected: <java.lang.Integer@3b67019f[a=<size=0>]> but was: <java.lang.Integer@3b67019f[a=java.util.ArrayList@713b7d4f]>
[ERROR] ShortPrefixToStringStyleTest.testCollection:80 expected: <Integer[a=<size=0>]> but was: <Integer[a=java.util.Collections$EmptyList@348be0a]>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
[ERROR] ToStringBuilderTest.after:48->validateNullToStringStyleRegistry:592 Expected null, actual: {[]=null} ==> expected: <null> but was: <{[]=null}>
...
This task depends upon

Comment by Toolybird (Toolybird) - Saturday, 13 May 2023, 01:05 GMT
Interesting. Seems to build fine here in a clean chroot...are you building in a clean chroot? Edit: I see you used extra-x86_64-build so I wonder why it fails for you and not me?

Loading...