Bug 2268547

Summary: link-grammar-5.12.3-6.fc41 FTBFS: [javac] error: Target option 7 is no longer supported. Use 8 or later.
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: link-grammarAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gwync, ndevos
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/link-grammar
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-12 20:08:19 UTC Type: Bug
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: 2260875    

Description Petr Pisar 2024-03-08 07:20:42 UTC
link-grammar-5.12.3-6.fc41 fails to build in Fedora 41:

make[2]: Entering directory '/builddir/build/BUILD/link-grammar-5.12.3/bindings/java'
ant
Buildfile: /builddir/build/BUILD/link-grammar-5.12.3/bindings/java/build.xml
build-subprojects:
init:
    [mkdir] Created dir: /builddir/build/BUILD/link-grammar-5.12.3/bindings/java/bin
     [copy] Copying 7 files to /builddir/build/BUILD/link-grammar-5.12.3/bindings/java/bin
build-project:
     [echo] linkgrammar: /builddir/build/BUILD/link-grammar-5.12.3/bindings/java/build.xml
    [javac] Compiling 9 source files to /builddir/build/BUILD/link-grammar-5.12.3/bindings/java/bin
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 7
    [javac] error: Source option 7 is no longer supported. Use 8 or later.
    [javac] error: Target option 7 is no longer supported. Use 8 or later.
BUILD FAILED
/builddir/build/BUILD/link-grammar-5.12.3/bindings/java/build.xml:21: Compile failed; see the compiler error output for details.
Total time: 0 seconds
make[2]: *** [Makefile:602: linkgrammar-5.12.3.jar] Error 1

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/17521366>.

Comment 1 Petr Pisar 2024-03-08 07:23:53 UTC
An upgrade of java-17-openjdk-devel from 1:17.0.10.0.7-1.fc40 to 1:21.0.2.0.13-2.fc41 looks suspicious. I don't know why Koschei did not included it in the build root difference.