Bug 1987588 - jansi-native: FTBFS in Fedora rawhide/f35
Summary: jansi-native: FTBFS in Fedora rawhide/f35
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: jansi-native
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Java Package Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F35FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-07-29 15:19 UTC by Fedora Release Engineering
Modified: 2021-08-03 09:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-03 09:24:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (7.63 KB, text/plain)
2021-07-29 15:19 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2021-07-29 15:19 UTC, Fedora Release Engineering
no flags Details
state.log (984 bytes, text/plain)
2021-07-29 15:20 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2021-07-29 15:19:51 UTC
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/

Comment 1 Fedora Release Engineering 2021-07-29 15:19:55 UTC
Created attachment 1807776 [details]
build.log

Comment 2 Fedora Release Engineering 2021-07-29 15:19:58 UTC
Created attachment 1807777 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2021-07-29 15:20:00 UTC
Created attachment 1807778 [details]
state.log

Comment 4 Fedora Release Engineering 2021-08-01 04:28:13 UTC
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

Comment 5 Hans de Goede 2021-08-02 13:08:23 UTC
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)

Comment 6 Jerry James 2021-08-02 19:14:46 UTC
Here's my take on a fix:

https://src.fedoraproject.org/rpms/jansi-native/pull-request/4

Comment 7 Hans de Goede 2021-08-03 09:24:12 UTC
(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.


Note You need to log in before you can comment on or make changes to this bug.