I think we have our plates full ATM with just building on Windows ;-)

Gary

On Tue, Feb 7, 2023, 00:01 Mukul Gandhi <muk...@apache.org> wrote:

> Hi Milamber,
>     The XalanJ's linux build scripts (build.sh) for both xalan-java
> (branch xalan-j_2_7_1_maint) and xalan-test (branch master) repos, are
> currently not supported while we're trying to release XalanJ 2.7.3.
> We've made improvements only to the windows build scripts (build.bat)
> for these respective repos.
>
> The latest user instructions, about how to build and test XalanJ are
> available at,
> https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=blob_plain;f=README;hb=refs/heads/xalan-j_2_7_1_maint
> .
>
> You'd need to enhance XalanJ build.sh files (for both implementation
> and test repos) yourself (you may look at corresponding build.bat
> files, for the conceptual changes that we've done to the build
> scripts).
>
> You may take a fresh pull from, xalan-java and xalan-test repos (from
> the respective branches), and try building XalanJ and running tests
> again (please do follow the latest XalanJ build instructions available
> at,
> https://gitbox.apache.org/repos/asf?p=xalan-java.git;a=blob_plain;f=README;hb=refs/heads/xalan-j_2_7_1_maint
> ).
>
> Please kindly also move, this discussion to XalanJ dev list (I'm
> copying this mail to, XalanJ dev list as well).
>
> On Mon, Feb 6, 2023 at 2:45 PM Milamber <milam...@apache.org> wrote:
> >
> > Hi,
> >
> > I have build with success the xalan java project, but on API test, I
> > have 2 failures:
> > [...]
> > [xalantest]       java.vm.version=25.331-b09
> > [xalantest]       java.vm.vendor=Oracle Corporation
> > [xalantest]       java.vm.name=Java HotSpot(TM) 64-Bit Server VM
> > [xalantest]       user.country=US
> > [xalantest]       java.runtime.version=1.8.0_331-b09
> > [xalantest]       os.arch=amd64
> > [xalantest]       java.io.tmpdir=/tmp
> > [xalantest]       line.separator=
> > [xalantest]       java.class.version=52.0
> > [xalantest]       sun.management.compiler=HotSpot 64-Bit Tiered Compilers
> > [xalantest]       os.version=5.10.0-21-amd64
> > [xalantest]       user.timezone=Africa/Casablanca
> > [xalantest]       file.encoding=UTF-8
> > [xalantest]       java.specification.version=1.8
> > [xalantest]       user.language=en
> > [xalantest]       java.specification.vendor=Oracle Corporation
> > [xalantest]       awt.toolkit=sun.awt.X11.XToolkit
> > [xalantest]       java.vm.info=mixed mode
> > [xalantest]       java.version=1.8.0_331
> >
> > [...]
> > [xalantest]   TestCaseInit 3 runOneTest:null
> > [xalantest]     ERROR  runOneTest called with bad arguments!
> > [xalantest]   TestCaseClose(Errr) 3 runOneTest:null
> > [...]
> > [xalantest]   TestCaseInit 22
> > runOneTest:org.apache.qetest.xalanj2.SmoketestOuttakes
> > [xalantest]       resultsfile
> > [xalantest]         result=Fail
> > [xalantest]         fileRef=results-api/SmoketestOuttakes.xml
> > [xalantest]       Individual test points taken out of other automation
> files
> > [xalantest]     FAIL!  SmoketestOuttakes.runTest()
> > [xalantest]   TestCaseClose(Fail) 22
> > runOneTest:org.apache.qetest.xalanj2.SmoketestOuttakes
> > [xalantest]   TestCaseInit 23
> > runOneTest:org.apache.qetest.xalanj2.SystemIDResolverAPITest
> > [xalantest]       resultsfile
> > [xalantest]         result=Fail
> > [xalantest]         fileRef=results-api/SystemIDResolverAPITest.xml
> > [xalantest]       Functionality/system/integration tests for
> > SystemIDResolver
> > [xalantest]     FAIL!  SystemIDResolverAPITest.runTest()
> > [xalantest]   TestCaseClose(Fail) 23
> > runOneTest:org.apache.qetest.xalanj2.SystemIDResolverAPITest
> > [...]
> > [xalantest]   All tests complete, testStatOK:25 testStatNOTOK:1
> > [xalantest]     teststatus
> > [xalantest]       Fail-checks=2
> > [xalantest]       Fail-cases=2
> > [xalantest]       Pass-cases=21
> > [xalantest]       Ambg-checks=2
> > [xalantest]       Errr-checks=1
> > [xalantest]       logFile=results-api/results.xml
> > [xalantest]       desc=Harness executing 26 tests
> > [xalantest]       testName=Harness
> > [xalantest]       Pass-checks=21
> > [xalantest]       baseref=/home/bruno/GitRepos/xalan/xalan-test
> > [xalantest]       Errr-cases=1
> > [xalantest]       Ambg-cases=2
> > [xalantest]     Errr
> > [xalantest] TestFileClose(Errr) Harness executing 26 tests
> > [xalantest]
> > [...]
> > apitest-pass-file-check:
> >       [echo]  [minitest] ERROR! The api tests failed!
> >
> >
> > I can provide the results-api/ResultReport.html by direct email.
> >
> > Please note, after the build of xalan-java, the git status show:
> >
> > $ git status
> > On branch xalan-j_2_7_1_maint
> > Your branch is up to date with 'origin/xalan-j_2_7_1_maint'.
> >
> > Changes not staged for commit:
> >    (use "git add <file>..." to update what will be committed)
> >    (use "git restore <file>..." to discard changes in working directory)
> >      modified:   src/org/apache/xalan/xsltc/compiler/XPathParser.java
> >      modified:   src/org/apache/xalan/xsltc/compiler/sym.java
> >      modified:   src/org/apache/xml/serializer/Version.java
> >      modified:   xdocs/style/stylesheets/done.xsl
> >
> > Untracked files:
> >    (use "git add <file>..." to include in what will be committed)
> >      xdocs/sources/entities.ent
> >      xdocs/sources/xalan/DONE
> >      xdocs/sources/xalan/XSLTCDONE
> >      xdocs/style/dtd/blocks.ent
> >      xdocs/style/dtd/book.dtd
> >      xdocs/style/dtd/changes.dtd
> >      xdocs/style/dtd/characters.ent
> >      xdocs/style/dtd/document.dtd
> >      xdocs/style/dtd/faqs.dtd
> >      xdocs/style/dtd/links.ent
> >      xdocs/style/dtd/markup.ent
> >      xdocs/style/graphics/
> >      xdocs/style/loader.xml
> >      xdocs/style/resources/
> >      xdocs/style/stylesheets/any2header.xsl
> >      xdocs/style/stylesheets/any2project.xsl
> >      xdocs/style/stylesheets/book2group.xsl
> >      xdocs/style/stylesheets/book2project.xsl
> >      xdocs/style/stylesheets/changes2document.xsl
> >      xdocs/style/stylesheets/context2footer.xsl
> >      xdocs/style/stylesheets/context2label.xsl
> >      xdocs/style/stylesheets/directory2project.xsl
> >      xdocs/style/stylesheets/document2html.xsl
> >      xdocs/style/stylesheets/faqs2document.xsl
> >      xdocs/style/stylesheets/group2document.xsl
> >
> > And the (start of) git diff:
> > diff --git a/src/org/apache/xalan/xsltc/compiler/XPathParser.java
> > b/src/org/apache/xalan/xsltc/compiler/XPathParser.java
> > index 9b7688d7..ec395aa9 100644
> > --- a/src/org/apache/xalan/xsltc/compiler/XPathParser.java
> > +++ b/src/org/apache/xalan/xsltc/compiler/XPathParser.java
> > @@ -1,7 +1,7 @@
> >
> >   //----------------------------------------------------
> >   // The following code was generated by CUP v0.10k
> > -// Fri Sep 16 18:02:07 IST 2022
> > +// Mon Feb 06 09:38:48 WEST 2023
> >   //----------------------------------------------------
> >
> >   package org.apache.xalan.xsltc.compiler;
> > @@ -17,7 +17,7 @@ import org.apache.xalan.xsltc.runtime.Operators;
> >   import org.apache.xalan.xsltc.compiler.util.ErrorMsg;
> >
> >   /** CUP v0.10k generated parser.
> > -  * @version Fri Sep 16 18:02:07 IST 2022
> > +  * @version Mon Feb 06 09:38:48 WEST 2023
> >     */
> >   public class XPathParser extends java_cup.runtime.lr_parser {
> >
> > diff --git a/src/org/apache/xalan/xsltc/compiler/sym.java
> > b/src/org/apache/xalan/xsltc/compiler/sym.java
> > index 6c68f58d..78a01e6b 100644
> > --- a/src/org/apache/xalan/xsltc/compiler/sym.java
> > +++ b/src/org/apache/xalan/xsltc/compiler/sym.java
> > @@ -1,7 +1,7 @@
> >
> >   //----------------------------------------------------
> >   // The following code was generated by CUP v0.10k
> > -// Fri Sep 16 18:02:07 IST 2022
> > +// Mon Feb 06 09:38:48 WEST 2023
> >   //----------------------------------------------------
> >
> >   package org.apache.xalan.xsltc.compiler;
> > diff --git a/src/org/apache/xml/serializer/Version.java
> > b/src/org/apache/xml/serializer/Version.java
> > index f973e2b5..94857c1f 100644
> > --- a/src/org/apache/xml/serializer/Version.java
> > +++ b/src/org/apache/xml/serializer/Version.java
> > @@ -116,7 +116,7 @@ public final class Version
> >      */
> >     public static int getMaintenanceVersionNum()
> >     {
> > -    return 2;
> > +    return 3;
> >     }
> >
> >
> > For xdocs/style/stylesheets/done.xsl, it's an issue about the
> > windows/linux format (the new version have ^M at the end of each line).
> >
> >
> > Regards,
> > Milamber
> >
>
>
> --
> Regards,
> Mukul Gandhi
>

Reply via email to