FS#60792 - [jre7-openjdk] makedepends on non-existent apache-ant

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Tuesday, 13 November 2018, 13:06 GMT
Last edited by Jan de Groot (JGC) - Monday, 30 September 2019, 11:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Guillaume ALAUX (galaux)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

makedepends=(... 'apache-ant>=1.8.1' ...)

leads to makepkg failing with:

==> Installing missing dependencies...
error: target not found: apache-ant>=1.8.1
==> ERROR: 'pacman' failed to install missing dependencies.


I assume, the package has been renamed and is now "ant".
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 30 September 2019, 11:07 GMT
Reason for closing:  Fixed
Comment by Eli Schwartz (eschwartz) - Wednesday, 14 November 2018, 20:14 GMT
  • Field changed: Summary ([java7-openjd] makedepends on non-existent apache-ant → [jre7-openjdk] makedepends on non-existent apache-ant)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Guillaume ALAUX (galaux)
The ant package provides apache-ant, so this would work fine except there's some mysterious versioned makedepends instead. Why is there a versioned makedepends?
Comment by Andreas Baumann (andreas_baumann) - Friday, 23 August 2019, 16:14 GMT
The package was built last time presumably before apache-ant disappeard.

Using 'ant' 1.10.6-1 I get:

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/tools/ant/launch/Launcher : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)

Which means, we need a Java7 compatible version of ant for building JDK 7 presumably.
Comment by Andreas Baumann (andreas_baumann) - Friday, 23 August 2019, 17:56 GMT
Aha: https://ant.apache.org/

ant 1.10.x required JDK 8.
I'll make a ant19 package and try to build jdk7 with that one.
Comment by Andreas Baumann (andreas_baumann) - Friday, 23 August 2019, 18:06 GMT
aha. There is an extra/apache-ant 1.9.7-1..
..so ant provides apache-ant, but it's a newer version requiring JDK8.
I still have an apache-ant 1.9.x on Archlinux32 (in stable), but no longer in staging.
Comment by Jan de Groot (JGC) - Monday, 30 September 2019, 09:24 GMT
This package needs more work than just an outdated version of ant.
I'm working on a bump to last openjdk7 release. Takes some additional patches and needs extra CFLAGS/CPPFLAGS to produce working binaries with recent compilers.

Loading...