Re: Need help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2021-11-08 at 11:58 +0100, Mikolaj Izdebski wrote:
> On Sat, Nov 6, 2021 at 8:39 PM Orion Poplawski <orion@xxxxxxxx> wrote:
> > 
> > I'm trying to get truth 1.0.1 to build in the buildroot, but it's having
> > a test failure:
> 
> It's hard to say without more details like a link to Koji task or
> package sources.
> But I think it may be an unwanted change in XMvn that was accidentally
> introduced to rawhide and which I've just reverted [1].
> Please try to build again and if the issue persists I'll try to
> investigate the issue.

Yes, the NPE message suggests it includes JEP 358[i] which, in turn,
suggests a JDK 17 build was used in koji. If so, the NPE might be a
side-effect of a compatibility issue of truth with JDK 17 (for some
reason). You might be able to reproduce locally in mock when trying to
build with java-latest-openjdk (currently at JDK 17 level).

Thanks,
Severin

[i] https://openjdk.java.net/jeps/358

> [1] https://src.fedoraproject.org/rpms/xmvn/c/bc2c4b6
> 
> --
> Mikolaj Izdebski
> 
> 
> > 
> > [ERROR] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed:
> > 0.01 s <<< FAILURE! - in
> > com.google.common.truth.CorrespondenceExceptionStoreTest
> > [ERROR]
> > com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsMainCause_notEmpty
> >   Time elapsed: 0.009 s  <<< FAILURE!
> > com.google.common.truth.AssertionErrorWithFacts:
> > expected to match:
> >      compare\(null, 123\) threw java.lang.NullPointerException\s+at
> > com\.google\.common\.truth\.TestCorrespondences(.|\n)*\n---
> > but was:
> >      compare(null, 123) threw java.lang.NullPointerException: Cannot
> > invoke "java.lang.Integer.intValue()" because "actual" is null
> >         at
> > com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:77)
> >         at
> > com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:74)
> >         at
> > com.google.common.truth.Correspondence$FromBinaryPredicate.compare(Correspondence.java:150)
> >         at
> > com.google.common.truth.Correspondence$FormattingDiffs.compare(Correspondence.java:389)
> > 
> >      ---
> >         at
> > com.google.common.truth.CorrespondenceExceptionStoreTest.assertExpectedFacts(CorrespondenceExceptionStoreTest.java:106)
> >         at
> > com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsMainCause_notEmpty(CorrespondenceExceptionStoreTest.java:64)
> > [ERROR]
> > com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsAdditionalInfo_notEmpty
> >   Time elapsed: 0 s  <<< FAILURE!
> > com.google.common.truth.AssertionErrorWithFacts:
> > expected to match:
> >      compare\(null, 123\) threw java.lang.NullPointerException\s+at
> > com\.google\.common\.truth\.TestCorrespondences(.|\n)*\n---
> > but was:
> >      compare(null, 123) threw java.lang.NullPointerException: Cannot
> > invoke "java.lang.Integer.intValue()" because "actual" is null
> >         at
> > com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:77)
> >         at
> > com.google.common.truth.TestCorrespondences$3.apply(TestCorrespondences.java:74)
> >         at
> > com.google.common.truth.Correspondence$FromBinaryPredicate.compare(Correspondence.java:150)
> >         at
> > com.google.common.truth.Correspondence$FormattingDiffs.compare(Correspondence.java:389)
> > 
> >      ---
> >         at
> > com.google.common.truth.CorrespondenceExceptionStoreTest.assertExpectedFacts(CorrespondenceExceptionStoreTest.java:106)
> >         at
> > com.google.common.truth.CorrespondenceExceptionStoreTest.describeAsAdditionalInfo_notEmpty(CorrespondenceExceptionStoreTest.java:79)
> > 
> > 
> > but it builds fine in my rawhide VM.  But it's not obvious to me what
> > might be different or what's triggering this.  Any help greatly appreciated.
> > 
> > 
> > --
> > Orion Poplawski
> > he/him/his - surely the least important thing about me
> > Manager of NWRA Technical Systems          720-772-5637
> > NWRA, Boulder/CoRA Office             FAX: 303-415-9702
> > 3380 Mitchell Lane                       orion@xxxxxxxx
> > Boulder, CO 80301                 https://www.nwra.com/
> > _______________________________________________
> > java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> > To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> > Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
> _______________________________________________
> java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

_______________________________________________
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux