Re: Subversion 1.15.0-rc3 up for testing/signing

Branko Čibej <[email protected]> Wed, 29 Jul 2026 13:05:00 +0200
Newsgroups gmane.comp.version-control.subversion.devel
Organization The Apache Software Foundation
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------HJrOMpik7d1RqDlvdbqZ8Q40
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 29. 7. 2026 11:08, Daniel Sahlberg wrote:
> Den mån 13 juli 2026 kl 13:38 skrev Evgeny Kotkov via dev 
> <[email protected]>:
>
>     The 1.15.0-rc3 release artifacts are now available for
>     testing/signing.
>     Please get the tarballs from
>     https://dist.apache.org/repos/dist/dev/subversion
>     and add your signatures there.
>
>     Thanks!
>
>
> As noted in the "JavaHL jar file containing class files for unit 
> tests" thread[1], the javahl bindings can only be installed if built 
> with junit.
>
> The following sniped it from the other thread, done on trunk but the 
> failure is the same on 1.15.x.
> [[[
> $ /bin/sh autogen.sh
> $ ./configure --prefix=/dev/shm/svn/trunk --without-apxs 
> --without-swig --without-swig-{perl,python,ruby} --enable-javahl 
> --with-jdk=/usr/lib/jvm/java-11-openjdk-amd64 --without-junit 
> PYTHON=/usr/bin/python3
> $ make -j$(nproc) all
> $ make javahl
>
> $ find subversion/bindings/javahl -name '*.class' | wc -l
> 277
> $ find subversion/bindings/javahl -name '*Test*.class' | wc -l
> 0    #==> tests/**/*.java are compiled yet.
>
> $ make install
> $ make install-javahl    # Why this task builds tests/**/*.java?
> ...
> /dev/shm/subversion-trunk/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java:1708: 
> error: cannot find symbol
>         assertEquals("wrong revision from commit",
>         ^
>   symbol:   method assertEquals(String,long,int)
>   location: class BasicTests
> /dev/shm/subversion-trunk/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java:1756: 
> error: cannot find symbol
>         assertEquals("wrong revision from update",
>         ^
>   symbol:   method assertEquals(String,long,int)
>   location: class BasicTests
> Note: Some input files use or override a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 100 errors
> ]]]
> If built with --with-junit the install-javahl target succeed.
>
> It is caused by r1934378 which backported r1933892.
>
> As noted in the other thread, Ubuntu and Fedora seems to build with 
> --with-junit and FreeBSD builds without.
>
> I'm not sure if this is serious enough to block the release (in which 
> case we might want to revert r1934378) or if it is enough to note as a 
> known issue. It will cause issues for FreeBSD but it is quite easy to 
> work around.


As I mentioned elsewhere, changes in build requirements are pretty much 
normal for a .0 release. I would approve of making --with-junit 
mandatory if JavaHL is enabled.

-- Brane

--------------HJrOMpik7d1RqDlvdbqZ8Q40
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 29. 7. 2026 11:08, Daniel Sahlberg
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMHy98N0Nfmn5gr80AOQ+Fx+J1v36teCndqQo+sNEQnT65ZdWQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><span style="background-color:transparent">Den
            mån 13 juli 2026 kl 13:38 skrev Evgeny Kotkov via dev &lt;<a
              href="mailto:[email protected]"
              moz-do-not-send="true" class="moz-txt-link-freetext">[email protected]</a>&gt;:</span></div>
        <div class="gmail_quote gmail_quote_container">
          <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The
            1.15.0-rc3 release artifacts are now available for
            testing/signing.<br>
            Please get the tarballs from<br>
              <a
              href="https://dist.apache.org/repos/dist/dev/subversion"
              rel="noreferrer" target="_blank" moz-do-not-send="true"
              class="moz-txt-link-freetext">https://dist.apache.org/repos/dist/dev/subversion</a><br>
            and add your signatures there.<br>
            <br>
            Thanks!<br>
          </blockquote>
          <div><br>
          </div>
          <div>As noted in the "JavaHL jar file containing class files
            for unit tests" thread[1], the javahl bindings can only be
            installed if built with junit.</div>
          <div><br>
          </div>
          <div>The following sniped it from the other thread, done on
            trunk but the failure is the same on 1.15.x.</div>
          [[[<br>
          $ /bin/sh autogen.sh<br>
          $ ./configure --prefix=/dev/shm/svn/trunk --without-apxs
          --without-swig --without-swig-{perl,python,ruby}
          --enable-javahl --with-jdk=/usr/lib/jvm/java-11-openjdk-amd64
          --without-junit PYTHON=/usr/bin/python3<br>
          $ make -j$(nproc) all<br>
          $ make javahl<br>
          <br>
          $ find subversion/bindings/javahl -name '*.class' | wc -l<br>
          277<br>
          $ find subversion/bindings/javahl -name '*Test*.class' | wc -l<br>
          0    #==&gt; tests/**/*.java are compiled yet.<br>
          <br>
          $ make install<br>
          $ make install-javahl    # Why this task builds
          tests/**/*.java?<br>
          ...<br>
/dev/shm/subversion-trunk/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java:1708:
          error: cannot find symbol<br>
                  assertEquals("wrong revision from commit",<br>
                  ^<br>
            symbol:   method assertEquals(String,long,int)<br>
            location: class BasicTests<br>
/dev/shm/subversion-trunk/subversion/bindings/javahl/tests/org/tigris/subversion/javahl/BasicTests.java:1756:
          error: cannot find symbol<br>
                  assertEquals("wrong revision from update",<br>
                  ^<br>
            symbol:   method assertEquals(String,long,int)<br>
            location: class BasicTests<br>
          Note: Some input files use or override a deprecated API.<br>
          Note: Recompile with -Xlint:deprecation for details.<br>
          100 errors<br>
          <div><span style="background-color:transparent">]]]</span></div>
          <div> </div>
          <div>If built with --with-junit the install-javahl target
            succeed.</div>
          <div><br>
          </div>
          <div>It is caused by r1934378 which backported r1933892.</div>
          <div><br>
          </div>
          <div>As noted in the other thread, Ubuntu and Fedora seems to
            build with --with-junit and FreeBSD builds without.</div>
          <div><br>
          </div>
          <div>I'm not sure if this is serious enough to block the
            release (in which case we might want to revert r1934378) or
            if it is enough to note as a known issue. It will cause
            issues for FreeBSD but it is quite easy to work around.</div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    As I mentioned elsewhere, changes in build requirements are pretty
    much normal for a .0 release. I would approve of making --with-junit
    mandatory if JavaHL is enabled.<br>
    <br>
    -- Brane<br>
    <br>
  </body>
</html>

--------------HJrOMpik7d1RqDlvdbqZ8Q40--