Bug 1987588
| Summary: | jansi-native: FTBFS in Fedora rawhide/f35 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Release Engineering <releng> | ||||||||
| Component: | jansi-native | Assignee: | Java Package Maintainers <java-maint-sig> | ||||||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
| Severity: | unspecified | Docs Contact: | |||||||||
| Priority: | unspecified | ||||||||||
| Version: | rawhide | CC: | hdegoede, java-maint-sig, loganjerry, mizdebsk | ||||||||
| Target Milestone: | --- | ||||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2021-08-03 09:24:12 UTC | Type: | --- | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1927309 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Fedora Release Engineering
2021-07-29 15:19:51 UTC
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. |