Re: Weird release failure

Robert Muir <[email protected]>
Newsgroups gmane.comp.jakarta.lucene.devel
Message-ID <CAOdYfZV3iRxSnat0hjPGqkZUuRdxNQsTB6ay5PL0aBxM9JPaCg@mail.gmail.com>
Looks like a bug in the smoketester. Removing the "." (period) in the
check should fix it:

-      "X-Build-JDK: %s." % BASE_JAVA_VERSION,
+      "X-Build-JDK: %s" % BASE_JAVA_VERSION,

On Wed, Oct 1, 2025 at 6:03 PM Benjamin Trent <[email protected]> wrote:
>
> Hey y'all,
>
> It's been awhile since I have done a release, while running the smoke tester I got the following failure:
>
> RuntimeError: JAR file "/Users/benjamintrent/.lucene-releases/10.3.1/RC1/smoketest/unpack/lucene-10.3.1/modules-test-framework/lucene-test-framework-10.3.1.jar" is missing "X-Build-JDK: 21." inside its META-INF/MANIFEST.MF: Manifest-Version: 1.0
> Extension-Name: org.apache.lucene
> Implementation-Vendor: The Apache Software Foundation
> Implementation-Title: org.apache.lucene
> Implementation-Version: 10.3.1 25d6374b4981073547bc96173b1c27922f4ea0f3
>  - 2025-10-01 16:53:01
> Specification-Vendor: The Apache Software Foundation
> Specification-Version: 10.3.1
> Specification-Title: Lucene Search Engine: test-framework
> X-Compile-Source-JDK: 21
> X-Compile-Target-JDK: 21
> X-Build-JDK: 21 (Oracle Corporation 21+35-2513)
> X-Build-OS: Mac OS X aarch64 15.7
>
> Which is weird, it SEEMS like the build JDK is indeed 21. Just not the right particular kind of Java 21?
>
> I will keep debugging, but wanted to reach out to see if somebody had a quick answer.
>
> Thanks!
>
> Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.