Bug 2324760

Summary: Please branch and build apache-ivy in epel10
Product: [Fedora] Fedora Reporter: Michel Lind <michel>
Component: apache-ivyAssignee: Didik Supriadi <didiksupriadi41>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: didiksupriadi41, java-sig-commits, lkundrak, 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: 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: 2324766, 2324802, 2324759, 2324797    
Bug Blocks: 1914423, 2324741    

Description Michel Lind 2024-11-08 20:53:55 UTC
Please branch and build apache-ivy in epel10.

If you do not wish to maintain apache-ivy in epel10,
or do not think you will be able to do this in a timely manner,
the EPEL Packagers SIG would be happy to be a co-maintainer of the package;
please add the epel-packagers-sig group through
https://src.fedoraproject.org/rpms/apache-ivy/addgroup
and grant it commit access, or collaborator access on epel* branches.

I would also be happy to be a co-maintainer (FAS: salimma);
please add me through https://src.fedoraproject.org/rpms/apache-ivy/adduser

Comment 1 Michel Lind 2024-11-09 00:32:22 UTC
So this is fun. JDK 11 is retired in Rawhide/F42+ - https://src.fedoraproject.org/rpms/java-11-openjdk/c/eef5cae1618adf22b43adb9e243580e26aaab57c?branch=rawhide - and of course RHEL 10 also only has JDK 21. And Ivy does not currently build against it

    [javac] /builddir/build/BUILD/apache-ivy-2.5.2-build/apache-ivy-2.5.2/src/java/org/apache/ivy/util/FileUtil.java:49: er
ror: cannot find symbol                                                                                                    
    [javac] import static java.util.jar.Pack200.newUnpacker;                                                               
    [javac]                            ^                                                                                   
    [javac]   symbol:   class Pack200            
    [javac]   location: package java.util.jar

Comment 2 Michel Lind 2024-11-09 00:54:21 UTC
Reported upstream: https://lists.apache.org/thread/9dfws64qkyoxbtk6474hpoyxxc2hncdv

Comment 3 Michel Lind 2024-11-09 03:57:34 UTC
The suggested fix in the thread upstream allows Ivy to compile, but fails generating javadoc

Investigating further...

Processing files: apache-ivy-javadoc-2.5.2-7.fc42.noarch                                  
                                                                                          
RPM build errors:                                                                         
error: Could not open %files file /builddir/build/BUILD/apache-ivy-2.5.2-build/apache-ivy-
2.5.2/.mfiles-javadoc: No such file or directory                                          
    Could not open %files file /builddir/build/BUILD/apache-ivy-2.5.2-build/apache-ivy-2.5
.2/.mfiles-javadoc: No such file or directory

Comment 4 Aoife Moloney 2025-02-26 13:15:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.