Page MenuHomeFreeBSD

math/apache-commons-math: build empty jar file (without classes) and doesn' build wiht jdk 11+
ClosedPublic

Authored by vvd on Jan 15 2024, 9:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 8:54 AM
Unknown Object (File)
Nov 17 2024, 7:10 AM
Unknown Object (File)
Oct 16 2024, 10:46 AM
Unknown Object (File)
Oct 16 2024, 5:32 AM
Unknown Object (File)
Oct 14 2024, 4:51 PM
Unknown Object (File)
Sep 26 2024, 11:18 PM
Unknown Object (File)
Sep 19 2024, 8:06 PM
Unknown Object (File)
Sep 19 2024, 1:18 AM
Subscribers
None

Details

Summary
  1. Without target compile commons-math.jar was ~8KB only without classes - whit patch it's ~2MB.
  2. Doesn't build with OpenJDK 11+: compile.source and compile.target 1.5 deprecated and was removed in newer OpenJDKs.

Tested build in poudriere and on live system 13.2amd64 with OpenJDK 8, 11, 17 and 21.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

vvd requested review of this revision.Jan 15 2024, 9:52 PM
vvd created this revision.

Looking good, don't forget the PORTREVISION bump.

This revision is now accepted and ready to land.Jan 16 2024, 6:06 AM

Update the patch with the bump please.

vvd edited the summary of this revision. (Show Details)

Increased PORTREVISION.

This revision now requires review to proceed.Jan 16 2024, 6:38 AM
arrowd requested changes to this revision.Jan 16 2024, 6:42 AM
This revision now requires changes to proceed.Jan 16 2024, 6:42 AM
This revision was not accepted when it landed; it landed in state Needs Revision.Jan 16 2024, 7:14 AM
This revision was automatically updated to reflect the committed changes.

arrowd requested changes to this revision.

This revision was not accepted when it landed; it landed in state Needs Revision.

Gleb, remove this request or approve review. If it matters at all.