Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2612

Build fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.17
    • None
    • general
    • None
    • Tika 1.17 on mac OS High Sierra (10.13.3), with Java 1.8.0_162 and maven 3.5.3. 

      $ gdalinfo --version

      GDAL 2.2.3, released 2017/11/20

    Description

      Dear all,

      I have tried to build tika 1.17 on mac OS High Sierra (10.13.3), with Java 1.8.0_162 and maven 3.5.3. 
       
      The build stops when building the tike-parsers, with the following error
      Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project tika-parsers: There are test failures.
       
      The test cases that fail are the following:
      <testcase name="testParseBasicInfo" classname="org.apache.tika.parser.gdal.TestGDALParser" time="0.165">
          <failure type="java.lang.AssertionError:">java.lang.AssertionError: null
      at org.junit.Assert.fail(Assert.java:86)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.junit.Assert.assertNotNull(Assert.java:712)
      at org.junit.Assert.assertNotNull(Assert.java:722)
      at org.apache.tika.parser.gdal.TestGDALParser.testParseBasicInfo(TestGDALParser.java:79)
      </failure>
        </testcase>
        <testcase name="testParseMetadata" classname="org.apache.tika.parser.gdal.TestGDALParser" time="0.057">
          <failure type="java.lang.AssertionError:">java.lang.AssertionError: null
      at org.junit.Assert.fail(Assert.java:86)
      at org.junit.Assert.assertTrue(Assert.java:41)
      at org.junit.Assert.assertNotNull(Assert.java:712)
      at org.junit.Assert.assertNotNull(Assert.java:722)
      at org.apache.tika.parser.gdal.TestGDALParser.testParseMetadata(TestGDALParser.java:117)
      </failure>
       
      $ gdalinfo

      Usage: gdalinfo [--help-general] [-json] [-mm] [-stats] [-hist] [-nogcp] [-nomd]

                      [-norat] [-noct] [-nofl] [-checksum] [-proj4]

                      [-listmdd] [-mdd domain|`all`]*

                      [-sd subdataset] [-oo NAME=VALUE]* datasetname

      FAILURE: No datasource specified.
       
      Does the build depend on the gdal installation on my workstation?
      Does anybody have any hints on how to resolve this issue?
       
      Thanks in advance for your help,
       
      Achilleas Voutsas

      Attachments

        Activity

          People

            Unassigned Unassigned
            avoutsas@yahoo.com Achilleas Voutsas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: