jansi-native failed to build from source in Fedora rawhide/f35 https://koji.fedoraproject.org/koji/taskinfo?taskID=72383787 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Please fix jansi-native at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, jansi-native will be orphaned. Before branching of Fedora 36, jansi-native will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 1807776 [details] build.log
Created attachment 1807777 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1807778 [details] state.log
Dear Maintainer, your package has an open Fails To Build From Source bug for Fedora 35. Action is required from you. If you can fix your package to build, perform a build in koji, and either create an update in bodhi, or close this bug without creating an update, if updating is not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to acknowledge this. If you have already fixed this issue, please close this Bugzilla report. Following the policy for such packages [2], your package will be orphaned if this bug remains in NEW state more than 8 weeks (not sooner than 2021-09-23). A week before the mass branching of Fedora 36 according to the schedule [3], any packages not successfully rebuilt at least on Fedora 34 will be retired regardless of the status of this bug. [1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/ [2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/ [3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html
The error is: """ [ERROR] Source option 1.4 is no longer supported. Use 6 or later. [ERROR] Target option 1.4 is no longer supported. Use 1.6 or later. """ I've tried adding the following to the spec-file to fix things: """ # Set source + target versions to fix build %pom_xpath_inject pom:properties " <java.version>1.8</java.version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target>" """ This make the changes which I want it to make to the pom-file, but the error does not go away. If someone with more java-packaging experience can lend a hand here, then that would be great. (moving to assigned to indicate that this is being worked on)
Here's my take on a fix: https://src.fedoraproject.org/rpms/jansi-native/pull-request/4
(In reply to Jerry James from comment #6) > Here's my take on a fix: > > https://src.fedoraproject.org/rpms/jansi-native/pull-request/4 Thank you so much for that, figuring that out would have taken me ages. Merged and build, closing.